Easy referral link creation trick with favorites/bookmarks

Teesed
New Contributor III

Not quite an external tool, but I found something that's helped me easily create a referral link for products. This creates a favorite/bookmark and when clicked, it reloads the page and appends your referral code to the end of the url. You can adjust it so it creates a popup you can copy. No more going to find your referral code and adding it on manually!

This is in Edge, but others are similar.

Step 1.  Go to the top right "..." and select Favorites
Step 2. In the new window, go to the top "..." and click "Open Favorites Page"
Step 3. Click "Add Favorite" from the top
Step 4. Name it "Add Z Ref" or something
Step 5. In the url field, paste the below text after updating your referral number

For page reload:
javascript: (() => { const affiliateCode = "your_rf_number_here"; const url = window.location.href; const separator = url.includes('?') ? '&' : '?'; window.location.href = url + separator + "rf=" + affiliateCode; })();

For popup to copy:
javascript: (() => { const affiliateCode = "your_rf_number_here"; const url = window.location.href; const separator = url.includes('?') ? '&' : '?';alert(url + separator + "rf=" + affiliateCode); })();

Leave it all on one line. The tutorial I found had each line on separate carriage returned lines and it didn't work that way. Hope this helps! 

4 REPLIES 4

Cat
Honored Contributor III

Is there some advantage to doing it this way rather than just copying the link with the rf code already attached from Zazzle's share tool? 

Cat_0-1750823905017.png

 

____________________
Cat @ ZB Designs

Sara_H
Honored Contributor III

@Cat  I think it's for adding your own rf to your own products and getting a 15% self referral (instead of the gamble of a clean link not getting any referral when somebody buys another designer's product) but I could be wrong

Teesed
New Contributor III

That's definitely part of it. Not sure if something's different in my setup, but on my own products, those Zazzle tools don't add the referral links. Also, it's one less click when I just want to grab the url of a product to share with someone. See the product, click my favorite button, copy the code. 

Sara_H
Honored Contributor III

@Teesed  Yep - they took away the "auto add your own rf to your own products for easy sharing" button. 

But it does work when you want to share other designer's product - your RF gets added automagically