Setting Up Facebook Pixel Tracking

Assuming you already have a Facebook Ads account setup–

  1. Go to https://www.facebook.com/ads/manager/pixel/facebook_pixel
  2. My preferred method:
    1. In the top sub-navigation menu select: Setup Pixel
    2. A modal window will popup asking if Use an Integration of Tag Manager, or Copy and Paste the Code– select Use an Integration of Tag Manager
    3. Choose Your Solution– Select Google Tag Manager
    4. Install Your Pixel Code– select Manual Install (vs. Quick Install)
    5. Install Pixel Base Code– Facebook offers great instructions for putting the base code inside an HTML GTM container
    6. … to be continued
  3. You will need:
    • The FB-BaseCode-ADV through Google Tag Manager using triggers makes it easy to manage when an event needs to be fired (ADV=Advanced, which is optional)
    • The FB-ViewContent event allows us to target to anyone who ever lands on any of our pages
    • The FB-ProductGoesHere event allows us to target to anyone who ever lands on a specific product
    • The FB-AdWords-ViewContent event allows us to target anyone who views any of our AdWords Listings
    • The FB-AdWords-ViewContent-ProductGoesHere event allows us to target anyone who views any of our AdWords Listings
    • The FB-AdWords-AmazonBuy-Click event allows us target anyone who clicked to Amazon after visiting any of our products on AdWords
    • The FB-AdWords-AmazonBuy-Click-ProductGoesHere event allows us target anyone who clicked to Amazon after visiting a specific product on AdWords
    • Now test it in GTM and make sure they’re all firing at the correct times

Leave a Reply