UTM Parameters and Discount Codes in the Same Redirect URL

Solved

UTM Parameters and Discount Codes in the Same Redirect URL

BirdhouseUSA
Shopify Partner
63 4 20

I am currently facing a challenge with integrating UTM tracking parameters and an automatic discount code in a single URL for my Shopify store.

 

The goal is to track the effectiveness of a specific marketing campaign using UTM parameters, while also automatically applying the discount code 'LIZFENWICK20' for customers who visit through this link.

 

While the URL https://www.leatherhoney.com/discount/LIZFENWICK20 successfully applies the discount when used alone, it doesn't work when I combine it with UTM parameters for tracking, as in https://www.leatherhoney.com/products/leather-care-kit?utm_source=tracking&utm_medium=redirect&utm_c....

 

This leads to the discount not being applied automatically when the full URL is used. I need guidance on how to structure a URL that allows both the UTM tracking and the automatic application of the discount code within Shopify's system.

 

Thank you!

Birdhouse Web Design
Accepted Solution (1)

BirdhouseUSA
Shopify Partner
63 4 20

This is an accepted solution.

To anyone looking for an answer to the proper formatting, here it is below! This should work to track your campaigns as well as appy an automatic discount:

 

https://yourwebsite.com/discount/DISCOUNTCODE?redirect=/products/PRODUCTLINK&utm_source=source_name&...

Birdhouse Web Design

View solution in original post

Replies 2 (2)

BirdhouseUSA
Shopify Partner
63 4 20

This is an accepted solution.

To anyone looking for an answer to the proper formatting, here it is below! This should work to track your campaigns as well as appy an automatic discount:

 

https://yourwebsite.com/discount/DISCOUNTCODE?redirect=/products/PRODUCTLINK&utm_source=source_name&...

Birdhouse Web Design
Jangro
Visitor
1 0 0

I'm attempting exactly the same and it's not working. I've tried putting the UTM parameters like you have them, and I've also tried putting them in the redirect URL, url encoded and neither works. 

I don't see the UTM parameters passing through either redirect. Do you see them on the final landing page URL? I don't. I only see a variant parameter. 

This was 5 months ago. Is it still working for you?

thanks for the help!