Tracking engagement from externally generated video assets in Shopify storefronts

I’m working on a Shopify-based storefront where marketing videos are created externally using a Macbook editor and then embedded into product pages and landing pages.

I want to understand the best way to track user engagement from these video assets inside Shopify’s ecosystem. Ideally tying video interactions (views, click-throughs, or completion events) to Shopify analytics or custom app events.

Is there a recommended approach using Shopify APIs or webhooks to capture engagement signals from embedded video content and associate them with product or checkout behavior? I’m particularly interested in whether this should be handled via a custom app, theme-level JavaScript, or an external tracking layer that syncs back into Shopify.

Hi @alishawinson

You can use a web pixel app extension to collect behavioral data for marketing campaign optimization and analytics.

About Web pixel app extensions