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.

Anchor to pubSubServerPixelUpdate

pubSubServerPixelUpdate

mutation

Requires write_pixels access scope. Also: The app must have the read_customer_events and write_server_pixels access scopes.

Updates the server pixel to connect to a Google PubSub endpoint. Running this mutation deletes any previous subscriptions for the server pixel.

String!required

The Google PubSub project ID.

String!required

The Google PubSub topic ID.


Was this section helpful?

Anchor to PubSubServerPixelUpdatePayload returnsPubSubServerPixelUpdatePayload returns

The server pixel as configured by the mutation.

The list of errors that occurred from executing the mutation.


Was this section helpful?