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
Can’t Find Your Custom Pixel?

• Please make sure to complete the setup process before. If you selected the DFY option, you can get in touch with the Analyzify Support Team.

• If you are using an old version of Analyzify (below v3.2), you need to upgrade your setup first. You can check this guide to upgrade your setup to the latest version: How to Upgrade Analyzify

• If you completed the Lightweight setup on your own, please get in touch with the Analyzify Support Team so they can provide you with the custom pixels.

Step 2: Enable Debug Mode

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

  • const debugMode = false; 
  • const debugDLV = false;

Change both false values to true, making sure not to remove the semicolon (;). Save your changes and ensure the custom pixel is already connected with your store.

Enable debug mode
Enable debug mode

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