Hi, I'm using Stripe + Hubspot to sell tickets to an event.
I would like to track on GA4 the clicks on the payment link, when the user starts the checkout process, and also the final click to make the purchase.
Does anyone know how to do this? The payment link shows as an "app.hubspot" URL, so Google Tag Manager won't recognise as my own domain and therefore I'm not able to track it as a regular link click.
There are a few specific locations in Google Analytics where you can view the data, depending on your individual setup. I have attached some example screenshots for reference:
The page title on the checkout page is structured as "Checkout with <Company Name>." You should be able to find relevant data when sorting by page title (see attached screenshot for an example).
Each checkout session has a unique URL that begins with "/payments/purchase." While you cannot group by a unique URL, you can still access the data related to these sessions.
It's important to note that every time a contact completes a checkout using a payment link, a new URL is generated. Due to this, it is not recommended to filter based on URLs. Using the page title for filtering would be a more effective approach.
I hope this helps 😊
Best,
Diana
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
The simple solution would be for Hubspot to just allow us to add GTM to the iframe like they do with GA. I don't understand why this isn't an option. Hubspot, please add this feature so that we can accurately set up tracking for purchases.
My website is hosted within Hubspot, it's our CMS,so not sure how it'd be for a website built with other CMS.
What I've done (and hopefully you can as well even if using another CMS) is that I used the option to redirect the user to another page after completing the purchase process. So I send them to a "payment confirmation thank you page", and for that page I created a pageview event on GA4 which I will consider as a conversion. Not super accurate since theuser may refresh the page and that would count as a second conversion, but that's the solution I found.
Hi @DianaGomez , thanks for your response. Will have a look into it.
I meant more like being able to create Events and Key Events to track the number of ticket purchases. However, I did find a way to track this as I have now created a customised Payment Confirmation page, so I can track the number of page views of that page.
There are a few specific locations in Google Analytics where you can view the data, depending on your individual setup. I have attached some example screenshots for reference:
The page title on the checkout page is structured as "Checkout with <Company Name>." You should be able to find relevant data when sorting by page title (see attached screenshot for an example).
Each checkout session has a unique URL that begins with "/payments/purchase." While you cannot group by a unique URL, you can still access the data related to these sessions.
It's important to note that every time a contact completes a checkout using a payment link, a new URL is generated. Due to this, it is not recommended to filter based on URLs. Using the page title for filtering would be a more effective approach.
I hope this helps 😊
Best,
Diana
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.