Tracking pixel for checkout

Tracking pixel for checkout

jperez
Visitor
1 0 0

Hello, I'm trying to implement a tracking pixel for my web app. I'm currently using vision template. I'm working with a third party company that will help me with tracking and analytics. They've recently requested I enter two tracking pixels (one for the landing page and one for the checkout page). The landing page pixel I was able to enter through custom events and was able to test to see that it's working. For the checkout pixel, they've asked to insert it in the checkout.liquid file but I've read how recently it was depreciated. With this latest depreciation of the checkout.liquid, would anyone know where I can now insert this tracking pixel for the checkout page? Any help would be greatly appreciated. Sample of the pixel, 'analytics.subscribe('checkout_completed', (event) => {' 

 

Thanks.

Reply 1 (1)

Sam_Mahmud
Shopify Partner
207 5 10

Hello Jperez,

Thanks for your query.

 

You can setup tracking pixel for checkout page from customer event custom pixel. If you would like to track the purchase event you can install the datalayer from where you can track the purchase event with ehanced users data.

 

Datalayer for purchase Track.pngPurchase datalayer in customer events.png

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
sam.analyst4@gmail.com! or WhatsApp!
Solved? accept it as solution with like