How to get a new facebook pixel
How to Set Up Meta Pixel (Formerly Facebook Pixel)
One of the greatest benefits of social media advertising is the ability to test, track, refine and target your ads with laser precision. The Facebook pixel is a data-gathering tool that helps make the most of your ads across Facebook and Instagram.
As of February 2022, Facebook Pixel changed its name to Meta Pixel. You will see it referred to with both names throughout this article.
If you use Facebook or Instagram ads now, or plan to use them at any point in the future, the Facebook pixel (or Meta pixel) is a must-use tool. Read on to learn how it works.
What is the Facebook pixel (a.k.a. Meta pixel)?
How does the Facebook pixel work?
Facebook pixel setup
Why should you install the Facebook pixel?
Enhance Facebook pixel data with Conversions API
Bonus: Get the Facebook advertising cheat sheet for 2022. The free resource includes key audience insights, recommended ad types, and tips for success.
What is the Facebook pixel (a.k.a. Meta pixel)?The Facebook pixel is a piece of code that you place on your website. It collects data that helps you track conversions from Facebook ads, optimize ads, build targeted audiences for future ads and remarket to people who have already taken some kind of action on your website.
How does the Facebook pixel work?The Facebook pixel works by placing and triggering cookies to track users as they interact with your business both on and off of Facebook and Instagram.
For example, I recently spotted a very cute bathmat in the Instagram Stories of interior design YouTuber Alexandra Gater. (At the time, I was thinking about my decorating my apartment, not the Facebook pixel, so I didn’t screencap – you’ll just have to trust me on this.)
I swiped up to check out the bathmat and even added it to my shopping cart. Then I got distracted by thinking about breakfast and put down my phone.
The next time I opened up Instagram, this ad popped up in Stories:
Source: Baba Souk on Instagram
And, sure enough, the next time I headed to Facebook on my laptop…
Source: Baba Souk on Facebook
This is called retargeting. It’s a handy way for marketers to remind shoppers to come back and buy all those items they leave in various shopping carts across the web.
Remarketing is not the only function of the Facebook pixel. It’s also important for tracking, analytics, and overall ad optimization.
The pixel tracks various actions people take on your website, like making a purchase or adding something to their shopping cart. Facebook calls these actions “events.”
Facebook pixel standard eventsThe 17 standard Facebook pixel events for which you can simply copy and paste Facebook event code are:
- Purchase: Someone completes a purchase on your website.
- Lead: Someone signs up for a trial or otherwise identifies themselves as a lead on your site.
- Complete registration: Someone completes a registration form on your site, such as a subscription form.
- Add payment info: Someone enters their payment information in the purchase process on your website.
- Add to cart: Someone adds a product to their shopping cart on your site.
- Add to wishlist: Someone adds a product to a wishlist on your site.
- Initiate checkout: Someone starts the checkout process to buy something from your site.
- Search: Someone uses the search function to look for something on your site.
- View content: Someone lands on a specific page on your website.
- Contact: Someone contacts your business.
- Customize product: Someone selects a specific version of a product, such as choosing a certain color.
- Donate: Someone makes a donation to your cause.
- Find location: Someone searches for your business’s physical location.
- Schedule: Someone books an appointment at your business.
- Start trial: Someone signs up for a free trial of your product.
- Submit application: Someone applies for your product, service, or program, such as a credit card.
- Subscribe: Someone subscribes to a paid product or service.
You can also add more details to standard events using extra bits of code called parameters. These allow you to customize the standard events based on factors like:
- How much a conversion event is worth
- Currency
- Content type
- Predicted long-term value
For example, you could use the Facebook tracking pixel to record views of a specific category on your website, instead of tracking all views. Perhaps you want to separate dog owners from cat owners based on which sections of your pet supply website they viewed.
The Facebook pixel and iOS 14.5Because of changes to third-party tracking in iOS 14.5, some Facebook pixel functionality will be disabled for updated Apple devices. Before you panic, consider that only 14.7% of mobile Facebook users access the social network using iOS devices.
Still, changes to accommodate the iOS 14.5 requirements will impact all advertisers. One major change is that advertisers can only set up a maximum of eight standard events and custom conversions.
Advertisers will certainly have to change the way they think about the Facebook pixel as these changes take effect. We’ll address specific limitations and changes you need to know throughout this post.
Facebook pixel setupNow that you know what you can track, and why you would want to do so, it’s time to create your Facebook pixel and put it to work on your website.
Step 1: Create a Facebook pixel1. From your Facebook Events Manager, click Connect to Data Sources in the left-hand menu, then select Web. Click Get Started to continue.
Source: Facebook Events Manager
2. Select Facebook Pixel, then click Connect.
Source: Facebook Events Manager
Name your pixel, enter your website URL, and click Continue.
Source: Facebook Events Manager
When choosing the pixel’s name, keep in mind that with Events Manager, you only get one pixel for each ad account. The name should represent your business, rather than a specific campaign.
If you want to use more than one pixel per ad account, you can do so using Facebook Business Manager.
Step 2: Add the Facebook pixel code to your websiteTo put the pixel to work gathering information on your website, you now need to install some Facebook pixel code on your web pages.
There are a few ways to do this depending on what website platform you use.
Source: Facebook Events Manager
- If you use one of Facebook’s integration partners, like WordPress or SquareSpace, choose Use a Partner Integration. This will walk you through a series of steps to connect your Facebook pixel without any coding.
- If you work with a developer or someone else who can help you edit your website code, click Email Instructions to send your developer everything they need to install the pixel.
- If neither of the above options applies, you need to insert the pixel code directly into your web pages. That’s what we’ll walk you through in this section.
1. Click Install code manually.
2. Click the green Copy Code button.
Bonus: Get the Facebook advertising cheat sheet for 2022. The free resource includes key audience insights, recommended ad types, and tips for success.
Get the free cheat sheet now!
Source: Facebook Events Manager
3. Paste the pixel code into the header code of your website, just above the </head> tag. You need to paste it into every single page, or into your header template if you’re using one. Click Continue.
4. Choose whether to use automatic advanced matching. This option matches hashed customer data from your website to Facebook profiles. This lets you track conversions more accurately and create larger custom audiences. Then click Continue.
Source: Facebook Events Manager
Step 3: Set up Facebook pixel events1. Click the Open Event Setup Tool button.
Source: Facebook Events Manager
Choose your Facebook pixel ID, then click Settings and scroll down to Open Event Setup Tool.
Source: Facebook Events Manager
2. Enter your URL and click Open Website.
Source: Facebook Events Manager
3. Facebook will provide a list of suggested events. Click Review next to each event, then choose to Confirm or Dismiss. Click Finish Setup to continue.
If you’re interrupted in your pixel setup, you can always come back to this later by going to Events Manager.
Step 4: Confirm your pixel is working with the Facebook pixel helperBefore you start relying on the data from your Facebook pixel, you should confirm that it’s tracking properly.
1. Add the Facebook Pixel Helper extension to your Google Chrome browser. (It’s only available for Chrome, so if you use a different browser, you’ll need to install Chrome to use the Pixel Helper.)
Source: Chrome Web Store
2. Visit the page where you have installed the Facebook pixel. A popup will indicate how many pixels it finds on the page. The popup will also tell you if your pixel is working properly. If not, it will provide error information so you can make corrections.
Source: Facebook Pixel Helper
Step 5: Add a Facebook pixel notice to your websiteTo comply with Facebook’s terms (and, in some cases, the law), you need to make sure visitors to your website know you’re collecting their data.
That means you need to provide clear notice that you’re using the Facebook pixel and that their information may be collected through cookies or other methods. You also need to let users know how they can opt out of having their data collected.
To get all the details, go to the Facebook Business Tools Terms and scroll down to point 3: Special Provisions Concerning the Use of Certain Business Tools. Or, check out Facebook’s Cookie Consent Resource.
Why should you install the Facebook pixel?Increase the ROI on your Facebook ad spendFacebook pixel data helps ensure your ads are seen by the people who are most likely to take your desired action. This allows you to improve your Facebook ad conversion rate and get better ROI.
Even if you’re not using Facebook or Instagram ads yet, you should install the Facebook pixel now. It will start collecting data right away so that you don’t have to start from scratch when you’re ready to create your first Facebook ad.
Use Facebook conversion trackingThe Facebook pixel allows you to see how people interact with your website after viewing your Facebook ad.
You can even track customers across their devices. This is why I saw an ad for the bathmat on my laptop, even though I added to it the shopping cart on my phone.
This lets you see if people tend to see your ads on mobile but switch to a desktop before buying. Or, maybe it’s the other way around. This information can help you refine your ad strategy and calculate your return on investment.
This Facebook pixel function is impacted by the iOS 14.5 change, but Facebook will ensure advertisers still get some conversion tracking data through its Aggregated Event Measurement.
To ensure you continue to get the best conversion tracking data, you need to verify your website domain. You also need to stick to one domain for conversion tracking, since iOS 14.5 won’t allow tracking across multiple domains.
Use Facebook retargetingFacebook retargeting pixel data and dynamic ads allow you to show targeted ads to people who have already visited your site. You can choose to get really granular here.
For example, you can show people an ad for the exact product that they abandoned in a shopping cart or added to a wishlist on your website – as happened with the bathmat I was ogling earlier.
Retargeting audiences will shrink as more people update to iOS 14.5. But they won’t disappear.
Create lookalike audiencesFacebook can use its targeting data to help you build a lookalike audience of people who have similar likes, interests, and demographics to people who are already interacting with your website. This can help expand your potential customer base.
iOS 14.5 will affect the input data for lookalike audiences, because the tracked audience the lookalike is based on will shrink. However, because iOS users are in the minority, the lookalike functions will still have plenty of information to work with. You won’t likely notice a major change to functionality here.
Optimize Facebook ads for valueAs Facebook collects data on who buys from your site and how much they spend, it can help optimize your ad audience based on value. That means it will automatically show your ads to the people who are most likely to make high-value purchases
Enhance Facebook pixel data with Conversions APITo help counter the data-loss effects of iOS14.5 changes, Facebook introduced Conversions API. Rather than relying on cookies and web and mobile browsers for data, Conversions API collects information directly from your servers.
By combining Conversions API with the Facebook pixel, you’ll have access to more reliable data, even as the pixel loses information.
If you’re using one of Facebook’s integration partners, like Shopify or WooCommerce, you can turn Conversions API on without writing any code.
1. From Events Manager, click Data Sources in the left column, then click Settings in the top menu.
Source: Facebook Events Manager
2. Scroll down to the Conversions API section and click Choose a Partner.
Choose your partner and follow the steps. Facebook also provides detailed instructions for setting up the Facebook pixel Shopify Conversions API integration.
If you don’t use one of Facebook’s integration partners, you’ll have to create some code, and you’ll likely need to work with a developer. Follow Facebook’s detailed steps for implementing Conversions API manually.
Conversions API can help fill in data your Facebook pixel is missing. For example, in late 2020, the bedding company Lull found their pixel was missing about 8% of purchase events.
Once they added Conversions API, they were able to track nearly 100% of purchase events. They also saw a 12.9% reduction in cost per action on a one-day click, one-day view attribution window.
Publish and analyze your Facebook, Instagram, and LinkedIn ads alongside your regular social media content with Hootsuite Social Advertising. Stop switching from platform to platform and get a complete view of what’s making you money. Book a free demo today.
Request a Demo
Easily plan, manage and analyze organic and paid campaigns from one place with Hootsuite Social Advertising. See it in action.
Free Demo
How to SAFELY replace your Facebook Pixel with a NEW one
“How can I SAFELY migrate to a new Facebook Pixel?”
I get this question quite often, so I decided to publish this small guide instead of e-mailing the answer every single time.
Migrating from an old to a new Facebook Pixel is not complicated if you have a good plan.
The biggest mistake you can do: replace the old pixel with the new one without any additional steps. This will break everything and ruin your Facebook ads just like that.
There are TWO things you need to keep in mind:
- The NEW Facebook Pixel has ZERO data.
- The pixel data is available for 180 DAYS.
You need to TRAIN your new pixel for 180 days, re-create Custom Audiences and Custom Conversions, add it to your Product Catalogs, replicate Pixel Events, and use it for your ads at the right moment.
Create a NEW Facebook PixelInside your Facebook Business Manager, go to Events Manager and click on Add New Data Source. Follow the steps until your new pixel is created.
Install the NEW pixel on your websiteI am going to use PixelYourSite Pro for this task because it supports multiple pixels.
Copy your NEW pixel ID, open PixelYourSite Dashboard, click on the “Add Extra Facebook Pixel ID” button and paste the ID. Save the new settings.
Don’t delete the old pixel!
Train your NEW pixelThis is the key part o your migration plan, and it can take up to 180 days.
Custom AudiencesIf you’ve run Facebook Ads for a decent amount of time, chances are that you already have several Custom Audiences. You will need to replicate them using the new Facebook Pixel.
Tip: replicate only those audiences that you need.
Here’s a list of Custom Audiences that you might find useful:
- Purchase Event 180 days – If you sell online, this is your most important Custom Audience.
- Website Visitors 180 days.
- Product visits (ViewContent) 180 days. You might need some other intervals, like 14 or 30 days, depending on your strategy.
Other audiences you should consider are direct traffic (GeneralEvent + the traffic source parameter), people that searched on your website (the Search event), embedded video views (the WatchVideo Event) and clicks on key links (the ClickEvent).
Lookalikes AudiencesReplicate your most useful Lookalikes Audiences.
What are Lookalikes? A Lookalike Audience is a way to reach new people who are likely to be interested in your business because they’re similar to your best existing customers.
If you run an e-commerce business, your most powerful Lookalikes will be based on the Purchase Event Custom Audiences 180 days (your clients).
If you don’t have enough purchases in your desired location, you can use AddToCart or even ViewContent Custom Audiences.
Custom ConversionsIf you use any Custom Conversion, replicate them for the new pixel.
Connect the new pixel to your Product CatalogsGo inside your Business Account, click on the top menu, and open Product Catalogs. Click on the catalog’s link and select “Events Data Sources” from the left-side menu.
Enable the new pixel and click Save.
This is a crucial step if you run or plan to run Dynamic Product Ads, so make sure you don’t skip it.
Replicate your Facebook Pixel EventsThe new pixel should send the same events and the same parameters as the old one.
If you use the PixelYourSite plugin you are all set, because it sends all the existing events to every installed pixel.
Update your Ads CampaignsYour existing campaigns are optimized and tracked by the old pixel and they target your old Custom Audiences or Lookalikes.
There are two things you will need to change:
- The pixel that tracks your ads.
- Your targeted audiences.
For Catalog Sales campaigns that use “Retarget ads to people who interacted with your products on and off Facebook.” you must change the pixel AFTER the number of days your ads are configured to go back.
For all your other ads you can change the pixel right away.
How to change the pixel for existing adsOpen your Ads Manager and select all the campaigns you want to change. Click “Edit”, go on “Ads” and scroll down until you find the Tracking section. Select the NEW pixel and click Publish.
New ads trackingYour new ads can be tracked by the new pixel right away.
Your targeted audiencesYou can safely replace the old audiences AFTER the interval they are configured is consumed. So a Custom Audiences for the Purchase Event in the last 180 days can be replaced after 180 days.
Shortcut: You can edit your ads and add the new Custom Audiences along with the old ones. The same trick can be applied to new ads.
Delete the old pixel after 180 daysIt is safe to delete the old pixel 180 days AFTER you installed the new one on your website. By then, the new pixel has all the possible data tracked.
TricksYou can RENAME your old and new pixels to make sure you remember what you need to do.
How to RENAME your pixelOpen your Business Manager top menu, click on Pixels and click on the pixel you want to rename.
The end result can be something like this:
ConclusionReplacing your Facebook Pixel is not complicated, but you’ll need a plan and some discipline:
- Install the new pixel along with the old one.
- TRAIN your new pixel: replicate Custom Audiences, Lookalikes, Custom Conversions, Pixel Events.
- Connect the new pixel to your Product Catalogs.
- Track your ads using the new pixel.
- Add the new Custom Audiences or Lookalikes to your targeting.
- Remove the old pixel after 180 days.
Can I replace my Facebook Pixel?
Yes, you can replace your Facebook Pixel with a new one. Remeber it can take up to 180 days for the new pixel to work as expected.
Will my new Facebook Pixel have all the data from the old pixel?
No, your new Facebook will have NO data at all. That’s why you need to TRAIN YOUR NEW PIXEL.
How can I “TRAIN” my new Facebook Pixel?
Replicate your existing Custom Audiences and Lookalikes.
Replicate your Custom Conversions.
Replicate your current Pixel Events.
This proces can take up to 180 days.
How to install the Facebook* pixel on your own website
Tips
Don't distract the programmer :)
Follow us on Telegram
Understanding what is happening in the world of mailing lists and digital marketing. We publish announcements of articles, reviews, selections, expert opinions.
Watch channel
Become an email rocker 🤘
Take the free course and start your first mailing list
Read more
About the Facebook* Pixel
The Facebook* Pixel (Facebook* Pixel) is a piece of JavaScript code that collects information about website visitors and helps you customize Facebook* and Instagram* ads.
The Facebook pixel remembers everyone who visited the site and sends this information to the Facebook advertising account*. Thanks to this, we can find website visitors on Facebook* or Instagram* and set up ads for them.
How it works. A person visits the site, the Facebook* pixel remembers it and writes it to the audience. You set up an advertising campaign for this audience - the visitor sees your ad on Facebook* and Instagram*. nine0003
What you can do with the Facebook* pixel
With the pixel you can:
- Gather remarketing audiences. You can also set up combined audiences with a pixel, for example: all site visitors in the last 30 days who did not buy.
- Set up conversions. We will see when users achieve certain goals on the site: they buy a product, download price lists, register for an event. For each audience in the future, you can run a separate advertising campaign on Facebook*. nine0038
- Optimize ads. Pixel makes it easier to evaluate the effectiveness of various advertising campaigns. We can weed out the bad options and keep the ads that work.
- Create lookalike audiences. Based on our audiences, Facebook* can find similar people within the social network. It goes through thousands of parameters (gender, geography, age, behavior, interests) to find our potential buyers.
I tell you how to add a pixel to the site without involving programmers. nine0003
Collect contacts from Facebook* with UniSender
Ready integration of Facebook* Lead Ads and mailing service. Gather a database, set up automation and get sales.
Try
How to install the Facebook* pixel on the site
1. Go to Ads Manager.
2. Click "Ads Manager" - "Pixels".
3. Select "Add new data source" - "Facebook Pixel*".
4. A pixel can be added through direct integration with Google Tag Manager, manually or by sending configuration information to a programmer. nine0003
We choose the second option to understand how the pixel works.
If Google Tag Manager is already installed on the site...
… You can set up automatic integration of the Facebook* pixel into your site. We press the first item and select among the Google Tag Manager partners (it should already be configured).
Next, just follow the simple instructions for setting up the integration.
5. In the next window, we see recommendations for installing the code on the site. From this page you need to copy the pixel code. nine0003
6. Go to Google Tag Manager.
Google Tag Manager (GTM) is a tool for working with various codes on the site. We install GTM, and add all other codes through its interface. When loading a page, Google Tag Manager loads all other scripts: Google Analytics, Yandex Metrica, Facebook* Pixel and others.
You can register in GTM on its official page. After registration, you need to install the GTM code in the site markup. You can do it yourself (here is information to help) or contact a layout designer. nine0003
7. We installed GTM. Now you need to check its performance. The easiest way is to install the Google Chrome app - Tag Assistant.
Once installed, the application will appear in the browser window. Click on Tag Assistant, click "Enable" and refresh the page. We see which scripts are loaded.
8. We have verified that GTM is installed on the site. We return to his personal account and click "Tags" - "Create".
9. Enter the name of the tag (Facebook* Pixel) and click "Tag Configuration". nine0003
10. Select the tag type. GTM will offer many ready-made options, but we need "Custom HTML".
11. Paste our Facebook* Pixel code we got earlier.
12. In the advanced settings, select - "Once per page".
13. Select the standard trigger "All Pages" - "Page View". Now the Facebook* pixel will work on all pages of the site and transfer data to the Facebook* account.
In the next article I will tell you how to create triggers for various events on the site. nine0003
14. Click "Save" and return to the workspace to check the work of our pixel. Click "Preview".
15. Go to your site, see a window with tags configuration.
16. In the "Summary" - "Tags Fired On This Page" window, we see our code - Facebook * Pixel (the name you entered earlier). Here you can see other scripts on the page.
17. If you see your code, go back to GTM and click the Submit button. nine0003
18. Enter the names for the story and click "Publish".
Congratulations! You have added a Facebook* pixel to your site.
In the next article, I'll show you how to set up conversions using the Facebook* pixel. We will solve problems like the following:
- Using a pixel, find all users who have registered for an event on the site and set Facebook ads for them*.
- Find all buyers of a particular product and set up recommendations from related products on Facebook*. nine0038
In the meantime, I have everything 🙂
Updated June 9, 2020
Other related materials
Share
FRESH ARTICLES
Other materials from this category
Don't miss new articles
Subscribe to social networks
We share news and fresh articles, talk about new service
Articles by mail
Once a week we send a selection of fresh articles and news from the blog. Trying joke, but it doesn't always work out
By leaving my email, I accept the Privacy Policy nine0004 Our lawyer will swear if you don't accept :(How to start email marketing from scratch?
In the free course "Rock-email" we will tell you in 15 letters how to set up email marketing in your company. At the end of each letter we give broken tattoos about email ⚡️
*Together with the course you will receive the Unisender
blog newsletter By leaving my email, I accept the Privacy Policy nine0004 Our lawyer will swear if you don't accept :(Facebook pixel: how to create, install and set up events
Facebook pixel allows you to track conversions and collect data about the audience of a site or application. The data can be used to analyze the effectiveness of advertising and subsequent retargeting to the collected audience.
In the article we will tell you where the FB pixel is created, how to set it up, where to add the received code. nine0003
Advertising: 2VtzquY3wEz
Read also: Top 10 Targeting Courses
First, let's briefly talk about what the Facebook pixel is and what it can do. A pixel is a piece of code that tracks the actions of visitors to a website or application. So he can save data about users who viewed the product card in the online store, but did not buy it. These people can be set up to display ads on social networks, that is, “catch up” with them and make them real customers. For example, offer them a discount on a product they have viewed and thereby motivate them to make a purchase. nine0003
That is, with a pixel, you can gather an audience that is already interested in products and is likely to make a purchase. Ads targeting these users are much more effective than just ads targeting by age, country, and gender.
This is interesting: What is Instagram retargeting and how to set it up
Creating a pixel
The Facebook pixel is created through the Events Manager tool. You can get to it in one of two ways - through the Ads Manager advertising account or through the Facebook Business Suite. nine0003
Via Ads Manager:
Go to your personal advertising account. In the upper left menu (all tools) we find Events Manager.
Via Facebook Business Suite:
In the left menu bar, find the All Tools item.
Scroll down and in the item "Place ads" we find Events Manager.
Open the instrument. In the left menu, click on the green circle with a plus "Connect Data Sources". nine0003
*If you do this for the first time, then in the main Events Manager window there will still be a blue button with the same command - "Connect Data Sources".
A window appears with a choice of data source: Internet (if we want to collect data from the site), application, offline (to collect actions in retail stores, offices), CRM. Select "Internet" and click "Connect".
Two connection methods are available: Api Conversions (data is sent from the server) and Facebook Pixel directly. We choose the second. nine0003
The system displays a reminder of what a pixel is and how it works. Click next.
We need to come up with a name for the pixel and provide a link to the site where we will place the code. Any name, the main thing is that you understand. You can write the name of the site or product if the code is on the landing page.
How to add the pixel code to the site
The pixel can be installed manually through self-adding code to the site or through partner integrations. nine0003
*The second way is to connect the pixel to a website created on CMS (WordPress, Joomla, Drupal), website builders (Wix, Jimdo), e-commerce platforms (Shopify, Magento, Ecwid). There are 45 integrations available. With this addition of a pixel, you do not need to deal with the code - just select the desired one in the integration gallery and follow the instructions.
Back to the manual way of adding code. Click on the "Install Code Manually" button. We copy it. nine0003
To add the code, you need to go to your hosting, open the folder with the site and the index.html file. The copied piece of code must be inserted before the closing tag. The pixel code must be installed on each page of the site or on those where you want to track events. For example, if after making an order the user gets to the confirmation and thank you page for the purchase, it is also worth installing a pixel there. Then the data from the CRM or order form can be compared with the data from the pixel. nine0003
Facebook pixel settings
We advise you to turn on automatic advanced matching at the stage of creating a pixel. Or do it later in the settings. The pixel will be able to match the contacts of site visitors with the contacts of Facebook users, which will allow more accurate tracking of events and will be useful when further setting up advertising.
What matches can the pixel track:
- city, country, zip code;
- email; nine0038
- first and last name;
- country;
- external ID;
- phone number;
- date of birth;
- Pos.
*You can manually set which items to leave for matching.
Next, a window appears asking you to add events. This can be done later in the pixel settings. By default, after installing the code, the pixel takes into account about 18 main events: browsing pages, adding payment information, making a paid subscription, submitting an application. But it may not recognize all events, you need to test each one. nine0003
You can create events to track manually using the event setup tool. Immediately at the stage of creating a pixel or later. To work with this tool, you must manage the site, and the code must already be installed on it. We will talk about this tool in the section on adding custom events.
Domain confirmation
After installing the code on the site, you need to confirm domain ownership. Facebook will check for the presence of the code on the pages. This can be done in the pixel creation window or in the Business Manager. In the first case, click on the "Verify domain" button. In the second, you need to register a Business Manager account as the owner of the domain, then go to the "Brand Security" section, select the "Domains" item and confirm the site's domain. nine0003
Testing the pixel
After adding the code to the site and confirming the domain, you need to check what events the site is tracking. The main ones are displayed in the main Overview section, but they can also be viewed in the Testing Events section. Why this is needed - the pixel may not recognize all events and you need to understand in advance what it sees and what it does not. For example, it does not recognize all application forms. If you fill out an application on the site, but it is not displayed in pixel events or is displayed incorrectly, then you need to create a tracking for this event manually. nine0003
To test events, go to the corresponding item in the pixel menu in the Events Manager and write the site address. After that, you need to open this site, walk around the pages, leave a request - do whatever you want to track and see which events are sent to the pixel dashboard and which are not.
Important: If you don't have a redirect between domains with www and without www, then not all events may be recorded. For example, you are testing the site site.ru, but you accessed it through www.site.ru. If the redirect is not configured, then the events will not be displayed. We advise you to pre-configure the redirect so as not to lose traffic data. Or test both domains separately. nine0131
We advise you to test each time after adding a new event whether the pixel sees it and whether the data is displayed correctly.
Pixel Overview section
The Overview section displays a graph with the number of events and a list of these events. You can see the name of the event, the connection method (browser, mobile device), the time when this event was recorded by the pixel.
How to create custom event for pixel
Facebook can read not all events and then you need to create them manually. You may also want to track a specific conversion or event with a custom name. To make it immediately clear what kind of event it is. For example, adding a specific product to the cart or requesting a callback. nine0003
There are 2 ways to create custom events. The first is to add custom conversions in a separate section of Events Manager. The second is to add events through the event setup tool (without adding code).
How to create a custom conversion:
In the left menu of the Events Manager, open the Custom Conversions tool.
Click on the blue button to create a conversion, the settings window opens. Specify the name of the conversion, understandable to you. For example, "Checkout button". In the adjacent field, you can write a short description. In the data sources, select the desired pixel. nine0003
Next, you need to specify the condition for the event. For example, you want to set up checkout tracking. After registration, the user is taken to the "thank you" page. So you need to specify a link to this page in the "Rules" section in the line under the "URL" and "contains" buttons.
Then you need to specify the event category from the list. For example, "Purchase". If you don't see the category you want or don't know which one to choose, you can leave the default "Category Selected by Facebook". Then Facebook itself will determine the category. nine0003
After all the settings, the created event will be displayed in the "Overview" tab and in the event testing section under the name that was previously specified.
How to add an event through the event setup tool:
This can be done at the stage of creating a pixel, or later in its settings. In the second case, go to the "Overview" tab and click on the "Add events" button.
Click "From Pixel".
In the window that appears, you will need to click on the button "Open Event Configuration Tool". Next, enter the website address. You must have access to this site.
Your website will open and a small window will appear on the left with two buttons "Track New Button" and "Track URL".
Links are tracked in the same way as when creating custom conversions. If you choose to track buttons, the pixel will automatically detect all the buttons on the site and highlight them in a frame. nine0003
To set up an event, you need to click on the button and select the type of event from the list, for example, "Add to Cart" or "Purchase".
Check “Do not include value” if price tracking is not important to you and click “Confirm”. The event has been created. This event will be displayed in the "Overview" and "Testing" sections.
Conclusion
Creating and setting up a Facebook pixel seems complicated only at first glance.