Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

mutation

Requires write_pixels access scope. Also: The app requires read_customer_events access scope and user access permission.

Activate a web pixel extension by updating a web pixel record on the store where you installed your app.

When you run the webPixelUpdate mutation, Shopify validates it against the settings definition in shopify.extension.toml. If the settings input field doesn't match the schema that you defined, then the mutation fails. Learn how to define web pixel settings.

ID!required

The ID of the web pixel to update.

The web pixel settings in JSON format.


Was this section helpful?

Anchor to WebPixelUpdatePayload returnsWebPixelUpdatePayload returns

The list of errors that occurred from executing the mutation.

The updated web pixel settings.


Was this section helpful?