Debugging Custom Pixels on Checkout Pages

Here's a step-by-step guide on how to debug custom pixels on checkout pages.

Ensuring your custom pixel functions correctly on Shopify checkout pages is crucial for accurate e-commerce event tracking. Given Shopify’s sandbox environment for payment security, GTM’s preview mode isn’t available on checkout pages. However, you can use Chrome DevTools to debug. Here’s a step-by-step guide to help you test Analyzify’s custom pixel effectively.


Step 1: Access Customer Events

First, navigate to your Shopify settings and locate the Customer Events page. Under the Custom Pixels section, find Analyzify. It’s important to note the type should be “Custom” and not “App.”

Access customer events
Access customer events

Step 2: Enable Debug Mode

Click on your custom pixel script and scroll to find the following lines:

  • const debug = {
  • status: true,
  • dlv: true,

Change both false values to true. Save your changes and ensure the custom pixel is already connected with your store.

Step 3: Prepare for Debugging

Next, go to your website, add a product to your cart, and proceed to the checkout page. Make sure to accept any cookie banners if they appear.

Step 4: Start Debugging

You have two primary methods for debugging: Network panel and Console panel. 

The first method to debug your setup is to check the requests sent via the Network tab. However, in addition to Network requests, checking the logs pushed to the Console by Analyzify Custom Pixel will provide a more definitive result. 

⚠️Attention: After conducting these tests, don’t forget to revert the variables you changed to true within the Custom Pixel back to false. Ensure that you make these changes without any other modifications.

4.1 - Debug with Network

1. Press CTRL + SHIFT + I (Windows) or Shift-Command-K (Mac) to open Chrome Dev Tools.

2. Then go to the “Network” panel.

Go to the "Network" panel
Go to the "Network" panel

Type your GA4 Measurement ID in the filter box to see Google Analytics (GA4) event signals.

3. Start filling in the contact email, shipping address, etc. Make sure to fill every necessary section, otherwise, the event might not be fired.

4. Click the related result ( on the left part ) then check the “payload” panel on the right. You will see something like  en:add_contact_info (“ en ” is for e vent n ame)

4.2 - Debug with Console

1. Press Ctrl + Shift + Enter (Windows) or CMD + Option + J (Mac) to open the Console window.

2. Start filling in the contact email, shipping address, etc. Make sure to fill every necessary section, otherwise, the event might not be fired.

3. You will see events like ee_page_view, ee_contact_info, etc.

Debug Results

Now, let's check how these events appear on both the Network and Console.


By following these steps, you can effectively debug Analyzify’s custom pixels on Shopify checkout pages, ensuring accurate tracking of all e-commerce events.

Table Of Contents