Skip to main content

Pixel Tracking via Shopify

How to set up pixel tracking for your Shopify store with DIRECTV Ads Manager

The pixel allows you to capture customer behavior from your Shopify store and send these events to the DIRECTV Ads Manager tracking endpoint for reporting and optimization.

What is a Shopify pixel?

On Shopify, a "pixel" is a JavaScript snippet (or a sandboxed code extension) that runs on the storefront (and optionally checkout/thank-you pages) to capture defined customer events (page views, add to cart, purchases, etc.) and send them to a third-party platform.

By setting up the pixel, you'll be able to track these events and feed them into the DIRECTV Ads Manager reporting stack for better insights and campaign optimization.

Why use a pixel?

The pixel enables advanced reporting and campaign measurement based on customer behavior. The pixel is simple to set up and easily integrates with Shopify's data layer and Customer Events for improved accuracy.

Must-haves before setting up a pixel

  1. You must have a Jamloop tracking account and have received your unique pixel ID (Jamloop is DIRECTV Ads Manager's technology partner).

  2. Your Shopify store must be live and you need admin access.

  3. You are comfortable editing Shopify theme code (or installing an app/web pixel extension) and can test events before going live.

How to install your pixel with Shopify

1. Generate your Shopify pixel ID

When you begin the Shopify setup process in the DIRECTV Ads Manager, a unique Pixel ID will automatically be generated for your store. This pixel ID is required for connecting your store and enabling pixel-based event tracking. Your new pixel ID will be displayed on-screen and automatically copied to your clipboard.

2. Install the app in your Shopify store

Enter your Shopify store name to continue the installation. This will open the Jamloop app in the Shopify App Store.

  1. Search for the DIRECTV Ads Manager App inside the Shopify app marketplace.

  2. Install the app. During installation, the Shopify app will request your pixel ID to link your store to the DIRECTV Ads Manager. Paste it from the modal from step 1.

  3. Once installed, the app handles pixel injection, event subscriptions, checkout tracking, purchase tracking, and consent-aware event delivery via Shopify's Customer Events API.

No manual code edits are required.

3. Verify pixel tracking by visiting your website

After installation, DIRECTV Ads Manager activates your pixel immediately. To complete setup:

  1. Click Visit Your Store.

  2. Navigate your website normally (home, product page, cart, etc.).

  3. DIRECTV Ads Manager will automatically detect triggered events and show them in real-time under Pixel Config → Event Activity inside your dashboard.

This confirms your store is successfully connected, the pixel is active, events are firing correctly, and DIRECTV Ads Manager is receiving attribution data.

Testing and validation

  • Use Shopify's Customer Events → Test tool to trigger events in real-time and inspect payloads.

  • Use browser dev tools (Network tab) to confirm tracking calls are sent correctly.

  • Test all flows: product views, add to cart, checkout start, purchase complete.

  • Verify purchase/order values, currency codes, and content IDs align with Shopify's data.

  • Monitor for performance impact (page load times, errors).

Supported standard events

  • page_viewed — when a page is loaded/viewed

  • product_viewed — when a product (or variant) is viewed

  • product_added_to_cart — when a product is added to cart

  • checkout_started — when checkout begins

  • checkout_completed — when a purchase is completed

Did this answer your question?