Installing the Facebook Pixel using Google Tag Manager

Installing the Facebook Pixel using Google Tag Manager

What is Google Tag Manager?

Google Tag Manager (GTM) makes it really easy to add different scripts to your page. The most common scripts that are used are analytics (Google Analytics) and remarketing tags (Facebook Pixel, Adwords Remarketing Pixel, etc.) Google Tag Manager makes working with code nice and easy because you only have to install it once on your website. All the other code snippets (tags) get put on the site through Google Tag Manager.

Get your account at tagmanager.google.com if you don’t already have one.

What is the Facebook Pixel?

The most basic function of the Facebook pixel is to track audiences. Whenever someone lands on your website, Facebook will tag them. This means that you can then use their advertising platform to target the exact same people that visited your website.

Installing GTM

The first step is to Install the Google Tag Manager code snippet onto your site. There are 2 parts to the code snippet. One goes in the header between the <head></head> section and the other in the <body> before the closing tag </body>. Sometimes your theme has a spot to do this if you don’t want to use a plugin.

Install the Insert Headers and Footers plugin.

  • Go to Plugins > Add New > search for Insert Headers and Footers plugin by WPBegginer > Install and Activate.
    Install Headers and Footers Plugin

Once the plugin is installed we can grab the code from Google Tag Manager.

  • Go to Google Tag Manager and click on the Container ID to pull up the code snippets.

Get GTM Code Snippet

  • Go back to WordPress in Settings > Insert Headers and Footers > Paste the top code into the <head> section and the bottom code into the <body> section.

VIOLA! Google Tag Manager is now installed on our website!

Installing The Facebook Pixel

  • The first thing we will want to do is click on Variables on the left hand. > Click Configure > and enable “HTML ID” and “Container ID” from the options. (I like to also enable all click and form variables for future use.)Configure Built in Variables in GTM
  • The next thing we want to do is create a constant variable for our Facebook Pixel ID.
    • Go to Variables > all the way down at the bottom under “User-defined Variables” click NEW > Title the Variable “FBPIXELID”
    • Click Learn More > Choose “Constant” > Input the Facebook Pixel ID into the field. > Click SaveFacebook Pixel ID Constant Variable
  • Now, it’s time to make the tag.
    • Go to “Tags” on the left-hand side.
    • Click “NEW” > title the tag “Facebook Base Pixel” > Choose “Custom HTML”
    • Insert the following Code:

<script>  var gtm = google_tag_manager[{{Container ID}}];  try {    !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,’script’,’//connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, “{{FBPIXELID}}”);    fbq(‘track’, “PageView”);    gtm.onHtmlSuccess({{HTML ID}});  } catch(e) {    gtm.onHtmlFailure({{HTML ID}});  }</script><noscript><img height=”1″ width=”1″ style=”display:none”src=”https://www.facebook.com/tr?id={{FBPIXELID}}&ev=PageView&noscript=1″/></noscript>

*Because we used a constant variable, this is the only piece of code that we need. The above code references the FBPIXELID constant we created.

  • Choose to fire on all pages > Save.

Facebook Base Pixel in GTM

The Facebook Pixel is now Successfully installed on our website through Google Tag Manager.

How To Utilize The Facebook Pixel- Video Marketing

How To Utilize The Facebook Pixel- Video Marketing

Seeing The Url’s

The power of seeing the URLs doesn’t sound too inspiring. But in reality it helps you see confirm that your Facebook pixel is  installed the pixel properly. One of the ways we also utilize the facebook pixel is to find thank you pages. It also can kind of work as Google analytics though we don’t encourage you to use Facebook as your analytics. We highly recommend Google analytics to actually observe your data. But still it shows you the pages that people are actually visiting.

Audiences Devices

This can help you in the process of targeting your ads. For example let’s say you have 20,000 pixel fires on desktop. And 20 on mobile. You know for a fact right upfront that your target audience mainly uses desktop computers.

The Best Way to Utilize The Facebook Pixel Creating audiences

Can I get a drum roll?….Now this is the main reason we use the Facebook pixel. This gives us the ability to create specific audiences from our website visitors. Here is a list of ways that you can build re-marketing list with the Facebook pixel from your site.

Anyone who has visited your website

When building out these lists for anyone who has visited your website. We recommend creating at least 6 different lists. We recommend doing a seven day, 14 day, 30 day, 60 day, 90 day, and 180 day. Now Facebook will create specific list for anyone who has visited your website in these time frames.

This will give you the ability to target brand-new leads and also give you the opportunity to reintroduce yourself to people that haven’t been back in a while.

People who visits specific pages

With this section we recommend creating a list for every single landing page. It depends on your product or service but generally speaking it gives you the ability to re-target someone that didn’t convert/purchase from that specific page.

We also recommend creating a list of people that have hit your checkout page/thank you page. Once the list gets big enough it gives you the opportunity to create a look-alike audience. We have had a lot of success with look-alike audiences. Facebook does well finding people that will likely buy your product. It also gives you the ability to retarget that audience and offer a different product. Your audience is likely to repurchase your product or other products if they’ve already bought.

People visiting specific pages but not others

The only time we would use this is for a company would be a company that offers multiple products in different categories.

People who haven’t visited in a certain amount of time.

This is a great opportunity you have to re-target people that may have purchased in the past. Or if you have a product that requires a monthly subscription. For example maybe you sell vitamins. The vitamins that you sell come in packs of 90 and after 90 days your buyer will need a new supply. You will want to build a list of people after 90 days and retarget an ad to them. We might recommend in this ad to offer them some sort of promotion or discount.

Look A Like Audiences

Look-alike audiences are a great way to find new buyers. But in order to create look alike audiences you need site traffic, Facebook traffic, or you need an email list. You will have a hard time creating look-alike audiences if you are a start up and are starting ads right now. It takes time to build list of traffic and get people visiting your site. Once you have visitors or you have an email list look alike audiences are very important, and are the best way to find new buyers.

Transcription

What’s up guys? It’s Taylor Timothy with MarketingHy.com and today we’re going to talk about the different things that you can do with the Facebook pixel. Check it out.

How To Utilize The Facebook Pixel

diving into the Facebook Ads Manager let’s go over to pixels to see all the different things that this pixel offers us.  we can see the URLs with the pixels being fired the most; actually all the URLs that are being fired. You can continue to scroll to see more of all the different fires of the pixel. You can see the domains where the pixel has been installed. You can see the devices that where the pixel was being fired. for us the desktop is the most where the pixel is fired and the least is you know tablets.

Facebook Urls

that’s one thing that the pixel offers us. The second thing I would like to talk about is creating audiences from this pixel- so creating custom audiences from your website traffic. what you can do because this pixel is being fired so much you can specify the different URLs where you would like to target.  you do Anyone who has visited your website, so you would just put in your URL, or you can do specific pages or people visiting specific web pages but not others, people who haven’t visited in a certain amount of time. these are four different things that you can do to retarget to people from this Facebook pixel.

Create Facebook Audiences From Site Visitors

what this pixel is doing is it’s literally creating audiences for you all day long and lists from the visitors of your site.
another thing we like to do is, so for example we have visitors of 90 days. we’ve had 3800 fires in 90 days.  what we can do is click here, and we go to actions and we can create a look-alike audience of those 3800 people. our main audience is in United States and this would create a 1% look-alike audience from those 90 visitors. once your list gets big enough you can go and diversify your different audiences. we have all these different audiences that we have gone through and created from this Facebook pixel.
I hope this helps you guys out. This is the Facebook pixel again. I know I’ll help you guys’ website out, help your website conversions increase drastically, if you guys have this Facebook pixel in place along with creating these different types of audiences.
Hey, guys. Thanks for watching. I hope this tutorial was helpful. Feel free to subscribe. Check out our other blogs on our site and if you have any questions feel free to reach out to us at MarketingHy.com. We’d love to help you guys out.
How To Utilize The Facebook Pixel

#youtubemarketing

#TIMESTAMPS
If you need a speaker, trainer or consultant contact us.

Find our businesses here:

Address :
Saint George Utah | Salt Lake City Utah | USA

#Links

Website Yinc: http://yincmarketing.com
Website Ydraw: http://ydraw.com
Jace Vernon: http://jacevernon.com
Facebook: http://facebook.com/yincmarketing
Twitter: http://twitter.com/jacevernon
Instagram: http://instagram.com/ydraw
Linkedin: http://linkedin.com/in/jacevernon
How To Utilize The Facebook Pixel

How To Install The Facebook Pixel

How To Install The Facebook Pixel

The Facebook pixel is one of the most important tools that you can have on your site. The Facebook pixel is so simple to install and takes just a few minutes to install. Below I will have a checklist on how you can install the Facebook pixel on your site.

Step 1 Create A Facebook Account

You need to create a Facebook ad account. You must have a Facebook profile linked to your ad account.

Step 2 In The Facebook Menu Click Pixels

Go into your ad manager and hit the drop-down menu and go and click on pixels.

Step 3 Set Up Pixel

Click on “Set up Pixel”.

Step 4 Copy And Paste The Code

Click on “Copy and Paste The code”. Inside of the box. The moment that you click on the box will open up to the code area.

Step 5 Copy The Pixel Code

Click on the box and it will copy the entire code.

Now paste this code inside in the header of your site. The installation of your Facebook pixel is complete.

The Benefits Of Installing The Pixel On Your Site.

Target audiences

After someone visits your website the pixel will record certain actions that your audience will perform and you will want to track. People view your products, possibly add a product to the cart, fill out a form, or even make a purchase, Facebook can track all of these events. You will be able to track this information and will have the ability to create specific audiences from your website traffic. And then you can re-target to  these visitors with Facebook ads.

See ad performance

The pixel has the power to show you your ad performance. Facebook can track sells, video views, content engagement, and much more. You have the ability to see how many impressions, video views your ads have received. You can also see how many people engaged with your ad.

Advertise more efficiently

The pixel helps optimize your ads. What this means is that Facebook will deliver your ad to people that are more likely to engage with your ad or even take action. You obtain the ability to generate more leads on a small budget. The more traffic to your site the more likely your ads will generate more leads.

Measure return on investment

Facebook can Report to you the amount of conversions and the cost per conversion. If you can determine how much you can spend on lead this will allow you to calculate your return on investment. Is the concept of spending money to make money it is essential that you know your numbers for your business to grow.

If want to learn more about Facebook and how it can benefit your business check out our other blogs or  feel free to reach out to us! Download our Facebook guide to get you started running your Facebook ads.