How do I add Outbrain's Pixel to my Shopify platform?

Many of our marketers use Shopify in tandem with their Outbrain campaigns. To track conversions and optimize your campaigns effectively, we have provided a quick guide on how to set up the pixel within your Shopify account. 

Head to your Outbrain dashboard and click on the Pixels tab. From here, you can copy the code to later add it to your Shopify account. 

In Shopify, click "Online Store" and then "Themes." 


Head to "Actions" in the upper right-hand corner, and select "Edit HTML/CSS

Under the "Layout" drop-down, select "theme.liquid."

Locate {{content_for_header}} and paste in your code before the closing </head> tag. 

After you have clicked "Save" in the upper right corner, you can double check the installation with our Outbrain Pixel Tracker. 

Looking to track conversions on your Shopify checkout page? 

After you have installed the Outbrain pixel in the theme.liquid file (above), create an event-based conversion in your Outbrain account. Copy the event-based code and head to the Checkout section of your Shopify account. You can find this by going to "Settings", and then hit "Checkout") 

Scroll down to the "Additional Scripts" box and place the added code in the text box between two script tags. 

We highly recommend testing your pixel before going live. When testing, make sure to clear your cookies or open up an incognito window to simulate a first time customer, otherwise it might not fire.

For more information on how to set up our pixel on Shopify, check out their great article on implementing conversion tracking. 


Drive Engaged visitors to your content

Promote your content on premium websites like CNN, ESPN and thousands more

Show me how