Skip to main content
Web2App - FB Pixel script adding
L
Written by Leanid Yuryeu
Updated over a week ago

In this guide we tailor how to insert Fb Pixel script in your anlyics for regular tracking and cookies policies purposes.

Connect FB Pixel to your project without Cookies Policy

Step 1: Create Dataset

Click All tools in the left panel of Meta Business Suite or Facebook Business Manager

Find and click Events Manager

Click Connect Data Sources

Choose Web —> Click Connect

Enter youe dataset name —> click Create


Enter your domain link —> click Next

Choose Meta Pixel only, finish the setup Facebook.

Step 2: Find Pixel script

For recently created Dataset:

Open your Dataset -> Overview

Click on Set Up Meta Pixel

Click on Install Code manually option

You will be redirected to tha page with the script.

Copy the script

For previously created Dataset:

If you created dataset before and want to get the script follow next steps:

Open your Dataset -> 'Overview' -> Click 'Add Events' -> Select 'Add New Integration'

Choose Meta Pixel - > Click Setup

Choose Manually Add Code to Your Website -> Click Get Started

Select Install Base Code - Click Copy Code

Step 3: Insert Pixel script in Onboarding Online form

Paste the script on Onboarding Online form in the 'head' section

Click on Add Web Onboarding

Connect FB Pixel to your project with Cookies Policy

Step 1: Create Dataset

Click All tools in the left panel of Meta Business Suite or Facebook Business Manager

Find and click Events Manager

Click Connect Data Sources

Choose Web —> Click Connect

Enter youe dataset name —> click Create


Enter your domain link —> click Next

Choose Meta Pixel only, finish the setup Facebook.

Step 2: Find and Copy DataSet ID

Click on your Data Set -> go to Settings

here you will find the DATASET ID, copy it

Step 3: Insert the Dataset ID in the Cookies check script

Click on 'Use Cookies Check'

The needed script will be added automatically:

Replace YOUR_META_PIXEL_ID word in all places in the script with your Dataset ID, that you have copied:

Click on Add Web Analtitycs

Did this answer your question?