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

Version Description

Download this release

Release Info

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

Code changes from version 7.0.0 to 7.0.1

dist/scripts/js.cookie-2.1.3.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ !function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if(i=e({path:"/"},t.defaults,i),"number"==typeof i.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(e){}return r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)),n=n.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),n=n.replace(/[\(\)]/g,escape),document.cookie=[n,"=",r,i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,d=0;d<p.length;d++){var f=p[d].split("="),u=f.slice(1).join("=");'"'===u.charAt(0)&&(u=u.slice(1,-1));try{var l=f[0].replace(s,decodeURIComponent);if(u=o.read?o.read(u,l):o(u,l)||u.replace(s,decodeURIComponent),this.json)try{u=JSON.parse(u)}catch(e){}if(n===l){c=u;break}n||(c[l]=u)}catch(e){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})});
2
+ //# sourceMappingURL=js.cookie.min.js.map
facebook-pixel-master.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
- * Description: Implement the Facebook Pixel, Google Analytics Tag. Track key actions with automatic events, or create your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up, Google Analytics Enhanced Ecommerce, and Dynamic Remarketing.
7
- * Version: 7.0.0
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.1.0
14
  *
15
  * WC requires at least: 2.6.0
16
- * WC tested up to: 3.5.5
17
  *
18
  * Text Domain: pys
19
  */
@@ -25,4 +25,4 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  /**
26
  * facebook-pixel-master.php used for backward compatibility.
27
  */
28
- require_once 'pixelyoursite.php';
3
  /**
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
+ * Description: No codding <strong>Facebook Pixel</strong> and <strong>Google Analytics</strong> install. Track key actions with our Global Events, 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 free add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff.
7
+ * Version: 7.0.1
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.1.1
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 3.5.6
17
  *
18
  * Text Domain: pys
19
  */
25
  /**
26
  * facebook-pixel-master.php used for backward compatibility.
27
  */
28
+ require_once 'pixelyoursite.php';
includes/class-events-manager.php CHANGED
@@ -26,9 +26,12 @@ class EventsManager {
26
 
27
  wp_register_script( 'jquery-bind-first', PYS_FREE_URL . '/dist/scripts/jquery.bind-first-0.2.3.min.js', array( 'jquery' ) );
28
  wp_enqueue_script( 'jquery-bind-first' );
 
 
 
29
 
30
  wp_enqueue_script( 'pys', PYS_FREE_URL . '/dist/scripts/public.js',
31
- array( 'jquery', 'jquery-bind-first' ), PYS_FREE_VERSION );
32
 
33
  }
34
 
26
 
27
  wp_register_script( 'jquery-bind-first', PYS_FREE_URL . '/dist/scripts/jquery.bind-first-0.2.3.min.js', array( 'jquery' ) );
28
  wp_enqueue_script( 'jquery-bind-first' );
29
+
30
+ wp_register_script( 'js-cookie', PYS_FREE_URL . '/dist/scripts/js.cookie-2.1.3.min.js', array(), '2.1.3' );
31
+ wp_enqueue_script( 'js-cookie' );
32
 
33
  wp_enqueue_script( 'pys', PYS_FREE_URL . '/dist/scripts/public.js',
34
+ array( 'jquery', 'js-cookie', 'jquery-bind-first' ), PYS_FREE_VERSION );
35
 
36
  }
37
 
notices/1_from_pre_7x.php CHANGED
@@ -13,7 +13,7 @@ function adminGetPromoNoticesContent() {
13
  'disabled' => false,
14
  'from' => 0,
15
  'to' => 2,
16
- 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin" target="_blank">find out more here!</a>'
17
  ],
18
  ],
19
  'edd' => [
@@ -21,7 +21,7 @@ function adminGetPromoNoticesContent() {
21
  'disabled' => false,
22
  'from' => 0,
23
  'to' => 2,
24
- 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin" target="_blank">find out more here!</a>'
25
  ],
26
  ],
27
  'no_woo_no_edd' => [
@@ -29,7 +29,7 @@ function adminGetPromoNoticesContent() {
29
  'disabled' => false,
30
  'from' => 0,
31
  'to' => 2,
32
- 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin" target="_blank">find out more here!</a>'
33
  ],
34
  ],
35
  ];
13
  'disabled' => false,
14
  'from' => 0,
15
  'to' => 2,
16
+ 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin">find out more here!</a>'
17
  ],
18
  ],
19
  'edd' => [
21
  'disabled' => false,
22
  'from' => 0,
23
  'to' => 2,
24
+ 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin">find out more here!</a>'
25
  ],
26
  ],
27
  'no_woo_no_edd' => [
29
  'disabled' => false,
30
  'from' => 0,
31
  'to' => 2,
32
+ 'content' => 'PixelYourSite has been updated and it does a lot of new stuff for you: <a href="https://www.pixelyoursite.com/pixelyoursite-free-plugin">find out more here!</a>'
33
  ],
34
  ],
35
  ];
pixelyoursite.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- define( 'PYS_FREE_VERSION', '7.0.0' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.3' );
9
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
10
  define( 'PYS_FREE_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ define( 'PYS_FREE_VERSION', '7.0.1' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.3' );
9
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
10
  define( 'PYS_FREE_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook Pixel, New Facebook Pixel, Facebook Conversion Pixel, Facebook Pi
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.1
7
- Stable tag: 7.0.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -364,6 +364,12 @@ There's a strange solution: it appears that if you have the Yoast plugin install
364
 
365
  == Changelog ==
366
 
 
 
 
 
 
 
367
  = PixelYourSite 7.0.0 =
368
 
369
  * Version 7.0.0 is a complete rewrite of the plugin, adding a lot more features.
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.1
7
+ Stable tag: 7.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
364
 
365
  == Changelog ==
366
 
367
+ = PixelYourSite 7.0.1 =
368
+
369
+ * Fix for missing cookie dependency issue (GDPR integrations).
370
+
371
+ * Adding developer Facebook ID in the pixel code (used internally by Facebook to identify partners activity).
372
+
373
  = PixelYourSite 7.0.0 =
374
 
375
  * Version 7.0.0 is a complete rewrite of the plugin, adding a lot more features.