Connect Stripe and add the script 0:00
If your site sells through Stripe Payment Links, the pricing table or the buy button, affiliate tracking takes one line of code. Here's the whole setup.
In LinkJolt, open Integrations. On the Stripe tab, connect Stripe first: one approval on Stripe's site, and your sales reach LinkJolt on their own.
Then, under How do your customers pay, pick Payment Links, pricing table or buy button. No code.
Step three is one line for your site's head. Copy it, and paste it on every page that has a buy button.
It covers links to buy.stripe.com, Stripe's pricing table, and the buy button.
What the script does on your page 0:39
Now someone arrives through an affiliate's link. The script remembers that affiliate for thirty days.
And it adds them to every Stripe Payment Link on the page, as the client_reference_id. Hover the button, and you can see it on the end of the link.
On the pricing table and the buy button, it sets the client-reference-id attribute instead, and Stripe passes it to the checkout they open.
If you've set a client_reference_id yourself, the script leaves it alone.
The sale arrives 1:07
The customer pays on Stripe as usual, and the sale arrives in LinkJolt, credited to the affiliate.
Here it is: a fifteen dollar subscription, and three dollars of commission for Leo, waiting for your approval.
One catch: a link shared on its own 1:20
One catch. A Payment Link shared on its own, with no page of yours around it, has nowhere for the script to run. Give those affiliates a discount code instead.
That's the setup. Try LinkJolt free for seven days at linkjolt.io.