Shopify Pixel Installation

Why you need it #

If you’re planning on retargeting with Deebly or, you need better reporting capabilities, you’ll need to install the Deebly ads pixel.
The Deebly pixel consists of 2 snippets of javascript code that need to be installed on your website.

Installation #

Tracking Site Visitors
The Deebly universal pixel is a small snippet of code that should be installed in your theme.liquid file.

Deebly Pixel:

  <script src=""></script> 
  <script type="text/javascript">
    cntrUpTag.track('cntrData', '04896085f3570a80'); 

How to Install The Pixel #

Step 1: Login to your Shopify Account.
Step 2: Navigate to your Sales Channels on the left-hand side bar, then choose ‘Online Store’ and click on the ‘Themes’ button.
Step 3:  Next click the ‘Action’ menu on the right side of the screen and choose ‘Edit Code’ form the drop down menu.

Shopify Pixel Installation Steps 1-3

Step 4: Select ‘theme.liquid’ from the layout folder.
Step 5. Scroll down to the bottom of the file and place your Deebly pixel just before the closing body tag.
Step 6: Click ‘Save’ at the top of the screen to save the file. That’s it.

Shopify Pixel Installation - Steps 4,5,6

Tracking Conversions/Purchasers #

Tracking purchasers is as important, if not more so than tracking site visitors. It lets you see just how effective your ad campaigns are and lets you make interesting, targeted campaigns just for your customers.

Installing the conversion pixel #

Step 1: Login to your Shopify account
Step 2: Navigate to ‘Settings’ at the bottom left of your screen, then ‘Checkout’

Shopify Conversion Pixel - Steps 1,2

Step 3: Scroll down to the ‘Order Processing’ section
Step 4: Place the conversion pixel in the text area labeled ‘Additional Scripts’
Step 5: Save.

CBDeebly Conversion Pixel:

  var cntrData = { 
    'event': 'orderCompleted', 
    'cntr_transactionId': {{ order_number }}, 
    'cntr_revenue': {{ total_price | money_without_currency }} 

The Deebly conversion pixel includes dynamic fields to capture Order Id and Order Totals. This helps you attribute your ads to sales.

Shopify Conversion Pixel - Steps 3,4,5

Powered by BetterDocs