π Tag Assistant Guide
Testing Your GTM Setup
What is Tag Assistant?
Tag Assistant (Beta) is Google's web-based tool to verify that your Google tags (GTM, GA4, Google Ads, etc.) are working correctly. It helps you debug and validate your tag implementation.
π Tag Assistant Beta vs Legacy Extension
| Feature | Tag Assistant Beta (Web) | Tag Assistant Legacy (Extension) |
|---|---|---|
| Location | tagassistant.google.com |
Chrome Extension |
| Setup | Add domain in web interface | Install extension, click icon |
| Debugging | Real-time web dashboard | Overlay on your page |
| Status | β Current (Beta) | β οΈ Legacy (still works) |
Recommendation
Use Tag Assistant Beta for modern testing, but the Legacy extension still works great too!
π Step-by-Step: Using Tag Assistant Beta
Step 1: Add Your Domain
- Go to: tagassistant.google.com
- Click: "Add domain" button (blue button on the right)
- Enter your domain:
- For localhost:
http://localhost - For production:
https://yourdomain.com - For your learning platform:
http://localhost/gtm-learning
- For localhost:
- Click: "Add" or "Save"
Step 2: Start Debugging Session
- After adding domain, you'll see it in the "Domains" box
- Click on your domain to start a debugging session
- Copy the debug URL that Tag Assistant provides
- It will look like:
http://localhost/gtm-learning?gtm_debug=xxxxx - Or you'll get instructions to add a query parameter
- It will look like:
Step 3: Open Your Page with Debug Mode
Option A: Using Debug URL
- Tag Assistant will provide a special URL
- Open that URL in a new tab
- Your page will now be in debug mode
Option B: Manual Debug Parameter
- Add
?gtm_debug=xxxxxto your URL - Or use:
?debug_mode=true - Refresh your page
Step 4: View Tag Status
- Go back to Tag Assistant (tagassistant.google.com)
- You'll see real-time information:
- β Tags that fired successfully
- β οΈ Tags with warnings
- β Tags that failed
- π Event data
- π Tag details
Step 5: Test Your Events
- On your learning platform page, click the test buttons:
- "Click Me" button
- "Simulate Page View" button
- "Send Custom Event" button
- In Tag Assistant, you should see:
gtm.jsloadedGA4 - Configurationtag firedbutton_clickevent (when you click)page_vieweventcustom_eventevent
π What You'll See in Tag Assistant
Tag Status Indicators
- β Green Check - Tag fired successfully
- β οΈ Yellow Warning - Tag fired but has warnings
- β Red X - Tag failed to fire
- βΈοΈ Gray - Tag not triggered yet
Information Displayed
- Tag Name: Which tag fired
- Tag Type: GTM, GA4, Google Ads, etc.
- Firing Status: Success, warning, or error
- Event Data: What data was sent
- Timing: When the tag fired
- Errors: Any issues detected
π― Testing Your Learning Platform
To test your learning platform with Tag Assistant:
- Make sure your GTM container is published
- Add your localhost domain to Tag Assistant
- Start a debugging session
- Open your learning platform page with the debug URL
- Click the test buttons on your page
- Check Tag Assistant dashboard for tag firing status
π§ Common Issues & Solutions
Tags Not Showing in Tag Assistant
- Make sure you're using the debug URL provided by Tag Assistant
- Check that your GTM container is published
- Verify GTM code is loading (check browser Network tab)
- Try refreshing the page
Debug URL Not Working
- Make sure you copied the complete debug URL
- Check that the domain matches exactly
- Try manually adding
?debug_mode=trueto your URL - Clear browser cache and try again
Tags Showing as Failed
- Check GTM Preview Mode first to verify tags are configured correctly
- Look at the error message in Tag Assistant for details
- Verify trigger conditions match your page
- Check that required variables are set correctly
π‘ Tips for Best Results
- Use both tools: Tag Assistant for quick validation, GTM Preview Mode for detailed debugging
- Test in incognito mode: Avoid browser extensions interfering
- Check multiple pages: Test different pages to ensure tags fire correctly everywhere
- Test events: Don't just check page load - test button clicks and custom events too
- Document issues: Take screenshots of errors to help troubleshoot
π Related Documentation
- GTM Container & GA4 Tags - How to set up GTM and GA4
- GA4 Property Setup - How to create a GA4 property
- Google Ads Conversion Tracking - Professional setup via GTM
π Ready to Test?
Go to tagassistant.google.com and start testing your tags!