Version Description
Download this release
Release Info
Developer | PixelYourSite |
Plugin | PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads) |
Version | 1.01 |
Comparing to | |
See all releases |
Code changes from version 2.2.3 to 1.01
- facebook-pixel-master.php +4 -2
- inc/helper-functions.php +5 -0
- readme.txt +30 -29
facebook-pixel-master.php
CHANGED
@@ -5,7 +5,7 @@ Description: Add the Facebook Pixel code into your Wordpress site and set up sta
|
|
5 |
Plugin URI: http://www.pixelyoursite.com/facebook-pixel-plugin-help
|
6 |
Author: PixelYourSite
|
7 |
Author URI: http://www.pixelyoursite.com
|
8 |
-
Version: 2.2.
|
9 |
License: GPLv3
|
10 |
*/
|
11 |
|
@@ -47,7 +47,8 @@ add_action('wp_ajax_fbpmpaddtocart' , 'ajax_fbpmpaddtocart');
|
|
47 |
|
48 |
|
49 |
function woofp_init(){
|
50 |
-
|
|
|
51 |
//Display Facebook Pixel Code
|
52 |
add_action('login_enqueue_scripts', 'woofp_pixelcode', 1);
|
53 |
add_action('wp_head', 'woofp_pixelcode', 1);
|
@@ -58,6 +59,7 @@ function woofp_init(){
|
|
58 |
if( woofp_is_woocommerce() ){
|
59 |
add_action('wp_footer', 'woofp_addtocart_pixel');
|
60 |
}
|
|
|
61 |
|
62 |
}
|
63 |
|
5 |
Plugin URI: http://www.pixelyoursite.com/facebook-pixel-plugin-help
|
6 |
Author: PixelYourSite
|
7 |
Author URI: http://www.pixelyoursite.com
|
8 |
+
Version: 2.2.4
|
9 |
License: GPLv3
|
10 |
*/
|
11 |
|
47 |
|
48 |
|
49 |
function woofp_init(){
|
50 |
+
|
51 |
+
if( !is_admin() ){
|
52 |
//Display Facebook Pixel Code
|
53 |
add_action('login_enqueue_scripts', 'woofp_pixelcode', 1);
|
54 |
add_action('wp_head', 'woofp_pixelcode', 1);
|
59 |
if( woofp_is_woocommerce() ){
|
60 |
add_action('wp_footer', 'woofp_addtocart_pixel');
|
61 |
}
|
62 |
+
}
|
63 |
|
64 |
}
|
65 |
|
inc/helper-functions.php
CHANGED
@@ -545,12 +545,14 @@ function woofp_currency_options( $current='USD' ){
|
|
545 |
<option <?php echo selected( 'HUF', $current, true ); ?> value="HUF">Hungarian Forint </option>
|
546 |
<option <?php echo selected( 'ILS', $current, true ); ?> value="ILS">Israeli New Sheqel</option>
|
547 |
<option <?php echo selected( 'JPY', $current, true ); ?> value="JPY">Japanese Yen</option>
|
|
|
548 |
<option <?php echo selected( 'MYR', $current, true ); ?> value="MYR">Malaysian Ringgit</option>
|
549 |
<option <?php echo selected( 'MXN', $current, true ); ?> value="MXN">Mexican Peso</option>
|
550 |
<option <?php echo selected( 'NOK', $current, true ); ?> value="NOK">Norwegian Krone</option>
|
551 |
<option <?php echo selected( 'NZD', $current, true ); ?> value="NZD">New Zealand Dollar</option>
|
552 |
<option <?php echo selected( 'PHP', $current, true ); ?> value="PHP">Philippine Peso</option>
|
553 |
<option <?php echo selected( 'PLN', $current, true ); ?> value="PLN">Polish Zloty</option>
|
|
|
554 |
<option <?php echo selected( 'GBP', $current, true ); ?> value="GBP">Pound Sterling</option>
|
555 |
<option <?php echo selected( 'SGD', $current, true ); ?> value="SGD">Singapore Dollar</option>
|
556 |
<option <?php echo selected( 'SEK', $current, true ); ?> value="SEK">Swedish Krona</option>
|
@@ -559,6 +561,9 @@ function woofp_currency_options( $current='USD' ){
|
|
559 |
<option <?php echo selected( 'THB', $current, true ); ?> value="THB">Thai Baht</option>
|
560 |
<option <?php echo selected( 'TRY', $current, true ); ?> value="TRY">Turkish Lira</option>
|
561 |
<option <?php echo selected( 'USD', $current, true ); ?> value="USD">U.S. Dollar</option>
|
|
|
|
|
|
|
562 |
|
563 |
<?php
|
564 |
}
|
545 |
<option <?php echo selected( 'HUF', $current, true ); ?> value="HUF">Hungarian Forint </option>
|
546 |
<option <?php echo selected( 'ILS', $current, true ); ?> value="ILS">Israeli New Sheqel</option>
|
547 |
<option <?php echo selected( 'JPY', $current, true ); ?> value="JPY">Japanese Yen</option>
|
548 |
+
<option <?php echo selected( 'KRW', $current, true ); ?> value="KRW">Korean Won</option>
|
549 |
<option <?php echo selected( 'MYR', $current, true ); ?> value="MYR">Malaysian Ringgit</option>
|
550 |
<option <?php echo selected( 'MXN', $current, true ); ?> value="MXN">Mexican Peso</option>
|
551 |
<option <?php echo selected( 'NOK', $current, true ); ?> value="NOK">Norwegian Krone</option>
|
552 |
<option <?php echo selected( 'NZD', $current, true ); ?> value="NZD">New Zealand Dollar</option>
|
553 |
<option <?php echo selected( 'PHP', $current, true ); ?> value="PHP">Philippine Peso</option>
|
554 |
<option <?php echo selected( 'PLN', $current, true ); ?> value="PLN">Polish Zloty</option>
|
555 |
+
<option <?php echo selected( 'RON', $current, true ); ?> value="RON">Romanian Leu</option>
|
556 |
<option <?php echo selected( 'GBP', $current, true ); ?> value="GBP">Pound Sterling</option>
|
557 |
<option <?php echo selected( 'SGD', $current, true ); ?> value="SGD">Singapore Dollar</option>
|
558 |
<option <?php echo selected( 'SEK', $current, true ); ?> value="SEK">Swedish Krona</option>
|
561 |
<option <?php echo selected( 'THB', $current, true ); ?> value="THB">Thai Baht</option>
|
562 |
<option <?php echo selected( 'TRY', $current, true ); ?> value="TRY">Turkish Lira</option>
|
563 |
<option <?php echo selected( 'USD', $current, true ); ?> value="USD">U.S. Dollar</option>
|
564 |
+
|
565 |
+
|
566 |
+
|
567 |
|
568 |
<?php
|
569 |
}
|
readme.txt
CHANGED
@@ -1,19 +1,18 @@
|
|
1 |
-
===
|
2 |
Contributors: PixelYourSite, c0d3fev3r
|
3 |
-
Tags: Facebook Pixel, Facebook, Facebook Conversion Pixel, Facebook Pixel Events,
|
4 |
Requires at least: 3.0.1
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 2.2.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
10 |
-
Insert Facebook Pixel, add
|
11 |
|
12 |
== Description ==
|
13 |
As you probably know, Facebook will retire the old Facebook Conversion Pixel in 2016. They recommend to use the new Facebook Pixel for conversion tracking, optimization and remarketing. **This plugin will help you insert the pixel code on every page with just one click and setup custom or standard events on any page or post.** There is an **out of the box WooCommerce setup** that will configure all the necessary standard events for you.
|
14 |
|
15 |
-
|
16 |
-
<p style="text-align: center;">Visit this page for <strong><a href="http://www.pixelyoursite.com/facebook-pixel-plugin-help" target="_blank"><span style="color:#DE4D4D;">more details about how to use the plugin: Click Here</span></a></strong></p>
|
17 |
|
18 |
* You can **insert the pixel on every page of your website with just a few clicks**. No need to edit any post or pages
|
19 |
|
@@ -27,34 +26,22 @@ As you probably know, Facebook will retire the old Facebook Conversion Pixel in
|
|
27 |
|
28 |
* **Search Event** on the search page with the search string as parameter
|
29 |
|
30 |
-
* **Dynamic Events:** optimize your Facebook Campaigns for actions on your website (clicks on links, buttons, forms). Works with **Contact Form 7** and other form or pop-up plugins. (
|
31 |
-
|
32 |
-
* **Track conversion value for WooCommerce** (<a href="http://www.pixelyoursite.com" target="_blank">Pro Version</a>)
|
33 |
-
|
34 |
-
* Out of the box **Facebook Dynamic Ads** setup for your Woocommerce website (<a href="http://www.pixelyoursite.com" target="_blank">Pro Version</a>)
|
35 |
-
|
36 |
-
* **WooCommerce Affiliate Products Events:** you can add a dynamic event that will trigger on affiliate button clicks (<a href="http://www.pixelyoursite.com" target="_blank">Pro Version</a>)
|
37 |
-
|
38 |
-
* **WooCommerce PayPal Standard Events:** you can add a dynamic event that will trigger on WooCommerce PayPal button clicks (<a href="http://www.pixelyoursite.com" target="_blank">Pro Version</a>)
|
39 |
-
|
40 |
-
- Fully tested with WooCommerce 2.5 -
|
41 |
|
42 |
-
**
|
43 |
|
44 |
-
|
45 |
|
46 |
-
|
47 |
|
48 |
-
|
49 |
|
50 |
-
|
51 |
|
52 |
|
53 |
**What's next**
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
2. ... and some secret stuf we don't want to reveal just yeat
|
58 |
|
59 |
**Important:**
|
60 |
|
@@ -65,7 +52,9 @@ Event ID: AddToCart
|
|
65 |
|
66 |
You can safely ignore them. It is a normal error trigger by the dynamic AddToCart event, that will disappear after you click on the add to cart button.
|
67 |
|
68 |
-
|
|
|
|
|
69 |
|
70 |
== Installation ==
|
71 |
* From the WP admin panel, click \"Plugins\" -> \"Add new\".
|
@@ -152,11 +141,23 @@ We have an article about how to optimize Facebook Ads Reports:
|
|
152 |
== Screenshots ==
|
153 |
|
154 |
1. Add your Facebook Pixel ID and the plugin will insert the code on every page
|
155 |
-
2. You can define
|
156 |
-
3.
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
PixelYourSite 2.2.3
|
161 |
|
162 |
- Learning links updated
|
1 |
+
===Facebook Pixel by PixelYourSite - Standard Events & WooCommerce===
|
2 |
Contributors: PixelYourSite, c0d3fev3r
|
3 |
+
Tags: Facebook Pixel, New Facebook Pixel, Facebook Conversion Pixel, Facebook Pixel Events, Facebook, New Facebook Pixel Events, Dynamic Events, Standard Events, Facebook Events, Facebook Standard Events, Facebook Dynamic Product Ads, WooCommerce, WooCommerce Facebook Pixel, Facebook Custom Events, Facebook Conversion Value, WooCommerce Affiliate Products, Facebook Pixel PayPal
|
4 |
Requires at least: 3.0.1
|
5 |
+
Tested up to: 4.5.1
|
6 |
+
Stable tag: 2.2.4
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
10 |
+
Insert the new Facebook Pixel on WordPress, add Standard Events, enjoy superb WooCommerce Facebook Pixel integration
|
11 |
|
12 |
== Description ==
|
13 |
As you probably know, Facebook will retire the old Facebook Conversion Pixel in 2016. They recommend to use the new Facebook Pixel for conversion tracking, optimization and remarketing. **This plugin will help you insert the pixel code on every page with just one click and setup custom or standard events on any page or post.** There is an **out of the box WooCommerce setup** that will configure all the necessary standard events for you.
|
14 |
|
15 |
+
**Visit this page for [more details about how to use the pixel plugin: Click here](http://www.pixelyoursite.com/facebook-pixel-plugin-help)**
|
|
|
16 |
|
17 |
* You can **insert the pixel on every page of your website with just a few clicks**. No need to edit any post or pages
|
18 |
|
26 |
|
27 |
* **Search Event** on the search page with the search string as parameter
|
28 |
|
29 |
+
* **Dynamic Events:** optimize your Facebook Campaigns for actions on your website (clicks on links, buttons, forms). Works with **Contact Form 7** and other form or pop-up plugins. ([Pro Version](http://www.pixelyoursite.com))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
+
* **Track conversion value for WooCommerce** ([Pro Version](http://www.pixelyoursite.com))
|
32 |
|
33 |
+
* Out of the box **Facebook Dynamic Ads** setup for your Woocommerce website ([Pro Version](http://www.pixelyoursite.com))
|
34 |
|
35 |
+
* **WooCommerce Affiliate Products Events:** you can add a dynamic event that will trigger on affiliate button clicks ([Pro Version](http://www.pixelyoursite.com))
|
36 |
|
37 |
+
* **WooCommerce PayPal Standard Events:** you can add a dynamic event that will trigger on WooCommerce PayPal button clicks ([Pro Version](http://www.pixelyoursite.com))
|
38 |
|
39 |
+
- Fully tested with WooCommerce 2.5 and above
|
40 |
|
41 |
|
42 |
**What's next**
|
43 |
|
44 |
+
PixelYourSite 3.0 will be here soon with some exciting new features.
|
|
|
|
|
45 |
|
46 |
**Important:**
|
47 |
|
52 |
|
53 |
You can safely ignore them. It is a normal error trigger by the dynamic AddToCart event, that will disappear after you click on the add to cart button.
|
54 |
|
55 |
+
For more details on Facebook Pixel errors [read this article](http://www.pixelyoursite.com/facebook-pixel-helper-errors)
|
56 |
+
|
57 |
+
**Instal the plugin now, because it is easy to use, and will help you with your Facebook campaigns.**
|
58 |
|
59 |
== Installation ==
|
60 |
* From the WP admin panel, click \"Plugins\" -> \"Add new\".
|
141 |
== Screenshots ==
|
142 |
|
143 |
1. Add your Facebook Pixel ID and the plugin will insert the code on every page
|
144 |
+
2. You can define Standard events on any URL of your website. Select event type and customize it
|
145 |
+
3. You can add a customize event code on any page
|
146 |
+
4. This is an active Standard Event tested with Pixel Helper
|
147 |
+
5. Activate Standard events for WooCommerce (ViewContent, AddToCard, InitiateCheckout, Purchase)
|
148 |
+
6. This is a VieContent Event. It will be active on all WooCommerce product pages
|
149 |
+
7. This is a dynamic AddToCart. It will trigger when the add to cart button is clicked
|
150 |
+
8. This is a InitiateCheckout event on Checkout WooCommerce page
|
151 |
+
9. This is a Purchase event on WooCommerce Thank You page. You can optimize your Facebook Campaigns for this event
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
PixelYourSite 2.2.4
|
156 |
+
|
157 |
+
- Fixig a few back-end errors and conflicts
|
158 |
+
|
159 |
+
- Adding new currencies
|
160 |
+
|
161 |
PixelYourSite 2.2.3
|
162 |
|
163 |
- Learning links updated
|