Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Using Storefront API in custom web pixel

Using Storefront API in custom web pixel

maelle
Shopify Partner
2 0 4

Hello ! 

I am working with a custom web pixel to add tracking to the new checkout. 
However, the info returned by the event.data.checkout are very limited and I need to access lineItems tags and metafields as they store data we need to retrieve. 

Is there anything we can do about it? 
Can we maybe use the storefront API in the pixel? if yes, how can I do that? I never used it.

Thank you.

This is the data with the event payment_info_submitted

maelle_0-1713178573013.png

 

Replies 2 (2)

minitia82
Shopify Partner
3 0 0

did you find any solution?

aramirezdecruz
Shopify Partner
5 0 0

Have there been any answers around this? I am struggling with the same issue