How To Install Facebook Pixel With Google Tag Manager

The Facebook Pixel is a potent asset for monitoring and enhancing your Facebook advertisement efforts. By integrating the Facebook Pixel into your website, you have the capability to evaluate your advertising efficiency and tweak them according to live data. This piece will walk you through the procedure of setting up the Facebook Pixel using Google Tag Manager.

Step 1: Create a Facebook Pixel

The first step in installing Facebook Pixel is to create one. To do this, log in to your Facebook account and navigate to the Ads Manager. From there, select “Pixels” from the left-hand menu and click on “Create a Pixel.” Follow the prompts to name your pixel and enter your website URL.

Step 2: Install Google Tag Manager

Next, you will need to install Google Tag Manager on your website. If you haven’t already done so, follow these instructions to set up a Google Tag Manager account and install the code on your site.

Step 3: Create a Facebook Pixel Tag in Google Tag Manager

Once you have installed Google Tag Manager, log in to your account and navigate to “Tags” from the left-hand menu. Click on “New” and select “Tag Configuration” from the drop-down menu. From there, select “Facebook Pixel” as the tag type and enter your Facebook Pixel ID.

Step 4: Create a Trigger for the Facebook Pixel Tag

Now that you have created the Facebook Pixel tag in Google Tag Manager, you will need to create a trigger for it. A trigger is an event that causes the tag to fire. In this case, we want the Facebook Pixel tag to fire when someone visits our website. To do this, navigate to “Triggers” from the left-hand menu and click on “New.” Select “Page View” as the trigger type and enter a name for the trigger.

Step 5: Save and Publish Your Changes

Once you have created the Facebook Pixel tag and trigger in Google Tag Manager, it’s time to save and publish your changes. Navigate to “Workspaces” from the left-hand menu and select “Publish.” Follow the prompts to review and confirm your changes before publishing them.


Installing Facebook Pixel with Google Tag Manager is a simple process that can help you track and optimize your Facebook ad campaigns. By following these steps, you can create a powerful tool for measuring the effectiveness of your ads and making adjustments based on real-time data.