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

Reply 1 (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