Shopify Web Pixel App Extension User Access Requirements

New Shopify web pixel app extension user access requirements for eventBridgeServerPixelUpdate and pubSubServerPixelUpdate. Learn who is affected, how to audit, and fix your app.

Shopify Web Pixel App Extension User Access Requirements

Shopify now requires user access for the eventBridgeServerPixelUpdate and pubSubServerPixelUpdate mutations. If your app updates web pixels via these endpoints, you must request the write_pixels and read_customer_events scopes and have merchants approve them. Without this, your app will fail to configure server-side pixels, breaking tracking for marketing and analytics.

This guide explains the change, who is affected, and how to update your Shopify app's web pixel setup before it fails in production. We'll cover auditing your access scopes, step-by-step fixes, common errors, and when to bring in a Shopify app development team.

What changed: eventBridgeServerPixelUpdate and pubSubServerPixelUpdate now need user access

Previously, apps could update web pixel settings using these mutations without explicit user access approval. Now, Shopify enforces that any app calling these mutations must have the write_pixels and read_customer_events access scopes granted by the merchant. This change aligns with Shopify's broader push for transparency and control over customer data.

The mutations are used to configure server-side pixels for event bridges and pub/sub mechanisms. They allow apps to send events from Shopify's web pixel to external services. With the new requirement, apps must request these scopes during installation and merchants must approve them.

If your app uses these mutations, you'll need to update your app's OAuth scopes and ensure merchants re-authorize the app. Failure to do so will result in access denied errors when attempting to update pixels.

Which apps are affected: server-side pixels, marketing and analytics apps

Any app that manages web pixels or server-side tracking is impacted. This includes:

  • Marketing and analytics apps that inject pixels for Facebook, Google, TikTok, etc.
  • Apps that provide server-side event tracking or conversion APIs.
  • Custom apps built for a single merchant that use these mutations.
  • Apps that offer pixel management or tag management features.

If your app only reads pixel data or uses client-side pixels, you may not be affected. However, if you call eventBridgeServerPixelUpdate or pubSubServerPixelUpdate, you must comply.

How to audit your app's access scopes and pixel configuration

Before making changes, audit your current setup:

  1. Check your app's OAuth scopes in the Partner Dashboard or your app's configuration. Look for write_pixels and read_customer_events. If they're missing, you'll need to add them.
  2. Search your codebase for calls to eventBridgeServerPixelUpdate and pubSubServerPixelUpdate. Identify where and how they're used.
  3. Review your app's installation flow to ensure scopes are requested during OAuth.
  4. Check for fallback mechanisms if pixel updates fail.
  5. Test with a development store to see if the mutations currently work without the scopes (they may still work until Shopify enforces the change globally).

Hand writing notes on paper

Step-by-step fix: updating permissions and re-testing pixel events

Follow these steps to update your app:

1. Add the required scopes to your app configuration

In your shopify.app.toml (or Partner Dashboard), add write_pixels and read_customer_events to your access scopes. For example:

[access_scopes]
scopes = "write_pixels,read_customer_events,other_scopes"

2. Update your OAuth flow

Ensure your app requests these scopes during installation. If you're using Shopify's OAuth library, update the scopes parameter. Merchants will see a prompt to approve the new permissions.

3. Handle re-authorization for existing installs

Existing merchants need to re-authorize your app to grant the new scopes. You can detect missing scopes and redirect to the OAuth flow. Use the shopify.auth.begin with the updated scopes.

4. Re-test pixel updates

After updating scopes, test that eventBridgeServerPixelUpdate and pubSubServerPixelUpdate work. Create a test pixel and update it. Monitor for errors.

5. Monitor and log errors

Implement logging for pixel update failures. This helps catch issues if merchants haven't re-authorized.

Common errors after the change and how to debug them

You may encounter these errors:

  • Access denied: The app lacks required scopes. Check that scopes are granted and the access token is refreshed.
  • Invalid mutation: The mutation name or arguments are incorrect. Verify against Shopify's API docs.
  • Merchant not authorized: The merchant hasn't approved the new scopes. Prompt re-authorization.
  • Pixel not found: The pixel ID is invalid or doesn't exist. Ensure you're using the correct ID.
  • Rate limits: Too many requests. Implement backoff.

To debug, check the API response for error messages. Use Shopify's GraphQL introspection to verify mutation availability. Test in a development store with a test merchant.

When to bring in a Shopify app development team

If you're unsure about the changes or lack in-house Shopify expertise, consider hiring a development team. Signs you need help:

  • Your app uses these mutations but you're not sure how to update scopes.
  • You have a large user base and need a smooth re-authorization process.
  • You want to ensure compliance with Shopify's evolving policies.
  • You need to implement server-side pixels correctly.

At Digital Executive Partner, we specialize in Shopify app development, including web pixel integrations and access scope management. We can audit your app, update permissions, and ensure your pixel tracking works seamlessly.

Checklist: preparing your app for the new requirements

  • Added write_pixels and read_customer_events to access scopes.
  • Updated OAuth flow to request new scopes.
  • Implemented re-authorization for existing merchants.
  • Tested pixel updates in development store.
  • Added error logging for pixel update failures.
  • Reviewed Shopify's API documentation for any other changes.
  • Communicated changes to merchants if necessary.

By following these steps, you can ensure your app remains functional and compliant with Shopify's new user access requirements for web pixel app extensions.

Related reading

FAQ

Frequently asked questions

What are eventBridgeServerPixelUpdate and pubSubServerPixelUpdate?

These are Shopify GraphQL mutations used by apps to configure server-side pixels for event bridges and pub/sub mechanisms. They allow apps to send events from Shopify's web pixel to external services.

Which access scopes are now required for these mutations?

Apps must have the write_pixels and read_customer_events access scopes granted by the merchant to call these mutations.

Do existing apps need to update their permissions?

Yes, existing apps that use these mutations must add the required scopes and have merchants re-authorize the app. Without this, the mutations will fail.

How can I test if my app is affected?

Try calling the mutations in a development store without the new scopes. If you receive an access denied error, your app is affected and needs updating.

What happens if I don't update my app?

Your app will be unable to update web pixels, which may break tracking for merchants using your app. This could lead to data loss and unhappy customers.

Can I get help updating my Shopify app?

Yes, Digital Executive Partner offers Shopify app development services, including access scope management and pixel integration. Contact us for assistance.

Need help with Shopify web pixel access requirements?

Our team can audit your app, update permissions, and ensure your pixel tracking works smoothly. Get in touch to discuss your needs.