Understanding the testing tools for Google Tag Manager 

Google Tag Manager is a third-party service that lets you track traffic and clicks in the Mews Booking Engine. You can test Google Tag Manager to ensure the triggers fire correctly and the tags collect accurate data by using the preview mode and the debug view. These two testing tools let you preview any issues your tags might have and fix them before using them. 

This article assumes you connected your Google tag manager account to your Mews account already. 

In this article you can learn about: 

 

How to enable the preview mode with Tag Assistant in Google Tag Manager   

Preview mode lets you test your tags and triggers before setting them live in the Mews Booking Engine. To enable the mode: 

  1. Open Google Tag Manager.
  2. Click Preview.
  3. In the tag assistant, enter your Booking Engine URL if not already populated.  
  4. Check the Include debug signal in URL box.
  5. Click Connect. Note: If a new screen does not open, make sure to allow "pop-ups" for Google Tag Manager within your browser settings.   
  6. Locate the Tag Assistant pop-up, then ensure that you include “gtm_debug” in the URL.   

   

  1. Go back to the Google Tag Manager tab and click Continue.   

 You can now see which tags are firing correctly.  

 

How to test events with Google Analytics 4 debug view   

The Google Analytics 4 debug view lets you to view real-time data for your tracked events. To enable the view: 

  1. Enable the preview mode in Google Tag Manager.
  2. In a new window, open Google Analytics  > Admin
  3. In Data display, click DebugView
  4. Click _Debug Device_ and make a selection.  Note: Select 'No Devices Available' if this is the only option available.  


You can now view all tracked events in real time.


You can learn more about Google Analytics here.    

 

Was this article helpful?
00



Feedback