bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
112 stars 337 forks source link

Enhanced Conversion Tag #1790

Open gucampana opened 3 months ago

gucampana commented 3 months ago

I'm trying to figure it out how to enable/make it work "Enhanced Conversion Tag" (https://support.google.com/google-ads/answer/13262500?hl=en#validate_implementation) on a optimised one-page checkout confirmation page.

Facebook and GA tracking are handled by BigCommerce integrations (as far as I know), and I would like to know if there is a supported way to also implement/enable "Enhanced Conversion Tag".

If there is no built way to do that, would be possible/advised to load GTM on confirmation page (via script manager) and implement that ourselves? If went on this route, is there any documentation on how to get the data from the current page/transaction?

Thank you

animesh1987 commented 2 months ago

Hey @gucampana unfortunately there is no native way for adding the conversion tag. We do have an analytics layer that we use but that's more of a generic interface BODL.

As for the second question we don't have a recommended way, if you go that way you might need to pull the order data from Orders V2 endpoint I would think.