WordPress Landing Pages - Version 2.2.1

Version Description

  • Debugging impression count
  • Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
  • Fix issue with impressions driving up on first landing page in list.
Download this release

Release Info

Developer adbox
Plugin Icon 128x128 WordPress Landing Pages
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

Files changed (3) hide show
  1. classes/class.statistics.php +5 -0
  2. landing-pages.php +2 -2
  3. readme.txt +3 -2
classes/class.statistics.php CHANGED
@@ -39,6 +39,11 @@ if (!class_exists('Landing_Pages_Stats')) {
39
  */
40
  public static function record_impression($post_id, $post_type , $variation_id = 0) {
41
 
 
 
 
 
 
42
  /* If Landing Page Post Type */
43
  if ( $post_type == 'landing-page' ) {
44
  $impressions = Landing_Pages_Variations::get_impressions( $post_id, $variation_id );
39
  */
40
  public static function record_impression($post_id, $post_type , $variation_id = 0) {
41
 
42
+ /* ignore mshots and previews from admin area */
43
+ if (strstr( wp_get_referer() , site_url() )) {
44
+ return;
45
+ }
46
+
47
  /* If Landing Page Post Type */
48
  if ( $post_type == 'landing-page' ) {
49
  $impressions = Landing_Pages_Variations::get_impressions( $post_id, $variation_id );
landing-pages.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Landing Pages
4
  Plugin URI: http://www.inboundnow.com/landing-pages/
5
  Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
6
- Version: 2.2.0
7
  Author: Inbound Now
8
  Author URI: http://www.inboundnow.com/
9
 
@@ -37,7 +37,7 @@ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
37
  */
38
  private static function load_constants() {
39
 
40
- define('LANDINGPAGES_CURRENT_VERSION', '2.2.0' );
41
  define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
42
  define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
43
  define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
3
  Plugin Name: Landing Pages
4
  Plugin URI: http://www.inboundnow.com/landing-pages/
5
  Description: Landing page template framework with variant testing and lead capturing through cooperation with Inbound Now's Leads plugin. This is the stand alone version served through WordPress.org.
6
+ Version: 2.2.1
7
  Author: Inbound Now
8
  Author URI: http://www.inboundnow.com/
9
 
37
  */
38
  private static function load_constants() {
39
 
40
+ define('LANDINGPAGES_CURRENT_VERSION', '2.2.1' );
41
  define('LANDINGPAGES_URLPATH', plugins_url( '/' , __FILE__ ) );
42
  define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
43
  define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
readme.txt CHANGED
@@ -7,7 +7,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
  Requires at least: 3.8
9
  Tested up to: 4.5.2
10
- Stable Tag: 2.2.0
11
 
12
  Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
 
@@ -70,9 +70,10 @@ The plugin is also fully extendable and has a number of actions, filters, and ho
70
 
71
  == Changelog ==
72
 
73
- = 2.2.0 =
74
  * Debugging impression count
75
  * Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
 
76
 
77
  = 2.1.9 =
78
  * UI improvements
7
  Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
  Requires at least: 3.8
9
  Tested up to: 4.5.2
10
+ Stable Tag: 2.2.1
11
 
12
  Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
 
70
 
71
  == Changelog ==
72
 
73
+ = 2.2.1 =
74
  * Debugging impression count
75
  * Removing Inbound Statistics for content in favor of Inbound Google Analytics extension.
76
+ * Fix issue with impressions driving up on first landing page in list.
77
 
78
  = 2.1.9 =
79
  * UI improvements