Skip to main content
Log inSign up
query

Returns a web pixel by ID.

The ID of the WebPixel object to return.


Was this section helpful?

The WebPixel object enables you to manage JavaScript code snippets that run on an online store and collect behavioral data for marketing campaign optimization and analytics.

Learn how to create a web pixel extension to subscribe your app to events that are emitted by Shopify.

id
non-null

A globally-unique ID.

settings
non-null

The settings object for the web pixel. This object specifies configuration options that control the web pixel's functionality and behavior. You can find the settings for a web pixel in extensions/<your_extension_name>/shopify.extension.toml.


Was this section helpful?