Google Analytics - Version 1.9.6

Version Description

  • Changed wording and updated plugin icon and banner
Download this release

Release Info

Developer webkinder
Plugin Icon 128x128 Google Analytics
Version 1.9.6
Comparing to
See all releases

Code changes from version 1.9.5 to 1.9.6

css/admin-styles.css CHANGED
@@ -1,53 +1,53 @@
1
- /*
2
- * Google Analytics by WebKinder
3
- * Admin CSS Styles
4
- */
5
-
6
- #wk-google-analytics-settings>div {
7
- margin-bottom: 15px;
8
- }
9
-
10
- #mc_embed_signup .mc-field-group {
11
- margin-bottom: 15px;
12
- }
13
-
14
- /*====================GRID=================*/
15
-
16
- @media screen and (min-width: 768px) {
17
-
18
- .wk-left-part,
19
- .wk-right-part {
20
- display: inline-block;
21
- }
22
-
23
- .wk-left-part {
24
- width: 70%;
25
- vertical-align: top;
26
- }
27
-
28
- .wk-right-part {
29
- width: 25%;
30
- vertical-align:top;
31
- }
32
-
33
- }
34
-
35
- /*==============MAILCHIMP==================*/
36
-
37
- #mc_embed_signup .mc-field-group label {
38
- width: 100px;
39
- display: inline-block;
40
- }
41
-
42
- #mc_embed_signup .mc-field-group {
43
- margin-bottom: 5px;
44
- }
45
-
46
- #mc_embed_signup .mc-field-group .asterisk {
47
- margin-left: 5px;
48
- color: red;
49
- }
50
-
51
- #mc_embed_signup_scroll .input-group label {
52
- width: 200px;
53
- }
1
+ /*
2
+ * Google Analytics by WEBKINDER
3
+ * Admin CSS Styles
4
+ */
5
+
6
+ #wk-google-analytics-settings>div {
7
+ margin-bottom: 15px;
8
+ }
9
+
10
+ #mc_embed_signup .mc-field-group {
11
+ margin-bottom: 15px;
12
+ }
13
+
14
+ /*====================GRID=================*/
15
+
16
+ @media screen and (min-width: 768px) {
17
+
18
+ .wk-left-part,
19
+ .wk-right-part {
20
+ display: inline-block;
21
+ }
22
+
23
+ .wk-left-part {
24
+ width: 70%;
25
+ vertical-align: top;
26
+ }
27
+
28
+ .wk-right-part {
29
+ width: 25%;
30
+ vertical-align: top;
31
+ }
32
+
33
+ }
34
+
35
+ /*==============MAILCHIMP==================*/
36
+
37
+ #mc_embed_signup .mc-field-group label {
38
+ width: 100px;
39
+ display: inline-block;
40
+ }
41
+
42
+ #mc_embed_signup .mc-field-group {
43
+ margin-bottom: 5px;
44
+ }
45
+
46
+ #mc_embed_signup .mc-field-group .asterisk {
47
+ margin-left: 5px;
48
+ color: red;
49
+ }
50
+
51
+ #mc_embed_signup_scroll .input-group label {
52
+ width: 200px;
53
+ }
includes/mailchimp-form.php CHANGED
@@ -1,49 +1,42 @@
1
- <?php
2
- /*
3
- * Google Analytics by WebKinder
4
- * Mailchimp form for settings page
5
- */
6
- ?>
7
- <!-- Begin MailChimp Signup Form -->
8
- <div id="mc_embed_signup">
9
- <form action="//webkinder.us12.list-manage.com/subscribe/post?u=979fe90d29c9ca9e25d5acc4b&amp;id=dfae840228"
10
- method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank"
11
- novalidate>
12
- <div id="mc_embed_signup_scroll">
13
- <h2><?php _e("Stay informed about any changes to this plugin", 'wk-google-analytics'); ?></h2>
14
- <div class="mc-field-group">
15
- <label for="mce-EMAIL"><?php _e("Email address", 'wk-google-analytics'); ?><span
16
- class="asterisk">*</span></label>
17
- <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
18
- </div>
19
- <div class="mc-field-group">
20
- <label for="mce-FNAME"><?php _e("First name", 'wk-google-analytics'); ?><span
21
- class="asterisk">*</span></label>
22
- <input type="text" value="" name="FNAME" class="required" id="mce-FNAME">
23
- </div>
24
- <div class="mc-field-group">
25
- <label for="mce-LNAME"><?php _e("Last name", 'wk-google-analytics'); ?><span
26
- class="asterisk">*</span></label>
27
- <input type="text" value="" name="LNAME" class="required" id="mce-LNAME">
28
- </div>
29
- <div class="mc-field-group input-group">
30
- <strong><?php _e("Permission", 'wk-google-analytics'); ?></strong>
31
- <input type="checkbox" value="1" name="group[16549][1]" id="mce-group[16549]-16549-0"><label
32
- for="mce-group[16549]-16549-0"><?php _e("I agree that my personal data will be stored and used to send plugin updates to my email address.", 'wk-google-analytics'); ?></label>
33
- </ul>
34
- <div id="mce-responses" class="clear">
35
- <div class="response" id="mce-error-response" style="display:none"></div>
36
- <div class="response" id="mce-success-response" style="display:none"></div>
37
- </div>
38
- <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
39
- <div style="position: absolute; left: -5000px;" aria-hidden="true">
40
- <input type="text" name="b_979fe90d29c9ca9e25d5acc4b_dfae840228" tabindex="-1" value="">
41
- </div>
42
- <div class="clear">
43
- <input type="submit" value="<?php _e("Subscribe", 'wk-google-analytics'); ?>" name="subscribe"
44
- id="mc-embedded-subscribe" class="button button-primary">
45
- </div>
46
- </div>
47
- </form>
48
- </div>
49
- <!--End mc_embed_signup-->
1
+ <?php
2
+ /*
3
+ * Google Analytics by WEBKINDER
4
+ * Mailchimp form for settings page
5
+ */
6
+ ?>
7
+ <!-- Begin MailChimp Signup Form -->
8
+ <div id="mc_embed_signup">
9
+ <form action="//webkinder.us12.list-manage.com/subscribe/post?u=979fe90d29c9ca9e25d5acc4b&amp;id=dfae840228" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
10
+ <div id="mc_embed_signup_scroll">
11
+ <h2><?php _e("Stay informed about any changes to this plugin", 'wk-google-analytics'); ?></h2>
12
+ <div class="mc-field-group">
13
+ <label for="mce-EMAIL"><?php _e("Email address", 'wk-google-analytics'); ?><span class="asterisk">*</span></label>
14
+ <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
15
+ </div>
16
+ <div class="mc-field-group">
17
+ <label for="mce-FNAME"><?php _e("First name", 'wk-google-analytics'); ?><span class="asterisk">*</span></label>
18
+ <input type="text" value="" name="FNAME" class="required" id="mce-FNAME">
19
+ </div>
20
+ <div class="mc-field-group">
21
+ <label for="mce-LNAME"><?php _e("Last name", 'wk-google-analytics'); ?><span class="asterisk">*</span></label>
22
+ <input type="text" value="" name="LNAME" class="required" id="mce-LNAME">
23
+ </div>
24
+ <div class="mc-field-group input-group">
25
+ <strong><?php _e("Permission", 'wk-google-analytics'); ?></strong>
26
+ <input type="checkbox" value="1" name="group[16549][1]" id="mce-group[16549]-16549-0"><label for="mce-group[16549]-16549-0"><?php _e("I agree that my personal data will be stored and used to send plugin updates to my email address.", 'wk-google-analytics'); ?></label>
27
+ </ul>
28
+ <div id="mce-responses" class="clear">
29
+ <div class="response" id="mce-error-response" style="display:none"></div>
30
+ <div class="response" id="mce-success-response" style="display:none"></div>
31
+ </div>
32
+ <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
33
+ <div style="position: absolute; left: -5000px;" aria-hidden="true">
34
+ <input type="text" name="b_979fe90d29c9ca9e25d5acc4b_dfae840228" tabindex="-1" value="">
35
+ </div>
36
+ <div class="clear">
37
+ <input type="submit" value="<?php _e("Subscribe", 'wk-google-analytics'); ?>" name="subscribe" id="mc-embedded-subscribe" class="button button-primary">
38
+ </div>
39
+ </div>
40
+ </form>
41
+ </div>
42
+ <!--End mc_embed_signup-->
 
 
 
 
 
 
 
js/admin-functions.js CHANGED
@@ -1,22 +1,21 @@
1
  /*
2
- * Google Analytics by WebKinder
3
  * Admin JS Functions
4
  */
5
 
6
  var WKGA_AdminFunctions = {
7
- CookieName: 'wp_wk_ga_untrack_' + document.location.hostname,
8
- UntrackText: text_content.UntrackText,
9
- TrackText: text_content.TrackText,
10
- TrackHint: text_content.TrackHint,
11
-
12
- init: function(containerID, useTagManager) {
13
-
14
- //cookie handling
15
- this.containerID = containerID;
16
- this.checkboxClass = 'wk-checkbox';
17
- this.checkboxSelector = containerID + " ." + this.checkboxClass;
18
-
19
- jQuery(containerID).find('.form-table').append(`
20
  <tr>
21
  <th scope="row">${this.TrackText}</th>
22
  <td>
@@ -38,60 +37,70 @@ var WKGA_AdminFunctions = {
38
  </tr>
39
  `);
40
 
 
41
 
42
- this.renderCheckbox();
 
 
 
 
43
 
44
- jQuery(this.checkboxSelector).change(function() {
45
- this.handleClick();
46
- }.bind(this));
47
 
48
- //analytics/tag manager switch
 
49
  this.onlyUseOne(jQuery(useTagManager).is(":checked"));
50
-
51
- jQuery(useTagManager).change(function() {
52
- this.onlyUseOne(jQuery(useTagManager).is(":checked"));
53
- }.bind(this));
54
-
55
- },
56
-
57
- onlyUseOne: function(useIt) {
58
- switch (useIt) {
59
- case true: {
60
- jQuery('.use-google-tag-manager').children('input').prop('readonly', false);
61
- jQuery('.use-google-analytics').children('input').prop('readonly', true);
62
- break;
63
- }
64
- case false: {
65
- jQuery('.use-google-analytics').children('input').prop('readonly', false);
66
- jQuery('.use-google-tag-manager').children('input').prop('readonly', true);
67
- break;
68
- }
69
- }
70
- },
71
-
72
- renderCheckbox: function(containerID) {
73
- var checkboxValue = Cookies.get(this.CookieName) ? 1 : 0;
74
- console.log(checkboxValue);
75
- console.log(this.checkboxSelector);
76
- jQuery(this.checkboxSelector).prop('checked', checkboxValue);
77
- },
78
-
79
- handleClick: function() {
80
- console.log(this.CookieName);
81
- if (Cookies.get(this.CookieName)) {
82
- Cookies.remove(this.CookieName);
83
- } else {
84
- Cookies.set(this.CookieName, true, {
85
- expires: 365
86
- });
87
- }
88
- this.renderCheckbox();
89
  }
90
-
91
- }
92
-
93
- jQuery(document).ready(function() {
94
-
95
- WKGA_AdminFunctions.init('#wk-google-analytics-settings', '#use-google-tag-manager');
96
-
97
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /*
2
+ * Google Analytics by WEBKINDER
3
  * Admin JS Functions
4
  */
5
 
6
  var WKGA_AdminFunctions = {
7
+ CookieName: "wp_wk_ga_untrack_" + document.location.hostname,
8
+ UntrackText: text_content.UntrackText,
9
+ TrackText: text_content.TrackText,
10
+ TrackHint: text_content.TrackHint,
11
+
12
+ init: function (containerID, useTagManager) {
13
+ //cookie handling
14
+ this.containerID = containerID;
15
+ this.checkboxClass = "wk-checkbox";
16
+ this.checkboxSelector = containerID + " ." + this.checkboxClass;
17
+
18
+ jQuery(containerID).find(".form-table").append(`
 
19
  <tr>
20
  <th scope="row">${this.TrackText}</th>
21
  <td>
37
  </tr>
38
  `);
39
 
40
+ this.renderCheckbox();
41
 
42
+ jQuery(this.checkboxSelector).change(
43
+ function () {
44
+ this.handleClick();
45
+ }.bind(this)
46
+ );
47
 
48
+ //analytics/tag manager switch
49
+ this.onlyUseOne(jQuery(useTagManager).is(":checked"));
 
50
 
51
+ jQuery(useTagManager).change(
52
+ function () {
53
  this.onlyUseOne(jQuery(useTagManager).is(":checked"));
54
+ }.bind(this)
55
+ );
56
+ },
57
+
58
+ onlyUseOne: function (useIt) {
59
+ switch (useIt) {
60
+ case true: {
61
+ jQuery(".use-google-tag-manager")
62
+ .children("input")
63
+ .prop("readonly", false);
64
+ jQuery(".use-google-analytics")
65
+ .children("input")
66
+ .prop("readonly", true);
67
+ break;
68
+ }
69
+ case false: {
70
+ jQuery(".use-google-analytics")
71
+ .children("input")
72
+ .prop("readonly", false);
73
+ jQuery(".use-google-tag-manager")
74
+ .children("input")
75
+ .prop("readonly", true);
76
+ break;
77
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
+ },
80
+
81
+ renderCheckbox: function (containerID) {
82
+ var checkboxValue = Cookies.get(this.CookieName) ? 1 : 0;
83
+ console.log(checkboxValue);
84
+ console.log(this.checkboxSelector);
85
+ jQuery(this.checkboxSelector).prop("checked", checkboxValue);
86
+ },
87
+
88
+ handleClick: function () {
89
+ console.log(this.CookieName);
90
+ if (Cookies.get(this.CookieName)) {
91
+ Cookies.remove(this.CookieName);
92
+ } else {
93
+ Cookies.set(this.CookieName, true, {
94
+ expires: 365,
95
+ });
96
+ }
97
+ this.renderCheckbox();
98
+ },
99
+ };
100
+
101
+ jQuery(document).ready(function () {
102
+ WKGA_AdminFunctions.init(
103
+ "#wk-google-analytics-settings",
104
+ "#use-google-tag-manager"
105
+ );
106
+ });
languages/wk-google-analytics-de_CH.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Google Analytics by WebKinder\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:08+0000\n"
6
  "Last-Translator: \n"
@@ -246,8 +246,8 @@ msgstr ""
246
  "im Google Tag Manager Konto gesetzt werden."
247
 
248
  #. Name of the plugin
249
- msgid "Google Analytics and Google Tag Manager by WebKinder"
250
- msgstr "Google Analytics und Google Tag Manager by WebKinder"
251
 
252
  #. Description of the plugin
253
  msgid ""
@@ -261,8 +261,8 @@ msgid "https://wordpress.org/plugins/wk-google-analytics/"
261
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
262
 
263
  #. Author of the plugin
264
- msgid "WebKinder"
265
- msgstr "WebKinder"
266
 
267
  #. Author URI of the plugin
268
  msgid "https://www.webkinder.ch"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Google Analytics by WEBKINDER\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:08+0000\n"
6
  "Last-Translator: \n"
246
  "im Google Tag Manager Konto gesetzt werden."
247
 
248
  #. Name of the plugin
249
+ msgid "Google Analytics and Google Tag Manager by WEBKINDER"
250
+ msgstr "Google Analytics und Google Tag Manager by WEBKINDER"
251
 
252
  #. Description of the plugin
253
  msgid ""
261
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
262
 
263
  #. Author of the plugin
264
+ msgid "WEBKINDER"
265
+ msgstr "WEBKINDER"
266
 
267
  #. Author URI of the plugin
268
  msgid "https://www.webkinder.ch"
languages/wk-google-analytics-de_DE.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Google Analytics by WebKinder\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:13+0000\n"
6
  "Last-Translator: \n"
@@ -246,8 +246,8 @@ msgstr ""
246
  "im Google Tag Manager Konto gesetzt werden."
247
 
248
  #. Name of the plugin
249
- msgid "Google Analytics and Google Tag Manager by WebKinder"
250
- msgstr "Google Analytics und Google Tag Manager by WebKinder"
251
 
252
  #. Description of the plugin
253
  msgid ""
@@ -261,8 +261,8 @@ msgid "https://wordpress.org/plugins/wk-google-analytics/"
261
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
262
 
263
  #. Author of the plugin
264
- msgid "WebKinder"
265
- msgstr "WebKinder"
266
 
267
  #. Author URI of the plugin
268
  msgid "https://www.webkinder.ch"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Google Analytics by WEBKINDER\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:13+0000\n"
6
  "Last-Translator: \n"
246
  "im Google Tag Manager Konto gesetzt werden."
247
 
248
  #. Name of the plugin
249
+ msgid "Google Analytics and Google Tag Manager by WEBKINDER"
250
+ msgstr "Google Analytics und Google Tag Manager by WEBKINDER"
251
 
252
  #. Description of the plugin
253
  msgid ""
261
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
262
 
263
  #. Author of the plugin
264
+ msgid "WEBKINDER"
265
+ msgstr "WEBKINDER"
266
 
267
  #. Author URI of the plugin
268
  msgid "https://www.webkinder.ch"
languages/wk-google-analytics-de_DE_formal.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Google Analytics by WebKinder\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:13+0000\n"
6
  "Last-Translator: \n"
@@ -237,8 +237,8 @@ msgstr ""
237
  "im Google Tag Manager Konto gesetzt werden."
238
 
239
  #. Name of the plugin
240
- msgid "Google Analytics and Google Tag Manager by WebKinder"
241
- msgstr "Google Analytics und Google Tag Manager by WebKinder"
242
 
243
  #. Description of the plugin
244
  msgid ""
@@ -252,8 +252,8 @@ msgid "https://wordpress.org/plugins/wk-google-analytics/"
252
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
253
 
254
  #. Author of the plugin
255
- msgid "WebKinder"
256
- msgstr "WebKinder"
257
 
258
  #. Author URI of the plugin
259
  msgid "https://www.webkinder.ch"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Google Analytics by WEBKINDER\n"
4
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
5
  "PO-Revision-Date: 2020-11-02 15:13+0000\n"
6
  "Last-Translator: \n"
237
  "im Google Tag Manager Konto gesetzt werden."
238
 
239
  #. Name of the plugin
240
+ msgid "Google Analytics and Google Tag Manager by WEBKINDER"
241
+ msgstr "Google Analytics und Google Tag Manager by WEBKINDER"
242
 
243
  #. Description of the plugin
244
  msgid ""
252
  msgstr "https://wordpress.org/plugins/wk-google-analytics/"
253
 
254
  #. Author of the plugin
255
+ msgid "WEBKINDER"
256
+ msgstr "WEBKINDER"
257
 
258
  #. Author URI of the plugin
259
  msgid "https://www.webkinder.ch"
languages/wk-google-analytics.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
- "Project-Id-Version: Google Analytics by WebKinder\n"
6
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: \n"
@@ -182,7 +182,7 @@ msgid ""
182
  msgstr ""
183
 
184
  #. Name of the plugin
185
- msgid "Google Analytics and Google Tag Manager by WebKinder"
186
  msgstr ""
187
 
188
  #. Description of the plugin
@@ -197,7 +197,7 @@ msgid "https://wordpress.org/plugins/wk-google-analytics/"
197
  msgstr ""
198
 
199
  #. Author of the plugin
200
- msgid "WebKinder"
201
  msgstr ""
202
 
203
  #. Author URI of the plugin
2
  msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
+ "Project-Id-Version: Google Analytics by WEBKINDER\n"
6
  "POT-Creation-Date: 2020-11-02 15:04+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: \n"
182
  msgstr ""
183
 
184
  #. Name of the plugin
185
+ msgid "Google Analytics and Google Tag Manager by WEBKINDER"
186
  msgstr ""
187
 
188
  #. Description of the plugin
197
  msgstr ""
198
 
199
  #. Author of the plugin
200
+ msgid "WEBKINDER"
201
  msgstr ""
202
 
203
  #. Author URI of the plugin
lib/Plugin.php CHANGED
@@ -87,7 +87,7 @@ class Plugin
87
 
88
  /**
89
  * Get the text for GA
90
- *
91
  * @return string
92
  */
93
  static function get_ga_policy_text()
@@ -105,6 +105,6 @@ class Plugin
105
  */
106
  public function register_privacy_policy_content()
107
  {
108
- wp_add_privacy_policy_content(__('WebKinder Google Analytics', 'wk-google-analytics'), self::get_ga_policy_text());
109
  }
110
- }
87
 
88
  /**
89
  * Get the text for GA
90
+ *
91
  * @return string
92
  */
93
  static function get_ga_policy_text()
105
  */
106
  public function register_privacy_policy_content()
107
  {
108
+ wp_add_privacy_policy_content(__('WEBKINDER Google Analytics', 'wk-google-analytics'), self::get_ga_policy_text());
109
  }
110
+ }
lib/Settings.php CHANGED
@@ -5,296 +5,294 @@ namespace WebKinder\GoogleAnalytics;
5
  class Settings
6
  {
7
 
8
- /**
9
- * Add an options page under 'Settings'
10
- *
11
- * @since 1.0
12
- * @see https://codex.wordpress.org/Function_Reference/add_options_page
13
- *
14
- */
15
- function settings_page()
16
- {
17
- add_options_page(
18
- 'Google Analytics + Tag Manager by WebKinder',
19
- 'Google Analytics',
20
- 'manage_options',
21
- 'google_analytics',
22
- array($this, "settings_content")
23
- );
24
- }
25
-
26
-
27
- /**
28
- * Ouputs the markup for the options page
29
- *
30
- * @since 1.0
31
- *
32
- */
33
- function settings_content()
34
- {
35
-
36
- if (!isset($_REQUEST['settings-updated']))
37
- $_REQUEST['settings-updated'] = false;
38
  ?>
39
- <div class="wrap">
40
- <h2><?php echo esc_html(get_admin_page_title()); ?></h2>
41
- <?php if (false !== $_REQUEST['settings-updated']) : ?>
42
- <div class="updated fade">
43
- <p>
44
- <strong>
45
- <a target="_blank"
46
- href="https://support.google.com/analytics/answer/1008083"><?php _e('Test your tracking code now!', 'wk-google-analytics'); ?></a>
47
- </strong>
48
- </p>
49
- </div>
50
- <?php endif; ?>
51
- <div class="wk-left-part">
52
- <form id="wk-google-analytics-settings" method="post" action="options.php">
53
- <?php settings_fields('wk_ga_google_analytics'); ?>
54
- <?php do_settings_sections('google_analytics'); ?>
55
- <?php submit_button(); ?>
56
- </form>
57
- </div>
58
- <div class="wk-right-part">
59
- <?php include_once(WK_GOOGLE_ANALYTICS_DIR . "/includes/mailchimp-form.php"); ?>
60
- </div>
61
- </div>
62
- <?php
63
-
64
- }
65
-
66
-
67
- /**
68
- * Registers all the settings separately
69
- *
70
- * @since 1.0
71
- * @see https://codex.wordpress.org/Function_Reference/register_setting
72
- * @see https://codex.wordpress.org/Function_Reference/add_settings_section
73
- * @see https://codex.wordpress.org/Function_Reference/add_settings_field
74
- *
75
- */
76
- function register_settings()
77
- {
78
-
79
- add_settings_section(
80
- 'google_analytics',
81
- '',
82
- array($this, 'settings_header'),
83
- 'google_analytics'
84
- );
85
-
86
- /**
87
- * @since 1.0
88
- */
89
- register_setting(
90
- 'wk_ga_google_analytics',
91
- 'ga_tracking_code'
92
- );
93
-
94
- add_settings_field(
95
- 'ga_tracking_code',
96
- __('Google Analytics Tracking ID', 'wk-google-analytics'),
97
- array($this, 'tracking_code_field'),
98
- 'google_analytics',
99
- 'google_analytics'
100
- );
101
-
102
- /**
103
- * @since 1.0
104
- */
105
- register_setting(
106
- 'wk_ga_google_analytics',
107
- 'track_logged_in'
108
- );
109
-
110
- add_settings_field(
111
- 'ga_anonymize_ip',
112
- __('IP Anonymization', 'wk-google-analytics'),
113
- array($this, 'anonymize_ip_field'),
114
- 'google_analytics',
115
- 'google_analytics'
116
- );
117
-
118
- /**
119
- * @since 1.1
120
- */
121
- register_setting(
122
- 'wk_ga_google_analytics',
123
- 'ga_anonymize_ip'
124
- );
125
-
126
- add_settings_field(
127
- 'track_logged_in',
128
- __('Track logged in users', 'wk-google-analytics'),
129
- array($this, 'track_logged_in_field'),
130
- 'google_analytics',
131
- 'google_analytics'
132
- );
133
-
134
- /**
135
- * @since 1.2
136
- */
137
- register_setting(
138
- 'wk_ga_google_analytics',
139
- 'ga_use_tag_manager'
140
- );
141
-
142
- add_settings_field(
143
- 'ga_use_tag_manager',
144
- __('Use Google Tag Manager instead', 'wk-google-analytics'),
145
- array($this, 'use_tag_manager_field'),
146
- 'google_analytics',
147
- 'google_analytics'
148
- );
149
-
150
- /**
151
- * @since 1.2
152
- */
153
- register_setting(
154
- 'wk_ga_google_analytics',
155
- 'ga_tag_manager_id'
156
- );
157
-
158
- add_settings_field(
159
- 'ga_tag_manager_id',
160
- __('Google Tag Manager ID', 'wk-google-analytics'),
161
- array($this, 'tag_manager_id_field'),
162
- 'google_analytics',
163
- 'google_analytics'
164
- );
165
- }
166
-
167
-
168
- /**
169
- * Renders the header text for the settings page
170
- *
171
- * @since 1.6.2
172
- *
173
- */
174
- function settings_header()
175
- {
176
- wp_enqueue_script('cookie-js');
177
- wp_enqueue_script('wk-ga-admin-js');
178
- ?>
179
-
180
- <p><?php _e('Enter your Google Analytics tracking ID below. Should you use Google Tag Manager to deploy Google Analytics, enter your GTM Container ID in the respective field and tick the box “Use Google Tag Manager instead”.', 'wk-google-analytics'); ?>
181
- </p>
182
-
183
- <?php
184
- }
185
-
186
- /**
187
- * Renders text input for the Google Analytics tracking code
188
- *
189
- * @since 1.6.2
190
- *
191
- */
192
- function tracking_code_field()
193
- {
194
-
195
- $field = 'ga_tracking_code';
196
- $value = esc_attr(get_option($field));
197
-
198
- ?>
199
-
200
- <input type="text" name="<?php echo $field; ?>" placeholder="UA-XXXXXXXX-X" value="<?php echo $value; ?>" />
201
-
202
- <?php
203
- }
204
-
205
- /**
206
- * Renders checkbox for the anonymize IP's option
207
- *
208
- * @since 1.6.2
209
- *
210
- */
211
- function anonymize_ip_field()
212
- {
213
-
214
- $field = 'ga_anonymize_ip';
215
- $value = get_option($field);
216
- $value = ($value !== false) ? $value : true;
217
-
218
- ?>
219
-
220
- <div class="anonymize-ip-tooltip">
221
- <input type="hidden" name="<?php echo $field; ?>" value="0">
222
- <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
223
- <span
224
- class="tooltip-text"><?php echo __('This setting is only effective if you use Google Analytics. If you use Google Tag Manager to deploy Google Analytics, you have to enable <a href="https://support.google.com/analytics/answer/2763052?hl=de" target="_blank">IP Anonymization</a> in your GTM settings.', 'wk-google-analytics'); ?></span>
225
- </div>
226
-
227
- <style>
228
- .anonymize-ip-tooltip:hover .tooltip-text {
229
- display: inline-block;
230
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
 
232
- .anonymize-ip-tooltip .tooltip-text {
233
- display: none;
234
- }
235
- </style>
236
 
237
- <?php
238
 
239
- }
240
 
241
- /**
242
- * Renders checkbox for the track logged in users option
243
- *
244
- * @since 1.6.2
245
- *
246
- */
247
- function track_logged_in_field()
248
- {
249
 
250
- $field = 'track_logged_in';
251
- $value = get_option($field);
252
 
253
- ?>
254
 
255
- <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
256
 
257
- <?php
258
 
259
- }
260
 
261
- /**
262
- * Renders checkbox for the use tag manager option
263
- *
264
- * @since 1.6.2
265
- *
266
- */
267
- function use_tag_manager_field()
268
- {
269
 
270
- $field = 'ga_use_tag_manager';
271
- $value = get_option($field);
272
 
273
- ?>
274
 
275
- <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
276
 
277
  <?php
278
 
279
- }
280
-
281
- /**
282
- * Renders text field for the Google Tag Manager ID
283
- *
284
- * @since 1.6.2
285
- *
286
- */
287
- function tag_manager_id_field()
288
- {
289
-
290
- $field = 'ga_tag_manager_id';
291
- $value = esc_attr(get_option($field));
292
-
293
- ?>
294
-
295
- <input type="text" name="<?php echo $field; ?>" placeholder="GTM-XXXXXX" value="<?php echo $value; ?>" />
296
-
297
- <?php
298
-
299
- }
300
- }
5
  class Settings
6
  {
7
 
8
+ /**
9
+ * Add an options page under 'Settings'
10
+ *
11
+ * @since 1.0
12
+ * @see https://codex.wordpress.org/Function_Reference/add_options_page
13
+ *
14
+ */
15
+ function settings_page()
16
+ {
17
+ add_options_page(
18
+ 'Google Analytics + Tag Manager by WEBKINDER',
19
+ 'Google Analytics',
20
+ 'manage_options',
21
+ 'google_analytics',
22
+ array($this, "settings_content")
23
+ );
24
+ }
25
+
26
+
27
+ /**
28
+ * Ouputs the markup for the options page
29
+ *
30
+ * @since 1.0
31
+ *
32
+ */
33
+ function settings_content()
34
+ {
35
+
36
+ if (!isset($_REQUEST['settings-updated']))
37
+ $_REQUEST['settings-updated'] = false;
38
  ?>
39
+ <div class="wrap">
40
+ <h2><?php echo esc_html(get_admin_page_title()); ?></h2>
41
+ <?php if (false !== $_REQUEST['settings-updated']) : ?>
42
+ <div class="updated fade">
43
+ <p>
44
+ <strong>
45
+ <a target="_blank" href="https://support.google.com/analytics/answer/1008083"><?php _e('Test your tracking code now!', 'wk-google-analytics'); ?></a>
46
+ </strong>
47
+ </p>
48
+ </div>
49
+ <?php endif; ?>
50
+ <div class="wk-left-part">
51
+ <form id="wk-google-analytics-settings" method="post" action="options.php">
52
+ <?php settings_fields('wk_ga_google_analytics'); ?>
53
+ <?php do_settings_sections('google_analytics'); ?>
54
+ <?php submit_button(); ?>
55
+ </form>
56
+ </div>
57
+ <div class="wk-right-part">
58
+ <?php include_once(WK_GOOGLE_ANALYTICS_DIR . "/includes/mailchimp-form.php"); ?>
59
+ </div>
60
+ </div>
61
+ <?php
62
+
63
+ }
64
+
65
+
66
+ /**
67
+ * Registers all the settings separately
68
+ *
69
+ * @since 1.0
70
+ * @see https://codex.wordpress.org/Function_Reference/register_setting
71
+ * @see https://codex.wordpress.org/Function_Reference/add_settings_section
72
+ * @see https://codex.wordpress.org/Function_Reference/add_settings_field
73
+ *
74
+ */
75
+ function register_settings()
76
+ {
77
+
78
+ add_settings_section(
79
+ 'google_analytics',
80
+ '',
81
+ array($this, 'settings_header'),
82
+ 'google_analytics'
83
+ );
84
+
85
+ /**
86
+ * @since 1.0
87
+ */
88
+ register_setting(
89
+ 'wk_ga_google_analytics',
90
+ 'ga_tracking_code'
91
+ );
92
+
93
+ add_settings_field(
94
+ 'ga_tracking_code',
95
+ __('Google Analytics Tracking ID', 'wk-google-analytics'),
96
+ array($this, 'tracking_code_field'),
97
+ 'google_analytics',
98
+ 'google_analytics'
99
+ );
100
+
101
+ /**
102
+ * @since 1.0
103
+ */
104
+ register_setting(
105
+ 'wk_ga_google_analytics',
106
+ 'track_logged_in'
107
+ );
108
+
109
+ add_settings_field(
110
+ 'ga_anonymize_ip',
111
+ __('IP Anonymization', 'wk-google-analytics'),
112
+ array($this, 'anonymize_ip_field'),
113
+ 'google_analytics',
114
+ 'google_analytics'
115
+ );
116
+
117
+ /**
118
+ * @since 1.1
119
+ */
120
+ register_setting(
121
+ 'wk_ga_google_analytics',
122
+ 'ga_anonymize_ip'
123
+ );
124
+
125
+ add_settings_field(
126
+ 'track_logged_in',
127
+ __('Track logged in users', 'wk-google-analytics'),
128
+ array($this, 'track_logged_in_field'),
129
+ 'google_analytics',
130
+ 'google_analytics'
131
+ );
132
+
133
+ /**
134
+ * @since 1.2
135
+ */
136
+ register_setting(
137
+ 'wk_ga_google_analytics',
138
+ 'ga_use_tag_manager'
139
+ );
140
+
141
+ add_settings_field(
142
+ 'ga_use_tag_manager',
143
+ __('Use Google Tag Manager instead', 'wk-google-analytics'),
144
+ array($this, 'use_tag_manager_field'),
145
+ 'google_analytics',
146
+ 'google_analytics'
147
+ );
148
+
149
+ /**
150
+ * @since 1.2
151
+ */
152
+ register_setting(
153
+ 'wk_ga_google_analytics',
154
+ 'ga_tag_manager_id'
155
+ );
156
+
157
+ add_settings_field(
158
+ 'ga_tag_manager_id',
159
+ __('Google Tag Manager ID', 'wk-google-analytics'),
160
+ array($this, 'tag_manager_id_field'),
161
+ 'google_analytics',
162
+ 'google_analytics'
163
+ );
164
+ }
165
+
166
+
167
+ /**
168
+ * Renders the header text for the settings page
169
+ *
170
+ * @since 1.6.2
171
+ *
172
+ */
173
+ function settings_header()
174
+ {
175
+ wp_enqueue_script('cookie-js');
176
+ wp_enqueue_script('wk-ga-admin-js');
177
+ ?>
178
+
179
+ <p><?php _e('Enter your Google Analytics tracking ID below. Should you use Google Tag Manager to deploy Google Analytics, enter your GTM Container ID in the respective field and tick the box “Use Google Tag Manager instead”.', 'wk-google-analytics'); ?>
180
+ </p>
181
+
182
+ <?php
183
+ }
184
+
185
+ /**
186
+ * Renders text input for the Google Analytics tracking code
187
+ *
188
+ * @since 1.6.2
189
+ *
190
+ */
191
+ function tracking_code_field()
192
+ {
193
+
194
+ $field = 'ga_tracking_code';
195
+ $value = esc_attr(get_option($field));
196
+
197
+ ?>
198
+
199
+ <input type="text" name="<?php echo $field; ?>" placeholder="UA-XXXXXXXX-X" value="<?php echo $value; ?>" />
200
+
201
+ <?php
202
+ }
203
+
204
+ /**
205
+ * Renders checkbox for the anonymize IP's option
206
+ *
207
+ * @since 1.6.2
208
+ *
209
+ */
210
+ function anonymize_ip_field()
211
+ {
212
+
213
+ $field = 'ga_anonymize_ip';
214
+ $value = get_option($field);
215
+ $value = ($value !== false) ? $value : true;
216
+
217
+ ?>
218
+
219
+ <div class="anonymize-ip-tooltip">
220
+ <input type="hidden" name="<?php echo $field; ?>" value="0">
221
+ <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
222
+ <span class="tooltip-text"><?php echo __('This setting is only effective if you use Google Analytics. If you use Google Tag Manager to deploy Google Analytics, you have to enable <a href="https://support.google.com/analytics/answer/2763052?hl=de" target="_blank">IP Anonymization</a> in your GTM settings.', 'wk-google-analytics'); ?></span>
223
+ </div>
224
+
225
+ <style>
226
+ .anonymize-ip-tooltip:hover .tooltip-text {
227
+ display: inline-block;
228
+ }
229
+
230
+ .anonymize-ip-tooltip .tooltip-text {
231
+ display: none;
232
+ }
233
+ </style>
234
+
235
+ <?php
236
+
237
+ }
238
+
239
+ /**
240
+ * Renders checkbox for the track logged in users option
241
+ *
242
+ * @since 1.6.2
243
+ *
244
+ */
245
+ function track_logged_in_field()
246
+ {
247
+
248
+ $field = 'track_logged_in';
249
+ $value = get_option($field);
250
+
251
+ ?>
252
 
253
+ <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
 
 
 
254
 
255
+ <?php
256
 
257
+ }
258
 
259
+ /**
260
+ * Renders checkbox for the use tag manager option
261
+ *
262
+ * @since 1.6.2
263
+ *
264
+ */
265
+ function use_tag_manager_field()
266
+ {
267
 
268
+ $field = 'ga_use_tag_manager';
269
+ $value = get_option($field);
270
 
271
+ ?>
272
 
273
+ <input type="checkbox" name="<?php echo $field; ?>" value="1" <?php checked($value); ?> />
274
 
275
+ <?php
276
 
277
+ }
278
 
279
+ /**
280
+ * Renders text field for the Google Tag Manager ID
281
+ *
282
+ * @since 1.6.2
283
+ *
284
+ */
285
+ function tag_manager_id_field()
286
+ {
287
 
288
+ $field = 'ga_tag_manager_id';
289
+ $value = esc_attr(get_option($field));
290
 
291
+ ?>
292
 
293
+ <input type="text" name="<?php echo $field; ?>" placeholder="GTM-XXXXXX" value="<?php echo $value; ?>" />
294
 
295
  <?php
296
 
297
+ }
298
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Google Analytics and Google Tag Manager ===
2
- Contributors: webkinder
3
  Tags: google analytics, tracking code, analytics, anonymization, anonymize, anonymizeIp, cookie, Datenschutz, ga, gaoptout, google, googleanalytics, google tag manager, gtm, Datenschutz, datenschutzkonform, script, snippet
4
  Requires at least: 4.8
5
- Tested up to: 5.5.3
6
  Requires PHP: 7.1
7
- Stable tag: 1.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -22,7 +22,7 @@ If you have any questions or feature requests, feel free to contact us via suppo
22
 
23
  == Installation ==
24
 
25
- 1. Upload the folder in the zip file to your plugins directory or install the plugin via the WordPress admin panel option ‘Add new’.
26
  1. Activate the plugin.
27
  1. Navigate to ‘Settings’ and ‘Google Analytics’ to configure the plugin and enter your Google Analytics tracking ID or your Google Tag Manager container ID.
28
  1. Check if the tracking works by following the [official Google documentation](https://support.google.com/analytics/answer/1008083?hl=en).
@@ -33,6 +33,10 @@ If you have any questions or feature requests, feel free to contact us via suppo
33
 
34
  == Changelog ==
35
 
 
 
 
 
36
  = 1.9.4 =
37
 
38
  * Fix deprecated warning "wp_get_default_privacy_policy_content" added with WordPress 5.7
1
  === Google Analytics and Google Tag Manager ===
2
+ Contributors: WEBKINDER
3
  Tags: google analytics, tracking code, analytics, anonymization, anonymize, anonymizeIp, cookie, Datenschutz, ga, gaoptout, google, googleanalytics, google tag manager, gtm, Datenschutz, datenschutzkonform, script, snippet
4
  Requires at least: 4.8
5
+ Tested up to: 5.9.3
6
  Requires PHP: 7.1
7
+ Stable tag: 1.9.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
22
 
23
  == Installation ==
24
 
25
+ 1. Upload the folder in the zip file to your plugins directory or install the plugin via the WordPress admin panel option ‘Add new’.
26
  1. Activate the plugin.
27
  1. Navigate to ‘Settings’ and ‘Google Analytics’ to configure the plugin and enter your Google Analytics tracking ID or your Google Tag Manager container ID.
28
  1. Check if the tracking works by following the [official Google documentation](https://support.google.com/analytics/answer/1008083?hl=en).
33
 
34
  == Changelog ==
35
 
36
+ = 1.9.6 =
37
+
38
+ * Changed wording and updated plugin icon and banner
39
+
40
  = 1.9.4 =
41
 
42
  * Fix deprecated warning "wp_get_default_privacy_policy_content" added with WordPress 5.7
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitdf089b52a6318a69012dfd2fef703337::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitfae812c18d069e74ae2b6c1fce96e687::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitdf089b52a6318a69012dfd2fef703337
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitdf089b52a6318a69012dfd2fef703337
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitdf089b52a6318a69012dfd2fef703337', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitdf089b52a6318a69012dfd2fef703337', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitdf089b52a6318a69012dfd2fef703337::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitfae812c18d069e74ae2b6c1fce96e687
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitfae812c18d069e74ae2b6c1fce96e687', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitfae812c18d069e74ae2b6c1fce96e687', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitfae812c18d069e74ae2b6c1fce96e687::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitdf089b52a6318a69012dfd2fef703337
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
@@ -110,9 +110,9 @@ class ComposerStaticInitdf089b52a6318a69012dfd2fef703337
110
  public static function getInitializer(ClassLoader $loader)
111
  {
112
  return \Closure::bind(function () use ($loader) {
113
- $loader->prefixLengthsPsr4 = ComposerStaticInitdf089b52a6318a69012dfd2fef703337::$prefixLengthsPsr4;
114
- $loader->prefixDirsPsr4 = ComposerStaticInitdf089b52a6318a69012dfd2fef703337::$prefixDirsPsr4;
115
- $loader->classMap = ComposerStaticInitdf089b52a6318a69012dfd2fef703337::$classMap;
116
 
117
  }, null, ClassLoader::class);
118
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitfae812c18d069e74ae2b6c1fce96e687
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
110
  public static function getInitializer(ClassLoader $loader)
111
  {
112
  return \Closure::bind(function () use ($loader) {
113
+ $loader->prefixLengthsPsr4 = ComposerStaticInitfae812c18d069e74ae2b6c1fce96e687::$prefixLengthsPsr4;
114
+ $loader->prefixDirsPsr4 = ComposerStaticInitfae812c18d069e74ae2b6c1fce96e687::$prefixDirsPsr4;
115
+ $loader->classMap = ComposerStaticInitfae812c18d069e74ae2b6c1fce96e687::$classMap;
116
 
117
  }, null, ClassLoader::class);
118
  }
wk-ga.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
 
3
  /**
4
- * Plugin Name: Google Analytics and Google Tag Manager by WebKinder
5
  * Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
6
  * Description: Deploy Google Analytics on your website without having to edit code and without tracking your own visits. You can exclude any logged in user from this and enable tracking solely for them.
7
- * Version: 1.9.4
8
- * Author: WebKinder
9
  * Author URI: https://www.webkinder.ch
10
  * License: GPL2
11
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -21,4 +21,4 @@ if (file_exists($autoload)) {
21
  require_once($autoload);
22
  }
23
 
24
- WebKinder\GoogleAnalytics\PluginFactory::create()->run();
1
  <?php
2
 
3
  /**
4
+ * Plugin Name: Google Analytics and Google Tag Manager by WEBKINDER
5
  * Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
6
  * Description: Deploy Google Analytics on your website without having to edit code and without tracking your own visits. You can exclude any logged in user from this and enable tracking solely for them.
7
+ * Version: 1.9.6
8
+ * Author: WEBKINDER
9
  * Author URI: https://www.webkinder.ch
10
  * License: GPL2
11
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  require_once($autoload);
22
  }
23
 
24
+ WebKinder\GoogleAnalytics\PluginFactory::create()->run();