How to Verify Tag Changes with Google Tag Manager in Preview Mode

July 27, 2015 Clint Eagar

Preview - Google Tag Manager

(This post takes 3 minutes to read)

Complex changes to your measurement implementation need to be performed very carefully to ensure data remains consistent and that updates don’t break existing configurations. Whatever variables you change, ObservePoint can verify them! Follow this guide to audit and verify changes made in Google Tag Manager (GTM) before publishing the updates.

In this example we added two custom dimensions to our Google Universal Analytics tag: cd1 = GTM version and cd2 = hostname. In the ObservePoint audit data we should expect to see cd1 = QUICK_PREVIEW and cd2 = jpstyle.us.

Steps:

1. Make changes in Google Tag Manager.

2. Click the red arrow next to Publish and choose Preview.

a graphic showing where the preview button is on Google Tag Manager

 


3. Preview Mode is now enabled. Click the Share Preview link.  

a graphic showing where the share preview button is on Google Tag Manager                                                                                                       


4. Copy the Share Preview link. Note that once you have the Share Preview link you can turn off Preview Mode and the link is still valid and can be used at anytime.

an image illustrating how to turn off the preview button

5. Head over to ObservePoint.com and configure your audit as normal. Be sure to select “Record new user session” and to click Save at the bottom of the page.

an image showing where the button to record a new user session is at on Google Tag Manager

6. Name the audit login whatever is convenient. Input the Share Preview link in the address field.

7. Make sure to click Save.

an image showing how to save audit settings

Your audit will now run and set the GTM preview mode cookie before visiting pages. Verify that that the changes we made executed correctly with our Business Compliance Rules System, Advanced Export, or a Full Vendor Export. Remember in this example we should expect to see cd1 = QUICK_PREVIEW and cd2 = jpstyle.us.

Here is the ObservePoint Advanced Export showing that these variables have been configured correctly:

an image showing you where to check that settings have been configured correctly

About the Author

Clint Eagar

Clint gets things done. He has been building websites, marketing and optimizing them for 15 years. He claims to know a little bit about a lot of things and is relied on to execute anything quickly. Clint has been with ObservePoint since the early days and has helped support, test, and promote the product. Before coming to ObservePoint he was at OrangeSoda, running the enterprise SEO team, and before that he was a business consultant at Omniture.

LinkedIn More Content by Clint Eagar
Previous Article
Product Update – Data Layer Support
Product Update – Data Layer Support

This article explains what a data layer is and how it affects web analytics. Learn the steps involved with ...

Next Article
Website Tags are Bound to Break…
Website Tags are Bound to Break…

This article illustrates the reality of broken website tags and how to minimize the impact of data quality ...

×

Subscribe to the Blog

Thank you!
Error - something went wrong!