Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
I have been developing the web pixel's extension for an app (https://shopify.dev/apps/marketing/pixels). In the phase of development I need to get that app's pixel id after activating the web pixel, how do I get it through the GraphQL or in the Dashboard view?
I know there's a returning object after triggering mutation webPixelCreate that returns these data (https://shopify.dev/api/admin-graphql/2022-10/mutations/webPixelCreate), but is it the only way to view app's web pixel id?
How to get app's web pixel id after activation without re-creating the web pixel itself?
Thanks,
Solved! Go to the solution
This is an accepted solution.
The solution, web pixel's id can be found:
This is an accepted solution.
The solution, web pixel's id can be found:
Is there a way to grab webPixelsConfigList from another web pixel ?
I'm looking to use window.postMessage() from the main frame to the restricted web pixel iframe
Facing same issue, i had active web pixel and it was enabled on multiple stores. Recently i unpublished it and it's now in DRAFT state but it is still showing to Store owner in Custom Event section of the store settings.
I want to uninstall the pixel from all stores now.
These should be a Admin API graphql Query to get installed web pixels, checking every single storefront's website for pixel ID doesn't make sense to me.
Or is there any way to delete Webpixel extension from partner account?
EDIT: This will return webPixel
query{
webPixel{
id
}
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025