APIs & Integrations

DmitriP
Member

Best way to send purchase event conversion with Stripe Payments

Hello,

 

I want to be able to send a purchase conversion event to my Google Analytics 4 property, but I don't know, what the best approach is.

My goal is to send a purchase event with dynamic data if someone makes a purchase on the Stripe checkout page. 

 

My Current setup is that after the purchase I redirect the user to a "thank-you" page with URL parameters, and from there I send the purchase event with GTM.

 

However, I would like to discover a better approach because, for example, I don't want to manually write URL parameters for each payment link. I also saw that HubSpot provides a solution, but it didn't work for me.

Screenshot 2024-09-09 at 15.30.01.png

 

Thanks in advance,

Dmitri

 

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Best way to send purchase event conversion with Stripe Payments

Hi, @DmitriP 👋 Thanks for your post and for including your details. I don't have a documented workaround for this, unfortunately. I'm sure you noticed but getting help with GTM is a bit of a challenge as it can be complex. We'll leave this open in case other community members have a workaround or other suggestions for you.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes