Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
is it possible to automatically tag an order with the used referral code/ID?
We want to provide our affiliates referral links like this: www.onlineshop.com/?ref=John123
And after an customer places an order with that link, the referral code will be shown in the conversion details at the admin menu.
We want an automation, if possible with Shopify Flow, which tags the order with the referral code. In this particulary case it would be John123
Does anyone know how to setting up Shopify Flow or if that's even possible?
Thanks alot 🙂
Hey @MyImpulse this does seem to be possible. You just need to do
- Start When Order Paid
- Check if customerJourneySummary.firstVist.landingPage or customerJourneySummary.lastVisit.LandingPage (I'm not sure which one you would want but one of those) then put in the landing pages that you need tracked.
- Then add a tag the customer based on that.
If you have a lot of affiliate this could get cumbersome but I do believe it is free which is nice. That said, it may be easier to use a Shopify app like Social Snowball or something at some point.
Hope that helps.
Henry
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025