Setting up Meta Pixel for conversion tracking

Setting up Meta Pixel for conversion tracking

Quick Overview 

  1. Creating an event

  1. Installing pixel code to Vacation Labs

  1. Confirming that the Pixel is installed on the website

  1. Event setup

  1. Event testing

  1. Confirming that the event is being tracked


Creating an event 

Login to your Meta business account and navigate to click on 'All Tools,' then click on 'Events Manager.'

Now you will be redirected to the Event Manager page. Then click on 'Connect Data Sources.'

Select 'Web' and click on Connect.

Next, create a new 'Dataset'.

Add your website and click on 'Check'.

In the next step, choose the second option, i.e., 'Do it yourself,' and click 'Next'.

Choose the 'Meta Pixel only' option in How to connect your website.

Select the 'Install code manually' option.

Click on 'Copy code'.

 


Installing pixel code to Vacation Labs 

Install the code in Vacation Labs login by navigating to Website > Advanced Settings, and in the header section, paste the code.


Confirming that the Pixel is installed on the website  

To confirm whether the pixel code is installed on your website, you can either check by viewing the source code or install an extension on your Chrome browser called 'Meta Pixel Helper' (https://chromewebstore.google.com/detail/meta-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc).

To check by source code, simply press Ctrl+U on your website, then press Ctrl+F and search for 'Meta Pixel'.

  


Event Setup 

If you want to set up an event such as tracking button clicks or specific URLs, select 'Open event setup tool'.

Enter the website URL and click on 'Open website'.

In this, you can either track a button or a specific URL. After you have configured it, click on 'Finish setup'.

If you want to track a booking confirmation page where customers successfully complete bookings by paying through a payment gateway, you need to create a Custom Conversion. To create a custom conversion, click on 'Data Sources,' then click on 'Create,' and finally, click on 'Create Custom Conversion'.

Enter the values such as the name for the custom conversion, add the URL keyword in the Booking confirmation page. The URL contains '/confirmation', so add it and create the conversion.

Also, you need to whitelist the URLs before testing the conversion. To do that, select 'Settings' on the data source, scroll down to the last option, and you will find the 'Allow list' option. Click on 'Create Allow list'.

 

Here, enter your live domain and also the subdomain which was created by Vacation Labs before taking your site live.

You will find the subdomain in the Vacation Labs login by navigating to Website > General > Domain settings.


Event testing

To test the event you have created, you need to visit the website, and the event will fire. You will then see the real-time data under Test Events.

To test the Custom Conversion, navigate to the Custom Conversion, and the status of the custom conversion will be in an inactive state. To make it active, make a test booking. When the payment is made and the page is redirected to the Booking Confirmation page, the custom conversion will become active.

 

 


Confirming that the events are being tracked

Click on the data source, and in the overview of the created data source, you will find the Event activity.

For the custom conversion created to track the Booking confirmation page, you need to navigate to the Custom Conversion, where you will see that the conversion is being tracked.



    • Related Articles

    • Setting up Google Ads conversion tracking

      You can use Google Ads conversion tracking to track actions that people take on your website after clicking one of your ads. Overview Creating a Conversion Action Setting up Google tag in Vacation Labs Testing that conversations are being tracked ...
    • JS Based Event Tracking

      Overview For certain on-page events, which do not involve a complete page load, the event can be tracked using JavaScript. Currently four such on-page events are supported for event-tracking: Tour/popup inquiry form viewed Tour/popup inquiry form ...
    • Adding/Modifying Meta Title & Meta Description (Page SEO) for Static Pages

      Setting up Meta Title & Meta Description in today's digital market helps your website in better indexing and in search results. We would recommend you to always add the Meta Title and Description for each page so that it will help your website in ...
    • Adding/Modifying Meta Title & Meta Description (Page SEO) for Tour Pages

      Setting up Meta Title & Meta Description in today's digital market helps your website in better indexing and in search results. We would recommend you to always add the Meta Title and Description for each page so that it will help your website in ...
    • Adding/Modifying Meta Title & Meta Description (Page SEO) for Collection Pages

      Setting up Meta Title & Meta Description in today's digital market helps your website in better indexing and in search results. We would recommend you to always add the Meta Title and Description for each page so that it will help your website in ...