Set Up Google Analytics Cross-Domain Conversion Tracking with Google Tag Manager (GTM)

There are a lot of situations where you may have your website visitors bounce around across your root domain ( and sub-domains (

I recently had this situation arise for myself. I have my Ghost blog hosted on the root domain ( and since I can't easily edit this theme to add a proper direct response optin page for my new online course, I used (aff link) to create it. I then pointed the landing page at a sub-domain (

Simply adding the Google Analytics script to this sub-domain isn't going to give me accurate conversion data. For example, let's say a visitor comes in to Freak.Marketing via organic search. They then click over to where the Carrd lead magnet page is pointing and optin there.

The basic set up of Google Analytics would attribute this conversion to, not organic search like it sould be attributed.

To fix this, it's as simple as making a small edit in Google Tag Manager (GTM). This is assuming you have Google Analytics set up via a GTM tag.

You edit the custom Google Analytics Variable you're using with your Google Analytics Tag:

Google provides instructions for this here in their documentation.

How To Setup Google Ad Conversion Tracking

This FREE 6 Lesson Course Shows You How to Set Up Google Ad Conversion Tracking for Lead Gen Campaigns using Google Tag Manager.

Enter your email address below to get instant access!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.