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

Version Description

Download this release

Release Info

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

Code changes from version 7.0.4 to 7.0.5

facebook-pixel-master.php CHANGED
@@ -4,16 +4,16 @@
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.4
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.6.2
17
  *
18
  * Text Domain: pys
19
  */
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.5
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.2.0
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 3.6.3
17
  *
18
  * Text Domain: pys
19
  */
includes/class-pys.php CHANGED
@@ -180,16 +180,21 @@ final class PYS extends Settings implements Plugin {
180
  return;
181
  }
182
 
183
- // disable PYS on Customizer and preview mode
184
  if (is_admin() || is_customize_preview() || is_preview()) {
185
  return;
186
  }
187
 
188
- // disable PYS on Elementor editor
189
  if (did_action('elementor/preview/init') || did_action('elementor/editor/init')) {
190
  return;
191
  }
192
 
 
 
 
 
 
193
  // output debug info
194
  add_action( 'wp_head', function() {
195
  echo "<script type='text/javascript'>console.log('PixelYourSite Free version " . PYS_FREE_VERSION . "');</script>\r\n";
180
  return;
181
  }
182
 
183
+ // disable Events Manager on Customizer and preview mode
184
  if (is_admin() || is_customize_preview() || is_preview()) {
185
  return;
186
  }
187
 
188
+ // disable Events Manager on Elementor editor
189
  if (did_action('elementor/preview/init') || did_action('elementor/editor/init')) {
190
  return;
191
  }
192
 
193
+ // disable Events Manager on Divi Builder
194
+ if (function_exists('et_core_is_fb_enabled') && et_core_is_fb_enabled()) {
195
+ return;
196
+ }
197
+
198
  // output debug info
199
  add_action( 'wp_head', function() {
200
  echo "<script type='text/javascript'>console.log('PixelYourSite Free version " . PYS_FREE_VERSION . "');</script>\r\n";
includes/views/html-main-edd.php CHANGED
@@ -242,7 +242,7 @@ if ( ! defined( 'ABSPATH' ) ) {
242
  <?php if ( Pinterest()->enabled() ) : ?>
243
  <div class="row">
244
  <div class="col">
245
- <?php Pinterest()->render_switcher_input( 'edd_checkout_enabled' ); ?>
246
  <h4 class="switcher-label">Enable the Checkout event on Pinterest</h4>
247
  <?php Pinterest()->renderAddonNotice(); ?>
248
  </div>
@@ -556,7 +556,7 @@ if ( ! defined( 'ABSPATH' ) ) {
556
  <?php if ( Pinterest()->enabled() ) : ?>
557
  <div class="row">
558
  <div class="col">
559
- <?php Pinterest()->render_switcher_input( 'edd_page_visit_enabled' ); ?>
560
  <h4 class="switcher-label">Enable the PageVisit event on Pinterest</h4>
561
  <?php Pinterest()->renderAddonNotice(); ?>
562
  </div>
242
  <?php if ( Pinterest()->enabled() ) : ?>
243
  <div class="row">
244
  <div class="col">
245
+ <?php Pinterest()->render_switcher_input( 'edd_purchase_enabled' ); ?>
246
  <h4 class="switcher-label">Enable the Checkout event on Pinterest</h4>
247
  <?php Pinterest()->renderAddonNotice(); ?>
248
  </div>
556
  <?php if ( Pinterest()->enabled() ) : ?>
557
  <div class="row">
558
  <div class="col">
559
+ <?php Pinterest()->render_switcher_input( 'edd_view_content_enabled' ); ?>
560
  <h4 class="switcher-label">Enable the PageVisit event on Pinterest</h4>
561
  <?php Pinterest()->renderAddonNotice(); ?>
562
  </div>
includes/views/html-main-woo.php CHANGED
@@ -325,7 +325,7 @@ use PixelYourSite\Facebook\Helpers;
325
  <?php if ( Pinterest()->enabled() ) : ?>
326
  <div class="row">
327
  <div class="col">
328
- <?php Pinterest()->render_switcher_input( 'woo_checkout_enabled' ); ?>
329
  <h4 class="switcher-label">Enable the Checkout event on Pinterest</h4>
330
  <?php Pinterest()->renderAddonNotice(); ?>
331
  </div>
@@ -638,7 +638,7 @@ use PixelYourSite\Facebook\Helpers;
638
  <?php if ( Pinterest()->enabled() ) : ?>
639
  <div class="row">
640
  <div class="col">
641
- <?php Pinterest()->render_switcher_input( 'woo_page_visit_enabled' ); ?>
642
  <h4 class="switcher-label">Enable the PageVisit event on Pinterest</h4>
643
  <?php Pinterest()->renderAddonNotice(); ?>
644
  </div>
325
  <?php if ( Pinterest()->enabled() ) : ?>
326
  <div class="row">
327
  <div class="col">
328
+ <?php Pinterest()->render_switcher_input( 'woo_purchase_enabled' ); ?>
329
  <h4 class="switcher-label">Enable the Checkout event on Pinterest</h4>
330
  <?php Pinterest()->renderAddonNotice(); ?>
331
  </div>
638
  <?php if ( Pinterest()->enabled() ) : ?>
639
  <div class="row">
640
  <div class="col">
641
+ <?php Pinterest()->render_switcher_input( 'woo_view_content_enabled' ); ?>
642
  <h4 class="switcher-label">Enable the PageVisit event on Pinterest</h4>
643
  <?php Pinterest()->renderAddonNotice(); ?>
644
  </div>
pixelyoursite.php CHANGED
@@ -4,8 +4,8 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- define( 'PYS_FREE_VERSION', '7.0.4' );
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__ ) ) );
11
 
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ define( 'PYS_FREE_VERSION', '7.0.5' );
8
+ define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.6' );
9
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
10
  define( 'PYS_FREE_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
11
 
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.2
7
- Stable tag: 7.0.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -371,6 +371,11 @@ There's a strange solution: it appears that if you have the Yoast plugin install
371
 
372
  == Changelog ==
373
 
 
 
 
 
 
374
  = PixelYourSite 7.0.4 =
375
 
376
  * New Feature: Google Analytics cross-domain measurement. Tell Analytics to see sessions on two related sites (such as an ecommerce site and a separate shopping cart site) as a single session.
@@ -676,4 +681,6 @@ This is a major release, with a new design and new features:
676
 
677
  = 5.0 =
678
 
679
- Version 5.0 comes with full Easy Digital Downloads integrations plus the ability to give each WooCommerce and EDD event a global value.
 
 
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.2
7
+ Stable tag: 7.0.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
371
 
372
  == Changelog ==
373
 
374
+ = PixelYourSite 7.0.5 =
375
+
376
+ * Fixing a potential problem with Pinterest PageVisit and Checkout events when the Facebook Pixel was deactivated (for the Pinterest add-on users only).
377
+
378
+
379
  = PixelYourSite 7.0.4 =
380
 
381
  * New Feature: Google Analytics cross-domain measurement. Tell Analytics to see sessions on two related sites (such as an ecommerce site and a separate shopping cart site) as a single session.
681
 
682
  = 5.0 =
683
 
684
+ Version 5.0 comes with full Easy Digital Downloads integrations plus the ability to give each WooCommerce and EDD event a global value.
685
+
686
+