Version Description
Download this release
Release Info
Developer | PixelYourSite |
Plugin | PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads) |
Version | 8.0.9 |
Comparing to | |
See all releases |
Code changes from version 8.0.8 to 8.0.9
- facebook-pixel-master.php +3 -3
- includes/views/html-main-edd.php +6 -2
- includes/views/html-main-woo.php +6 -1
- modules/facebook/function-helpers.php +1 -0
- pixelyoursite.php +1 -1
- readme.txt +10 -2
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 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 free add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff. Facebook Conversion API (CAPI) support.
|
7 |
-
* Version: 8.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.
|
14 |
*
|
15 |
* WC requires at least: 2.6.0
|
16 |
-
* WC tested up to: 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 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 free add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff. Facebook Conversion API (CAPI) support.
|
7 |
+
* Version: 8.0.9
|
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.7
|
14 |
*
|
15 |
* WC requires at least: 2.6.0
|
16 |
+
* WC tested up to: 5.1
|
17 |
*
|
18 |
* Text Domain: pys
|
19 |
*/
|
includes/views/html-main-edd.php
CHANGED
@@ -310,7 +310,7 @@ e&utm_campaign=pro-feature' ); ?>
|
|
310 |
</div>
|
311 |
<div class="card-body">
|
312 |
|
313 |
-
<div class="row mb-
|
314 |
<div class="col-11">
|
315 |
<?php renderDummyCheckbox( 'Fire the event on transaction only', true ); ?>
|
316 |
</div>
|
@@ -318,7 +318,11 @@ e&utm_campaign=pro-feature' ); ?>
|
|
318 |
<?php renderPopoverButton( 'edd_purchase_on_transaction' ); ?>
|
319 |
</div>
|
320 |
</div>
|
321 |
-
|
|
|
|
|
|
|
|
|
322 |
<?php if ( Facebook()->enabled() ) : ?>
|
323 |
<div class="row">
|
324 |
<div class="col">
|
310 |
</div>
|
311 |
<div class="card-body">
|
312 |
|
313 |
+
<div class="row mb-1">
|
314 |
<div class="col-11">
|
315 |
<?php renderDummyCheckbox( 'Fire the event on transaction only', true ); ?>
|
316 |
</div>
|
318 |
<?php renderPopoverButton( 'edd_purchase_on_transaction' ); ?>
|
319 |
</div>
|
320 |
</div>
|
321 |
+
<div class="row mb-3">
|
322 |
+
<div class="col-12">
|
323 |
+
<?php renderDummyCheckbox( "Don't fire the event for 0 value transactions", true ); ?>
|
324 |
+
</div>
|
325 |
+
</div>
|
326 |
<?php if ( Facebook()->enabled() ) : ?>
|
327 |
<div class="row">
|
328 |
<div class="col">
|
includes/views/html-main-woo.php
CHANGED
@@ -387,7 +387,7 @@ e&utm_campaign=pro-feature' ); ?>
|
|
387 |
<?php PYS()->render_switcher_input('woo_purchase_enabled');?>Track Purchases <?php cardCollapseBtn(); ?>
|
388 |
</div>
|
389 |
<div class="card-body">
|
390 |
-
<div class="row mb-
|
391 |
<div class="col-11">
|
392 |
<?php renderDummyCheckbox( 'Fire the event on transaction only', true ); ?>
|
393 |
</div>
|
@@ -395,6 +395,11 @@ e&utm_campaign=pro-feature' ); ?>
|
|
395 |
<?php renderPopoverButton( 'woo_purchase_on_transaction' ); ?>
|
396 |
</div>
|
397 |
</div>
|
|
|
|
|
|
|
|
|
|
|
398 |
|
399 |
<div class="row mb-1">
|
400 |
<div class="col">
|
387 |
<?php PYS()->render_switcher_input('woo_purchase_enabled');?>Track Purchases <?php cardCollapseBtn(); ?>
|
388 |
</div>
|
389 |
<div class="card-body">
|
390 |
+
<div class="row mb-1">
|
391 |
<div class="col-11">
|
392 |
<?php renderDummyCheckbox( 'Fire the event on transaction only', true ); ?>
|
393 |
</div>
|
395 |
<?php renderPopoverButton( 'woo_purchase_on_transaction' ); ?>
|
396 |
</div>
|
397 |
</div>
|
398 |
+
<div class="row mb-3">
|
399 |
+
<div class="col-12">
|
400 |
+
<?php renderDummyCheckbox( "Don't fire the event for 0 value transactions", true ); ?>
|
401 |
+
</div>
|
402 |
+
</div>
|
403 |
|
404 |
<div class="row mb-1">
|
405 |
<div class="col">
|
modules/facebook/function-helpers.php
CHANGED
@@ -312,6 +312,7 @@ function getWooSingleAddToCartParams( $_product_id, $qty = 1 ) {
|
|
312 |
|
313 |
foreach ($product_ids as $product_id) {
|
314 |
$product = wc_get_product($product_id);
|
|
|
315 |
if($product->get_type() == "variable" && $isGrouped) {
|
316 |
continue;
|
317 |
}
|
312 |
|
313 |
foreach ($product_ids as $product_id) {
|
314 |
$product = wc_get_product($product_id);
|
315 |
+
if(!$product) continue;
|
316 |
if($product->get_type() == "variable" && $isGrouped) {
|
317 |
continue;
|
318 |
}
|
pixelyoursite.php
CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
4 |
exit; // Exit if accessed directly.
|
5 |
}
|
6 |
|
7 |
-
define( 'PYS_FREE_VERSION', '8.0.
|
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.0.9' );
|
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
@@ -3,8 +3,8 @@ Contributors: PixelYourSite, themister
|
|
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.
|
7 |
-
Stable tag: 8.0.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -396,6 +396,14 @@ NO, absolutely not! We don't track any type of data about your website. We simpl
|
|
396 |
== Changelog ==
|
397 |
|
398 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
|
400 |
= PixelYourSite 8.0.8 =
|
401 |
|
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.7
|
7 |
+
Stable tag: 8.0.9
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
396 |
== Changelog ==
|
397 |
|
398 |
|
399 |
+
= PixelYourSite 8.0.9 =
|
400 |
+
|
401 |
+
* Fix for a potential issue: Uncaught Error: Call to a member function get_type() on bool
|
402 |
+
|
403 |
+
* WordPress 5.7 compatibility.
|
404 |
+
|
405 |
+
* WooCommerce 5.1 compatibility.
|
406 |
+
|
407 |
|
408 |
= PixelYourSite 8.0.8 =
|
409 |
|