Google Analytics - Version 2.0.2

Version Description

  • 8-May-2018
  • New : Adding IP anonymization.
Download this release

Release Info

Developer amribrahim
Plugin Icon 128x128 Google Analytics
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

Files changed (2) hide show
  1. lara-google-analytics.php +4 -4
  2. readme.txt +7 -3
lara-google-analytics.php CHANGED
@@ -4,14 +4,14 @@
4
  Plugin Name: Google Analytics
5
  Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/
6
  Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics tracking code to your pages.
7
- Version: 2.0.1
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
11
  */
12
 
13
- define ("lrgawidget_plugin_version", "2.0.1");
14
- define ("lrgawidget_plugin_scripts_version", "201");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
@@ -129,7 +129,7 @@ function lrgawidget_ga_code(){
129
  function gtag(){dataLayer.push(arguments);}
130
  gtag('js', new Date());
131
 
132
- gtag('config', '<?php echo $lrgawidget_property_id ?>');
133
  </script>
134
 
135
  <?php
4
  Plugin Name: Google Analytics
5
  Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/
6
  Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics tracking code to your pages.
7
+ Version: 2.0.2
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.xtraorbit.com/
10
  License: GPL2
11
  */
12
 
13
+ define ("lrgawidget_plugin_version", "2.0.2");
14
+ define ("lrgawidget_plugin_scripts_version", "202");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
129
  function gtag(){dataLayer.push(arguments);}
130
  gtag('js', new Date());
131
 
132
+ gtag('config', '<?php echo $lrgawidget_property_id ?>', { 'anonymize_ip': true });
133
  </script>
134
 
135
  <?php
readme.txt CHANGED
@@ -3,8 +3,8 @@ Tags: analytics,google analytics,google analytics dashboard,google analytics plu
3
  Contributors: amribrahim, laragoogleanalytics
4
  Requires PHP: 5.3.0
5
  Requires at least: 4.0
6
- Tested up to: 4.9.4
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -86,4 +86,8 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
86
 
87
  = 2.0.1 =
88
  * 17-Feb-2018
89
- * Fix : Support URL and plugin overview URL updated.
 
 
 
 
3
  Contributors: amribrahim, laragoogleanalytics
4
  Requires PHP: 5.3.0
5
  Requires at least: 4.0
6
+ Tested up to: 4.9.5
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
86
 
87
  = 2.0.1 =
88
  * 17-Feb-2018
89
+ * Fix : Support URL and plugin overview URL updated.
90
+
91
+ = 2.0.2 =
92
+ * 8-May-2018
93
+ * New : Adding IP anonymization.