FROM CACHE - en_header

How to track my customers source using UTM codes for specific pages(landing pages)

Shopify Partner
7 0 0


I have a seperate alternate template for my landing page. I have my UTM codes. Now i want to integrate/install in my page to track my custoimers using different compaigns like email, facebook, e.t.c

I want to track my customers coming form which source using UTM codes. How to achieve this in my specific page? is any javascript code is there to achieve this or any APP's can help me to achieve this.

Please suggest me as i am in stuck in this from past one week. 😞

Replies 3 (3)
New Member
2 0 0

Hi Basha,

Check out this tool for building a url to use with each campaign, email facebook etc.

Then you should be able to track the results of people clicking these links in your google analytics console.



The worlds highest quality whey isolate protein
Shopify Partner
7 0 0

Hi Nelson,

First, i want to thank you for your response.

We have url's with all required UTM paramenters. We need to integrate in our specific page to track within shopify.

Shopify Expert
874 34 224

Hi Mehbub,

The only thing you need is the same Google Analytics tracking ID correctly working on the template. You can use diagnostic tools and browser extensions like Tag Assistant in Chrome to check. If the template is in your Shopify theme, I suggest you use Shopify's default GA setup (rather than your own custom tracking code installation) which is set through the liquid code:

{{ content_for_header }}

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required):