Affiliate Link
So rather than giving out my full affiliate link I’d like to just give out mysite.com and then anytime anyone hits a mysite.com URL they are guaranteed to pull a new cookie
18 Replies
@IAmAMeatPopsicle let's pull this into a thread
Woohoo.
If I'm understanding this correctly, you want to place this affiliate cookie in a way that persists across multiple devices/expirations, correct?
So basically I just want to make mysite.com an alias for a full URL, not just a CNAME forward
Oh
Yeah, that's just a redirect then
If you only need that one redirect, I would go with a Single Redirect.
They have to generate the cookie. The issue is that if someone loads a page from their history, or browses with my link but goes back to buy the thing after the cookie is expired, then there’s no way to associate it with me
Oh, that's a bit more difficult then
Because you first have to hit the unique URL, get the cookie, and then you are forwarded to the plain public url for the product with nothing in the path to associate it with me
Short of telling people to revisit your website right before they check out, I don't think you can stop that from happening...
So I think google used to let you leave the root in place on some forwards
In other words if I own boogle.com and I forward to Google.com, the part after the TLD can change but the domain will not
Although maybe that doesn’t solve my issue
I just want an easy way for people to be able to pull another cookie ha
You can do that, but many services frown upon that kind of thing, and in fact may actually break your site entirely if you do so
It wouldn’t actually solve my problem in this case I don’t think, anyway.
Yeah, short of getting the retailer to extend the time the cookie persists, the only thing I can think of is getting your followers to click the affiliate link right before they check out, so they get a fresh cookie
Since your website cannot affect the retailers cookies(for good reason)
I guess the best I can do is forward a domain to the full path of the affiliate link and tell people the domain… and they don’t have to hunt for links, they can just type the domain
So forward mysite.com to retailer.com/afiliate?garbagetextuniqueidentifier
And just remind readers to type that domain
Something like:
If you would like to support me as a creator, use the following link before checkout on Amkutenbay(replace with retailer name): https://mysite.com
Right
Just something memorable that people can type and is human readable and not a random 16 character alphanumeric string lol
Oof. Regex . Okay… this is more of a project than I thought.
I’m trying to help a friend butttttt this takes more brainpower than I seem to have at this hour lol
It shouldn't require regex?
Here's one that should do what you are looking for