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.

Manage custom pixels using REST API

Manage custom pixels using REST API

kashyap_
Shopify Partner
1 0 0

Hi,

 

I have created a custom app for my store. I want to add/update custom pixels via this app. 

As per Shopify documentation, it is possible with Web API but I need to do this with REST API. 

 

Currently, I use script-tags endpoint to add the custom script. I want to upgrade to Custom Pixel.

 

Thank you,

Kashyap

Replies 2 (2)

Liam
Community Manager
3108 344 911

Hi Kashyap,

 

Are you working with Custom Web Pixels, as described in our developer docs here?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

EricFrazier
Shopify Partner
4 0 0

I happened on this thread Googling, for the same reason as Kashyap. 

I can't really confirm or deny from the deep reading of Shopify docs that I can create a Custom Pixel from an App like I would an App pixel.  The lax sandbox is the main thing I am interested in, because we need to load a tracking library, as in the Custom Pixel examples, but I have never seen an example of doing that with an App pixel.