Migration Automation Tool: Migrate Google Analytics GA3 / Universal Analytics(UA) to GA4 using Google Tag Manager

Image
Here is POC on Migrating GA3 / Universal Analytics to GA4 using Google Tag Manager. Demo Covers: Creation of GTM Account, Container and Workspace for tags  Adding GTM codes to webpages and enabling GTM Universal Analytics Property Creation in GA GTM UA / GA3 Pageview tag creation GA3 Event tag creation by capturing CSS selector for the button event trigger GA4 Property Creation and linking via GA Enabling GA4 pageview tag  Using GTM GA4 migrator tool to migrate GA3/UA event tags to GA4 Scanning though the GA4 event migration Validation using GTM debug mode Report validation

Event Tracking, Virtual Page View Tracking and Bounce Rate Calculations

Adding event tracking and virtual page view tracking codes to track non-interaction events impacts the bounce rate. Because right from the moment the event tracking codes / virtual tracking codes are implemented in the site Google Analytics will start treating it as interactive events. Eventually the page with pathetic bounce rates would start looking okay from the day of event tracking code implementation.

Now what we need to do is to denote GA that these are non-interactive ones, and please do not consider this while calculating bounce rates. There is a feature in GA event tracking called "non-interaction events", where you can mark an event as being a non-interaction by passing true as a fifth argument (or, six item in the array).
Example:
_gaq.push(["_trackEvent", "Category", "Action", "Label", 3, true]);
This will send instructions to Google Analytics to treat the event as non-interactive ones and exclude these kind of non-interactions during the calculation of bounce rates.

Popular posts from this blog

Website Optimizer - A/B Test

As the testing industry grows and matures, more testers will likely:

Mobile Website SEO | How to SEO for Mobile Websites