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

Version Description

Download this release

Release Info

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

Code changes from version 7.1.0 to 7.1.1

facebook-pixel-master.php CHANGED
@@ -4,7 +4,7 @@
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.1.0
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
@@ -13,7 +13,7 @@
13
  * Tested up to: 5.2.2
14
  *
15
  * WC requires at least: 2.6.0
16
- * WC tested up to: 3.6.5
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.1.1
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
13
  * Tested up to: 5.2.2
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 3.7
17
  *
18
  * Text Domain: pys
19
  */
includes/views/html-main-edd.php CHANGED
@@ -490,15 +490,15 @@ if ( ! defined( 'ABSPATH' ) ) {
490
  </div>
491
  <?php endif; ?>
492
 
493
- <?php if ( Bing()->enabled() ) : ?>
494
- <div class="row">
495
- <div class="col">
496
- <?php Bing()->render_switcher_input( 'edd_remove_from_cart_enabled' ); ?>
497
- <h4 class="switcher-label">Enable the RemoveFromCart event on Bing</h4>
498
- <?php Bing()->renderAddonNotice(); ?>
499
- </div>
500
- </div>
501
- <?php endif; ?>
502
 
503
  </div>
504
  </div>
490
  </div>
491
  <?php endif; ?>
492
 
493
+ <!-- --><?php //if ( Bing()->enabled() ) : ?>
494
+ <!-- <div class="row">-->
495
+ <!-- <div class="col">-->
496
+ <!-- --><?php //Bing()->render_switcher_input( 'edd_remove_from_cart_enabled' ); ?>
497
+ <!-- <h4 class="switcher-label">Enable the RemoveFromCart event on Bing</h4>-->
498
+ <!-- --><?php //Bing()->renderAddonNotice(); ?>
499
+ <!-- </div>-->
500
+ <!-- </div>-->
501
+ <!-- --><?php //endif; ?>
502
 
503
  </div>
504
  </div>
includes/views/html-main-woo.php CHANGED
@@ -572,15 +572,15 @@ use PixelYourSite\Facebook\Helpers;
572
  </div>
573
  <?php endif; ?>
574
 
575
- <?php if ( Bing()->enabled() ) : ?>
576
- <div class="row">
577
- <div class="col">
578
- <?php Bing()->render_switcher_input( 'woo_remove_from_cart_enabled' ); ?>
579
- <h4 class="switcher-label">Enable the RemoveFromCart event on Bing</h4>
580
- <?php Bing()->renderAddonNotice(); ?>
581
- </div>
582
- </div>
583
- <?php endif; ?>
584
 
585
  </div>
586
  </div>
@@ -813,6 +813,16 @@ use PixelYourSite\Facebook\Helpers;
813
  </div>
814
  <?php endif; ?>
815
 
 
 
 
 
 
 
 
 
 
 
816
  <div class="row">
817
  <div class="col">
818
  <?php renderDummySwitcher(); ?>
@@ -832,16 +842,6 @@ use PixelYourSite\Facebook\Helpers;
832
  </div>
833
  <?php endif; ?>
834
 
835
- <?php if ( Bing()->enabled() ) : ?>
836
- <div class="row">
837
- <div class="col">
838
- <?php Bing()->render_switcher_input( 'woo_view_category_enabled' ); ?>
839
- <h4 class="switcher-label">Enable the ViewCategory event on Bing</h4>
840
- <?php Bing()->renderAddonNotice(); ?>
841
- </div>
842
- </div>
843
- <?php endif; ?>
844
-
845
  </div>
846
  </div>
847
 
572
  </div>
573
  <?php endif; ?>
574
 
575
+ <!-- --><?php //if ( Bing()->enabled() ) : ?>
576
+ <!-- <div class="row">-->
577
+ <!-- <div class="col">-->
578
+ <!-- --><?php //Bing()->render_switcher_input( 'woo_remove_from_cart_enabled' ); ?>
579
+ <!-- <h4 class="switcher-label">Enable the RemoveFromCart event on Bing</h4>-->
580
+ <!-- --><?php //Bing()->renderAddonNotice(); ?>
581
+ <!-- </div>-->
582
+ <!-- </div>-->
583
+ <!-- --><?php //endif; ?>
584
 
585
  </div>
586
  </div>
813
  </div>
814
  <?php endif; ?>
815
 
816
+ <?php if ( Bing()->enabled() ) : ?>
817
+ <div class="row">
818
+ <div class="col">
819
+ <?php Bing()->render_switcher_input( 'woo_view_category_enabled' ); ?>
820
+ <h4 class="switcher-label">Enable the ViewCategory event on Bing</h4>
821
+ <?php Bing()->renderAddonNotice(); ?>
822
+ </div>
823
+ </div>
824
+ <?php endif; ?>
825
+
826
  <div class="row">
827
  <div class="col">
828
  <?php renderDummySwitcher(); ?>
842
  </div>
843
  <?php endif; ?>
844
 
 
 
 
 
 
 
 
 
 
 
845
  </div>
846
  </div>
847
 
modules/bing/bing.php CHANGED
@@ -64,7 +64,7 @@ class Bing extends Settings implements Pixel {
64
  public function renderCustomEventOptions( $event ) {}
65
 
66
  public function renderAddonNotice() {
67
- echo '&nbsp;<a href="https://www.pixelyoursite.com/bing-tag" target="_blank" class="badge badge-pill badge-secondary">Requires paid add-on</a>';
68
  }
69
 
70
  public function renderPixelIdField() {
64
  public function renderCustomEventOptions( $event ) {}
65
 
66
  public function renderAddonNotice() {
67
+ echo '&nbsp;<a href="https://www.pixelyoursite.com/bing-tag?utm_source=pys-free-plugin&utm_medium=bing-badge&utmcampaign=bing-free-plugin" target="_blank" class="badge badge-pill badge-secondary">Requires paid add-on</a>';
68
  }
69
 
70
  public function renderPixelIdField() {
pixelyoursite.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- define( 'PYS_FREE_VERSION', '7.1.0' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.6' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '1.0.0' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
@@ -35,7 +35,7 @@ function pysFreeActivation() {
35
  'back_link' => true,
36
  ) );
37
  }
38
-
39
  \PixelYourSite\manageAdminPermissions();
40
 
41
  }
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ define( 'PYS_FREE_VERSION', '7.1.1' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.6' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '1.0.0' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
35
  'back_link' => true,
36
  ) );
37
  }
38
+
39
  \PixelYourSite\manageAdminPermissions();
40
 
41
  }
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.1.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -372,6 +372,29 @@ There's a strange solution: it appears that if you have the Yoast plugin install
372
 
373
  == Changelog ==
374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  = PixelYourSite 7.1.0 =
376
 
377
  * This update ads support for our paid Microsoft (BING) UET Tag add-on.
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.2
7
+ Stable tag: 7.1.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
372
 
373
  == Changelog ==
374
 
375
+ = PixelYourSite 7.1.1 =
376
+
377
+ * Compatibility with WooCommerce 3.7
378
+
379
+ * New structure for the Form and Comment events. It will help you better identify what actions have fired the events.
380
+
381
+ Form Event for the Facebook Pixel and the Pinterest Tag:
382
+
383
+ - form_class: a new parameter pulling the CSS class when it exits.
384
+ - form_id: a new parameter pulling the CSS ID when it exits.
385
+
386
+ Form event on Google Analytics:
387
+
388
+ - event_categoty: Form.
389
+ - event_action: the CSS class or ID (makes easier for you to identify the form).
390
+ - event_label: the text on the form’s button.
391
+
392
+ Comment event on Google Analytics:
393
+
394
+ - event_categoty: Comment.
395
+ - event_action: the “post type” (page, products, post, etc) comment.
396
+ - event_label: the URL where the comment was posted.
397
+
398
  = PixelYourSite 7.1.0 =
399
 
400
  * This update ads support for our paid Microsoft (BING) UET Tag add-on.