Search

Home

What is Code Cube

Privacy & security

FAQ

Tag Debug Assistant

Tag Debug Assistant

The Tag Debug Assistant helps you debug your broken client-side tags quickly. For each failing tag in Tag Monitor, it shows how severe the problem is, the plausible root cause, the possible business impact, and potential fixes, including who in your team should pick it up.

What will you do?

  • Find the Tag Diagnostics column in Tag Monitor
  • Prioritize broken tags by severity and trend
  • Open a diagnosis and read the evidence
  • Turn the potential fixes into a ticket

🔧 Requirements: A Code-Cube.io Pro or Enterprise plan, access to the Code-Cube.io portal, and Tag Monitor set up on your website

Step 1 – Find the Tag Diagnostics column

On the Tag Monitor main page, the Tag Diagnostics column is shown at the end of the Error Monitoring table. Each broken tag is assigned a severity level: Low, Medium, or High.

📌

Please note: An insight is one failing tag, grouped by the pages it failed on. It is not a broken page. Consent is never the reason a tag appears here.

🧠

The Tag Diagnostics column only appears when there are diagnoses.

Step 2 – Prioritize by severity and trend

2.1 Severity

Severity ranks on recent activity: how many times did the tag fail in the last 24 hours?

Severity
When it is assigned
High
More than 50 failures in 24 hours, or more than 5,000 failures in total
Medium
More than 20 failures in 24 hours, or more than 500 failures in total
Low
More than 5 failures

2.2 Trend

Next to the diagnosis, a trend marker (â–²) may appear.

Marker
Meaning
Most likely origin
â–²
Most failures occurred in the last 48 hours, or the whole run of failures is less than 24 hours old
A recent GTM publish or a site deployment
No marker
Failures are spread evenly across the window
-
📌

Please note: Severity and the trend marker are calculated by fixed rules, not by the AI, so they are consistent from week to week.

💡

Tip: Start with High severity diagnoses that also have the trend marker (â–²). This combination means a lot of traffic is failing and something changed very recently. The fix is usually a rollback of a deployment or a one-line correction in the last publish.

Step 3 – Open a diagnosis

Click the diagnosis in a row to open the complete diagnosis. The diagnostic panel shows:

Card
What it tells you
Plausible root cause
The specific parameter, flag, event, or timing at fault
Possible business impact
The consequence for reporting, marketing, or compliance
Analysis
The evidence trail behind the diagnosis
Potential fixes
Guidance shown open, with escalate / hand-off steps collapsed

The evidence behind the diagnosis

In the analysis, expect to see references to:

  • Event context: which GTM event the tag fired on, for example gtm.js or add_to_cart
  • Parameter presence: which parameters the tag actually received, with exact ratios such as "price was null in 35 of 47 failures"
  • Consent state: only when a flag was denied in more than 70% of sampled failures, and only ever as a gating gap
  • Failure timing: how the failures are distributed across the window

Step 4 – Act on the potential fixes

The Potential fixes card groups the fixes by team:

Section
Owner
Typical action
Analysts' Actionable (shown open)
GTM / analytics owner
Change a variable, trigger, or consent check inside the container
Escalate / hand off (collapsed by default)
Front-end / web team
Change what the site pushes to the dataLayer, or how a vendor script is loaded
Escalate / hand off (collapsed by default)
Marketing / CRM team
Adjust expectations on reporting, or brief stakeholders on the data gap

Build a ticket

  1. Click the copy icon on the Potential fixes card. It copies every fix as plain text, including the collapsed hand-off ones, already grouped and labelled by team
  2. Add the root cause sentence
  3. Add the sample URLs from the footer, so the assignee has a page to reproduce the issue on

Need help with a diagnosis? Email support@code-cube.io.

Related pages