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

Version Description

Download this release

Release Info

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

Code changes from version 8.2.11 to 8.2.12

dist/scripts/public.js CHANGED
@@ -406,6 +406,7 @@ if (!Array.prototype.includes) {
406
  /**
407
  * Events
408
  */
 
409
  fireTriggerEvent: function (eventId) {
410
 
411
  if (!options.triggerEvents.hasOwnProperty(eventId)) {
@@ -417,30 +418,22 @@ if (!Array.prototype.includes) {
417
 
418
  if (events.hasOwnProperty('facebook')) {
419
  event = events.facebook;
420
- if(Utils.isEventInTimeWindow(event.name,event,"dyn_facebook_"+eventId)) {
421
- Facebook.fireEvent(event.name, event);
422
- }
423
  }
424
 
425
  if (events.hasOwnProperty('ga')) {
426
  event = events.ga;
427
- if(Utils.isEventInTimeWindow(event.name,event,"dyn_ga_"+eventId)) {
428
- Analytics.fireEvent(event.name, event);
429
- }
430
  }
431
 
432
  if (events.hasOwnProperty('pinterest')) {
433
  event = events.pinterest;
434
- if(Utils.isEventInTimeWindow(event.name,event,"dyn_pinterest_"+eventId)) {
435
- Pinterest.fireEvent(event.name, event);
436
- }
437
  }
438
 
439
  if (events.hasOwnProperty('bing')) {
440
  event = events.bing;
441
- if(Utils.isEventInTimeWindow(event.name,event,"dyn_bing_"+eventId)) {
442
- Bing.fireEvent(event.name, event);
443
- }
444
  }
445
  },
446
 
406
  /**
407
  * Events
408
  */
409
+
410
  fireTriggerEvent: function (eventId) {
411
 
412
  if (!options.triggerEvents.hasOwnProperty(eventId)) {
418
 
419
  if (events.hasOwnProperty('facebook')) {
420
  event = events.facebook;
421
+ Facebook.fireEvent(event.name, event);
 
 
422
  }
423
 
424
  if (events.hasOwnProperty('ga')) {
425
  event = events.ga;
426
+ Analytics.fireEvent(event.name, event);
 
 
427
  }
428
 
429
  if (events.hasOwnProperty('pinterest')) {
430
  event = events.pinterest;
431
+ Pinterest.fireEvent(event.name, event);
 
 
432
  }
433
 
434
  if (events.hasOwnProperty('bing')) {
435
  event = events.bing;
436
+ Bing.fireEvent(event.name, event);
 
 
437
  }
438
  },
439
 
facebook-pixel-master.php CHANGED
@@ -4,7 +4,7 @@
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.11
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
@@ -13,7 +13,7 @@
13
  * Tested up to: 5.8
14
  *
15
  * WC requires at least: 2.6.0
16
- * WC tested up to: 5.8
17
  *
18
  * Text Domain: pys
19
  */
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.12
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
13
  * Tested up to: 5.8
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 5.9
17
  *
18
  * Text Domain: pys
19
  */
modules/facebook/facebook.php CHANGED
@@ -203,7 +203,7 @@ class Facebook extends Settings implements Pixel {
203
  $payload = array(
204
  'name' => "Purchase",
205
  'trigger_type' => $trigger_type,
206
- 'trigger_value' => $trigger_value
207
  );
208
  $event->addParams($params);
209
  $event->addPayload($payload);
203
  $payload = array(
204
  'name' => "Purchase",
205
  'trigger_type' => $trigger_type,
206
+ 'trigger_value' => [$trigger_value]
207
  );
208
  $event->addParams($params);
209
  $event->addPayload($payload);
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.11' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '3.0.0' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '2.0.0' );
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.12' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '3.0.0' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '2.0.0' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook Pixel, Facebook Conversion API, CAPI, Facebook Pixel Events, Face
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.8
7
- Stable tag: 8.2.11
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -457,6 +457,15 @@ NO, absolutely not! We don't track any type of data about your website. We simpl
457
  == Changelog ==
458
 
459
 
 
 
 
 
 
 
 
 
 
460
  = PixelYourSite 8.2.11 =
461
 
462
  * Fixing some small bugs, please update.
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.8
7
+ Stable tag: 8.2.12
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
457
  == Changelog ==
458
 
459
 
460
+ = PixelYourSite 8.2.12 =
461
+
462
+ * Fixing a potential problem with Signal events fired for forms buttons.
463
+
464
+ * Fixing a bug related to Dynamic Ads for Blog Setup.
465
+
466
+ * WooCommerce 5.9 update.
467
+
468
+
469
  = PixelYourSite 8.2.11 =
470
 
471
  * Fixing some small bugs, please update.