google tag manager

analytics

Passing clean meta tag data to Google Analytics

What this does: Cleans text from meta tags using basic JavaScript to pass to Google Analytics reports Requirements: Google Analytics deployed through Tag Manager, understanding of regular expressions & JavaScript, admin access to Google Analytics Over the years I’ve found one of the more useful tools in Google Analytics is the ability to pass custom […]

Read More
analytics

Customizing virtual pageview paths with Tag Manager

I recently ran into a weird situation where I needed to change how the page path was being recorded in Google Analytics. If you’re firing pageviews through Google Tag Manager, you can easily change this with a couple of custom settings. First a short explainer. If you have URLs like www.example.com/facility?id=3 and www.example.com/facility?id=2, Google Analytics […]

Read More