Linux 软件免费装
Banner图

{eac}Doojigger MetaPixel Extension for WordPress

开发者 kevinburkholder
更新时间 2025年8月25日 22:17
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv3 or later
版权网址: 版权信息

标签

tracking conversion facebook facebook pixel facebook ads facebook tracking facebook conversion meta pixel {eac}Doojigger

下载

1.0.4 2.0.1 1.0.5 1.0.6 1.0.1 1.0.2 1.0.3 1.0.0 1.0.7 2.0.0

详情介绍:

{eac}MetaPixel is an {eac}Doojigger extension which installs the Facebook/Meta Pixel and enables tracking of PageView, Search, ViewContent, AddToCart, InitiateCheckout, AddPaymentInfo, and Purchase events when using WooCommerce. What is the Meta Pixel?
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. Pixel Events Server Based Conversion API Support for the Meta Conversion API to track events directly from your server is included. When using the Conversion API (CAPI), additional information will be passed through the purchase api, including: 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.
In most cases, the CAPI event will be sent before the Pixel event. When the page is requested, the Pixel code is added to the page at the same time the CAPI event is sent, then when the page loads in the browser, the pixel fires. If the page is cached, the CAPI event may not be sent. Typically, e-commerce pages are not cached. Advantage+ Catalog Ads The Content View (products), Add To Cart, Initiate Checkout, and Purchase Completed events meet the requirements for Advantage+ catalog ads. Domain Verification 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. Actions and Filters do_action( 'eacDoojigger_meta_pixel_add_event', $eventType, $eventData, $eventID ); + Get the script code for a custom event (to attach to a DOM event). $script = apply_filters( 'eacDoojigger_meta_pixel_event_code', $eventType, $eventData, $eventID ); + Modify the event-specific data sent with the pixel and capi. add_filter('eacDoojigger_meta_pixel_eventdata', function($eventData, $eventType) { // modify $eventData array as needed return $eventData; } + Modify the user data sent with the capi event. add_filter('eacDoojigger_meta_pixel_userdata', function($userData, $eventData, $eventType) { // modify $userData array as needed return $userData; } + Modify the event ID sent with the pixel and capi. add_filter('eacDoojigger_meta_pixel_eventid', function($eventID, $eventData, $eventType) { // modify $eventID as needed return $eventID; } + Enable console logging for pixel and capi. add_filter('eacDoojigger_meta_pixel_console', function($enabled) { return true; } + Enable setting the _fbc cookie when fbclid is passed. add_filter('eacDoojigger_meta_pixel_cookie', function($enabled) { return true; }
Normally, the pixel code should set the _fbc cookie when first-party cookies are enabled. If this is not getting set, this filter can be used to enable internal code to set the cookie.

安装:

{eac}Doojigger MetaPixel Extension is an extension plugin to and requires installation and registration of {eac}Doojigger. Automatic Plugin Installation This plugin is available from the WordPress Plugin Repository and can be installed from the WordPress Dashboard » Plugins » Add New page. Search for 'EarthAsylum', click the plugin's [Install] button and, once installed, click [Activate]. See Managing Plugins -> Automatic Plugin Installation Upload via WordPress Dashboard Installation of this plugin can be managed from the WordPress Dashboard » Plugins » Add New page. Click the [Upload Plugin] button, then select the eacmetapixel.zip file from your computer. See Managing Plugins -> Upload via WordPress Admin Manual Plugin Installation You can install the plugin manually by extracting the eacmetapixel.zip file and uploading the 'eacmetapixel' folder to the 'wp-content/plugins' folder on your WordPress server. See Managing Plugins -> Manual Plugin Installation Settings Once installed and activated options for this extension will show in the 'Tracking' tab of {eac}Doojigger settings.

其他记录:

Additional Information See: Specifications for Facebook Pixel Standard Events

更新日志:

Version 2.0.1 – Aug 25, 2025 Version 2.0.0 – Aug 18, 2025 Version 1.0.7 – Apr 19, 2025 Version 1.0.6 – Apr 23, 2024 Version 1.0.5 – Apr 10, 2024 Version 1.0.4 – Feb 9, 2024 Version 1.0.3 – June 8, 2023 Version 1.0.2 – November 15, 2022 Version 1.0.1 – September 25, 2022 Version 1.0.0 – September 6, 2022