Using Storefront API in custom web pixel

maelle
Shopify Partner
2 0 2

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

 

Reply 1 (1)

minitia82
Shopify Partner
3 0 0

did you find any solution?