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

Outbound Link Tracking Code Google Analytics

Google analytics can track links that that point to another domain or sub domain. By tagging the out going link the clicks for the link can be tracked easily. Javascript code takes the responsibiliy of tracking the link by assigning a pageview for every click.

Refer to the following example.

To track the click on following link to www.advertisingaxis.com create an arbitrary url like this /outgoing/advertisingaxis_com. The following piece of javascript code is enough.

onClick="javascript:
pageTracker._trackPageview('/outgoing/advertisingaxis_com');">

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