How to Set Up Google Analytics & Facebook Pixel on Shopify

Setting up Google Analytics tracking and Facebook tracking on your Shopify store is very easy and straightforward. In fact, Shopify couldn’t have done a better job at making this step simple. However, Pinterest Tracking is a bit more work.

Why Shopify decided to make Facebook tracking so easy but not Pinterest is completely puzzling to us. It could be because Pinterest ads are fairly new as compared to Facebook ads but that’s just a wild guess. If you were unsure how to do it, don’t worry, just follow the simple steps we have for you below.

Setting Up Google Analytics Tracking for Shopify

Step 1:

To set this up, in your Shopify admin account, go to Online store and click on Preferences.

Step 2:

  1. Scroll down to Google Analytics. Here you will paste in your Google Analytics “Tracking ID”. The one that looks like this: UA-XXXXXXXX-XFigure 1: Under Google Analytics in Preferences, paste your Google Analytics Tracking ID in the text box.
  2. Click Save in the top right corner.
  3. For Enhanced Ecommerce, don’t forget to check Use Enhanced Ecommerce and click Save:Figure 2: Under Google Analytics in Preferences, check Use Enhanced Ecommerce.

How to Find Your Google Analytics Tracking ID:

  1. Visit your Google Analytics account.
  2. Click on Admin: Figure 3: Click on Admin in your Google Analytics account.
  3. Under Property, click on <> Tracking Info, then click on Tracking Code:Figure 4: Click on Tracking Code under the Properties category.
  4. Copy the code under Tracking ID that looks like the one below:Figure 5: Copy the Tracking ID from the Property category.

Should I Use Google Tag Manager instead of Google Analytics for Shopify Tracking?:

You certainly can but it’s a little more involved. This process is recommended for more advanced users, so we will not be covering it. However, if you are still interested in using GTM for analytics tracking of your Shopify store, we would recommend watching this step-by-step guide we found.

Setting Up Facebook Tracking for Shopify

The setup for Facebook Tracking is just as easy as the setup for Google Analytics tracking with Shopify.

Step 1:

To set this up, in your Shopify admin account, go to Online store and click on Preferences.

Step 2:

  1. Scroll down to Facebook Pixel. Here you will paste in your Facebook Pixel ID. It will look something like this:Figure 6: Paste in your Facebook Pixel ID.
  2. Click Save in the top right corner.

How to Find Your Facebook Pixel ID:

  1. Visit your Facebook Ads Manager
  2. Go to All Tools > Measure & Reports > Events Manager > Pixels:Figure 7: Go to Pixels under Events Manager. Click here for a shortcut: Facebook Events Manager
  3. Your Pixel ID is located below Data Sources as can be seen below: Figure 8: Copy your Pixel ID.
>
Tweet
Share
Pin
Share