Click here to Skip to main content
14,241,676 members
Rate this:
Please Sign up or sign in to vote.
I want to be able to track the source of a site conversion if a user leaves the original landing page that has the UTM tracking code on.

1. User clicks my google ad that leads to where the end goal of this page is form submission for a free trial.

2. User lands on but wants to navigate around the site to, leaving the UTM tracking behind (this shows up as a 'drop off' on google analytics, as the user isn't followed through the site, which is what I want).

3. User goes from to then finally back to

4. By the time the user is back on the free trial page (, I want the UTM tracking ?utm_campaign=xyz to still be there for traceability.

Is there a piece of code that I can implement or something that I can do in Google Tag Manager/Analytics to be able to track the users moves through the site so I can trace where they came from and what steps they took before converting?

What I have tried:

I have had a look into software like Hotjar for Heatmaps and visitor recordings, which I may have to use but would rather a more robust, easier to use solution! 

Any help/advice welcome, thanks!
Gerry Schmitz 4-May-19 16:00pm
You get paid for the ads, pay someone to do the job. There is no free lunch.
Kornfeld Eliyahu Peter 6-May-19 8:48am
Add the incoming UTM code to every in-site link on your page, and then add it to every in-site link on that page... and on and on

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100