Version Description
(2014.04.07) = - Bug fixes - Fixed activation error for some installs by removing error ouput - MySQL query optimizations - Fixed bug with MySQL V5.0+ by adding default NULL values for insert statements on contacts table - Changed title for returning lead email notifications
Download this release
Release Info
Developer | AndyGCook |
Plugin | HubSpot – Free Marketing Plugin for WordPress |
Version | 0.6.2 |
Comparing to | |
See all releases |
Code changes from version 0.6.1 to 0.6.2
- admin/leadin-admin.php +2 -2
- inc/class-emailer.php +15 -7
- inc/leadin-ajax-functions.php +4 -4
- leadin.php +55 -46
- lib/mixpanel/Producers/MixpanelEvents.php +2 -2
- power-ups/subscribe-widget.php +1 -0
- power-ups/subscribe-widget/admin/subscribe-widget-admin.php +18 -0
- power-ups/subscribe-widget/frontend/js/leadin-subscribe.js +20 -2
- readme.txt +14 -4
admin/leadin-admin.php
CHANGED
@@ -191,8 +191,6 @@ class WPLeadInAdmin {
|
|
191 |
{
|
192 |
global $wp_version;
|
193 |
|
194 |
-
leadin_track_plugin_activity("Loaded Settings Page");
|
195 |
-
|
196 |
if ( !current_user_can( 'manage_categories' ) )
|
197 |
{
|
198 |
wp_die(__('You do not have sufficient permissions to access this page.'));
|
@@ -259,6 +257,8 @@ class WPLeadInAdmin {
|
|
259 |
*/
|
260 |
function leadin_plugin_settings ()
|
261 |
{
|
|
|
|
|
262 |
?>
|
263 |
<form method="post" action="options.php">
|
264 |
<?php
|
191 |
{
|
192 |
global $wp_version;
|
193 |
|
|
|
|
|
194 |
if ( !current_user_can( 'manage_categories' ) )
|
195 |
{
|
196 |
wp_die(__('You do not have sufficient permissions to access this page.'));
|
257 |
*/
|
258 |
function leadin_plugin_settings ()
|
259 |
{
|
260 |
+
leadin_track_plugin_activity("Loaded Settings Page");
|
261 |
+
|
262 |
?>
|
263 |
<form method="post" action="options.php">
|
264 |
<?php
|
inc/class-emailer.php
CHANGED
@@ -120,9 +120,16 @@ class LI_Emailer {
|
|
120 |
}
|
121 |
else
|
122 |
{
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
}
|
127 |
|
128 |
$email_sent = wp_mail($to, $subject, $body, $headers);
|
@@ -167,15 +174,16 @@ class LI_Emailer {
|
|
167 |
$count++;
|
168 |
}
|
169 |
|
170 |
-
$q = $wpdb->prepare("SELECT form_date AS form_datetime, DATE_FORMAT(form_date, %s) AS form_date, form_page_title, form_page_url, form_fields, form_type FROM li_submissions WHERE lead_hashkey = '%s' ORDER BY form_datetime DESC
|
171 |
-
$
|
172 |
|
173 |
-
$q = $wpdb->prepare("SELECT lead_id, lead_date, lead_ip, lead_source, lead_email, lead_status FROM li_leads WHERE hashkey LIKE %s", $hashkey);
|
174 |
$lead = $wpdb->get_row($q);
|
175 |
|
176 |
$history = (object)NULL;
|
177 |
$history->pageviews_by_session = $pageviews_by_session;
|
178 |
-
$history->submission = $
|
|
|
179 |
$history->lead = $lead;
|
180 |
|
181 |
return $history;
|
120 |
}
|
121 |
else
|
122 |
{
|
123 |
+
if ( $history->new_contact )
|
124 |
+
{
|
125 |
+
$subject = "New lead from " . get_bloginfo('name') . " - Say hello to " . $history->lead->lead_email;
|
126 |
+
leadin_track_plugin_activity("New lead");
|
127 |
+
}
|
128 |
+
else
|
129 |
+
{
|
130 |
+
$subject = "Lead from " . get_bloginfo('name') . " - Say hello again to " . $history->lead->lead_email;
|
131 |
+
leadin_track_plugin_activity("Returning lead");
|
132 |
+
}
|
133 |
}
|
134 |
|
135 |
$email_sent = wp_mail($to, $subject, $body, $headers);
|
174 |
$count++;
|
175 |
}
|
176 |
|
177 |
+
$q = $wpdb->prepare("SELECT form_date AS form_datetime, DATE_FORMAT(form_date, %s) AS form_date, form_page_title, form_page_url, form_fields, form_type FROM li_submissions WHERE lead_hashkey = '%s' ORDER BY form_datetime DESC", '%b %e %l:%i%p', $hashkey);
|
178 |
+
$submissions = $wpdb->get_results($q);
|
179 |
|
180 |
+
$q = $wpdb->prepare("SELECT lead_id, lead_date, lead_ip, lead_source, lead_email, lead_status FROM li_leads WHERE hashkey LIKE %s AND lead_email != ''", $hashkey);
|
181 |
$lead = $wpdb->get_row($q);
|
182 |
|
183 |
$history = (object)NULL;
|
184 |
$history->pageviews_by_session = $pageviews_by_session;
|
185 |
+
$history->submission = $submissions[0];
|
186 |
+
$history->new_contact = ( count($submissions) == 1 ? true : false );
|
187 |
$history->lead = $lead;
|
188 |
|
189 |
return $history;
|
inc/leadin-ajax-functions.php
CHANGED
@@ -281,9 +281,9 @@ add_action('wp_ajax_nopriv_leadin_check_visitor_status', 'leadin_check_visitor_s
|
|
281 |
* Grabs the heading for the subscribe widget from the options
|
282 |
*
|
283 |
*/
|
284 |
-
function
|
285 |
{
|
286 |
-
|
287 |
die();
|
288 |
|
289 |
/*global $wpdb;
|
@@ -307,6 +307,6 @@ function get_leadin_subscribe_heading ()
|
|
307 |
|
308 |
}
|
309 |
|
310 |
-
add_action('
|
311 |
-
add_action('
|
312 |
?>
|
281 |
* Grabs the heading for the subscribe widget from the options
|
282 |
*
|
283 |
*/
|
284 |
+
function leadin_subscribe_show ()
|
285 |
{
|
286 |
+
leadin_track_plugin_activity('widget shown');
|
287 |
die();
|
288 |
|
289 |
/*global $wpdb;
|
307 |
|
308 |
}
|
309 |
|
310 |
+
add_action('wp_ajax_leadin_subscribe_show', 'leadin_subscribe_show'); // Call when user logged in
|
311 |
+
add_action('wp_ajax_nopriv_leadin_subscribe_show', 'leadin_subscribe_show'); // Call when user is not logged in
|
312 |
?>
|
leadin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: LeadIn
|
4 |
Plugin URI: http://leadin.com
|
5 |
Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
6 |
-
Version: 0.6.
|
7 |
Author: Andy Cook, Nelson Joyce
|
8 |
Author URI: http://leadin.com
|
9 |
License: GPL2
|
@@ -23,10 +23,10 @@ if ( !defined('LEADIN_PLUGIN_SLUG') )
|
|
23 |
define('LEADIN_PLUGIN_SLUG', basename(dirname(__FILE__)));
|
24 |
|
25 |
if ( !defined('LEADIN_DB_VERSION') )
|
26 |
-
define('LEADIN_DB_VERSION', '0.
|
27 |
|
28 |
if ( !defined('LEADIN_PLUGIN_VERSION') )
|
29 |
-
define('LEADIN_PLUGIN_VERSION', '0.6.
|
30 |
|
31 |
if ( !defined('MIXPANEL_PROJECT_TOKEN') )
|
32 |
define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
|
@@ -143,40 +143,43 @@ class WPLeadIn {
|
|
143 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
144 |
|
145 |
$sql = "
|
146 |
-
CREATE TABLE
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
180 |
|
181 |
dbDelta($sql);
|
182 |
|
@@ -202,6 +205,7 @@ class WPLeadIn {
|
|
202 |
delete_option('leadin_plugin_options');
|
203 |
}
|
204 |
|
|
|
205 |
$leadin_active_power_ups = get_option('leadin_active_power_ups');
|
206 |
|
207 |
if ( !$leadin_active_power_ups )
|
@@ -213,20 +217,25 @@ class WPLeadIn {
|
|
213 |
update_option('leadin_active_power_ups', serialize($auto_activate));
|
214 |
}
|
215 |
|
216 |
-
|
|
|
217 |
{
|
218 |
if ( $li_options['li_db_version'] != LEADIN_DB_VERSION ) {
|
219 |
$this->leadin_db_install();
|
220 |
-
}
|
221 |
-
}
|
222 |
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
|
227 |
-
|
228 |
-
|
229 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
}
|
231 |
|
232 |
//=============================================
|
3 |
Plugin Name: LeadIn
|
4 |
Plugin URI: http://leadin.com
|
5 |
Description: LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
6 |
+
Version: 0.6.2
|
7 |
Author: Andy Cook, Nelson Joyce
|
8 |
Author URI: http://leadin.com
|
9 |
License: GPL2
|
23 |
define('LEADIN_PLUGIN_SLUG', basename(dirname(__FILE__)));
|
24 |
|
25 |
if ( !defined('LEADIN_DB_VERSION') )
|
26 |
+
define('LEADIN_DB_VERSION', '0.6.2');
|
27 |
|
28 |
if ( !defined('LEADIN_PLUGIN_VERSION') )
|
29 |
+
define('LEADIN_PLUGIN_VERSION', '0.6.2');
|
30 |
|
31 |
if ( !defined('MIXPANEL_PROJECT_TOKEN') )
|
32 |
define('MIXPANEL_PROJECT_TOKEN', 'a9615503ec58a6bce2c646a58390eac1');
|
143 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
144 |
|
145 |
$sql = "
|
146 |
+
CREATE TABLE `li_leads` (
|
147 |
+
`lead_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
148 |
+
`lead_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
149 |
+
`hashkey` varchar(16) DEFAULT NULL,
|
150 |
+
`lead_ip` varchar(40) DEFAULT NULL,
|
151 |
+
`lead_source` text,
|
152 |
+
`lead_email` varchar(255) DEFAULT NULL,
|
153 |
+
`lead_status` set('lead','comment','subscribe') NOT NULL DEFAULT 'lead',
|
154 |
+
`merged_hashkeys` text,
|
155 |
+
PRIMARY KEY (`lead_id`),
|
156 |
+
KEY `hashkey` (`hashkey`)
|
157 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;
|
158 |
+
|
159 |
+
CREATE TABLE `li_pageviews` (
|
160 |
+
`pageview_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
161 |
+
`pageview_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
162 |
+
`lead_hashkey` varchar(16) NOT NULL,
|
163 |
+
`pageview_title` varchar(255) NOT NULL,
|
164 |
+
`pageview_url` text NOT NULL,
|
165 |
+
`pageview_source` text NOT NULL,
|
166 |
+
`pageview_session_start` int(1) NOT NULL,
|
167 |
+
PRIMARY KEY (`pageview_id`),
|
168 |
+
KEY `lead_hashkey` (`lead_hashkey`)
|
169 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=692 ;
|
170 |
+
|
171 |
+
CREATE TABLE `li_submissions` (
|
172 |
+
`form_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
173 |
+
`form_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
174 |
+
`lead_hashkey` varchar(16) NOT NULL,
|
175 |
+
`form_page_title` varchar(255) NOT NULL,
|
176 |
+
`form_page_url` text NOT NULL,
|
177 |
+
`form_fields` text NOT NULL,
|
178 |
+
`form_type` set('lead','comment','subscribe') NOT NULL DEFAULT 'lead',
|
179 |
+
`form_hashkey` varchar(16) NOT NULL,
|
180 |
+
PRIMARY KEY (`form_id`),
|
181 |
+
KEY `lead_hashkey` (`lead_hashkey`)
|
182 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=85 ;";
|
183 |
|
184 |
dbDelta($sql);
|
185 |
|
205 |
delete_option('leadin_plugin_options');
|
206 |
}
|
207 |
|
208 |
+
// 0.5.1 upgrade - Create active power-ups option if it doesn't exist
|
209 |
$leadin_active_power_ups = get_option('leadin_active_power_ups');
|
210 |
|
211 |
if ( !$leadin_active_power_ups )
|
217 |
update_option('leadin_active_power_ups', serialize($auto_activate));
|
218 |
}
|
219 |
|
220 |
+
// Set the database version if it doesn't exist
|
221 |
+
if ( isset($li_options['li_db_version']) )
|
222 |
{
|
223 |
if ( $li_options['li_db_version'] != LEADIN_DB_VERSION ) {
|
224 |
$this->leadin_db_install();
|
|
|
|
|
225 |
|
226 |
+
// 0.4.2 upgrade - After the DB installation converts the set structure from contact to lead, update all the blank contacts = leads
|
227 |
+
$q = $wpdb->prepare("UPDATE li_leads SET lead_status = 'lead' WHERE lead_status = 'contact' OR lead_status = ''", "");
|
228 |
+
$wpdb->query($q);
|
229 |
|
230 |
+
// 0.4.2 upgrade - After the DB installation converts the set structure from contact to lead, update all the blank form_type = leads
|
231 |
+
$q = $wpdb->prepare("UPDATE li_submissions SET form_type = 'lead' WHERE form_type = 'contact' OR form_type = ''", "");
|
232 |
+
$wpdb->query($q);
|
233 |
+
}
|
234 |
+
}
|
235 |
+
else
|
236 |
+
{
|
237 |
+
$this->leadin_db_install();
|
238 |
+
}
|
239 |
}
|
240 |
|
241 |
//=============================================
|
lib/mixpanel/Producers/MixpanelEvents.php
CHANGED
@@ -146,8 +146,8 @@ class Producers_MixpanelEvents extends Producers_MixpanelBaseProducer {
|
|
146 |
$curlConsumer = new ConsumerStrategies_CurlConsumer($options);
|
147 |
$success = $curlConsumer->persist(array($msg));
|
148 |
if (!$success) {
|
149 |
-
error_log("Creating Mixpanel Alias (original id: $original_id, new id: $new_id) failed");
|
150 |
-
throw new Exception("Tried to create an alias but the call was not successful");
|
151 |
} else {
|
152 |
return $msg;
|
153 |
}
|
146 |
$curlConsumer = new ConsumerStrategies_CurlConsumer($options);
|
147 |
$success = $curlConsumer->persist(array($msg));
|
148 |
if (!$success) {
|
149 |
+
//error_log("Creating Mixpanel Alias (original id: $original_id, new id: $new_id) failed");
|
150 |
+
//throw new Exception("Tried to create an alias but the call was not successful");
|
151 |
} else {
|
152 |
return $msg;
|
153 |
}
|
power-ups/subscribe-widget.php
CHANGED
@@ -95,6 +95,7 @@ class WPLeadInSubscribe extends WPLeadIn {
|
|
95 |
|
96 |
// Heading for the subscribe plugin
|
97 |
echo '<input id="leadin-subscribe-heading" value="' . ( isset($lis_options['li_subscribe_heading']) ? $lis_options['li_subscribe_heading'] : 'Sign up for my newsletter to get new posts by email' ) . '" type="hidden"/>';
|
|
|
98 |
|
99 |
// Div checked by media query for mobile
|
100 |
echo '<span id="leadin-subscribe-mobile-check"></span>';
|
95 |
|
96 |
// Heading for the subscribe plugin
|
97 |
echo '<input id="leadin-subscribe-heading" value="' . ( isset($lis_options['li_subscribe_heading']) ? $lis_options['li_subscribe_heading'] : 'Sign up for my newsletter to get new posts by email' ) . '" type="hidden"/>';
|
98 |
+
echo '<input id="leadin-subscribe-btn-label" value="' . ( isset($lis_options['li_subscribe_btn_label']) ? $lis_options['li_subscribe_btn_label'] : 'SUBSCRIBE' ) . '" type="hidden"/>';
|
99 |
|
100 |
// Div checked by media query for mobile
|
101 |
echo '<span id="leadin-subscribe-mobile-check"></span>';
|
power-ups/subscribe-widget/admin/subscribe-widget-admin.php
CHANGED
@@ -41,6 +41,7 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
|
|
41 |
register_setting('leadin_settings_options', 'leadin_subscribe_options', array($this, 'sanitize'));
|
42 |
add_settings_section($this->power_up_settings_section, 'Subscribe Pop-in', '', LEADIN_ADMIN_PATH);
|
43 |
add_settings_field('li_subscribe_heading', 'Call-to-action text', array($this, 'li_subscribe_heading_callback'), LEADIN_ADMIN_PATH, $this->power_up_settings_section);
|
|
|
44 |
}
|
45 |
|
46 |
/**
|
@@ -55,6 +56,9 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
|
|
55 |
if( isset( $input['li_subscribe_heading'] ) )
|
56 |
$new_input['li_subscribe_heading'] = sanitize_text_field( $input['li_subscribe_heading'] );
|
57 |
|
|
|
|
|
|
|
58 |
return $new_input;
|
59 |
}
|
60 |
|
@@ -70,6 +74,20 @@ class WPLeadInSubscribeAdmin extends WPLeadInAdmin {
|
|
70 |
'<input id="li_subscribe_heading" type="text" id="title" name="leadin_subscribe_options[li_subscribe_heading]" value="%s" size="50"/>',
|
71 |
$li_subscribe_heading
|
72 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
}
|
75 |
|
41 |
register_setting('leadin_settings_options', 'leadin_subscribe_options', array($this, 'sanitize'));
|
42 |
add_settings_section($this->power_up_settings_section, 'Subscribe Pop-in', '', LEADIN_ADMIN_PATH);
|
43 |
add_settings_field('li_subscribe_heading', 'Call-to-action text', array($this, 'li_subscribe_heading_callback'), LEADIN_ADMIN_PATH, $this->power_up_settings_section);
|
44 |
+
add_settings_field('li_subscribe_btn_label', 'Button label', array($this, 'li_subscribe_btn_label_callback'), LEADIN_ADMIN_PATH, $this->power_up_settings_section);
|
45 |
}
|
46 |
|
47 |
/**
|
56 |
if( isset( $input['li_subscribe_heading'] ) )
|
57 |
$new_input['li_subscribe_heading'] = sanitize_text_field( $input['li_subscribe_heading'] );
|
58 |
|
59 |
+
if( isset( $input['li_subscribe_btn_label'] ) )
|
60 |
+
$new_input['li_subscribe_btn_label'] = sanitize_text_field( $input['li_subscribe_btn_label'] );
|
61 |
+
|
62 |
return $new_input;
|
63 |
}
|
64 |
|
74 |
'<input id="li_subscribe_heading" type="text" id="title" name="leadin_subscribe_options[li_subscribe_heading]" value="%s" size="50"/>',
|
75 |
$li_subscribe_heading
|
76 |
);
|
77 |
+
}
|
78 |
+
|
79 |
+
/**
|
80 |
+
* Prints email input for settings page
|
81 |
+
*/
|
82 |
+
function li_subscribe_btn_label_callback ()
|
83 |
+
{
|
84 |
+
$options = get_option('leadin_subscribe_options');
|
85 |
+
$li_subscribe_btn_label = ( $options['li_subscribe_btn_label'] ? $options['li_subscribe_btn_label'] : 'SUBSCRIBE' ); // Get header from options, or show default
|
86 |
+
|
87 |
+
printf(
|
88 |
+
'<input id="li_subscribe_btn_label" type="text" id="title" name="leadin_subscribe_options[li_subscribe_btn_label]" value="%s" size="50"/>',
|
89 |
+
$li_subscribe_btn_label
|
90 |
+
);
|
91 |
|
92 |
}
|
93 |
|
power-ups/subscribe-widget/frontend/js/leadin-subscribe.js
CHANGED
@@ -56,7 +56,7 @@ function bind_leadin_subscribe_widget ()
|
|
56 |
'<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" required />' +
|
57 |
'<input id="leadin-subscribe-first-name" name="firstName" type="text" placeholder="First name" required/>' +
|
58 |
'<input id="leadin-subscribe-last-name" name="lastName" type="text" placeholder="Last name" required/>',
|
59 |
-
buttons: [$.extend({}, vex.dialog.buttons.YES, { text: '
|
60 |
callback: function(data) {
|
61 |
if (data === false) {
|
62 |
$.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
|
@@ -68,7 +68,9 @@ function bind_leadin_subscribe_widget ()
|
|
68 |
}
|
69 |
});
|
70 |
|
71 |
-
|
|
|
|
|
72 |
};
|
73 |
|
74 |
subscribe._open = function() {
|
@@ -96,4 +98,20 @@ function leadin_subscribe_check_mobile( $ )
|
|
96 |
is_mobile = true;
|
97 |
|
98 |
return is_mobile;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
}
|
56 |
'<input id="leadin-subscribe-email" name="email" type="email" placeholder="Email address" required />' +
|
57 |
'<input id="leadin-subscribe-first-name" name="firstName" type="text" placeholder="First name" required/>' +
|
58 |
'<input id="leadin-subscribe-last-name" name="lastName" type="text" placeholder="Last name" required/>',
|
59 |
+
buttons: [$.extend({}, vex.dialog.buttons.YES, { text: ( $('#leadin-subscribe-btn-label').val() ? $('#leadin-subscribe-btn-label').val() : 'SUBSCRIBE' ) })],
|
60 |
callback: function(data) {
|
61 |
if (data === false) {
|
62 |
$.cookie("li_subscribe", 'ignore', {path: "/", domain: ""});
|
68 |
}
|
69 |
});
|
70 |
|
71 |
+
leadin_subscribe_show();
|
72 |
+
|
73 |
+
$('.leadin-subscribe form.vex-dialog-form').append('<a href="http://leadin.com/pop-subscribe-form-plugin-wordpress/?utm_campaign=subscribe_widget&utm_medium=widget&utm_source=' + document.URL + '" id="leadin-subscribe-powered-by" class="leadin-subscribe-powered-by">Powered by LeadIn</a>');
|
74 |
};
|
75 |
|
76 |
subscribe._open = function() {
|
98 |
is_mobile = true;
|
99 |
|
100 |
return is_mobile;
|
101 |
+
}
|
102 |
+
|
103 |
+
function leadin_subscribe_show ()
|
104 |
+
{
|
105 |
+
jQuery.ajax({
|
106 |
+
type: 'POST',
|
107 |
+
url: li_ajax.ajax_url,
|
108 |
+
data: {
|
109 |
+
"action": "leadin_subscribe_show"
|
110 |
+
},
|
111 |
+
success: function(data){
|
112 |
+
},
|
113 |
+
error: function ( error_data ) {
|
114 |
+
//alert(error_data);
|
115 |
+
}
|
116 |
+
});
|
117 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: andygcook, nelsonjoyce
|
3 |
Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation
|
4 |
Requires at least: 3.7
|
5 |
-
Tested up to: 3.8
|
6 |
-
Stable tag: 0.6.
|
7 |
|
8 |
LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
9 |
|
@@ -88,8 +88,18 @@ To ensure quality we've tested the most popular WordPress form builder plugins.
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
-
Current version: 0.6.
|
92 |
-
Current version release: 2014-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
= 0.6.1 (2014.03.12) =
|
95 |
- Bug fixes
|
2 |
Contributors: andygcook, nelsonjoyce
|
3 |
Tags: lead tracking, visitor tracking, analytics, crm, marketing automation, inbound marketing, subscription, marketing, lead generation
|
4 |
Requires at least: 3.7
|
5 |
+
Tested up to: 3.8.1
|
6 |
+
Stable tag: 0.6.2
|
7 |
|
8 |
LeadIn is an easy-to-use marketing automation and lead tracking plugin for WordPress that helps you better understand your web site visitors.
|
9 |
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
Current version: 0.6.2
|
92 |
+
Current version release: 2014-04-07
|
93 |
+
|
94 |
+
= 0.6.2 (2014.04.07) =
|
95 |
+
- Bug fixes
|
96 |
+
- Fixed activation error for some installs by removing error ouput
|
97 |
+
- MySQL query optimizations
|
98 |
+
- Fixed bug with MySQL V5.0+ by adding default NULL values for insert statements on contacts table
|
99 |
+
- Changed title for returning lead email notifications
|
100 |
+
|
101 |
+
= Enhancements =
|
102 |
+
- Added ability to change button label on subscribe widget
|
103 |
|
104 |
= 0.6.1 (2014.03.12) =
|
105 |
- Bug fixes
|