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.

Get More From Freak.Marketing

Join our newsletter for even more tips and tricks you can use to maximize your ROAS with Google Ads.

Just enter your email below, and we'll start delivering the goods!

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