Menu

Facebook Ads Pixel & Conversion Event Guide

HT media - mh 24 Oct, 2024 Facebook Marketing

Facebook Ads Pixel & Conversion Event Guide

If you own a business website and run Facebook ads to attract traffic or generate conversions on your site, you must know about Facebook Pixel.

In this article, we will explore Facebook Pixel and Facebook Conversion Events to help enhance the effectiveness of your advertising campaigns.

Facebook Pixxel & max suwj kieejn tieeu chuaarn
See more products: Buy advertising accounts

What is Facebook Pixel?

Facebook Pixel is a JavaScript code snippet designed by Facebook to help advertisers easily measure and track customer behavior, allowing you to evaluate the effectiveness of the ads that Facebook brings to your website. In simpler terms, the Pixel acts like a camera developed and provided by Facebook that you can install in your home (website) to help you monitor, assess effectiveness, and analyze the behavior of users visiting your site.

Benefits of Facebook Pixel

If you are an advertiser who has been running ads on Facebook for years but has never used or even heard of Facebook Pixel, you definitely haven’t fully harnessed the advantages of this highly effective advertising platform in the Digital Marketing industry.

Let’s explore the most notable benefits of Facebook Pixel:

Helps You Track User Behavior on Your Website

After you attach the Facebook Pixel code snippet to your website, you can view statistics such as the number of people visiting your site who are also using Facebook, and what their behaviors are when accessing your site. You can see the total number of users visiting your website daily and monthly. Thanks to these statistics, you can understand how your website is developing and whether your ads are driving traffic to your site.

Create Custom Audiences

With the Facebook Pixel camera, you can easily track all the behaviors of potential customers taking place on your website, and then categorize and identify the most suitable individuals for remarketing. You can create custom audience lists according to your preferences, such as creating a list of people who have visited your website from Facebook in the past 30 days or those who have accessed specific pages, such as product pages or content pages.

lợi ích của Pixxel Facebook

After obtaining this quality custom audience thanks to Facebook Pixel, you can use it to run Remarketing ads or create Lookalike audiences and leverage them for your advertising campaigns.

Optimizing Ads

Facebook has a fairly intelligent AI machine learning system that can optimize your advertising campaigns to achieve the best results for advertisers. However, for the machine learning system to work effectively, it needs to understand the profile of the customers who truly bring value to you. By integrating Facebook Pixel into your website, it helps Facebook’s machine learning system identify which potential customers click on ads on Facebook to reach your website and proceed to make purchases or conversions. As a result, Facebook’s AI will strive to distribute ads to more potential customers similar to those who have converted on your website.

How to Install Facebook Pixel

To begin obtaining the Facebook Pixel code, you need to access your ad account or Business Manager.

Step 1: Click on the three horizontal lines in the left menu bar and select “Event Manager.”

thiết lập pixxel facebook

Step 2: Click on the “Connect Data Source” button.

tạo pixxel facebook

Step 3: Select “Web” and click on “Connect.”

cài đặt pixxel Facebook

Step 4: Select “Facebook Pixel” and click on “Connect.”

cấu hình pixxel facebook

Step 5: Name your Pixel and add the URL of the website where you want to install the Pixel, then select “Continue.”

pixxe; facebook

Step 6: Click on the “Manually Install Code” button.

cách tạo pixxel facebook

Step 7: Click on the “Copy Code” button and then click “Continue.”

pixxel facebook là gì

Step 8: Proceed to paste the Pixel code you copied in the previous step into your website.

If you know about web coding, open your website’s source code and paste the Facebook Pixel code between the <head> and </head> tags.

If you’re not familiar with web coding, you can ask your web designer or the partner who developed your website to help you insert it.

Additionally, there’s another way to install the code yourself by using Google Tag Manager.

Step 9: After you have pasted the Pixel code into your website, click on “Continue.”

cách thiết lập và cấu hình facebook pixel

At this point, you have successfully set up and added the Pixel code to your website. The next steps will involve setting up events for your website, and you can learn more by reading the introductory sections and guidelines for setting up and installing Facebook events below.

Note:

  • For personal ad accounts, you can only create one Pixel code for that account and cannot create additional Pixels.
  • For Facebook Business Manager, you can create and manage multiple Pixels.

What is a Facebook Event?

An event is an action that occurs on your website. Standard events are predefined by Facebook and can be used to record conversions, optimize for conversions, and create audiences.

If you think of Facebook Pixel as the main camera monitoring all the people entering and leaving your website, then Facebook events are like specialized cameras observing the important rooms for you, such as the kitchen, hallway, storage room, etc. By installing tracking for important events on your website, you can gain detailed statistics, such as how many people made purchases, added items to their cart, or left their information for consultation on your site. This way, you can determine whether Facebook ads are effective for you, and it also helps Facebook’s AI machine learning system operate more effectively in optimizing your ads.

Benefits of Setting Up Event Tracking

The key to successful advertising is measuring the effectiveness of your campaigns and creating quality customer lists. By installing Facebook conversion events on your website, you can fully leverage the advantages of Facebook advertising and run ads optimized for conversions.

Let’s explore the significant benefits that Facebook events offer:

Track Important Customer Actions on Your Website

lợi ích của mã sự kiện facebook

Do you want to know the details of how many people made purchases, added items to their cart, or registered for consultations on your website through Facebook ads? If you want to assess the effectiveness of your Facebook Ads campaigns, you need to identify which events are the most important for your website and proceed to install them.

Create Campaigns Focused on Conversions

If you aim to run Facebook ads to generate more conversions for your website—such as increasing purchases, getting quote requests, or event registrations—you need to run advertising campaigns optimized for those conversion events.

tầm quan trọng của việc cài đặt mã sự kiện chuyển đổi Facebook

You won’t be able to run optimized campaigns for an important event on your website without first setting up conversion events. Therefore, it can be said that adding all the necessary Facebook conversion events to your website will enable you to run campaigns focused on generating valuable conversions rather than just clicks or meaningless interactions from ads without optimization goals.

Create Quality Custom Audiences

You can create excellent customer audience lists for remarketing or creating Lookalike audiences. For example, you can create lists of customers who have purchased from your website in the last 30 days or those who have added items to their cart but haven’t checked out.

By creating such quality customers, you can easily segment and deploy dedicated remarketing campaigns for different customer audiences with varying advertising and communication messages, depending on which potential group they belong to.

Help Optimize Your Advertising Campaigns More Effectively

As mentioned earlier, fully installing the Facebook Pixel code and key conversion events on your website will help Facebook’s AI machine learning system quickly complete its learning phase (finding potential customers similar to those who have converted on your website to distribute ads). This, in turn, will allow your advertising campaigns to operate more efficiently and yield more conversion results.

How to Set Up Conversion Events for Your Website

There are two ways to add event codes to your website: using Facebook’s support tools to create and set up conversion events or manually copying standard event codes and pasting them into your website. Each method has its own advantages and limitations, so make sure to read the guidance sections below to choose the method that best suits you.

Method 1: Installing Event Codes Using Facebook’s Support Tool

With this method, you will be automatically assisted in tagging event triggers to a button or when a specific URL page is loaded using Facebook’s support tool. You should choose this method if your website has only a few products (for e-commerce websites) or if your website provides services.

This method has the following advantages and disadvantages:

Advantages:

  • Easy to implement
  • Quick setup
  • No coding knowledge required

Disadvantages:

  • Cannot batch add events for multiple pages or many events at once
  • Limited customization for tracking parameters

Detailed Steps for Installing Event Codes Using Facebook’s Support Tool

Step 1: Click on the “Open Event Setup Tool” button.

cách thiết lập sự kiện chuyển đổi Facebook

Step 2: Paste the URL of the website where you want to add your conversion events and select “Open Website.”

cài đặt sự kiện theo dõi chuyển đổi Facebook

Then, you will be directed to the exact URL page you just entered, and you will see a small panel in the upper left corner. This is where you will operate to add your custom events.

cách cài đặt sự kiện chuyển đổi facebook dễ dàng

Step 3: Choose an element on the website to create and set up the event.

Here, you will see two options: “Track New Button” and “Track New URL.”

  • If you choose “Track New Button”: This is for setting up a specific event that occurs whenever a customer clicks on a particular button.

For example, when a customer clicks the “Add to Cart” button, we call this an “Add to Cart” event, and you would proceed to set up the event as follows:

Step 4.1: Click on the “Track New Button” option.

cài đặt sự kiện chuyển đổi facebook dễ dàng với công cụ hỗ trợ

Step 5.1: Select the button element that you want to tag with the event code.

từng bước cách cài đặt sự kiện chuyển đổi Facebook

In this example of adding the “Add to Cart” event, you will select the “Add to Cart” button to tag with the event code.

Step 6.1: Choose the type of event you want to track and add the value of that event (if applicable), such as the value of the product/service.

cấu hình sự kiện chuyển đổi facebook ads

After that, select the element that contains the value of the item/service and click “Confirm.”

Step 7.1: If you have completed adding the event, click on the “Finish Setup” button.

hoàn tất cài đặt mã sự kiện facebook

You have now completed adding events to the buttons for tracking.

  • If you choose “Track URL”: This means you are selecting to activate a specific event whenever a customer visits (loads) a specific URL page on your website.

For example, whenever a customer completes a purchase on your website, they are redirected to a thank-you page with a URL like www.example.com/thank-you. This means that every time the URL www.example.com/thank-you is loaded by a customer who has just completed an online purchase, it will be considered a “Purchase” event.

To set up an event for when a specific URL is loaded, you need to do the following:

You need to follow Step 2 from the previous instructions to open the URL page where you want to set up the event.

Next, select the “Track URL” option.

thiết lập sự kiện chuyển đổi facebook bằng cách thủ công

Step 4.2: Choose the type of event you want to add, enter the value for the event (if applicable), and finally click on “Confirm.”

cài đặt mã theo dõi chuyển đổi facebook

Step 5.2: Click on “Finish Setup”

hoàn tất cài đặt mã sự kiện facebook

You have now completed adding tracking events to a specific URL.

Method 2: Manually Installing Facebook Event Codes

With this method, you will choose the standard event codes you need to track and then copy and paste them into your website. You can select the activation conditions and customize other parameters of the event if you require more in-depth measurement. This method is recommended if you are knowledgeable about coding, or if you are a website owner for an e-commerce site or a site with many products/services that require batch event installation.

This method also has its advantages and disadvantages:

Advantages:

  • Can install events in bulk for multiple pages or components on the website at once
  • Allows for the customization of tracking many detailed parameters

Disadvantages:

  • Time-consuming to customize and set up
  • Requires coding knowledge

Detailed Steps for Manually Installing Event Codes:

Step 1: Identify the types of event actions you need to track and optimize for your ads. Then, copy the event code snippets you need to use.

Tên sự kiện tiêu chuẩn Mã sự kiện
Add payment information
<script>

fbq(‘track’, ‘AddPaymentInfo’);

</script>

Add to cart
<script>

fbq(‘track’, ‘AddToCart’);

</script>

Add to favorites list
<script>

fbq(‘track’, ‘AddToWishlist’);

</script>

Complete registration

<script>

fbq(‘track’, ‘CompleteRegistration’);

</script>

Contact <script>

fbq(‘track’, ‘Contact’);

</script>

Product customization <script>

fbq(‘track’, ‘CustomizeProduct’);

</script>

Donation <script>

fbq(‘track’, ‘Donate’);

</script>

Find location <script>

fbq(‘track’, ‘FindLocation’);

</script>

Start payment <script>

fbq(‘track’, ‘InitiateCheckout’);

</script>

Potential customer <script>

fbq(‘track’, ‘Lead’);

</script>

Purchase <script>

fbq(‘track’, ‘Purchase’, {value: 0.00, currency: ‘VND’});

</script>

Schedule <script>

fbq(‘track’, ‘Schedule’);

</script>

Search <script>

fbq(‘track’, ‘Search’);

</script>

Start free trial <script>

fbq(‘track’, ‘StartTrial’, {value: ‘0.00’, currency: ‘VND’, predicted_ltv: ‘0.00’});

</script>

Submit application <script>

fbq(‘track’, ‘SubmitApplication’);

</script>

Subscribe <script>

fbq(‘track’, ‘Subscribe’, {value: ‘0.00’, currency: ‘VND’, predicted_ltv: ‘0.00’});

</script>

ViewContent <script>

fbq(‘track’, ‘ViewContent’);

</script>

Note:

  • The parameter fields highlighted in red in certain special event codes such as Purchase, Start Free Trial, etc., require you to customize the specific conversion values for each event that is triggered. You can use the same value if the conversion events share the same value or adjust this variable to change (dynamically) for multiple different values.
  • If you want to customize additional tracking parameters for the event codes, please refer to the detailed guide on how to customize conversion tracking parameters for Developers on Facebook at: Facebook Developer Guide

Step 2: Proceed to paste the event codes you need and set activation conditions for them on the components of your website, such as attaching them to a specific button or whenever a specific URL page is loaded.

If you are using web platforms like WordPress, Haravan, Sapo, or Shopify, most of these platforms are either integrated with or have convenient plugins to help you easily install these event codes.

If you are using Google Tag Manager, you can easily paste and set the activation conditions for these Facebook event tags on your website. However, this method requires you to have some knowledge of HTML and JavaScript.

If you don’t know any code but want to have in-depth tracking capabilities or your website is a pure code website (PHP, C#), then you should contact your web developer/web design agency for assistance.

Step 3: Use the Facebook Pixel Helper tool to check the event installation.

dùng facebook pixel helper để kiểm tra cài đặt

After successfully pasting, use the Facebook Pixel Helper tool to check whether your installation is correct and if the conversion events are functioning. If you open the Facebook Pixel Helper add-on and then perform a test action to trigger the events, and you see your events appearing in the Facebook Pixel Helper tool in green (as shown in the image above), then you have successfully installed the event codes for your website.

Link to install the Facebook Pixel Helper add-on for the Google Chrome browser: https://chrome.google.com/webstore/detail/facebook-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc

DONE! You have completed the installation of the Facebook Pixel and conversion event codes for your website. Wishing you success in your practice and effective campaigns!

If you need the most reputable payment method and advertising account provider, you can message the fanpage buybm365.com-Ads to receive advice from HT Media. In addition, you can follow the articles. Latest articles related to our Digital Marketing.

Chia sẻ: