Payment Link Attribution

Is there a way to attribute payment links to specific sources or campaigns?

We’re selling tickets to an event and have about 8 - 10 sponsors. Each sponsor is driving traffic to our event page.

The event page is on an external site, and the “Get Tickets” button links to a HubSpot Payments link.

Once the user makes a purchase, how do we know which sponsor brought them to that link?

I tried creating JS script that grabs a user’s URL parameters and sends them to a custom event. I tested with a purchase with utm_source=test in the payment link URL and that info did not make it into the contact record. Also, injecting code directly into the payment page seems not possible for obvious security reasons.

I also dug around in Commerce hub and didn’t see anything that would indicate where that lead came from.

So, how do we tell which sources/sponsors/posts are creating the most sales?

Hi @Sasha-A8, I hope that you are well!
Great question, thanks for asking the HubSpot Community!
To start with I’d like to share these resources that might be of interest:
- Understand attribution reporting
- Use campaign attribution reports
- Understand HubSpot’s traffic sources in the web traffic analysis tool
Also, I’d love to put you in touch with our Top Experts: Hi @stefen, @jonchim, @RCooke2, @MariZanchetta, @HJarboe, @RSchweighart, @JYoung17 and @Syeda_Fatima do you have suggestions to help @Sasha-A8, please?
Have a beautiful weekend and thanks so much in advance for your valuable contributions!
Bérangère

I’m not sure if you are able to inject anything into the payment pages -- I haven’t used one in a while.
I think the best work around would be to modify your payment links -- and use a “bumper” page to assist with this.
The concept is set up a landing page, domain.com/payment-redirect?attribution_name=sponsorName
Whereattribution_name is a new property you create, and sponsorName is the identifier you give your sponsors
On this page you have a form, email address, and yourattribution name (as a hidden field). During your testing keep it visible so you can make sure the name injects into the form.
On form submission, set the redirect to the payment link. This will add the attribution name to the contact’s email address.
There are some other ways using dynamic pages, workflows using the page they viewed, and setting the property like that, but it might be a bit more complicated for a one off type system.
A really nice +1 on this would be to use dynamic pages and give one to each of your sponsors, they then have some dynamic information in there about them, and then a “pay now” with the email address on that page, redirecting to payment link.
I’m sure there are some other ways to do this as well, this is just off the top of my head.

That could work, but not very good UX to make a user enter their contact details twice. What we did was to add a custom event to the thank you page that the user sees after finishing payment. It’s not bulletproof but works okay if HubSpot can recognize the contact.

Hey @Sasha-A8 ! Hope you’ve been well!
We solve this problem a lot with different referrers for paid registration with event•hapily. Here’s one way that works:

1. Each sponsor gets their own link to the event registration page. You’d use the URL parameter like you mentioned, and have that as a hidden property on the form.

2. After they submit the form to register, they’d be redirected to the payment page per usual.

3. Once paid and the associated successful payment is on the Contact, you can finalize registration (potentially update the Registrant object’s payment status to PAID and even the Sponsor Referrer).

Now you can pull reports on the Registrant object to see how many people were referred and sponsor attributed revenue as well!

Thanks Dax. Great to see your face again :slightly_smiling_face:

That’s an interesting solution. I’ll keep it in mind for future event-based builds.