WebPixel
Requires access scope.
The 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.
Anchor to FieldsFields
- •ID!non-null
A globally-unique ID.
- Anchor to settingssettings•JSON!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
.
Map
No referencing types
WebPixel Queries
Queried by
Anchor to MutationsMutations
- •mutation
Activate a web pixel extension by creating a web pixel record on the store where you installed your app.
When you run the
mutation, Shopify validates it against the settings definition in
shopify.extension.toml
. If thesettings
input field doesn't match the schema that you defined, then the mutation fails. Learn how to define web pixel settings.- •mutation
Activate a web pixel extension by updating a web pixel record on the store where you installed your app.
When you run the
mutation, Shopify validates it against the settings definition in
shopify.extension.toml
. If thesettings
input field doesn't match the schema that you defined, then the mutation fails. Learn how to define web pixel settings.