We'll create fresh WordPress site with {eac}Doojigger MetaPixel Extension for WordPress installed. You have 20 minutes to test the plugin after that site we'll be deleted.
{eac}MetaPixel is an {eac}Doojigger extension which installs the Facebook/Meta Pixel and enables tracking of PageView, Search, ViewContent, AddToCart, InitiateCheckout and Purchase events when using WooCommerce.
The Meta Pixel is a piece of code on your website that can help you better understand the effectiveness of your advertising and the actions people take on your site, like visiting a page or adding an item to their cart. You’ll also be able to see when customers took an action after seeing your ad on Facebook and Instagram, which can help you with retargeting. And when you use the Conversions API alongside the Pixel, it creates a more reliable connection that helps the delivery system decrease your costs.
See Meta Pixel
To retrieve your pixel id, Go to Meta Events Manager → Data Sources → Your Pixel → Settings → Pixel ID. Copy your pixel id and paste it into the “Facebook Pixel ID” field of this extension’s settings.
Support for the Meta Conversion API to track purchase events directly from your server is included. When using the Conversion API, additional information will be passed through the api, including:
Since Facebook gives priority to the browser pixel, the browser pixel is suppressed in favor of the conversion api so the conversion api may provide more information.
To enable the server conversion api, Go to Meta Events Manager → Data Sources → Your Pixel → Settings. Scroll to Conversions API → Set up manually.
Click the “Generate access token” link under the “Get Started” button. Copy the access token and paste it into the “Server Access Token” field of this extension’s settings.
Note: Server events require a Meta Business Manager.
The Content View (products), Add To Cart, Initiate Checkout, and Purchase Completed events meet the requirements for Advantage+ catalog ads.
The server Conversion API for purchases also includes:
You may, optionally, add the Facebook Brand Safety domain verification meta tag to your home page.
Go to Meta Business Settings → Brand Safety → Domains → Your Domain → Add a meta-tag, and copy just the content= string.
In this example:
<meta name="facebook-domain-verification" content="xyzzy1ndu84mmhaifl5gawo9ntafn8" />
We want only xyzzy1ndu84mmhaifl5gawo9ntafn8 copied and pasted into the “Domain Verification” field of this extension’s settings.
See: Specifications for Facebook Pixel Standard Events
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should receive a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.