PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads) - Version 8.2.16

Version Description

Download this release

Release Info

Developer PixelYourSite
Plugin Icon 128x128 PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads)
Version 8.2.16
Comparing to
See all releases

Code changes from version 8.2.15 to 8.2.16

composer.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "name": "pixelyoursite/pro",
3
- "description": "Track conversions and every action on your online store",
4
- "type": "project",
5
- "require": {
6
- "glenscott/url-normalizer": "1.4.0",
7
- "techcrunch/wp-async-task": "dev-master"
8
- },
9
- "autoload": {
10
- "classmap": [
11
- "vendor_prefix/"
12
- ]
13
- }
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
composer.lock DELETED
@@ -1,109 +0,0 @@
1
- {
2
- "_readme": [
3
- "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
- "This file is @generated automatically"
6
- ],
7
- "content-hash": "4b9ed8294249f3e1c6eda2f8628a891b",
8
- "packages": [
9
- {
10
- "name": "glenscott/url-normalizer",
11
- "version": "1.4.0",
12
- "source": {
13
- "type": "git",
14
- "url": "https://github.com/glenscott/url-normalizer.git",
15
- "reference": "b8e79d3360a1bd7182398c9956bd74d219ad1b3c"
16
- },
17
- "dist": {
18
- "type": "zip",
19
- "url": "https://api.github.com/repos/glenscott/url-normalizer/zipball/b8e79d3360a1bd7182398c9956bd74d219ad1b3c",
20
- "reference": "b8e79d3360a1bd7182398c9956bd74d219ad1b3c",
21
- "shasum": ""
22
- },
23
- "require": {
24
- "ext-mbstring": "*",
25
- "php": ">=5.3.0"
26
- },
27
- "type": "library",
28
- "autoload": {
29
- "psr-4": {
30
- "URL\\": "src/URL"
31
- }
32
- },
33
- "notification-url": "https://packagist.org/downloads/",
34
- "license": [
35
- "MIT"
36
- ],
37
- "authors": [
38
- {
39
- "name": "Glen Scott",
40
- "email": "glen@glenscott.co.uk"
41
- }
42
- ],
43
- "description": "Syntax based normalization of URL's",
44
- "time": "2015-06-11T16:06:02+00:00"
45
- },
46
- {
47
- "name": "techcrunch/wp-async-task",
48
- "version": "dev-master",
49
- "source": {
50
- "type": "git",
51
- "url": "https://github.com/techcrunch/wp-async-task.git",
52
- "reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc"
53
- },
54
- "dist": {
55
- "type": "zip",
56
- "url": "https://api.github.com/repos/techcrunch/wp-async-task/zipball/9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
57
- "reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
58
- "shasum": ""
59
- },
60
- "require-dev": {
61
- "10up/wp_mock": "dev-master",
62
- "phpunit/phpunit": "*@stable"
63
- },
64
- "type": "wordpress-plugin",
65
- "autoload": {
66
- "classmap": [
67
- "wp-async-task.php"
68
- ]
69
- },
70
- "notification-url": "https://packagist.org/downloads/",
71
- "license": [
72
- "MIT"
73
- ],
74
- "authors": [
75
- {
76
- "name": "Alex Khadiwala",
77
- "role": "developer"
78
- },
79
- {
80
- "name": "Nicolas Vincent",
81
- "role": "developer"
82
- },
83
- {
84
- "name": "Eric Mann",
85
- "email": "eric.mann@10up.com",
86
- "role": "developer"
87
- },
88
- {
89
- "name": "John P. Bloch",
90
- "email": "john.bloch@10up.com",
91
- "role": "developer"
92
- }
93
- ],
94
- "description": "Run asynchronous tasks for long-running operations in WordPress",
95
- "time": "2016-03-10T17:37:13+00:00"
96
- }
97
- ],
98
- "packages-dev": [],
99
- "aliases": [],
100
- "minimum-stability": "stable",
101
- "stability-flags": {
102
- "techcrunch/wp-async-task": 20
103
- },
104
- "prefer-stable": false,
105
- "prefer-lowest": false,
106
- "platform": [],
107
- "platform-dev": [],
108
- "plugin-api-version": "1.1.0"
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
facebook-pixel-master.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
- * Description: No coding <strong>Facebook Pixel, Facebook Converion API,</strong> and <strong>Google Analytics</strong> install. Track key actions with our Signal event, or configure your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up and Google Analytics Enhanced Ecommerce. Insert any custom script with our Head & Footer option. Add the <strong>Pinterest Tag</strong> with our paid add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff. Full support for <strong>ConsentMagic.com</strong>.
7
- * Version: 8.2.15
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
11
  *
12
  * Requires at least: 4.4
13
- * Tested up to: 5.8
14
  *
15
  * WC requires at least: 2.6.0
16
- * WC tested up to: 6.0
17
  *
18
  * Text Domain: pys
19
  */
3
  /**
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
+ * Description: No coding <strong>Meta Pixel (formerly Facebook Pixel), Facebook Converion API,</strong> and <strong>Google Analytics</strong> install. Track key actions with our Signal event, or configure your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up and Google Analytics Enhanced Ecommerce. Insert any custom script with our Head & Footer option. Add the <strong>Pinterest Tag</strong> with our paid add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff. Full support for <strong>ConsentMagic.com</strong>.
7
+ * Version: 8.2.16
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
11
  *
12
  * Requires at least: 4.4
13
+ * Tested up to: 5.9
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 6.1
17
  *
18
  * Text Domain: pys
19
  */
includes/class-events-manager-ajax_hook.php CHANGED
@@ -42,8 +42,10 @@ class AjaxHookEventManager {
42
  if(PYS()->getOption('woo_add_to_cart_catch_method') == "add_cart_hook") {
43
  add_action( 'wp_footer', array( __CLASS__, 'addDivForAjaxPixelEvent') );
44
  add_action( 'woocommerce_add_to_cart',array(__CLASS__, 'trackWooAddToCartEvent'),40, 6);
 
 
45
  }
46
- add_action( 'woocommerce_after_add_to_cart_button', 'PixelYourSite\EventsManager::setupWooSingleProductData' );
47
 
48
  }
49
  }
42
  if(PYS()->getOption('woo_add_to_cart_catch_method') == "add_cart_hook") {
43
  add_action( 'wp_footer', array( __CLASS__, 'addDivForAjaxPixelEvent') );
44
  add_action( 'woocommerce_add_to_cart',array(__CLASS__, 'trackWooAddToCartEvent'),40, 6);
45
+ } else {
46
+ add_action( 'woocommerce_after_add_to_cart_button', 'PixelYourSite\EventsManager::setupWooSingleProductData' );
47
  }
48
+
49
 
50
  }
51
  }
includes/class-events-manager.php CHANGED
@@ -19,10 +19,10 @@ class EventsManager {
19
 
20
 
21
  public function __construct() {
22
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueueScripts' ) );
 
 
23
 
24
- add_action( 'wp_head', array( $this, 'setupEventsParams' ), 3 );
25
- add_action( 'wp_head', array( $this, 'outputData' ), 4 );
26
  add_action( 'wp_footer', array( $this, 'outputNoScriptData' ), 10 );
27
 
28
  }
@@ -348,18 +348,23 @@ class EventsManager {
348
  public function setupWooLoopProductData()
349
  {
350
  global $product;
 
351
  $this->setupWooProductData($product);
352
  }
353
 
354
  public function setupWooBlocksProductData($html, $data, $product)
355
  {
 
356
  $this->setupWooProductData($product);
357
  return $html;
358
  }
359
 
360
  public function setupWooProductData($product) {
361
 
362
- if ( wooProductIsType( $product, 'variable' ) || wooProductIsType( $product, 'grouped' ) ) {
 
 
 
363
  return; // skip variable products
364
  }
365
 
@@ -404,7 +409,7 @@ class EventsManager {
404
  public static function setupWooSingleProductData() {
405
  global $product;
406
 
407
- if($product == null) return;
408
 
409
  /** @var \WC_Product $product */
410
  if ( isWooCommerceVersionGte( '2.6' ) ) {
19
 
20
 
21
  public function __construct() {
22
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueueScripts' ),10 );
23
+ add_action( 'wp_enqueue_scripts', array( $this, 'setupEventsParams' ),14 );
24
+ add_action( 'wp_enqueue_scripts', array( $this, 'outputData' ),15 );
25
 
 
 
26
  add_action( 'wp_footer', array( $this, 'outputNoScriptData' ), 10 );
27
 
28
  }
348
  public function setupWooLoopProductData()
349
  {
350
  global $product;
351
+
352
  $this->setupWooProductData($product);
353
  }
354
 
355
  public function setupWooBlocksProductData($html, $data, $product)
356
  {
357
+
358
  $this->setupWooProductData($product);
359
  return $html;
360
  }
361
 
362
  public function setupWooProductData($product) {
363
 
364
+ if ( !is_a($product,"WC_Product")
365
+ || wooProductIsType( $product, 'variable' )
366
+ || wooProductIsType( $product, 'grouped' )
367
+ ) {
368
  return; // skip variable products
369
  }
370
 
409
  public static function setupWooSingleProductData() {
410
  global $product;
411
 
412
+ if($product == null || !is_a($product,"WC_Product")) return;
413
 
414
  /** @var \WC_Product $product */
415
  if ( isWooCommerceVersionGte( '2.6' ) ) {
includes/functions-admin.php CHANGED
@@ -481,7 +481,7 @@ function adminRenderNoPixelsNotice() {
481
  ?>
482
 
483
  <div class="notice notice-warning is-dismissible pys_core_no_pixels_notice">
484
- <p>You have no pixel configured with PixelYourSite. You can add the Facebook Pixel, Google Analytics or the
485
  Pinterest Tag. <a href="<?php echo esc_url( buildAdminUrl( 'pixelyoursite' ) ); ?>">Start tracking
486
  everything now</a></p>
487
  </div>
@@ -530,7 +530,7 @@ function adminRenderNoPixelNotice( $plugin ) {
530
  <div class="notice notice-warning is-dismissible pys_<?php esc_attr_e( $slug ); ?>_no_pixel_notice">
531
  <?php if ( $slug == 'facebook' ) : ?>
532
 
533
- <p>Add your Facebook pixel ID and start tracking everything with PixelYourSite. <a
534
  href="<?php echo esc_url( buildAdminUrl( 'pixelyoursite' ) ); ?>">Click Here</a></p>
535
 
536
  <?php elseif ( $slug == 'ga' && ( isWooCommerceActive() || isEddActive() ) ) : ?>
481
  ?>
482
 
483
  <div class="notice notice-warning is-dismissible pys_core_no_pixels_notice">
484
+ <p>You have no pixel configured with PixelYourSite. You can add the Meta Pixel (formerly Facebook Pixel), Google Analytics or the
485
  Pinterest Tag. <a href="<?php echo esc_url( buildAdminUrl( 'pixelyoursite' ) ); ?>">Start tracking
486
  everything now</a></p>
487
  </div>
530
  <div class="notice notice-warning is-dismissible pys_<?php esc_attr_e( $slug ); ?>_no_pixel_notice">
531
  <?php if ( $slug == 'facebook' ) : ?>
532
 
533
+ <p>Add your Meta Pixel (formerly Facebook Pixel) ID and start tracking everything with PixelYourSite. <a
534
  href="<?php echo esc_url( buildAdminUrl( 'pixelyoursite' ) ); ?>">Click Here</a></p>
535
 
536
  <?php elseif ( $slug == 'ga' && ( isWooCommerceActive() || isEddActive() ) ) : ?>
includes/functions-common.php CHANGED
@@ -464,6 +464,12 @@ function isDisabledForCurrentRole() {
464
  return false;
465
 
466
  }
 
 
 
 
 
 
467
 
468
  /**
469
  * Retrieves parameters values for for current queried object
464
  return false;
465
 
466
  }
467
+ function pys_round( $val, $precision = 2, $mode = PHP_ROUND_HALF_UP ) {
468
+ if ( ! is_numeric( $val ) ) {
469
+ $val = floatval( $val );
470
+ }
471
+ return round( $val, $precision, $mode );
472
+ }
473
 
474
  /**
475
  * Retrieves parameters values for for current queried object
includes/views/html-gdpr.php CHANGED
@@ -116,7 +116,7 @@ if ( ! defined( 'ABSPATH' ) ) {
116
  </div>
117
  <div class="row mt-3">
118
  <div class="col-4">
119
- <label class="label-inline">Facebook Pixel consent category:</label>
120
  </div>
121
  <div class="col-4">
122
  <?php PYS()->render_text_input( 'gdpr_cookiebot_facebook_consent_category',
116
  </div>
117
  <div class="row mt-3">
118
  <div class="col-4">
119
+ <label class="label-inline">Meta Pixel (formerly Facebook Pixel) consent category:</label>
120
  </div>
121
  <div class="col-4">
122
  <?php PYS()->render_text_input( 'gdpr_cookiebot_facebook_consent_category',
includes/views/html-main-edd.php CHANGED
@@ -1003,7 +1003,7 @@ e&utm_campaign=pro-feature' ); ?>
1003
  <div class="col">
1004
  <p>All events get the following parameters for all the tags: <i>page_title, post_type, post_id, event_URL, user_role, plugin, landing_page (pro), event_time (pro), event_day (pro), event_month (pro), traffic_source (pro), UTMs (pro).</i></p>
1005
  <p>The Purchase event will have the following extra-parameters: <i>category_name, num_items, tags, total (pro), transactions_count (pro), tax (pro), predicted_ltv (pro), average_order (pro), coupon_used (pro), coupon_code (pro), shipping (pro), shipping_cost (pro).</i></p>
1006
- <p>The Facebook Pixel events are Dynamic Ads ready.</p>
1007
  <p>The Google Analytics events track the data Enhanced Ecommerce or Monetization (GA4).</p>
1008
  <p>The Pinterest events have the required data for Dynamic Remarketing.</p>
1009
  </div>
1003
  <div class="col">
1004
  <p>All events get the following parameters for all the tags: <i>page_title, post_type, post_id, event_URL, user_role, plugin, landing_page (pro), event_time (pro), event_day (pro), event_month (pro), traffic_source (pro), UTMs (pro).</i></p>
1005
  <p>The Purchase event will have the following extra-parameters: <i>category_name, num_items, tags, total (pro), transactions_count (pro), tax (pro), predicted_ltv (pro), average_order (pro), coupon_used (pro), coupon_code (pro), shipping (pro), shipping_cost (pro).</i></p>
1006
+ <p>The Meta Pixel (formerly Facebook Pixel) events are Dynamic Ads ready.</p>
1007
  <p>The Google Analytics events track the data Enhanced Ecommerce or Monetization (GA4).</p>
1008
  <p>The Pinterest events have the required data for Dynamic Remarketing.</p>
1009
  </div>
includes/views/html-main-general.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/facebook-small-square.png">
23
  </div>
24
  <div class="col-6">
25
- Your Facebook Pixel
26
  </div>
27
  <div class="col-4">
28
  <label for="fb_settings_switch" class="btn btn-block btn-sm btn-primary btn-settings">Click for settings</label>
@@ -53,19 +53,23 @@ if ( ! defined( 'ABSPATH' ) ) {
53
  Install multiple Facebook Pixles with CAPI support:
54
  <a href="https://www.youtube.com/watch?v=HM98mGZshvc" target="_blank">watch video</a>
55
  </p>
 
 
 
 
56
  </div>
57
  </div>
58
 
59
  <div class="plate pt-3 pb-3 mb-3">
60
  <div class="row mb-3">
61
  <div class="col-12">
62
- <h4 class="label">Facebook Pixel ID:</h4>
63
- <?php Facebook()->render_pixel_id( 'pixel_id', 'Facebook Pixel ID' ); ?>
64
  <small class="form-text">
65
  <a href="https://www.pixelyoursite.com/pixelyoursite-free-version/add-your-facebook-pixel?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-ids"
66
  target="_blank">How to get it?</a>
67
  </small>
68
- <p class="mt-3 mb-0">Add multiple Facebook Pixels with the <a href="https://www.pixelyoursite.com/?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-ids"
69
  target="_blank">pro version</a>.</p>
70
  </div>
71
  </div>
@@ -204,7 +208,7 @@ if ( ! defined( 'ABSPATH' ) ) {
204
  <div class="panel panel-primary">
205
  <div class="row">
206
  <div class="col">
207
- <p class="text-center">Learn how to use Facebook Pixel like a genuine expert. Download this Facebook
208
  Pixel Essential Guide:</p>
209
  <p class="text-center mb-0">
210
  <a href="https://www.pixelyoursite.com/facebook-pixel-pdf-guide?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-guide" class="btn btn-sm btn-save" target="_blank">Click to get the free guide</a>
@@ -222,9 +226,9 @@ if ( ! defined( 'ABSPATH' ) ) {
222
  <div class="row">
223
  <div class="col">
224
  <p><a href="https://www.youtube.com/watch?v=uXTpgFu2V-E" target="_blank">How to configure Facebook Conversion API (2:51 min) - watch now</a></p>
225
- <p><a href="https://www.youtube.com/watch?v=DZzFP4pSitU" target="_blank">Facebook Pixel, CAPI, and PixelYourSite MUST WATCH (8:19) - watch now</a></p>
226
  <p><a href="https://www.youtube.com/watch?v=QqAIO1ONc0I" target="_blank">How to test Facebook Conversion API (10:16 min) - watch now</a></p>
227
- <p><a href="https://www.youtube.com/watch?v=1W1yA9L-6F8" target="_blank">Facebook Pixel Events and Parameters (12:05 min) - watch now</a></p>
228
  <p><a href="https://www.youtube.com/watch?v=sM9yNkBK6Eg" target="_blank">Potentially Violating Personal Data Sent to Facebook (7:30 min) - watch now</a></p>
229
  <p><a href="https://www.youtube.com/watch?v=PsKdCkKNeLU" target="_blank">Facebook Conversion API and the Consent Problem (9:25 min) - watch now</a></p>
230
 
@@ -232,9 +236,10 @@ if ( ! defined( 'ABSPATH' ) ) {
232
  <p><a href="https://www.youtube.com/watch?v=hbecImCa9d0" target="_blank">Google Ads DATA-DRIVEN Attribution (8:14) - watch now</a></p>
233
  <p><a href="https://www.youtube.com/watch?v=kEp5BDg7dP0" target="_blank">How to fire EVENTS with PixelYourSite (22:28) - watch now</a></p>
234
 
235
- <p><a href="https://www.youtube.com/watch?v=HM98mGZshvc" target="_blank">Multiple Facebook Pixels with CAPI events for WordPress and WooCommerce (12:20) - watch now</a></p>
236
  <p><a href="https://www.youtube.com/watch?v=JUuss5sewxg" target="_blank">Multiple Google Analytics properties on WordPress and WooCommerce (6:17) - watch now</a></p>
237
  <p><a href="https://www.youtube.com/watch?v=vWRZc66eaPo" target="_blank">How to install the TikTok Tag on WordPress with PixelYourSite - WooCommerce Support (9:11) - watch now</a></p>
 
238
  </div>
239
  </div>
240
  <div class="row">
@@ -488,7 +493,7 @@ if ( ! defined( 'ABSPATH' ) ) {
488
  </div>
489
  <div class="row mt-3">
490
  <div class="col-6">
491
- <label>Facebook Pixel ID:</label>
492
  <?php Facebook()->render_text_input( 'fdp_pixel_id',"",true ); ?>
493
  </div>
494
  </div>
22
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/facebook-small-square.png">
23
  </div>
24
  <div class="col-6">
25
+ Your Meta Pixel (formerly Facebook Pixel)
26
  </div>
27
  <div class="col-4">
28
  <label for="fb_settings_switch" class="btn btn-block btn-sm btn-primary btn-settings">Click for settings</label>
53
  Install multiple Facebook Pixles with CAPI support:
54
  <a href="https://www.youtube.com/watch?v=HM98mGZshvc" target="_blank">watch video</a>
55
  </p>
56
+ <p>
57
+ What is Events Matching and EMQ and how you can improve it:
58
+ <a href=" https://www.youtube.com/watch?v=3soI_Fl0JQw" target="_blank">watch video</a>
59
+ </p>
60
  </div>
61
  </div>
62
 
63
  <div class="plate pt-3 pb-3 mb-3">
64
  <div class="row mb-3">
65
  <div class="col-12">
66
+ <h4 class="label">Meta Pixel (formerly Facebook Pixel) ID:</h4>
67
+ <?php Facebook()->render_pixel_id( 'pixel_id', 'Meta Pixel (formerly Facebook Pixel) ID' ); ?>
68
  <small class="form-text">
69
  <a href="https://www.pixelyoursite.com/pixelyoursite-free-version/add-your-facebook-pixel?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-ids"
70
  target="_blank">How to get it?</a>
71
  </small>
72
+ <p class="mt-3 mb-0">Add multiple Meta Pixel (formerly Facebook Pixel)s with the <a href="https://www.pixelyoursite.com/?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-ids"
73
  target="_blank">pro version</a>.</p>
74
  </div>
75
  </div>
208
  <div class="panel panel-primary">
209
  <div class="row">
210
  <div class="col">
211
+ <p class="text-center">Learn how to use Meta Pixel (formerly Facebook Pixel) like a genuine expert. Download this Facebook
212
  Pixel Essential Guide:</p>
213
  <p class="text-center mb-0">
214
  <a href="https://www.pixelyoursite.com/facebook-pixel-pdf-guide?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-guide" class="btn btn-sm btn-save" target="_blank">Click to get the free guide</a>
226
  <div class="row">
227
  <div class="col">
228
  <p><a href="https://www.youtube.com/watch?v=uXTpgFu2V-E" target="_blank">How to configure Facebook Conversion API (2:51 min) - watch now</a></p>
229
+ <p><a href="https://www.youtube.com/watch?v=DZzFP4pSitU" target="_blank">Meta Pixel (formerly Facebook Pixel), CAPI, and PixelYourSite MUST WATCH (8:19) - watch now</a></p>
230
  <p><a href="https://www.youtube.com/watch?v=QqAIO1ONc0I" target="_blank">How to test Facebook Conversion API (10:16 min) - watch now</a></p>
231
+ <p><a href="https://www.youtube.com/watch?v=1W1yA9L-6F8" target="_blank">Meta Pixel (formerly Facebook Pixel) Events and Parameters (12:05 min) - watch now</a></p>
232
  <p><a href="https://www.youtube.com/watch?v=sM9yNkBK6Eg" target="_blank">Potentially Violating Personal Data Sent to Facebook (7:30 min) - watch now</a></p>
233
  <p><a href="https://www.youtube.com/watch?v=PsKdCkKNeLU" target="_blank">Facebook Conversion API and the Consent Problem (9:25 min) - watch now</a></p>
234
 
236
  <p><a href="https://www.youtube.com/watch?v=hbecImCa9d0" target="_blank">Google Ads DATA-DRIVEN Attribution (8:14) - watch now</a></p>
237
  <p><a href="https://www.youtube.com/watch?v=kEp5BDg7dP0" target="_blank">How to fire EVENTS with PixelYourSite (22:28) - watch now</a></p>
238
 
239
+ <p><a href="https://www.youtube.com/watch?v=HM98mGZshvc" target="_blank">Multiple Meta Pixel (formerly Facebook Pixel)s with CAPI events for WordPress and WooCommerce (12:20) - watch now</a></p>
240
  <p><a href="https://www.youtube.com/watch?v=JUuss5sewxg" target="_blank">Multiple Google Analytics properties on WordPress and WooCommerce (6:17) - watch now</a></p>
241
  <p><a href="https://www.youtube.com/watch?v=vWRZc66eaPo" target="_blank">How to install the TikTok Tag on WordPress with PixelYourSite - WooCommerce Support (9:11) - watch now</a></p>
242
+ <p><a href="https://www.youtube.com/watch?v=3soI_Fl0JQw" target="_blank">Facebook Event Matching and EMQ: How to IMPROVE it</a></p>
243
  </div>
244
  </div>
245
  <div class="row">
493
  </div>
494
  <div class="row mt-3">
495
  <div class="col-6">
496
+ <label>Meta Pixel (formerly Facebook Pixel) ID:</label>
497
  <?php Facebook()->render_text_input( 'fdp_pixel_id',"",true ); ?>
498
  </div>
499
  </div>
includes/views/html-main-wcf.php CHANGED
@@ -38,8 +38,8 @@ if ( ! defined( 'ABSPATH' ) ) {
38
  <div class="plate">
39
  <div class="row pt-3">
40
  <div class="col">
41
- <h4 class="mb-3">Facebook Pixel</h4>
42
- <h4 class="label">Facebook Pixel ID:</h4>
43
  <?php Facebook()->render_text_input( 'wcf_pixel_id', 'Add your pixel ID there',true ); ?>
44
  </div>
45
  </div>
38
  <div class="plate">
39
  <div class="row pt-3">
40
  <div class="col">
41
+ <h4 class="mb-3">Meta Pixel (formerly Facebook Pixel)</h4>
42
+ <h4 class="label">Meta Pixel (formerly Facebook Pixel) ID:</h4>
43
  <?php Facebook()->render_text_input( 'wcf_pixel_id', 'Add your pixel ID there',true ); ?>
44
  </div>
45
  </div>
includes/views/html-main-woo.php CHANGED
@@ -13,6 +13,19 @@ use PixelYourSite\Facebook\Helpers;
13
  <h2 class="section-title">WooCommerce Settings</h2>
14
 
15
  <!-- Enable WooCommerce -->
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  <div class="card card-static">
17
  <div class="card-header">
18
  General
@@ -104,8 +117,8 @@ use PixelYourSite\Facebook\Helpers;
104
  <p><strong>It looks like you're using both PixelYourSite and Facebook for WooCommerce Extension. Good, because
105
  they can do a great job together!</strong></p>
106
  <p>Facebook for WooCommerce Extension is a useful free tool that lets you import your products to a Facebook
107
- shop and adds a very basic Facebook pixel on your site. PixelYourSite is a dedicated plugin that
108
- supercharges your Facebook Pixel with extremely useful features.</p>
109
  <p>We made it possible to use both plugins together. You just have to decide what ID to use for your events.</p>
110
  </div>
111
  </div>
@@ -981,7 +994,7 @@ e&utm_campaign=pro-feature' ); ?>
981
 
982
  <div class="card">
983
  <div class="card-header has_switch">
984
- <?php PYS()->render_switcher_input('woo_complete_registration_enabled');?> CompleteRegistration for the Facebook Pixel<?php cardCollapseBtn(); ?>
985
  </div>
986
  <div class="card-body">
987
  <?php if ( Facebook()->enabled() ) : ?>
@@ -1391,7 +1404,7 @@ e&utm_campaign=pro-feature' ); ?>
1391
  </p>
1392
  <br><br>
1393
 
1394
- <p>The Facebook Pixel events are Dynamic Ads ready.</p>
1395
  <p>The Google Analytics events track the data Enhanced Ecommerce or Monetization (GA4).</p>
1396
  <p>The Pinterest events have the required data for Dynamic Remarketing.</p>
1397
 
13
  <h2 class="section-title">WooCommerce Settings</h2>
14
 
15
  <!-- Enable WooCommerce -->
16
+ <div class="card card-static">
17
+ <div class="card-body">
18
+ <div class="row">
19
+ <div class="col">
20
+ <?php renderDummySwitcher( false); ?>
21
+ <h4 class="switcher-label">Advanced Purchase Tracking</h4><?php renderProBadge(); ?>
22
+ </div>
23
+ </div>
24
+ <p class="small">
25
+ If the Purchase event doesn't fire for a transaction when the order is placed by your client, the plugin will send it to Facebook and Google Analytics Universal (not yet supported for GA4) when the order's status changes to Complete.
26
+ </p>
27
+ </div>
28
+ </div>
29
  <div class="card card-static">
30
  <div class="card-header">
31
  General
117
  <p><strong>It looks like you're using both PixelYourSite and Facebook for WooCommerce Extension. Good, because
118
  they can do a great job together!</strong></p>
119
  <p>Facebook for WooCommerce Extension is a useful free tool that lets you import your products to a Facebook
120
+ shop and adds a very basic Meta Pixel (formerly Facebook Pixel) on your site. PixelYourSite is a dedicated plugin that
121
+ supercharges your Meta Pixel (formerly Facebook Pixel) with extremely useful features.</p>
122
  <p>We made it possible to use both plugins together. You just have to decide what ID to use for your events.</p>
123
  </div>
124
  </div>
994
 
995
  <div class="card">
996
  <div class="card-header has_switch">
997
+ <?php PYS()->render_switcher_input('woo_complete_registration_enabled');?> CompleteRegistration for the Meta Pixel (formerly Facebook Pixel)<?php cardCollapseBtn(); ?>
998
  </div>
999
  <div class="card-body">
1000
  <?php if ( Facebook()->enabled() ) : ?>
1404
  </p>
1405
  <br><br>
1406
 
1407
+ <p>The Meta Pixel (formerly Facebook Pixel) events are Dynamic Ads ready.</p>
1408
  <p>The Google Analytics events track the data Enhanced Ecommerce or Monetization (GA4).</p>
1409
  <p>The Pinterest events have the required data for Dynamic Remarketing.</p>
1410
 
includes/views/html-wrapper-main.php CHANGED
@@ -173,8 +173,8 @@ include "html-popovers.php";
173
 
174
  <div class="card card-static card-primary">
175
  <div class="card-body">
176
- <h4 class="card-title">Facebook Pixel Essential Guide</h4>
177
- <p class="card-text">Learn how to use Facebook Pixel like a genuine expert. Download this Facebook
178
  Pixel Essential Guide:</p>
179
  <a href="https://www.pixelyoursite.com/facebook-pixel-pdf-guide?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-guide" target="_blank" class="btn btn-sm btn-block btn-save">Click to get the free
180
  guide</a>
173
 
174
  <div class="card card-static card-primary">
175
  <div class="card-body">
176
+ <h4 class="card-title">Meta Pixel (formerly Facebook Pixel) Essential Guide</h4>
177
+ <p class="card-text">Learn how to use Meta Pixel (formerly Facebook Pixel) like a genuine expert. Download this Facebook
178
  Pixel Essential Guide:</p>
179
  <a href="https://www.pixelyoursite.com/facebook-pixel-pdf-guide?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-guide" target="_blank" class="btn btn-sm btn-block btn-save">Click to get the free
180
  guide</a>
modules/facebook/facebook.php CHANGED
@@ -72,8 +72,12 @@ class Facebook extends Settings implements Pixel {
72
  public function getPixelIDs() {
73
 
74
  $ids = (array) $this->getOption( 'pixel_id' );
75
- $ids = (array) reset( $ids );// return first id only
76
- return apply_filters("pys_facebook_ids",$ids);
 
 
 
 
77
  }
78
 
79
  public function getPixelOptions() {
72
  public function getPixelIDs() {
73
 
74
  $ids = (array) $this->getOption( 'pixel_id' );
75
+
76
+ if(count($ids) == 0|| empty($ids[0])) {
77
+ return apply_filters("pys_facebook_ids",[]);
78
+ } else {
79
+ return apply_filters("pys_facebook_ids",(array) reset( $ids )); // return first id only
80
+ }
81
  }
82
 
83
  public function getPixelOptions() {
modules/facebook/function-helpers.php CHANGED
@@ -109,7 +109,7 @@ function getAdvancedMatchingParams() {
109
  $payment_key = urldecode( $_GET['payment_key'] );
110
  } else if ( $session ) {
111
  $payment_key = $session['purchase_key'];
112
- } elseif ( $edd_receipt_args['payment_key'] ) {
113
  $payment_key = $edd_receipt_args['payment_key'];
114
  }
115
 
109
  $payment_key = urldecode( $_GET['payment_key'] );
110
  } else if ( $session ) {
111
  $payment_key = $session['purchase_key'];
112
+ } elseif ( $edd_receipt_args && $edd_receipt_args['payment_key'] ) {
113
  $payment_key = $edd_receipt_args['payment_key'];
114
  }
115
 
modules/facebook/views/html-settings.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  <div class="row mb-3">
20
  <div class="col">
21
  <?php Facebook()->render_switcher_input( 'enabled' ); ?>
22
- <h4 class="switcher-label">Enable Facebook Pixel</h4>
23
  </div>
24
  </div>
25
  <div class="row">
@@ -56,7 +56,7 @@ if ( ! defined( 'ABSPATH' ) ) {
56
  <div class="col text-center">
57
  <p class="mb-0">Fire more events and parameters and improve your ads performance.
58
  <br><a href="https://www.pixelyoursite.com/facebook-pixel-plugin?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-settings"
59
- target="_blank">Find more about the PRO Facebook Pixel implementation</a></p>
60
  </div>
61
  </div>
62
  </div>
19
  <div class="row mb-3">
20
  <div class="col">
21
  <?php Facebook()->render_switcher_input( 'enabled' ); ?>
22
+ <h4 class="switcher-label">Enable Meta Pixel (formerly Facebook Pixel)</h4>
23
  </div>
24
  </div>
25
  <div class="row">
56
  <div class="col text-center">
57
  <p class="mb-0">Fire more events and parameters and improve your ads performance.
58
  <br><a href="https://www.pixelyoursite.com/facebook-pixel-plugin?utm_source=pixelyoursite-free-plugin&utm_medium=plugin&utm_campaign=free-plugin-facebook-settings"
59
+ target="_blank">Find more about the PRO Meta Pixel (formerly Facebook Pixel) implementation</a></p>
60
  </div>
61
  </div>
62
  </div>
modules/google_analytics/ga.php CHANGED
@@ -744,9 +744,9 @@ class GA extends Settings implements Pixel {
744
  * Analytic's Product Performance report.
745
  */
746
  if ( isWooCommerceVersionGte( '3.0' ) ) {
747
- $price = $line_item['total'] + $line_item['total_tax'];
748
  } else {
749
- $price = $line_item['line_total'] + $line_item['line_tax'];
750
  }
751
 
752
  $qty = $line_item['qty'];
744
  * Analytic's Product Performance report.
745
  */
746
  if ( isWooCommerceVersionGte( '3.0' ) ) {
747
+ $price = pys_round($line_item['total'] + $line_item['total_tax']);
748
  } else {
749
+ $price = pys_round($line_item['line_total'] + $line_item['line_tax']);
750
  }
751
 
752
  $qty = $line_item['qty'];
modules/superpack/views/html-settings.php CHANGED
@@ -66,7 +66,7 @@ if ( ! defined( 'ABSPATH' ) ) {
66
  <div class="row">
67
  <div class="col">
68
  <p>Define custom thank you pages (general or for a particular product) and fire the
69
- Facebook pixel on it.</p>
70
  <?php renderDummySwitcher(); ?>
71
  <h4 class="switcher-label">Enable Custom Thank You Pages</h4>
72
  </div>
66
  <div class="row">
67
  <div class="col">
68
  <p>Define custom thank you pages (general or for a particular product) and fire the
69
+ Meta Pixel (formerly Facebook Pixel) on it.</p>
70
  <?php renderDummySwitcher(); ?>
71
  <h4 class="switcher-label">Enable Custom Thank You Pages</h4>
72
  </div>
notices/7_1_8.php CHANGED
@@ -16,7 +16,7 @@ function adminGetPromoNoticesContent() {
16
  // 'to' => 2,
17
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
18
  </br></br>
19
- How to verify your domanin on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
20
  </br></br>
21
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
22
  </br></br>
@@ -33,7 +33,7 @@ Add the TikTok Tag with <a href="https://www.pixelyoursite.com/tiktok-tag-pixely
33
  // 'to' => 1,
34
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
35
  </br></br>
36
- How to verify your domani on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
37
  </br></br>
38
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
39
  </br></br>
@@ -49,7 +49,7 @@ Add the TikTok Tag with <a href="https://www.pixelyoursite.com/tiktok-tag-pixely
49
  // 'to' => 1,
50
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
51
  </br></br>
52
- How to verify your domani on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
53
  </br></br>
54
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a></br></br>'
55
  ],
16
  // 'to' => 2,
17
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
18
  </br></br>
19
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
20
  </br></br>
21
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
22
  </br></br>
33
  // 'to' => 1,
34
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
35
  </br></br>
36
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
37
  </br></br>
38
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
39
  </br></br>
49
  // 'to' => 1,
50
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
51
  </br></br>
52
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
53
  </br></br>
54
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a></br></br>'
55
  ],
notices/8_0_3.php CHANGED
@@ -16,7 +16,7 @@ function adminGetPromoNoticesContent() {
16
  // 'to' => 2,
17
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
18
  </br></br>
19
- How to verify your domanin on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
20
  </br></br>
21
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
22
  </br></br>
@@ -33,7 +33,7 @@ Add the TikTok Tag with <a href="https://www.pixelyoursite.com/tiktok-tag-pixely
33
  // 'to' => 1,
34
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
35
  </br></br>
36
- How to verify your domani on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
37
  </br></br>
38
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
39
  </br></br>
@@ -50,7 +50,7 @@ Add the TikTok Tag with <a href="https://www.pixelyoursite.com/tiktok-tag-pixely
50
  // 'to' => 1,
51
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
52
  </br></br>
53
- How to verify your domani on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
54
  </br></br>
55
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a></br></br>'
56
  ],
16
  // 'to' => 2,
17
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
18
  </br></br>
19
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
20
  </br></br>
21
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
22
  </br></br>
33
  // 'to' => 1,
34
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
35
  </br></br>
36
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
37
  </br></br>
38
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a>
39
  </br></br>
50
  // 'to' => 1,
51
  'content' => '</br>PIXELYOURSITE KEY INFO:</br></br>Learn about Facebook Aggregated Event Measurement: <a href="https://www.pixelyoursite.com/aem" target="_blank">Click here</a>
52
  </br></br>
53
+ How to verify your domain on Facebook: <a href="https://www.pixelyoursite.com/verify-domain-facebook" target="_blank">Click here</a>
54
  </br></br>
55
  Find out about Custom Conversion using the Signal event: <a href="https://www.pixelyoursite.com/signal-custom-conversions-aem" target="_blank">Click here</a></br></br>'
56
  ],
pixelyoursite.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- define( 'PYS_FREE_VERSION', '8.2.15' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '3.2.5' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '2.2.2' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ define( 'PYS_FREE_VERSION', '8.2.16' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '3.2.5' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '2.2.2' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.txt CHANGED
@@ -1,17 +1,17 @@
1
  ===PixelYourSite - Your smart PIXEL (TAG) Manager===
2
  Contributors: PixelYourSite
3
- Tags: Facebook Pixel, Facebook Conversion API, CAPI, Facebook Pixel Events, Facebook Dynamic Product Ads, Facebook Conversion Value, WooCommerce Facebook Pixel, Easy Digital Downloads Facebook Pixel, Google Analytics, Google Analytics Enhanced Ecommerce, GA4, WooCommerce Google Analytics, Easy Digital Downloads Google Analytics, head & footer scripts, Pinterest tag
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
- Tested up to: 5.8
7
- Stable tag: 8.2.15
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Facebook Pixel & Conversion API (CAPI), Google Analytics Universal or GA4, plus ANY other script. WooCommerce and EDD with Facebook Dynamic Product Ads and Google Enhanced Ecommerce. Track any action with events. Pinterest Tag support via a dedicated paid add-on. Dedicated paid Bing Tag add-on.
12
 
13
  == Description ==
14
- **Manage your Facebook Pixel, implement Facebook Conversion API, add your Google Analytics Universal or GA4 with a single plugin. Add ANY other script (Head & Footer feature). The Pinterest Tag can be implemented via [paid add-on](https://www.pixelyoursite.com/pinterest-tag).**
15
 
16
  PixelYourSite's Signal event will automatically track important actions and send them to all your configured pixels (searches, form submit, comments, downloads).
17
 
@@ -31,7 +31,7 @@ Learn about [the Signal Event and Aggregated Event Measurement](https://www.pixe
31
 
32
  TRACK EVERYTHING WITH A SINGLE PLUGIN:
33
 
34
- * The Facebook Pixel: one click install
35
 
36
  * Facebook Conversion API: add a token and we send all events using CAPI
37
 
@@ -55,7 +55,7 @@ TRACK EVERYTHING WITH A SINGLE PLUGIN:
55
 
56
  FANTASTIC WOOCOMMERCE INTEGRATION:
57
 
58
- * Facebook Pixel: every e-commerce related event is fired automatically. Conversion value is tracked for each event. All the events are
59
 
60
  * Dynamic Product Ads ready (content_ids and content_type parameters always present).
61
 
@@ -460,6 +460,20 @@ NO, absolutely not! We don't track any type of data about your website. We simpl
460
  == Changelog ==
461
 
462
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  = PixelYourSite 8.2.15 =
464
 
465
  * Fix for a possible critical error related to older versions of the Pinterest add-on.
1
  ===PixelYourSite - Your smart PIXEL (TAG) Manager===
2
  Contributors: PixelYourSite
3
+ Tags: Meta Pixel, Facebook Pixel, Facebook Conversion API, CAPI, Facebook Pixel Events, Facebook Dynamic Product Ads, Facebook Conversion Value, WooCommerce Facebook Pixel, Easy Digital Downloads Facebook Pixel, Google Analytics, Google Analytics Enhanced Ecommerce, GA4, WooCommerce Google Analytics, Easy Digital Downloads Google Analytics, head & footer scripts, Pinterest tag
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
+ Tested up to: 5.9
7
+ Stable tag: 8.2.16
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Meta Pixel (Facebook Pixel) & Conversion API (CAPI), Google Analytics Universal or GA4, plus ANY other script. WooCommerce and EDD with Facebook Dynamic Product Ads and Google Enhanced Ecommerce. Track any action with events. Pinterest Tag support via a dedicated paid add-on. Dedicated paid Bing Tag add-on.
12
 
13
  == Description ==
14
+ **Manage your Meta Pixel (Facebook Pixel), implement Facebook Conversion API, add your Google Analytics Universal or GA4 with a single plugin. Add ANY other script (Head & Footer feature). The Pinterest Tag can be implemented via [paid add-on](https://www.pixelyoursite.com/pinterest-tag).**
15
 
16
  PixelYourSite's Signal event will automatically track important actions and send them to all your configured pixels (searches, form submit, comments, downloads).
17
 
31
 
32
  TRACK EVERYTHING WITH A SINGLE PLUGIN:
33
 
34
+ * The Meta Pixel (Facebook Pixel): one click install
35
 
36
  * Facebook Conversion API: add a token and we send all events using CAPI
37
 
55
 
56
  FANTASTIC WOOCOMMERCE INTEGRATION:
57
 
58
+ * Meta Pixel (Facebook Pixel): every e-commerce related event is fired automatically. Conversion value is tracked for each event. All the events are
59
 
60
  * Dynamic Product Ads ready (content_ids and content_type parameters always present).
61
 
460
  == Changelog ==
461
 
462
 
463
+ = PixelYourSite 8.2.16 =
464
+
465
+ * Terminology change, we are now using "The Meta Pixel" along with "The Facebook Pixel".
466
+
467
+ * Fix for a possible issue with WooCommerce variable products that have a large number of variations creating a loading page speed problem.
468
+
469
+ * Vide link updates.
470
+
471
+ * WordPress 5.9 compatibility.
472
+
473
+ * WooCommerce 6.1 compatibility.
474
+
475
+
476
+
477
  = PixelYourSite 8.2.15 =
478
 
479
  * Fix for a possible critical error related to older versions of the Pinterest add-on.
vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/BusinessDataAPI/Event.php CHANGED
@@ -47,8 +47,8 @@ class Event
47
  $this->container['data_processing_options_state'] = isset($data['data_processing_options_state']) ? $data['data_processing_options_state'] : null;
48
  }
49
  /**
50
- * Sets a Facebook pixel Standard Event or Custom Event name
51
- * @param string $event_name A Facebook pixel Standard Event or Custom Event name.
52
  * @return $this
53
  */
54
  public function setEventName($event_name)
@@ -154,7 +154,7 @@ class Event
154
  return $request;
155
  }
156
  /**
157
- * Gets Facebook pixel Standard Event or Custom Event name.
158
  * @return string
159
  */
160
  public function getEventName()
47
  $this->container['data_processing_options_state'] = isset($data['data_processing_options_state']) ? $data['data_processing_options_state'] : null;
48
  }
49
  /**
50
+ * Sets a Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name
51
+ * @param string $event_name A Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
52
  * @return $this
53
  */
54
  public function setEventName($event_name)
154
  return $request;
155
  }
156
  /**
157
+ * Gets Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
158
  * @return string
159
  */
160
  public function getEventName()
vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php CHANGED
@@ -131,8 +131,8 @@ class Event implements \ArrayAccess
131
  return \true;
132
  }
133
  /**
134
- * Sets a Facebook pixel Standard Event or Custom Event name
135
- * @param string $event_name A Facebook pixel Standard Event or Custom Event name.
136
  * @return $this
137
  */
138
  public function setEventName($event_name)
@@ -175,9 +175,9 @@ class Event implements \ArrayAccess
175
  /**
176
  * Sets an ID used by Facebook to deduplicate the same event sent from both server and browser.
177
  * @param string $event_id This ID can be any unique string chosen by the advertiser.
178
- * event_id is used to deduplicate events sent by both Facebook Pixel and Server-Side API.
179
  * event_name is also used in the deduplication process.
180
- * For deduplication, the eventID from Facebook pixel must match the
181
  * event_id in the corresponding Server-Side API event.
182
  * @return $this
183
  */
@@ -330,7 +330,7 @@ class Event implements \ArrayAccess
330
  return $normalized_payload;
331
  }
332
  /**
333
- * Gets Facebook pixel Standard Event or Custom Event name.
334
  * @return string
335
  */
336
  public function getEventName()
131
  return \true;
132
  }
133
  /**
134
+ * Sets a Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name
135
+ * @param string $event_name A Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
136
  * @return $this
137
  */
138
  public function setEventName($event_name)
175
  /**
176
  * Sets an ID used by Facebook to deduplicate the same event sent from both server and browser.
177
  * @param string $event_id This ID can be any unique string chosen by the advertiser.
178
+ * event_id is used to deduplicate events sent by both Meta Pixel (formerly Facebook Pixel) and Server-Side API.
179
  * event_name is also used in the deduplication process.
180
+ * For deduplication, the eventID from Meta Pixel (formerly Facebook Pixel) must match the
181
  * event_id in the corresponding Server-Side API event.
182
  * @return $this
183
  */
330
  return $normalized_payload;
331
  }
332
  /**
333
+ * Gets Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
334
  * @return string
335
  */
336
  public function getEventName()
vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/Signal/Event.php CHANGED
@@ -54,8 +54,8 @@ class Event
54
  $this->serverSideEvent = new \PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\Event($server_data);
55
  }
56
  /**
57
- * Sets a Facebook pixel Standard Event or Custom Event name
58
- * @param string $event_name A Facebook pixel Standard Event or Custom Event name.
59
  * @return $this
60
  */
61
  public function setEventName($event_name)
@@ -78,9 +78,9 @@ class Event
78
  /**
79
  * Sets an ID used by Facebook to deduplicate the same event sent from both server and browser.
80
  * @param string $event_id This ID can be any unique string chosen by the advertiser.
81
- * event_id is used to deduplicate events sent by both Facebook Pixel and Server-Side API.
82
  * event_name is also used in the deduplication process.
83
- * For deduplication, the eventID from Facebook pixel must match the
84
  * event_id in the corresponding Server-Side API event.
85
  * @return $this
86
  */
@@ -172,7 +172,7 @@ class Event
172
  return $this;
173
  }
174
  /**
175
- * Gets Facebook pixel Standard Event or Custom Event name.
176
  * @return array
177
  */
178
  public function getEventName()
54
  $this->serverSideEvent = new \PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\Event($server_data);
55
  }
56
  /**
57
+ * Sets a Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name
58
+ * @param string $event_name A Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
59
  * @return $this
60
  */
61
  public function setEventName($event_name)
78
  /**
79
  * Sets an ID used by Facebook to deduplicate the same event sent from both server and browser.
80
  * @param string $event_id This ID can be any unique string chosen by the advertiser.
81
+ * event_id is used to deduplicate events sent by both Meta Pixel (formerly Facebook Pixel) and Server-Side API.
82
  * event_name is also used in the deduplication process.
83
+ * For deduplication, the eventID from Meta Pixel (formerly Facebook Pixel) must match the
84
  * event_id in the corresponding Server-Side API event.
85
  * @return $this
86
  */
172
  return $this;
173
  }
174
  /**
175
+ * Gets Meta Pixel (formerly Facebook Pixel) Standard Event or Custom Event name.
176
  * @return array
177
  */
178
  public function getEventName()