REFERRALS
Smart links guide
Add leakproof codes to smart links
6 min
in this guide, we'll show you how to enhance your ambassadors smart links by adding leakproof codes leakproof codes offer a secure way to provide customer discounts, preventing misuse from plugins like honey or capital one shopping these single use codes ensure ambassadors receive accurate attribution for referrals without the risk of leaked shareable discount codes this is a shopify specific feature video walkthrough step by step instructions these steps assume a smart link already exists for the program if that's not the case, simply follow the steps in docid\ ambvb at8xje4wy49t9pe before proceeding add or edit an existing smart link click settings for the desired program open the referrals tab locate the existing smart link and click edit enable leakproof codes open the customer discount section select leakproof code customize the prefix for the codes (e g , your brand name) to ensure branding consistency choose the discount type percentage discount specify a percentage (e g , 15%) fixed amount specify a dollar amount define the scope of the discount all products specific products specific collections optionally, set an end date for the discount if it's tied to a promotion or season save and apply settings click save since the leakproof code setup doesn't alter the visual appearance of smart links, ambassadors won't need to update their shared links test the leakproof code navigate to your contacts and filter by program (e g , influencers) select an ambassador's profile and copy their smart link open the ambassador's smart link in a new browser tab, add a product to the cart, and proceed to checkout verify that a leakproof code is automatically applied the code should have the custom prefix you set it should be a single use, randomized code view leakproof code usage go to the ambassador's profile in roster check the sales attribution section confirm that the referral is attributed to the ambassador's smart link view the discount rules to see the generated leakproof codes usage details (e g , used or unused) note unused leakproof are automatically cleaned up after the link click's attribution window ends next steps docid\ wyhsmghkgslaljhugwwou as an alternative to leakproof codes docid\ xwzlihkwgcivbpijw9uq1 for a deeper understanding of how they work docid\ fejnmn6qyvtiqggobu yz for common questions and best practices need help? if you have any questions about adding leakproof codes or optimizing your smart links, contact our customer success team at mailto\ cs\@getroster com we're here to assist you!