Skip to content
DTC-SCALE > News > Affiliate Management > A Beginner’s Guide to Setting Up Tracking Pixels for Your E-Commerce Store – Squaredance Edition

A Beginner’s Guide to Setting Up Tracking Pixels for Your E-Commerce Store – Squaredance Edition

If you’re new to tracking pixels and setting up campaigns for your e-commerce store, don’t worry! This guide will walk you through the basics of creating, configuring, and placing tracking pixels effectively. By the end, you’ll have a clear understanding of how to track customer actions and optimize your sales funnel in Squaredance.


Squaredance is a performance marketing platform that helps e-commerce brands connect with affiliates, track campaign performance, and optimize sales funnels. It simplifies the process of setting up campaigns, tracking customer journeys, and generating insights to boost conversions. By providing tools like tracking pixels, event mapping, and integration with platforms like Shopify, Squaredance empowers businesses to scale effectively and improve their marketing ROI.

What Are Tracking Pixels?

Tracking pixels are small snippets of code that monitor specific actions on your website, such as page visits, leads, and purchases. They are essential for analyzing user behavior and measuring the success of your campaigns.

Step 1: Generating Pixels!

To get started, you’ll need to generate tracking pixels. Here’s how:

1.1 Add Your Funnel URL

  • Enter the URL of your sales funnel into the tracking platform.

1.2 Generate Pixels

  • Click the Generate Pixels button to create two essential pixels:
    • Lead Pixel: Tracks when a user becomes a lead.
    • Purchase Pixel: Tracks when a user completes a purchase.

Both pixels are required to track your campaign effectively.

Step 2: Generating Additional Events

Tracking more events can help you understand each step of your sales funnel. To generate additional events:

  • Copy the event’s pixel code for placement.
  • Go to the campaign setup page on your tracking platform.
  • Navigate to Step 8 (Funnel Setup section) and click Add Event.
  • Select the type of event you want to track.

Step 3: Configuring the Purchase Pixel

The purchase pixel requires some customization to ensure it tracks data correctly. Update the pixel code as follows:

3.1 Subtotal Value
Replace [ORDER_VALUE_GOES_HERE] with the subtotal value of the order (before shipping, taxes, and other fees). This value should be a plain number, formatted like 100.00, without any currency symbols.

3.2 Order or Transaction ID
Replace [TRANS_ID_GOES_HERE] with a unique ID for each order. This ID ensures that every purchase is logged correctly.

Step 4: Where to Place Your Pixels

Correct placement of pixels is critical for accurate tracking. Place your pixels in the <head> section of the platform or tool you’re using. Here’s where each type of pixel should go:

EventPlacement Location
EngagementPresell or pre-lander page (first interaction page).
LeadLanding page (where users submit information, like email).
View ContentAny intermediate pages between the lead page and checkout.
Initiate CheckoutThe first checkout page.
Add Payment InformationThe checkout page where users enter their payment details.
PurchaseOrder confirmation, thank-you page, or upsell page. If you use multiple checkouts, place it on all confirmation pages.

A Beginner’s Guide to Setting Up Tracking Pixels for Your E-Commerce Store

If you’re new to tracking pixels and setting up campaigns for your e-commerce store, don’t worry! This guide will walk you through the basics of creating, configuring, and placing tracking pixels effectively. By the end, you’ll have a clear understanding of how to track customer actions and optimize your sales funnel.


What Are Tracking Pixels?

Tracking pixels are small snippets of code that monitor specific actions on your website, such as page visits, leads, and purchases. They are essential for analyzing user behavior and measuring the success of your campaigns.


Step 1: Generating Pixels

To get started, you’ll need to generate tracking pixels. Here’s how:

  1. Add Your Funnel URL
    • Enter the URL of your sales funnel into the tracking platform.
  2. Generate Pixels
    • Click the Generate Pixels button to create two essential pixels:
      • Lead Pixel: Tracks when a user becomes a lead.
      • Purchase Pixel: Tracks when a user completes a purchase.

Both pixels are required to track your campaign effectively.


Step 2: Generating Additional Events

Tracking more events can help you understand each step of your sales funnel. To generate additional events:

  1. Go to the campaign setup page on your tracking platform.
  2. Navigate to Step 8 (Funnel Setup section) and click Add Event.
  3. Select the type of event you want to track.
  4. Copy the event’s pixel code for placement.

Step 3: Configuring the Purchase Pixel

The purchase pixel requires some customization to ensure it tracks data correctly. Update the pixel code as follows:

  1. Order or Transaction ID
    Replace [TRANS_ID_GOES_HERE] with a unique ID for each order. This ID ensures that every purchase is logged correctly.
  2. Subtotal Value
    Replace [ORDER_VALUE_GOES_HERE] with the subtotal value of the order (before shipping, taxes, and other fees). This value should be a plain number, formatted like 100.00, without any currency symbols.

Step 4: Where to Place Your Pixels

Correct placement of pixels is critical for accurate tracking. Place your pixels in the <head> section of the platform or tool you’re using. Here’s where each type of pixel should go:

EventPlacement Location
EngagementPresell or pre-lander page (first interaction page).
LeadLanding page (where users submit information, like email).
View ContentAny intermediate pages between the lead page and checkout.
Initiate CheckoutThe first checkout page.
Add Payment InformationThe checkout page where users enter their payment details.
PurchaseOrder confirmation, thank-you page, or upsell page. If you use multiple checkouts, place it on all confirmation pages.

Step 5: Platforms That Support Pixel Placement

You can add tracking pixels to various platforms. Some popular options include:

  • Shopify
    Place pixels in themes, apps (like Recharge or Carthook), or Shopify checkout settings.
  • Landing Page Builders
    Tools like Unbounce, Instapage, Zipify, and Convertri allow easy pixel integration.
  • Google Tag Manager
    A powerful option for managing all your pixels in one place.
  • Custom HTML or Template Files
    If you’re using a custom website, insert the pixel code directly into your HTML files.

Why Are Tracking Pixels Important?

Tracking pixels provide valuable insights into your customers’ journey, allowing you to:

Optimize your marketing strategies for better ROI.

Measure the effectiveness of your campaigns.

Identify areas in your funnel that need improvement.

A Beginner’s Guide to Setting Up Tracking Pixels for Your E-Commerce Store

If you’re new to tracking pixels and setting up campaigns for your e-commerce store, don’t worry! This guide will walk you through the basics of creating, configuring, and placing tracking pixels effectively. By the end, you’ll have a clear understanding of how to track customer actions and optimize your sales funnel.


What Are Tracking Pixels?

Tracking pixels are small snippets of code that monitor specific actions on your website, such as page visits, leads, and purchases. They are essential for analyzing user behavior and measuring the success of your campaigns.


Step 1: Generating Pixels

To get started, you’ll need to generate tracking pixels. Here’s how:

  1. Add Your Funnel URL
    • Enter the URL of your sales funnel into the tracking platform.
  2. Generate Pixels
    • Click the Generate Pixels button to create two essential pixels:
      • Lead Pixel: Tracks when a user becomes a lead.
      • Purchase Pixel: Tracks when a user completes a purchase.

Both pixels are required to track your campaign effectively.


Step 2: Generating Additional Events

Tracking more events can help you understand each step of your sales funnel. To generate additional events:

  1. Go to the campaign setup page on your tracking platform.
  2. Navigate to Step 8 (Funnel Setup section) and click Add Event.
  3. Select the type of event you want to track.
  4. Copy the event’s pixel code for placement.

Step 3: Configuring the Purchase Pixel

The purchase pixel requires some customization to ensure it tracks data correctly. Update the pixel code as follows:

  1. Order or Transaction ID
    Replace [TRANS_ID_GOES_HERE] with a unique ID for each order. This ID ensures that every purchase is logged correctly.
  2. Subtotal Value
    Replace [ORDER_VALUE_GOES_HERE] with the subtotal value of the order (before shipping, taxes, and other fees). This value should be a plain number, formatted like 100.00, without any currency symbols.

Step 4: Where to Place Your Pixels

Correct placement of pixels is critical for accurate tracking. Place your pixels in the <head> section of the platform or tool you’re using. Here’s where each type of pixel should go:

EventPlacement Location
EngagementPresell or pre-lander page (first interaction page).
LeadLanding page (where users submit information, like email).
View ContentAny intermediate pages between the lead page and checkout.
Initiate CheckoutThe first checkout page.
Add Payment InformationThe checkout page where users enter their payment details.
PurchaseOrder confirmation, thank-you page, or upsell page. If you use multiple checkouts, place it on all confirmation pages.

Step 5: Platforms That Support Pixel Placement

You can add tracking pixels to various platforms. Some popular options include:

  • Shopify
    Place pixels in themes, apps (like Recharge or Carthook), or Shopify checkout settings.
  • Landing Page Builders
    Tools like Unbounce, Instapage, Zipify, and Convertri allow easy pixel integration.
  • Google Tag Manager
    A powerful option for managing all your pixels in one place.
  • Custom HTML or Template Files
    If you’re using a custom website, insert the pixel code directly into your HTML files.

Why Are Tracking Pixels Important?

Tracking pixels provide valuable insights into your customers’ journey, allowing you to:

  • Measure the effectiveness of your campaigns.
  • Identify areas in your funnel that need improvement.
  • Optimize your marketing strategies for better ROI.

Tips for Success

Keep It Organized: Map out your funnel and ensure every step has the right pixel.

Test Your Pixels: Always test after placing them to ensure they track events correctly.

Use Redirect-less Tracking Links: For faster performance and better user experience.

Wrapping up

Setting up tracking pixels may seem daunting at first, but it’s a crucial step in running a successful e-commerce business. By following these steps, you’ll be able to monitor your funnel effectively and make data-driven decisions to grow your store.