App embeds and web pixels
Apps can add code to your storefront in two main ways: through app embeds and app blocks in your theme, and through web pixels that collect events such as page views and checkout steps.
App embeds and app blocks
App embeds are the switches under Online Store > Themes > Customize > App embeds. App blocks are sections an app adds to a page template.
- Free lists every app embed in your live theme and whether it is on or off.
- Pro also lists app blocks in your templates and section groups, where each one renders and its
settings, and reports:
- an app embed or block that was turned on, turned off, added or removed;
- changed settings, including custom code or links entered in a setting. Those values are checked for scripts and links to unknown sites.
- During the shopper walk, the app also maps each embed or block it sees on the page to the scripts and sites it loads.
The code of an app embed is served by the app itself, not stored in your theme. When an app updates that code, your theme does not change. The shopper walk notices because the script’s content fingerprint changes.
Web pixels
Pixels run in a sandbox on every page, including checkout. They can be added by apps (app pixels) or by you under Settings > Customer events (custom pixels).
With Pro the app:
- lists the pixels on your storefront, app or custom, and their configuration;
- reads the code of each custom pixel and checks it for risky patterns;
- records every site each pixel sends data to during the walk;
- reports a new pixel, a changed configuration or code version, and a new site a pixel talks to. A pixel that starts sending checkout events to a new site is reported as high.
Shopify does not let apps list other apps’ pixels through its API, so the app reads them from the storefront during the shopper walk.
Turning something off
The app never turns embeds or pixels off for you. To stop one, turn off the app embed in the theme editor, remove the app block, or disconnect the pixel under Settings > Customer events, then contact the app’s developer.