Google Analyticator - Version 6.4.9.3

Version Description

  • Re-enable [analytics] shortcode with fix
Download this release

Release Info

Developer grimmdude
Plugin Icon 128x128 Google Analyticator
Version 6.4.9.3
Comparing to
See all releases

Code changes from version 6.4.9.2 to 6.4.9.3

google-analyticator.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
- * Version: 6.4.9
5
  * Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
7
  * Author: SumoMe
@@ -9,6 +9,9 @@
9
  * Text Domain: google-analyticator
10
  */
11
 
 
 
 
12
  define('GOOGLE_ANALYTICATOR_VERSION', '6.4.9');
13
 
14
  define('GOOGLE_ANALYTICATOR_CLIENTID', '1007949979410.apps.googleusercontent.com');
@@ -148,8 +151,8 @@ function add_ga_option_page() {
148
 
149
 
150
  if(ga_get_active_addons() == false){
151
- $plugin_page = add_options_page(__('Google Analyticator Settings', 'google-analyticator'), 'Google Analytics', 'manage_options', basename(__FILE__), 'ga_settings_page');
152
- add_action('load-'.$plugin_page, 'ga_pre_load' );
153
  }
154
  $activate_page = add_submenu_page( null, 'Activation', 'Google Analytics', 'manage_options', 'ga_activate' , 'ga_activate');
155
  $reset_page = add_submenu_page(null, 'Reset', 'Reset', 'activate_plugins', 'ga_reset', 'ga_reset' );
@@ -267,37 +270,40 @@ function ga_filter_plugin_actions($links) {
267
 
268
  function ga_do_reset()
269
  {
270
- global $wpdb;
271
-
272
- // Delete all GA options.
273
- delete_option(key_ga_status);
274
- delete_option(key_ga_disable_gasites);
275
- delete_option(key_ga_analytic_snippet);
276
- delete_option(key_ga_uid);
277
- delete_option(key_ga_admin);
278
- delete_option(key_ga_admin_disable);
279
- delete_option(key_ga_admin_role);
280
- delete_option(key_ga_dashboard_role);
281
- delete_option(key_ga_adsense);
282
- delete_option(key_ga_extra);
283
- delete_option(key_ga_extra_after);
284
- delete_option(key_ga_event);
285
- delete_option(key_ga_outbound);
286
- delete_option(key_ga_outbound_prefix);
287
- delete_option(key_ga_enhanced_link_attr);
288
- delete_option(key_ga_downloads);
289
- delete_option(key_ga_downloads_prefix);
290
- delete_option(key_ga_widgets);
291
- delete_option(key_ga_annon);
292
- delete_option('ga_defaults');
293
- delete_option('ga_google_token');
294
- delete_option('ga_google_authtoken');
295
- delete_option('ga_profileid');
296
- delete_transient('ga_admin_stats_widget');
297
-
298
- // Need to remove cached items from GA widgets
299
- $wpdb->query( "delete from $wpdb->options where `option_name` like 'google_stats_visitsGraph_%'");
300
-
 
 
 
301
  wp_redirect( admin_url( 'options-general.php?page=ga_activate' ) );
302
  exit;
303
  }
@@ -308,6 +314,11 @@ function ga_settings_page(){
308
  ga_options_page();
309
  }
310
  function ga_options_page() {
 
 
 
 
 
311
 
312
  // If we are a postback, store the options
313
  if (isset($_POST['info_update'])) {
@@ -465,6 +476,14 @@ function ga_options_page() {
465
 
466
  ?>
467
  <div class="wrap">
 
 
 
 
 
 
 
 
468
  <form method="post" action="<?php echo ga_analyticator_setting_url();?>">
469
  <?php
470
  # Add a nonce
@@ -490,7 +509,7 @@ if(!$addons){?>
490
  <p>2- <a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/google-analyticator">Leave a :) Review</a></p>
491
  <p>3- Have a great day!</p>
492
  <h3 style="text-align:center">Show off your analytics</h3>
493
- <!--<p>Use short code <b>[analytics]</b> anywhere on your site to show your analytics publicly.</p>-->
494
  <p>Use short code <b>[analytics-counter]</b> anywhere on your site to display the page view counter widget.</p>
495
  </div>
496
  <?php }?>
@@ -1280,7 +1299,7 @@ function ga_current_user_is($roles)
1280
  }
1281
 
1282
  function ga_analyticator_setting_url(){
1283
- return ( ga_get_active_addons() == false) ? admin_url("options-general.php?page=google-analyticator.php") : admin_url("admin.php?page=ga-pro-experiment.php");
1284
  }
1285
 
1286
  function ga_get_active_addons(){
@@ -1324,13 +1343,13 @@ function add_ga_admin_footer(){
1324
  */
1325
 
1326
  //[analytics]
1327
- /*
1328
  function ga_analyticator_shortcode( $atts ) {
1329
  # Include the Google Analytics Summary widget
1330
  require_once('google-analytics-summary-widget.php');
 
1331
  ob_start();
1332
 
1333
- $google_analytics_summary = new GoogleAnalyticsSummary(array('shortcode' => TRUE));
1334
  // Wrap it with these divs to mimic the admin dashboard widget structure.
1335
  echo '<div id="google-analytics-summary"><div class="inside">';
1336
  $google_analytics_summary->widget();
@@ -1338,7 +1357,6 @@ function ga_analyticator_shortcode( $atts ) {
1338
 
1339
  return ob_get_clean();
1340
  }
1341
- */
1342
 
1343
  //[analytics-counter]
1344
  function ga_analyticator_counter_shortcode( $atts ) {
@@ -1346,7 +1364,7 @@ function ga_analyticator_counter_shortcode( $atts ) {
1346
  require_once('google-analytics-stats-widget.php');
1347
  ob_start();
1348
 
1349
- $google_analytics_widget = new GoogleStatsWidget(array('shortcode' => TRUE));
1350
 
1351
  return ob_get_clean();
1352
  }
@@ -1354,3 +1372,43 @@ function ga_analyticator_counter_shortcode( $atts ) {
1354
  add_shortcode( 'analytics', 'ga_analyticator_shortcode' );
1355
  add_shortcode( 'analytics-counter', 'ga_analyticator_counter_shortcode' );
1356
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /*
3
  * Plugin Name: Google Analyticator
4
+ * Version: 6.4.9.3
5
  * Plugin URI: http://www.videousermanuals.com/google-analyticator/?utm_campaign=analyticator&utm_medium=plugin&utm_source=readme-txt
6
  * Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin you need to authenticate with Google, then select your domain and you're set.
7
  * Author: SumoMe
9
  * Text Domain: google-analyticator
10
  */
11
 
12
+ //error_reporting(E_ALL);
13
+ //ini_set('display_errors', '1');
14
+
15
  define('GOOGLE_ANALYTICATOR_VERSION', '6.4.9');
16
 
17
  define('GOOGLE_ANALYTICATOR_CLIENTID', '1007949979410.apps.googleusercontent.com');
151
 
152
 
153
  if(ga_get_active_addons() == false){
154
+ //$plugin_page = add_options_page(__('Google Analyticator Settings', 'google-analyticator'), 'Google Analytics', 'manage_options', basename(__FILE__), 'ga_settings_page');
155
+ //add_action('load-'.$plugin_page, 'ga_pre_load' );
156
  }
157
  $activate_page = add_submenu_page( null, 'Activation', 'Google Analytics', 'manage_options', 'ga_activate' , 'ga_activate');
158
  $reset_page = add_submenu_page(null, 'Reset', 'Reset', 'activate_plugins', 'ga_reset', 'ga_reset' );
270
 
271
  function ga_do_reset()
272
  {
273
+ // Check to make sure referer is same as host.
274
+ if (strstr($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
275
+ global $wpdb;
276
+
277
+ // Delete all GA options.
278
+ delete_option(key_ga_status);
279
+ delete_option(key_ga_disable_gasites);
280
+ delete_option(key_ga_analytic_snippet);
281
+ delete_option(key_ga_uid);
282
+ delete_option(key_ga_admin);
283
+ delete_option(key_ga_admin_disable);
284
+ delete_option(key_ga_admin_role);
285
+ delete_option(key_ga_dashboard_role);
286
+ delete_option(key_ga_adsense);
287
+ delete_option(key_ga_extra);
288
+ delete_option(key_ga_extra_after);
289
+ delete_option(key_ga_event);
290
+ delete_option(key_ga_outbound);
291
+ delete_option(key_ga_outbound_prefix);
292
+ delete_option(key_ga_enhanced_link_attr);
293
+ delete_option(key_ga_downloads);
294
+ delete_option(key_ga_downloads_prefix);
295
+ delete_option(key_ga_widgets);
296
+ delete_option(key_ga_annon);
297
+ delete_option('ga_defaults');
298
+ delete_option('ga_google_token');
299
+ delete_option('ga_google_authtoken');
300
+ delete_option('ga_profileid');
301
+ delete_transient('ga_admin_stats_widget');
302
+
303
+ // Need to remove cached items from GA widgets
304
+ $wpdb->query( "delete from $wpdb->options where `option_name` like 'google_stats_visitsGraph_%'");
305
+ }
306
+
307
  wp_redirect( admin_url( 'options-general.php?page=ga_activate' ) );
308
  exit;
309
  }
314
  ga_options_page();
315
  }
316
  function ga_options_page() {
317
+ add_thickbox();
318
+
319
+ if (array_key_exists('ga_analyticator_global_notification', $_GET) && $_GET['ga_analyticator_global_notification'] == 0) {
320
+ update_option('ga_analyticator_global_notification', 0);
321
+ }
322
 
323
  // If we are a postback, store the options
324
  if (isset($_POST['info_update'])) {
476
 
477
  ?>
478
  <div class="wrap">
479
+ <style type="text/css">
480
+ #ga_analyticator_global_notification a.button:active {vertical-align:baseline;}
481
+ </style>
482
+ <div id="ga_analyticator_global_notification" class="updated" style="border:3px solid #317A96;position:relative;background:##3c9cc2;background-color:#3c9cc2;color:#ffffff;height:70px;">
483
+ <p style="font-size:16px;line-height:50px;">
484
+ <?php _e('Grow your site faster!'); ?> &nbsp;<a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
485
+ </p>
486
+ </div>
487
  <form method="post" action="<?php echo ga_analyticator_setting_url();?>">
488
  <?php
489
  # Add a nonce
509
  <p>2- <a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/google-analyticator">Leave a :) Review</a></p>
510
  <p>3- Have a great day!</p>
511
  <h3 style="text-align:center">Show off your analytics</h3>
512
+ <p>Use short code <b>[analytics]</b> anywhere on your site to show your analytics publicly.</p>
513
  <p>Use short code <b>[analytics-counter]</b> anywhere on your site to display the page view counter widget.</p>
514
  </div>
515
  <?php }?>
1299
  }
1300
 
1301
  function ga_analyticator_setting_url(){
1302
+ return ( ga_get_active_addons() == false) ? admin_url("admin.php?page=google-analyticator") : admin_url("admin.php?page=ga-pro-experiment.php");
1303
  }
1304
 
1305
  function ga_get_active_addons(){
1343
  */
1344
 
1345
  //[analytics]
 
1346
  function ga_analyticator_shortcode( $atts ) {
1347
  # Include the Google Analytics Summary widget
1348
  require_once('google-analytics-summary-widget.php');
1349
+
1350
  ob_start();
1351
 
1352
+ $google_analytics_summary = new GoogleAnalyticsSummary(TRUE);
1353
  // Wrap it with these divs to mimic the admin dashboard widget structure.
1354
  echo '<div id="google-analytics-summary"><div class="inside">';
1355
  $google_analytics_summary->widget();
1357
 
1358
  return ob_get_clean();
1359
  }
 
1360
 
1361
  //[analytics-counter]
1362
  function ga_analyticator_counter_shortcode( $atts ) {
1364
  require_once('google-analytics-stats-widget.php');
1365
  ob_start();
1366
 
1367
+ $google_analytics_widget = new GoogleStatsWidget(TRUE);
1368
 
1369
  return ob_get_clean();
1370
  }
1372
  add_shortcode( 'analytics', 'ga_analyticator_shortcode' );
1373
  add_shortcode( 'analytics-counter', 'ga_analyticator_counter_shortcode' );
1374
 
1375
+ add_option('ga_analyticator_global_notification', 1);
1376
+
1377
+ function ga_analyticator_global_notice() {
1378
+ if (in_array(substr(basename($_SERVER['REQUEST_URI']), 0, 11), array('plugins.php', 'index.php')) && get_option('ga_analyticator_global_notification') == 1) {
1379
+ ?>
1380
+ <style type="text/css">
1381
+ #ga_analyticator_global_notification a.button:active {vertical-align:baseline;}
1382
+ </style>
1383
+ <div class="updated" id="ga_analyticator_global_notification" style="border:3px solid #317A96;position:relative;background:##3c9cc2;background-color:#3c9cc2;color:#ffffff;height:70px;">
1384
+ <a class="notice-dismiss" href="<?php echo admin_url('admin.php?page=google-analyticator&ga_analyticator_global_notification=0'); ?>" style="right:165px;top:0;"></a>
1385
+ <a href="<?php echo admin_url('admin.php?page=google-analyticator&ga_analyticator_global_notification=0'); ?>" style="position:absolute;top:9px;right:15px;color:#ffffff;">Dismiss and go to settings</a>
1386
+ <p style="font-size:16px;line-height:50px;">
1387
+ <?php _e('Grow your site faster!'); ?> &nbsp;<a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
1388
+ </p>
1389
+ </div>
1390
+ <?php
1391
+ }
1392
+ }
1393
+ add_action( 'admin_notices', 'ga_analyticator_global_notice' );
1394
+
1395
+ function ga_analyticator_deactivate() {
1396
+ delete_option('ga_analyticator_global_notification');
1397
+ }
1398
+ register_deactivation_hook( __FILE__, 'ga_analyticator_deactivate' );
1399
+
1400
+ function ga_analyticator_other_plugins_page() {
1401
+ include(plugin_dir_path( __FILE__ ).'/other_plugins.php');
1402
+ }
1403
+
1404
+ function ga_analyticator_top_level_menu() {
1405
+ $menu_page = add_menu_page( 'Google Analytics', 'Google Analytics', 'manage_options', 'google-analyticator', 'ga_settings_page', 'dashicons-chart-line');
1406
+ add_action('load-'.$menu_page, 'ga_pre_load' );
1407
+ add_submenu_page( 'google-analyticator', 'Other Plugins', 'Other Plugins', 'manage_options', 'google-analyticator-other-plugins', 'ga_analyticator_other_plugins_page');
1408
+
1409
+ $activate_page = add_submenu_page( null, 'Activation', 'Google Analytics', 'manage_options', 'ga_activate' , 'ga_activate');
1410
+ $reset_page = add_submenu_page(null, 'Reset', 'Reset', 'activate_plugins', 'ga_reset', 'ga_reset' );
1411
+ add_action('load-'.$reset_page, 'ga_do_reset' );
1412
+ }
1413
+
1414
+ add_action( 'admin_menu', 'ga_analyticator_top_level_menu' );
google-analytics-stats-widget.php CHANGED
@@ -8,17 +8,17 @@
8
  **/
9
  class GoogleStatsWidget extends WP_Widget
10
  {
11
- function GoogleStatsWidget($options = array('shortcode' => FALSE)) {
12
  $widget_ops = array('classname' => 'widget_google_stats', 'description' => __("Displays Stat Info From Google Analytics", 'google-analyticator') );
13
  $control_ops = array('width' => 400, 'height' => 400);
14
  $this->WP_Widget('googlestats', __('Google Analytics Stats', 'google-analyticator'), $widget_ops, $control_ops);
15
 
16
- if ($options['shortcode']) {
17
  $this->widget();
18
  }
19
  }
20
 
21
- function widget($args, $instance) {
22
  extract($args);
23
  $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title']);
24
  $acnt = false;
@@ -31,7 +31,10 @@ class GoogleStatsWidget extends WP_Widget
31
  $line2 = empty($instance['line2']) ? 'Visitors' : $instance['line2'];
32
 
33
  # Before the widget
34
- echo $before_widget;
 
 
 
35
 
36
  # The title
37
  if ( $title )
@@ -45,7 +48,9 @@ class GoogleStatsWidget extends WP_Widget
45
  $this->endWidget();
46
 
47
  # After the widget
48
- echo $after_widget;
 
 
49
  }
50
 
51
  function update($new_instance, $old_instance) {
@@ -166,7 +171,7 @@ class GoogleStatsWidget extends WP_Widget
166
  function widgetInfo($visitor_count, $line_one = 'Unique', $line_two = 'Visitors', $inner_background_color = 'FFF', $font_color = '000')
167
  {
168
 
169
- echo '<td style="width:auto!important;border-width:1px;border-color:#' . $font_color . ';border-style:solid;padding:0px 5px 0px 5px;text-align:right;background:#' . $inner_background_color . ';min-width:80px;*width:80px!important;"><div style="min-width:80px;">'. $visitor_count . '</div></td>';
170
 
171
  echo '<td style="width:auto!important;padding:0px 5px 0px 5px;text-align:center;font-size:11px;">' . $line_one . '<br />' . $line_two . '</td>';
172
 
8
  **/
9
  class GoogleStatsWidget extends WP_Widget
10
  {
11
+ function GoogleStatsWidget($shortcode = FALSE) {
12
  $widget_ops = array('classname' => 'widget_google_stats', 'description' => __("Displays Stat Info From Google Analytics", 'google-analyticator') );
13
  $control_ops = array('width' => 400, 'height' => 400);
14
  $this->WP_Widget('googlestats', __('Google Analytics Stats', 'google-analyticator'), $widget_ops, $control_ops);
15
 
16
+ if ($shortcode) {
17
  $this->widget();
18
  }
19
  }
20
 
21
+ function widget($args = array(), $instance = array()) {
22
  extract($args);
23
  $title = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title']);
24
  $acnt = false;
31
  $line2 = empty($instance['line2']) ? 'Visitors' : $instance['line2'];
32
 
33
  # Before the widget
34
+ if (isset($before_widget)) {
35
+ echo $before_widget;
36
+ }
37
+
38
 
39
  # The title
40
  if ( $title )
48
  $this->endWidget();
49
 
50
  # After the widget
51
+ if (isset($after_widget)) {
52
+ echo $after_widget;
53
+ }
54
  }
55
 
56
  function update($new_instance, $old_instance) {
171
  function widgetInfo($visitor_count, $line_one = 'Unique', $line_two = 'Visitors', $inner_background_color = 'FFF', $font_color = '000')
172
  {
173
 
174
+ echo '<td style="width:auto!important;border-width:1px;border-color:#' . $font_color . ';border-style:solid;padding:0px 5px 0px 5px;text-align:right;background:#' . $inner_background_color . ';min-width:80px;*width:80px!important;vertical-align:middle;"><div style="min-width:80px;">'. $visitor_count . '</div></td>';
175
 
176
  echo '<td style="width:auto!important;padding:0px 5px 0px 5px;text-align:center;font-size:11px;">' . $line_one . '<br />' . $line_two . '</td>';
177
 
google-analytics-summary-widget.php CHANGED
@@ -13,10 +13,8 @@ class GoogleAnalyticsSummary
13
  /**
14
  * Start the process of including the widget
15
  **/
16
- function GoogleAnalyticsSummary($options = array('shortcode' => FALSE))
17
  {
18
- $this->options = $options;
19
-
20
  add_action('wp_dashboard_setup', array(
21
  $this,
22
  'addDashboardWidget'
@@ -30,30 +28,26 @@ class GoogleAnalyticsSummary
30
  'addTopJs'
31
  ));
32
 
33
- /*
34
- if ($this->options['shortcode']) {
35
  // For shortcode
36
  add_action('wp_footer', array(
37
  $this,
38
  'addJavascript'
39
  ));
40
 
41
- add_action('wp_head', array(
42
  $this,
43
  'addTopJs'
44
  ));
 
 
45
  }
46
- */
47
 
48
  $this->qa_selecteddate = isset( $_REQUEST['qa_selecteddate'] ) ? wp_filter_kses( $_REQUEST['qa_selecteddate'] ) : '31';
49
  $this->date_before = date('Y-m-d', strtotime( '-'.$this->qa_selecteddate.' days', strtotime( current_time( 'mysql' ) ) ) );
50
  $this->date_yesterday = date('Y-m-d', strtotime( '-1 days', strtotime( current_time( 'mysql' ) ) ) );
51
 
52
  add_action( 'wp_ajax_ga_stats_widget', array( $this, 'ajaxWidget' ) );
53
-
54
- if ($options['shortcode']) {
55
- add_action( 'wp_ajax_nopriv_ga_stats_widget', array( $this, 'ajaxWidget' ) );
56
- }
57
  }
58
 
59
  /**
@@ -86,16 +80,12 @@ class GoogleAnalyticsSummary
86
  **/
87
  function addTopJs()
88
  {
89
- print_r($this->options);
90
-
91
  ?>
92
-
93
-
94
  <style type="text/css">
95
  #google-analytics-summary .legend table {width:auto;border:0;margin:0;}
96
  </style>
97
  <script type="text/javascript">
98
-
99
  //Tooltip
100
  jQuery.fn.UseTooltip = function () {
101
  var previousPoint = null;
13
  /**
14
  * Start the process of including the widget
15
  **/
16
+ function GoogleAnalyticsSummary($shortcode = FALSE)
17
  {
 
 
18
  add_action('wp_dashboard_setup', array(
19
  $this,
20
  'addDashboardWidget'
28
  'addTopJs'
29
  ));
30
 
31
+ if ($shortcode) {
 
32
  // For shortcode
33
  add_action('wp_footer', array(
34
  $this,
35
  'addJavascript'
36
  ));
37
 
38
+ add_action('wp_footer', array(
39
  $this,
40
  'addTopJs'
41
  ));
42
+
43
+ add_action( 'wp_ajax_nopriv_ga_stats_widget', array( $this, 'ajaxWidget' ) );
44
  }
 
45
 
46
  $this->qa_selecteddate = isset( $_REQUEST['qa_selecteddate'] ) ? wp_filter_kses( $_REQUEST['qa_selecteddate'] ) : '31';
47
  $this->date_before = date('Y-m-d', strtotime( '-'.$this->qa_selecteddate.' days', strtotime( current_time( 'mysql' ) ) ) );
48
  $this->date_yesterday = date('Y-m-d', strtotime( '-1 days', strtotime( current_time( 'mysql' ) ) ) );
49
 
50
  add_action( 'wp_ajax_ga_stats_widget', array( $this, 'ajaxWidget' ) );
 
 
 
 
51
  }
52
 
53
  /**
80
  **/
81
  function addTopJs()
82
  {
83
+ wp_enqueue_script( 'jquery' );
 
84
  ?>
 
 
85
  <style type="text/css">
86
  #google-analytics-summary .legend table {width:auto;border:0;margin:0;}
87
  </style>
88
  <script type="text/javascript">
 
89
  //Tooltip
90
  jQuery.fn.UseTooltip = function () {
91
  var previousPoint = null;
other_plugins.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php add_thickbox(); ?>
2
+ <div class="wrap">
3
+ <?php screen_icon(); ?>
4
+ <h2>Other Plugins</h2>
5
+
6
+ <p style="border:1px solid #CCCCCC;background:#FFFFFF;padding:8px;">
7
+ <a href="<?php echo admin_url( 'plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">SumoMe</a> - Tools to grow your Email List, Social Sharing and Analytics.
8
+ <br /><br />
9
+ <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=recent-tweets-widget&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">Recent Tweets Widget</a> - Display your recent tweets in a sidebar widget.
10
+ <br /><br />
11
+ <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=social-share-boost&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">Social Share Boost</a> - Boost Your Social Sharing by automatically adding various social share tools above or below the posts, page and excerpts.
12
+ </p>
13
+ <h2>Signup for a free 30 day course to DOUBLE YOUR EMAIL LIST</h2>
14
+ <div style="border:1px solid #CCCCCC;background:#FFFFFF;padding:8px;">
15
+ <form method="post" class="af-form-wrapper" action="http://www.aweber.com/scripts/addlead.pl" target="_blank">
16
+ <p>
17
+ <input placeholder="Type Your Email Address" class="email" name="email" autofocus style="width:200px;" />
18
+ </p>
19
+ <p>
20
+ <button class="button button-primary">Let me in!</button>
21
+ </p>
22
+
23
+ <input type="hidden" name="meta_web_form_id" value="1747290999" />
24
+ <input type="hidden" name="meta_split_id" value="" />
25
+ <input type="hidden" name="listname" value="awlist3626406" />
26
+ <input type="hidden" name="redirect" value="http://email1k.sumome.com/tweet.html" id="redirect_19605a373ab8e7f77fc954424326ab1c" />
27
+ <input type="hidden" name="meta_redirect_onlist" value="http://email1k.sumome.com/tweet.html" />
28
+ <input type="hidden" name="meta_adtracking" value="google-analyticator" />
29
+ <input type="hidden" name="meta_message" value="1" />
30
+ <input type="hidden" name="meta_required" value="email" />
31
+ <input type="hidden" name="meta_tooltip" value="" />
32
+ </form>
33
+ </div>
34
+ </div>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: noahkagan
3
  Tags: google analytics plugin, stats, statistics, google, analytics, dashboard, google analytics, tracking, widget, marketing,pageviews,visits, web stats, javascript
4
  Requires at least: 3.2
5
  Tested up to: 4.2.2
6
- Stable tag: 6.4.9.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -74,6 +74,9 @@ For any support issues, please use the official WordPress support forums.
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 6.4.9.2 =
78
  * Temporarily disable [analytics] shortcode to fix a bug
79
 
3
  Tags: google analytics plugin, stats, statistics, google, analytics, dashboard, google analytics, tracking, widget, marketing,pageviews,visits, web stats, javascript
4
  Requires at least: 3.2
5
  Tested up to: 4.2.2
6
+ Stable tag: 6.4.9.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
74
 
75
  == Changelog ==
76
 
77
+ = 6.4.9.3 =
78
+ * Re-enable [analytics] shortcode with fix
79
+
80
  = 6.4.9.2 =
81
  * Temporarily disable [analytics] shortcode to fix a bug
82