Hostinger Website Builder: How to Connect Meta Pixel

Learn how to connect Meta Pixel to your website created with Hostinger Website Builder

Updated 2 weeks ago

Meta Pixel integration helps with marketing. It collects data about the traffic and conversions that come from your website. This tool can be useful for improving your ads, creating more clearly defined target audiences, and retargeting users who have shown interest in your business before.

To create a Meta Pixel, you need a Meta page (a personal Meta profile is not enough). Before you begin, make sure that your website is published and your Meta page is public.

NOTE

  • For tracking scripts to work properly on your site created with Hostinger Website Builder, make sure that you have a cookie banner enabled

Creating a Dataset

Meta has disabled Pixel creation and replaced it with Dataset creation. To set up web events, create a dataset. Learn more: About Datasets in Meta Events Manager 💡

1. In your Meta Business Manager, click on Settings in the bottom left, and then click on Business settings:

Meta Business Settings menu item highlighted in Settings sidebar

2. On the left sidebar, go to Data SourcesDatasets and click on Add:

Meta Business Settings Data Sources menu with Datasets selected and Add button highlighted

3. Insert the name of your dataset, and click on Create:

Meta create dataset dialog with Create button highlighted

Finally, copy the ID and add it to your website’s integrations settings as described below:

Meta Pixel dataset ID 1426389567931176 highlighted

Adding a Dataset to Your Website

1. Find and copy your dataset ID in your Events Manager. You can find it under the title of your dataset or in its settings:

Meta Pixel settings tab showing the dataset ID 1426389567931176

2. In the website builder, open the integrations settings. Find the Facebook Pixel field, and insert your dataset ID there:

Website Builder menu with Integrations highlighted in the settings list

Facebook Pixel connection field in Hostinger Website Builder settings

3. Save the changes and update your website.

Checking if a Meta Pixel Is Connected Successfully

First, make sure that:

  • Your website is published, and your Meta page is public

  • A cookie banner is enabled on your website

  • You’ve added your pixel ID to your website’s integrations settings

  • Make sure there are no multiple IDs: the pixel ID should be added only once, as adding a Meta Pixel twice could cause duplicate or incorrect data in reports

  • You’ve verified your domain for Meta

  • (optional) You’ve added your website’s domain to the “allow” list on Facebook pixel settings

Now, it’s time to check it on your live website. You can use the Facebook Pixel Helper extension (available with the Chrome browser) that shows if the integration is valid and what events are being tracked:

  1. Open this link and follow the on-screen instructions to add the Facebook Pixel Helper to your browser

  2. Access your website online and allow cookies

  3. Click on the extension to view the data; you will see both general data and event information:

    Facebook Pixel Helper popup showing PageView event for My Pixel on a browser toolbar

NOTE

  • If you can’t find the extension in the browser bar, click on the puzzle icon (it’s in the top right on Chrome) and pin your most-used extensions so that they’re always visible and easily accessible:

Pinning the Facebook Pixel Helper extension in the browser's toolbar