Can I Use Both Shopify App Embed Blocks and Web Pixels in the Same Extension?

Topic summary

A developer asks whether it’s possible to combine Web Pixels (for tracking customer behavior) and App Embed Blocks (for displaying custom Liquid blocks in themes) within a single Shopify extension, since the API documentation lists them as separate extension types.

Another user confirms this is possible, clarifying the appropriate use cases:

App Embed Blocks are suitable for:

  • Apps adding floating or overlay components (e.g., chat bubbles, product image badges)
  • Apps adding SEO meta tags, analytics, or tracking pixels

Web Pixels are designed for customer behavior tracking.

The question about whether anyone has successfully implemented both features together, or if there’s a recommended approach, remains unanswered.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

According to the Shopify API documentation, Web Pixels can be used to track customer behavior, while App Embed Blocks allow the display of custom liquid blocks within a theme. Since these are listed as two separate extension types, I wonder if it’s possible to integrate both features—tracking customer behavior with Web Pixels and displaying a custom product set via an App Embed Block—within a single extension.

Has anyone successfully implemented such senarios, or is there a recommended approach?

Yes, you can use both app blocks and web pixel extensions in the same Shopify app.

Use app embed blocks for the following types of apps:

  • Apps that provide a floating or overlaid component to a page, such as chat bubble apps and product image badge apps.

  • Apps that add SEO meta tags, analytics, or tracking pixels.

1 Like