Want sales from creator links tracked automatically? Switch on Modash Referral Tracking in your Shopify theme. When a shopper lands on your store through a creator's link, the embed saves the link to their cart, so Modash can credit the sale to that creator. It saves the link only when the shopper's privacy settings allow marketing tracking.
đĄ Before you start, make sure your Shopify store is connected to Modash.
You need to do this once per theme. If you switch to a new theme later, switch the embed on there too.
Option 1: Turn it on with one click
Copy this link and replace YOUR-STORE with your store name (the part before .myshopify.com):
âhttps://YOUR-STORE.myshopify.com/admin/themes/current/editor?context=apps&activateAppId=847a7917be8d8cebecb6ae97b7e11609/modash-referral-embedOpen the link. Your theme editor opens with Modash Referral Tracking already switched on.
Click Save.
Option 2: Turn it on manually
In your Shopify admin, go to Online Store â Themes.
On your live theme, click Edit theme.
In the left sidebar, click the App embeds icon.
Find Modash Referral Tracking and switch it on.
Click Save.
Choose your settings
Click Modash Referral Tracking to see its settings:
Enable referral tracking. Reads the creator's referral code from the link, for example ?ref=creator123, and saves it to the shopper's cart when their privacy settings allow marketing tracking. It's on by default. Keep it on.
Preserve referrals across browser switches. Keeps the referral code in the page address after the shopper allows marketing tracking. Use it if shoppers often move from an Instagram or TikTok in-app browser to their normal browser before they buy.
Auto-apply discount from referral link. If the creator's link has a discount code, the embed applies it automatically when a shopper arrives through that link. Nothing happens if the link has no discount code.
Click Save after any change.
Where it works
The embed runs on the pages of your online store, so you don't pick a template. Shopify doesn't let app embeds run on checkout pages, so the embed saves the referral to the cart before checkout starts. The embed adds nothing visible to your storefront.
Turn it off
Go to Online Store â Themes â Edit theme â App embeds, switch off Modash Referral Tracking, and click Save.
FAQs
I don't see Modash Referral Tracking under App embeds.
Make sure the Modash app is installed and your Shopify store is connected in Modash. Then reload the theme editor. If it still doesn't show, contact us via in-app chat.How do I check that it's on?
Go to Online Store â Themes â Edit theme â App embeds. Modash Referral Tracking should be switched on.I changed my theme. Do I need to do this again?
Yes. The setting belongs to each theme. Switch the embed on in your new theme and click Save.I have more than one Shopify store.
Switch the embed on in the theme of each store.Will shoppers see anything?
No new element appears on your store. If you turn on auto-apply, shoppers see the creator's discount in their cart. If you turn on preserve referrals, the referral code stays in the page address.Do I need this if I only use discount codes?
No. Sales with a creator's discount code are credited from the order, with or without the embed. The embed is for creator links: it saves the link to the shopper's cart so the sale can be credited to that creator.




