I have a marketo (3rd party) lead form embedded on several of my builder.io pages and am currently still missing conversion tracking. I have the conversion event in GA, but now that I want to start running A/B tests, I would love to have this tracking in builder.
I am not technical but am wondering if it is as simple as dropping the builder.trackConversion() tag into javascript of the thank you page or if there is a more elegant way to do it.
Fundamentally: Is there a simple way to set up conversion tracking for 3rd party integrated lead forms on builder pages to inform the A/B optimization? Note this is NOT a shopify store.
Tech stack is ReactJS app integrated with Builder.io
Basically I want to be able for builder to recognize when a lead form (via the custom component my developers created - screenshot attached) is submitted on a given page and that that shows up as a conversion via the insights dash. (Screenshot attached)
If your dev team is able to customize the code that runs when the “Get Started” button is pushed and the form is successfully submitted, that’s a great time to run builder.trackConversion(). If you don’t have access to the action of the button, it’s a great idea to redirect users to a page that automatically tracks the conversion as soon as they arrive.
It really is as simple as calling the method in the React Application!
We have a thank you page setup in builder so would it suffice to run the builder.trackConversion()script there right?
This should resolve ensuring that the insights tab counts conversions whenever someone lands on the thank you page, no matter where the event is coming from correct? Will it in the case that we do it through the thank you page know which variant the conversion was directed from?
This should ensure that the insights tab counts conversions whenever someone lands on the thank you page, no matter where the event is coming from correct?
Yes!
Will it in the case that we do it through the thank you page know which variant the conversion was directed from?
builder.trackConversion() will track a conversion for the page entry it is running on. There’s not currently a way to pass in data that references a previous page or referral page, but you are welcome to request that at Builder.io Ideas. I would recommend finding a way to run builder.trackConversion() on the variant if you need that data associated with the variant.