How to install your SiteMatch (Anonymous Site Visitor) pixel in your Shopify store

Adding our pixel is straightforward, and the process is similar to many other common tools you may already be familiar with.

PostPilot's SiteMatch pixel can be installed via Google Tag Manager (recommended), or manually to your Shopify store by adding it to your Shopify theme's layout file.

This tutorial outlines the latter: installing directly to your Shopify theme's layout file.

SiteMatch is an incredible way to boost your business by reaching anonymous visitors to your online store!  Note, however that (at least for now) it is only supported for visitors residing in the US.

Installing your SiteMatch pixel is straightforward with Shopify.

First, find and copy the pixel snippet in the PostPilot app.

  1. Login to PostPilot and tap on Integrations.  
  2. Select SiteMatch from the list and click Manage.  
    Screenshot 2023-04-05 at 18.29.10
  3. Choose your Shopify store.
  4. Tap the copy icon the the right of the script code. Screenshot 2023-03-29 at 15.53.13

If you are installing your pixel using Google Tag Manager, you can paste the copied script code into GTM, and skip the remainder of the steps below.

Next, add the pixel snippet to your Shopify store's layout.

If you're not using GTM, head over to your Shopify Admin console.  

  1. Once logged in, go to Online Store → Themes → (your theme name).  Click the ellipsis next to the "Customize" button, and select "Edit code":
  2. On the Edit Code page, you’ll see a list of files on the left side of the screen. Find the “Layout” folder and click on theme.liquid:
  3. Scroll through the code to locate the </head> tag.  (Using your browser's text search feature is a nice shortcut here!)
  4. Paste the pixel code that you copied from PostPilot into a new line just above the </head> tag.  The end result will look similar to this example:
  5. Click the "Save" button in the top right to confirm your edits:


Be careful not to alter anything else in this file.  Doing so can impact the functionality of your store site.  If you feel unsure, please reach out to our support team to assist.  

It'll take a minute or two for the two systems to connect, but once connected, you'll see a message stating that 'This pixel has been successfully verified' in  the PostPilot app in the  Integrations → SiteMatch → Manage screen.

Once verified, you're ready to start using your SiteMatch pixel.

Click on Flows to setup some campaigns to start targeting site visitors.  (More on that here.)