Hi, community.
I’m creating an app that loads pixel tracking code and leverages Customer Events to track customer activity. I’m trying to find a way to include my pixel code in the checkout pages.
I’ve tried:
-
scriptTagCreate (https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/scriptTagCreate)) — works only for non-checkout pages.
-
App embed blocks (https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#example-app-embed-block-codes) — works only for non-checkout pages.
-
Extension with runtime_context = “lax” in the TOML config — loads the script in the