Version Description
- Updated wording
- NoScript is now using wp_body_open action added with 5.2 if already supported
Download this release
Release Info
Developer | webkinder |
Plugin | Google Analytics |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- includes/mailchimp-form.php +40 -28
- js/admin-functions.js +86 -58
- languages/wk-google-analytics-de_CH.mo +0 -0
- languages/wk-google-analytics-de_CH.po +67 -47
- languages/wk-google-analytics-de_DE.mo +0 -0
- languages/wk-google-analytics-de_DE.po +67 -47
- languages/wk-google-analytics-de_DE_formal.mo +0 -0
- languages/wk-google-analytics-de_DE_formal.po +68 -53
- languages/wk-google-analytics.pot +45 -31
- lib/Loader.php +60 -61
- lib/OptOutButton.php +0 -14
- lib/Plugin.php +11 -7
- lib/Settings.php +92 -81
- readme.txt +14 -9
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +0 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -5
- wk-ga.php +4 -3
includes/mailchimp-form.php
CHANGED
@@ -6,32 +6,44 @@
|
|
6 |
?>
|
7 |
<!-- Begin MailChimp Signup Form -->
|
8 |
<div id="mc_embed_signup">
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
</div>
|
37 |
-
<!--End mc_embed_signup-->
|
6 |
?>
|
7 |
<!-- Begin MailChimp Signup Form -->
|
8 |
<div id="mc_embed_signup">
|
9 |
+
<form action="//webkinder.us12.list-manage.com/subscribe/post?u=979fe90d29c9ca9e25d5acc4b&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-->
|
js/admin-functions.js
CHANGED
@@ -3,67 +3,95 @@
|
|
3 |
* Admin JS Functions
|
4 |
*/
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
jQuery('.use-google-tag-manager').children('input').prop('readonly', true);
|
44 |
-
break;
|
45 |
-
}
|
46 |
-
}
|
47 |
-
},
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
},
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
|
67 |
-
|
68 |
|
69 |
-
|
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>
|
23 |
+
<div id="wk-ga-opt-out">
|
24 |
+
<input type="hidden" name="wk-ga-opt-out" value="0">
|
25 |
+
<input class="${this.checkboxClass}" type="checkbox" name="wk-ga-opt-out">
|
26 |
+
<span class="tooltip-text">${this.TrackHint}</span>
|
27 |
+
</div>
|
28 |
+
<style>
|
29 |
+
#wk-ga-opt-out:hover .tooltip-text {
|
30 |
+
display: inline-block;
|
31 |
+
}
|
32 |
+
|
33 |
+
#wk-ga-opt-out .tooltip-text {
|
34 |
+
display: none;
|
35 |
+
}
|
36 |
+
</style>
|
37 |
+
</td>
|
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 |
+
});
|
languages/wk-google-analytics-de_CH.mo
CHANGED
Binary file
|
languages/wk-google-analytics-de_CH.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics by WebKinder\n"
|
4 |
-
"POT-Creation-Date: 2020-
|
5 |
-
"PO-Revision-Date: 2020-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Deutsch (Schweiz)\n"
|
8 |
"Language: de_CH\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
-
"X-Loco-Version: 2.4.3; wp-5.5.
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
@@ -143,84 +143,107 @@ msgstr ""
|
|
143 |
msgid "Opt-out for Google Analytics"
|
144 |
msgstr "Opt-out für Google Analytics"
|
145 |
|
146 |
-
#: includes/mailchimp-form.php:
|
147 |
-
msgid "Stay
|
148 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
149 |
|
150 |
-
#: includes/mailchimp-form.php:
|
151 |
-
msgid "Email Address"
|
152 |
-
|
|
|
153 |
|
154 |
-
#: includes/mailchimp-form.php:
|
155 |
-
msgid "First Name"
|
|
|
156 |
msgstr "Vorname"
|
157 |
|
158 |
-
#: includes/mailchimp-form.php:
|
159 |
-
msgid "Last Name"
|
|
|
160 |
msgstr "Nachname"
|
161 |
|
162 |
-
#: includes/mailchimp-form.php:
|
163 |
-
#, fuzzy
|
164 |
msgid "Permission"
|
165 |
-
msgstr "
|
166 |
|
167 |
-
#: includes/mailchimp-form.php:
|
168 |
msgid ""
|
169 |
-
"I agree
|
170 |
-
"
|
171 |
msgstr ""
|
172 |
-
"Ich
|
173 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
174 |
|
175 |
-
#: includes/mailchimp-form.php:
|
176 |
msgid "Subscribe"
|
177 |
msgstr "Abonnieren"
|
178 |
|
179 |
#: lib/Loader.php:155
|
180 |
-
msgid "Do not track any visits from this device."
|
|
|
181 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
182 |
|
183 |
-
#: lib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
msgid "Donate to this plugin"
|
185 |
msgstr "Spenden um das Plugin zu unterstützen."
|
186 |
|
187 |
-
#: lib/Settings.php:
|
188 |
msgid "Test your tracking code now!"
|
189 |
msgstr "Teste deinen Tracking Code jetzt!"
|
190 |
|
191 |
-
#: lib/Settings.php:
|
192 |
-
msgid "
|
|
|
|
|
|
|
|
|
193 |
msgstr "IP Anonymisierung"
|
194 |
|
195 |
-
#: lib/Settings.php:
|
196 |
msgid "Track logged in users"
|
197 |
msgstr "Eingeloggte Benutzer tracken"
|
198 |
|
199 |
-
#: lib/Settings.php:
|
200 |
msgid "Use Google Tag Manager instead"
|
201 |
msgstr "Google Tag Manager verwenden"
|
202 |
|
203 |
-
#: lib/Settings.php:
|
204 |
msgid "Google Tag Manager ID"
|
205 |
msgstr "Google Tag Manager ID"
|
206 |
|
207 |
-
#: lib/Settings.php:
|
208 |
msgid ""
|
209 |
-
"Enter your Google Analytics tracking
|
210 |
-
"Manager
|
|
|
211 |
msgstr ""
|
212 |
-
"
|
213 |
-
"
|
214 |
-
"
|
|
|
|
|
215 |
|
216 |
-
#: lib/Settings.php:
|
217 |
msgid ""
|
218 |
-
"This setting is only
|
219 |
-
"
|
|
|
|
|
220 |
msgstr ""
|
221 |
-
"Diese Einstellung gilt nur für Google Analytics. Falls Google Tag
|
222 |
-
"
|
223 |
-
"
|
|
|
224 |
|
225 |
#. Name of the plugin
|
226 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
@@ -228,13 +251,10 @@ msgstr "Google Analytics und Google Tag Manager by WebKinder"
|
|
228 |
|
229 |
#. Description of the plugin
|
230 |
msgid ""
|
231 |
-
"
|
232 |
-
"can exclude any logged in user
|
233 |
-
"
|
234 |
-
msgstr ""
|
235 |
-
"Aktiviere Google Analytics auf allen Seiten, ohne deine eigenen Besuche zu "
|
236 |
-
"verfolgen. Du kannst jeden eingeloggten Nutzer ausschliessen sowie ein Gerät "
|
237 |
-
"vollständig ignorieren, indem du ein Cookie setzt."
|
238 |
|
239 |
#. URI of the plugin
|
240 |
msgid "https://wordpress.org/plugins/wk-google-analytics/"
|
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"
|
7 |
"Language-Team: Deutsch (Schweiz)\n"
|
8 |
"Language: de_CH\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
+
"X-Loco-Version: 2.4.3; wp-5.5.3"
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
143 |
msgid "Opt-out for Google Analytics"
|
144 |
msgstr "Opt-out für Google Analytics"
|
145 |
|
146 |
+
#: includes/mailchimp-form.php:13
|
147 |
+
msgid "Stay informed about any changes to this plugin"
|
148 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
149 |
|
150 |
+
#: includes/mailchimp-form.php:15
|
151 |
+
#| msgid "Email Address"
|
152 |
+
msgid "Email address"
|
153 |
+
msgstr "E-Mail-Adresse"
|
154 |
|
155 |
+
#: includes/mailchimp-form.php:20
|
156 |
+
#| msgid "First Name"
|
157 |
+
msgid "First name"
|
158 |
msgstr "Vorname"
|
159 |
|
160 |
+
#: includes/mailchimp-form.php:25
|
161 |
+
#| msgid "Last Name"
|
162 |
+
msgid "Last name"
|
163 |
msgstr "Nachname"
|
164 |
|
165 |
+
#: includes/mailchimp-form.php:30
|
|
|
166 |
msgid "Permission"
|
167 |
+
msgstr "Erlaubnis"
|
168 |
|
169 |
+
#: includes/mailchimp-form.php:32
|
170 |
msgid ""
|
171 |
+
"I agree that my personal data will be stored and used to send plugin updates "
|
172 |
+
"to my email address."
|
173 |
msgstr ""
|
174 |
+
"Ich bin damit einverstanden, dass personenbezogene Daten gespeichert, zur "
|
175 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
176 |
|
177 |
+
#: includes/mailchimp-form.php:43
|
178 |
msgid "Subscribe"
|
179 |
msgstr "Abonnieren"
|
180 |
|
181 |
#: lib/Loader.php:155
|
182 |
+
#| msgid "Do not track any visits from this device."
|
183 |
+
msgid "Do not track any visits from this device"
|
184 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
185 |
|
186 |
+
#: lib/Loader.php:156
|
187 |
+
msgid ""
|
188 |
+
"As long as you do not activate this option while you are using the incognito "
|
189 |
+
"mode of your browser, a cookie will be stored on your device. This cookie "
|
190 |
+
"will have to be renewed after one year."
|
191 |
+
msgstr ""
|
192 |
+
"Solange du diese Option nicht im Inkognito Modus deines Browsers aktivierst, "
|
193 |
+
"wird ein Cookie auf deinem Gerät gesetzt. Dieses Cookie muss in einem Jahr "
|
194 |
+
"neu gesetzt werden."
|
195 |
+
|
196 |
+
#: lib/Plugin.php:71
|
197 |
msgid "Donate to this plugin"
|
198 |
msgstr "Spenden um das Plugin zu unterstützen."
|
199 |
|
200 |
+
#: lib/Settings.php:46
|
201 |
msgid "Test your tracking code now!"
|
202 |
msgstr "Teste deinen Tracking Code jetzt!"
|
203 |
|
204 |
+
#: lib/Settings.php:96
|
205 |
+
msgid "Google Analytics Tracking ID"
|
206 |
+
msgstr "Google Analytics Tracking ID"
|
207 |
+
|
208 |
+
#: lib/Settings.php:112
|
209 |
+
msgid "IP Anonymization"
|
210 |
msgstr "IP Anonymisierung"
|
211 |
|
212 |
+
#: lib/Settings.php:128
|
213 |
msgid "Track logged in users"
|
214 |
msgstr "Eingeloggte Benutzer tracken"
|
215 |
|
216 |
+
#: lib/Settings.php:144
|
217 |
msgid "Use Google Tag Manager instead"
|
218 |
msgstr "Google Tag Manager verwenden"
|
219 |
|
220 |
+
#: lib/Settings.php:160
|
221 |
msgid "Google Tag Manager ID"
|
222 |
msgstr "Google Tag Manager ID"
|
223 |
|
224 |
+
#: lib/Settings.php:180
|
225 |
msgid ""
|
226 |
+
"Enter your Google Analytics tracking ID below. Should you use Google Tag "
|
227 |
+
"Manager to deploy Google Analytics, enter your GTM Container ID in the "
|
228 |
+
"respective field and tick the box “Use Google Tag Manager instead”."
|
229 |
msgstr ""
|
230 |
+
"Benutzt du Google Analytics, dann gib deine Google Analytics Tracking ID im "
|
231 |
+
"gleichnamigen Feld ein. Analytics IDs haben das Format UA-XXXXXXXX-XX. Falls "
|
232 |
+
"du Analytics via Google Tag Manager einbindest, kannst du deine Google Tag "
|
233 |
+
"Manager ID im gleichnamigen Feld eingeben und ein Häkchen beim Feld “Google "
|
234 |
+
"Tag Manager verwenden setzen”."
|
235 |
|
236 |
+
#: lib/Settings.php:224
|
237 |
msgid ""
|
238 |
+
"This setting is only effective if you use Google Analytics. If you use "
|
239 |
+
"Google Tag Manager to deploy Google Analytics, you have to enable <a "
|
240 |
+
"href=\"https://support.google.com/analytics/answer/2763052?hl=de\" "
|
241 |
+
"target=\"_blank\">IP Anonymization</a> in your GTM settings."
|
242 |
msgstr ""
|
243 |
+
"Diese Einstellung gilt nur für Google Analytics. Falls der Google Tag "
|
244 |
+
"Manager benutzt wird, muss die <a href=\"https://support.google."
|
245 |
+
"com/analytics/answer/2763052?hl=de\" target=\"_blank\">IP-Anonymisierung</a> "
|
246 |
+
"im Google Tag Manager Konto gesetzt werden."
|
247 |
|
248 |
#. Name of the plugin
|
249 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
251 |
|
252 |
#. Description of the plugin
|
253 |
msgid ""
|
254 |
+
"Deploy Google Analytics on your website without having to edit code and "
|
255 |
+
"without tracking your own visits. You can exclude any logged in user from "
|
256 |
+
"this and enable tracking solely for them."
|
257 |
+
msgstr "Google Analytics für WordPress, ohne die eigenen Besuche zu tracken."
|
|
|
|
|
|
|
258 |
|
259 |
#. URI of the plugin
|
260 |
msgid "https://wordpress.org/plugins/wk-google-analytics/"
|
languages/wk-google-analytics-de_DE.mo
CHANGED
Binary file
|
languages/wk-google-analytics-de_DE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics by WebKinder\n"
|
4 |
-
"POT-Creation-Date: 2020-
|
5 |
-
"PO-Revision-Date: 2020-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Deutsch\n"
|
8 |
"Language: de_DE\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
-
"X-Loco-Version: 2.4.3; wp-5.5.
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
@@ -143,84 +143,107 @@ msgstr ""
|
|
143 |
msgid "Opt-out for Google Analytics"
|
144 |
msgstr "Opt-out für Google Analytics"
|
145 |
|
146 |
-
#: includes/mailchimp-form.php:
|
147 |
-
msgid "Stay
|
148 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
149 |
|
150 |
-
#: includes/mailchimp-form.php:
|
151 |
-
msgid "Email Address"
|
152 |
-
|
|
|
153 |
|
154 |
-
#: includes/mailchimp-form.php:
|
155 |
-
msgid "First Name"
|
|
|
156 |
msgstr "Vorname"
|
157 |
|
158 |
-
#: includes/mailchimp-form.php:
|
159 |
-
msgid "Last Name"
|
|
|
160 |
msgstr "Nachname"
|
161 |
|
162 |
-
#: includes/mailchimp-form.php:
|
163 |
-
#, fuzzy
|
164 |
msgid "Permission"
|
165 |
-
msgstr "
|
166 |
|
167 |
-
#: includes/mailchimp-form.php:
|
168 |
msgid ""
|
169 |
-
"I agree
|
170 |
-
"
|
171 |
msgstr ""
|
172 |
-
"Ich
|
173 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
174 |
|
175 |
-
#: includes/mailchimp-form.php:
|
176 |
msgid "Subscribe"
|
177 |
msgstr "Abonnieren"
|
178 |
|
179 |
#: lib/Loader.php:155
|
180 |
-
msgid "Do not track any visits from this device."
|
|
|
181 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
182 |
|
183 |
-
#: lib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
msgid "Donate to this plugin"
|
185 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
186 |
|
187 |
-
#: lib/Settings.php:
|
188 |
msgid "Test your tracking code now!"
|
189 |
msgstr "Teste deinen Tracking Code jetzt!"
|
190 |
|
191 |
-
#: lib/Settings.php:
|
192 |
-
msgid "
|
|
|
|
|
|
|
|
|
193 |
msgstr "IP Anonymisierung"
|
194 |
|
195 |
-
#: lib/Settings.php:
|
196 |
msgid "Track logged in users"
|
197 |
msgstr "Eingeloggte Benutzer tracken"
|
198 |
|
199 |
-
#: lib/Settings.php:
|
200 |
msgid "Use Google Tag Manager instead"
|
201 |
msgstr "Google Tag Manager verwenden"
|
202 |
|
203 |
-
#: lib/Settings.php:
|
204 |
msgid "Google Tag Manager ID"
|
205 |
msgstr "Google Tag Manager ID"
|
206 |
|
207 |
-
#: lib/Settings.php:
|
208 |
msgid ""
|
209 |
-
"Enter your Google Analytics tracking
|
210 |
-
"Manager
|
|
|
211 |
msgstr ""
|
212 |
-
"
|
213 |
-
"
|
214 |
-
"
|
|
|
|
|
215 |
|
216 |
-
#: lib/Settings.php:
|
217 |
msgid ""
|
218 |
-
"This setting is only
|
219 |
-
"
|
|
|
|
|
220 |
msgstr ""
|
221 |
-
"Diese Einstellung gilt nur für Google Analytics. Falls Google Tag
|
222 |
-
"
|
223 |
-
"
|
|
|
224 |
|
225 |
#. Name of the plugin
|
226 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
@@ -228,13 +251,10 @@ msgstr "Google Analytics und Google Tag Manager by WebKinder"
|
|
228 |
|
229 |
#. Description of the plugin
|
230 |
msgid ""
|
231 |
-
"
|
232 |
-
"can exclude any logged in user
|
233 |
-
"
|
234 |
-
msgstr ""
|
235 |
-
"Aktiviere Google Analytics auf allen Seiten, ohne deine eigenen Besuche zu "
|
236 |
-
"verfolgen. Du kannst jeden eingeloggten Nutzer ausschließen sowie ein Gerät "
|
237 |
-
"vollständig ignorieren, indem du ein Cookie setzt."
|
238 |
|
239 |
#. URI of the plugin
|
240 |
msgid "https://wordpress.org/plugins/wk-google-analytics/"
|
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"
|
7 |
"Language-Team: Deutsch\n"
|
8 |
"Language: de_DE\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
+
"X-Loco-Version: 2.4.3; wp-5.5.3"
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
143 |
msgid "Opt-out for Google Analytics"
|
144 |
msgstr "Opt-out für Google Analytics"
|
145 |
|
146 |
+
#: includes/mailchimp-form.php:13
|
147 |
+
msgid "Stay informed about any changes to this plugin"
|
148 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
149 |
|
150 |
+
#: includes/mailchimp-form.php:15
|
151 |
+
#| msgid "Email Address"
|
152 |
+
msgid "Email address"
|
153 |
+
msgstr "E-Mail-Adresse"
|
154 |
|
155 |
+
#: includes/mailchimp-form.php:20
|
156 |
+
#| msgid "First Name"
|
157 |
+
msgid "First name"
|
158 |
msgstr "Vorname"
|
159 |
|
160 |
+
#: includes/mailchimp-form.php:25
|
161 |
+
#| msgid "Last Name"
|
162 |
+
msgid "Last name"
|
163 |
msgstr "Nachname"
|
164 |
|
165 |
+
#: includes/mailchimp-form.php:30
|
|
|
166 |
msgid "Permission"
|
167 |
+
msgstr "Erlaubnis"
|
168 |
|
169 |
+
#: includes/mailchimp-form.php:32
|
170 |
msgid ""
|
171 |
+
"I agree that my personal data will be stored and used to send plugin updates "
|
172 |
+
"to my email address."
|
173 |
msgstr ""
|
174 |
+
"Ich bin damit einverstanden, dass personenbezogene Daten gespeichert, zur "
|
175 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
176 |
|
177 |
+
#: includes/mailchimp-form.php:43
|
178 |
msgid "Subscribe"
|
179 |
msgstr "Abonnieren"
|
180 |
|
181 |
#: lib/Loader.php:155
|
182 |
+
#| msgid "Do not track any visits from this device."
|
183 |
+
msgid "Do not track any visits from this device"
|
184 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
185 |
|
186 |
+
#: lib/Loader.php:156
|
187 |
+
msgid ""
|
188 |
+
"As long as you do not activate this option while you are using the incognito "
|
189 |
+
"mode of your browser, a cookie will be stored on your device. This cookie "
|
190 |
+
"will have to be renewed after one year."
|
191 |
+
msgstr ""
|
192 |
+
"Solange du diese Option nicht im Inkognito Modus deines Browsers aktivierst, "
|
193 |
+
"wird ein Cookie auf deinem Gerät gesetzt. Dieses Cookie muss in einem Jahr "
|
194 |
+
"neu gesetzt werden."
|
195 |
+
|
196 |
+
#: lib/Plugin.php:71
|
197 |
msgid "Donate to this plugin"
|
198 |
msgstr "Erfahre das Wichtigste über jedes Update"
|
199 |
|
200 |
+
#: lib/Settings.php:46
|
201 |
msgid "Test your tracking code now!"
|
202 |
msgstr "Teste deinen Tracking Code jetzt!"
|
203 |
|
204 |
+
#: lib/Settings.php:96
|
205 |
+
msgid "Google Analytics Tracking ID"
|
206 |
+
msgstr "Google Analytics Tracking ID"
|
207 |
+
|
208 |
+
#: lib/Settings.php:112
|
209 |
+
msgid "IP Anonymization"
|
210 |
msgstr "IP Anonymisierung"
|
211 |
|
212 |
+
#: lib/Settings.php:128
|
213 |
msgid "Track logged in users"
|
214 |
msgstr "Eingeloggte Benutzer tracken"
|
215 |
|
216 |
+
#: lib/Settings.php:144
|
217 |
msgid "Use Google Tag Manager instead"
|
218 |
msgstr "Google Tag Manager verwenden"
|
219 |
|
220 |
+
#: lib/Settings.php:160
|
221 |
msgid "Google Tag Manager ID"
|
222 |
msgstr "Google Tag Manager ID"
|
223 |
|
224 |
+
#: lib/Settings.php:180
|
225 |
msgid ""
|
226 |
+
"Enter your Google Analytics tracking ID below. Should you use Google Tag "
|
227 |
+
"Manager to deploy Google Analytics, enter your GTM Container ID in the "
|
228 |
+
"respective field and tick the box “Use Google Tag Manager instead”."
|
229 |
msgstr ""
|
230 |
+
"Benutzt du Google Analytics, dann gib deine Google Analytics Tracking ID im "
|
231 |
+
"gleichnamigen Feld ein. Analytics IDs haben das Format UA-XXXXXXXX-XX. Falls "
|
232 |
+
"du Analytics via Google Tag Manager einbindest, kannst du deine Google Tag "
|
233 |
+
"Manager ID im gleichnamigen Feld eingeben und ein Häkchen beim Feld “Google "
|
234 |
+
"Tag Manager verwenden setzen”."
|
235 |
|
236 |
+
#: lib/Settings.php:224
|
237 |
msgid ""
|
238 |
+
"This setting is only effective if you use Google Analytics. If you use "
|
239 |
+
"Google Tag Manager to deploy Google Analytics, you have to enable <a "
|
240 |
+
"href=\"https://support.google.com/analytics/answer/2763052?hl=de\" "
|
241 |
+
"target=\"_blank\">IP Anonymization</a> in your GTM settings."
|
242 |
msgstr ""
|
243 |
+
"Diese Einstellung gilt nur für Google Analytics. Falls der Google Tag "
|
244 |
+
"Manager benutzt wird, muss die <a href=\"https://support.google."
|
245 |
+
"com/analytics/answer/2763052?hl=de\" target=\"_blank\">IP-Anonymisierung</a> "
|
246 |
+
"im Google Tag Manager Konto gesetzt werden."
|
247 |
|
248 |
#. Name of the plugin
|
249 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
251 |
|
252 |
#. Description of the plugin
|
253 |
msgid ""
|
254 |
+
"Deploy Google Analytics on your website without having to edit code and "
|
255 |
+
"without tracking your own visits. You can exclude any logged in user from "
|
256 |
+
"this and enable tracking solely for them."
|
257 |
+
msgstr "Google Analytics für WordPress, ohne die eigenen Besuche zu tracken."
|
|
|
|
|
|
|
258 |
|
259 |
#. URI of the plugin
|
260 |
msgid "https://wordpress.org/plugins/wk-google-analytics/"
|
languages/wk-google-analytics-de_DE_formal.mo
CHANGED
Binary file
|
languages/wk-google-analytics-de_DE_formal.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics by WebKinder\n"
|
4 |
-
"POT-Creation-Date: 2020-
|
5 |
-
"PO-Revision-Date: 2020-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Deutsch (Sie)\n"
|
8 |
"Language: de_DE_formal\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
-
"X-Loco-Version: 2.4.3; wp-5.5.
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
@@ -127,7 +127,6 @@ msgstr ""
|
|
127 |
"Google verwendet, um Ihnen Werbung einzublenden“)."
|
128 |
|
129 |
#: content/privacy_policy.php:9
|
130 |
-
#, fuzzy
|
131 |
msgid ""
|
132 |
"Incidentally, the personal data will be anonymized or deleted after a lapse "
|
133 |
"of 26 months."
|
@@ -139,84 +138,103 @@ msgstr ""
|
|
139 |
msgid "Opt-out for Google Analytics"
|
140 |
msgstr "Opt-out für Google Analytics"
|
141 |
|
142 |
-
#: includes/mailchimp-form.php:11
|
143 |
-
msgid "Stay updated on this plugin"
|
144 |
-
msgstr "Erfahre das Wichtigste über jedes Update"
|
145 |
-
|
146 |
#: includes/mailchimp-form.php:13
|
147 |
-
msgid "
|
148 |
-
msgstr "
|
149 |
|
150 |
-
#: includes/mailchimp-form.php:
|
151 |
-
msgid "
|
152 |
-
msgstr "
|
153 |
|
154 |
-
#: includes/mailchimp-form.php:
|
155 |
-
msgid "
|
156 |
-
msgstr "
|
157 |
|
158 |
#: includes/mailchimp-form.php:25
|
159 |
-
|
|
|
|
|
|
|
160 |
msgid "Permission"
|
161 |
-
msgstr "
|
162 |
|
163 |
-
#: includes/mailchimp-form.php:
|
164 |
msgid ""
|
165 |
-
"I agree
|
166 |
-
"
|
167 |
msgstr ""
|
168 |
-
"Ich
|
169 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
170 |
|
171 |
-
#: includes/mailchimp-form.php:
|
172 |
msgid "Subscribe"
|
173 |
msgstr "Abonnieren"
|
174 |
|
175 |
#: lib/Loader.php:155
|
176 |
-
msgid "Do not track any visits from this device
|
177 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
178 |
|
179 |
-
#: lib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
msgid "Donate to this plugin"
|
181 |
msgstr "Spenden um das Plugin zu unterstützen"
|
182 |
|
183 |
-
#: lib/Settings.php:
|
184 |
msgid "Test your tracking code now!"
|
185 |
msgstr "Testen Sie Ihren Tracking Code jetzt!"
|
186 |
|
187 |
-
#: lib/Settings.php:
|
188 |
-
msgid "
|
|
|
|
|
|
|
|
|
189 |
msgstr "IP Anonymisierung"
|
190 |
|
191 |
-
#: lib/Settings.php:
|
192 |
msgid "Track logged in users"
|
193 |
msgstr "Eingeloggte Benutzer tracken"
|
194 |
|
195 |
-
#: lib/Settings.php:
|
196 |
msgid "Use Google Tag Manager instead"
|
197 |
msgstr "Google Tag Manager verwenden"
|
198 |
|
199 |
-
#: lib/Settings.php:
|
200 |
msgid "Google Tag Manager ID"
|
201 |
msgstr "Google Tag Manager ID"
|
202 |
|
203 |
-
#: lib/Settings.php:
|
204 |
msgid ""
|
205 |
-
"Enter your Google Analytics tracking
|
206 |
-
"Manager
|
|
|
207 |
msgstr ""
|
208 |
-
"
|
209 |
-
"
|
210 |
-
"
|
|
|
|
|
211 |
|
212 |
-
#: lib/Settings.php:
|
213 |
msgid ""
|
214 |
-
"This setting is only
|
215 |
-
"
|
|
|
|
|
216 |
msgstr ""
|
217 |
-
"Diese Einstellung gilt nur für Google Analytics. Falls Google Tag
|
218 |
-
"
|
219 |
-
"
|
|
|
220 |
|
221 |
#. Name of the plugin
|
222 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
@@ -224,22 +242,19 @@ msgstr "Google Analytics und Google Tag Manager by WebKinder"
|
|
224 |
|
225 |
#. Description of the plugin
|
226 |
msgid ""
|
227 |
-
"
|
228 |
-
"can exclude any logged in user
|
229 |
-
"
|
230 |
-
msgstr ""
|
231 |
-
"Aktivieren Sie Google Analytics auf allen Seiten, ohne Ihre eigenen Besuche "
|
232 |
-
"zu verfolgen. Sie können jeden eingeloggten Nutzer ausschließen sowie ein "
|
233 |
-
"Gerät vollständig ignorieren, indem Sie ein Cookie setzen."
|
234 |
|
235 |
#. URI of the plugin
|
236 |
msgid "https://wordpress.org/plugins/wk-google-analytics/"
|
237 |
-
msgstr ""
|
238 |
|
239 |
#. Author of the plugin
|
240 |
msgid "WebKinder"
|
241 |
-
msgstr ""
|
242 |
|
243 |
#. Author URI of the plugin
|
244 |
msgid "https://www.webkinder.ch"
|
245 |
-
msgstr ""
|
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"
|
7 |
"Language-Team: Deutsch (Sie)\n"
|
8 |
"Language: de_DE_formal\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
"Report-Msgid-Bugs-To: \n"
|
24 |
+
"X-Loco-Version: 2.4.3; wp-5.5.3"
|
25 |
|
26 |
#: content/privacy_policy.php:1
|
27 |
msgid "Google Analytics"
|
127 |
"Google verwendet, um Ihnen Werbung einzublenden“)."
|
128 |
|
129 |
#: content/privacy_policy.php:9
|
|
|
130 |
msgid ""
|
131 |
"Incidentally, the personal data will be anonymized or deleted after a lapse "
|
132 |
"of 26 months."
|
138 |
msgid "Opt-out for Google Analytics"
|
139 |
msgstr "Opt-out für Google Analytics"
|
140 |
|
|
|
|
|
|
|
|
|
141 |
#: includes/mailchimp-form.php:13
|
142 |
+
msgid "Stay informed about any changes to this plugin"
|
143 |
+
msgstr "Erfahren Sie das Wichtigste über jedes Update"
|
144 |
|
145 |
+
#: includes/mailchimp-form.php:15
|
146 |
+
msgid "Email address"
|
147 |
+
msgstr "E-Mail-Adresse"
|
148 |
|
149 |
+
#: includes/mailchimp-form.php:20
|
150 |
+
msgid "First name"
|
151 |
+
msgstr "Vorname"
|
152 |
|
153 |
#: includes/mailchimp-form.php:25
|
154 |
+
msgid "Last name"
|
155 |
+
msgstr "Nachname"
|
156 |
+
|
157 |
+
#: includes/mailchimp-form.php:30
|
158 |
msgid "Permission"
|
159 |
+
msgstr "Erlaubnis"
|
160 |
|
161 |
+
#: includes/mailchimp-form.php:32
|
162 |
msgid ""
|
163 |
+
"I agree that my personal data will be stored and used to send plugin updates "
|
164 |
+
"to my email address."
|
165 |
msgstr ""
|
166 |
+
"Ich bin damit einverstanden, dass personenbezogene Daten gespeichert, zur "
|
167 |
"Distribution sowie für den Versand von Plugin-Neuigkeiten genutzt werden."
|
168 |
|
169 |
+
#: includes/mailchimp-form.php:43
|
170 |
msgid "Subscribe"
|
171 |
msgstr "Abonnieren"
|
172 |
|
173 |
#: lib/Loader.php:155
|
174 |
+
msgid "Do not track any visits from this device"
|
175 |
msgstr "Keine Besuche von diesem Gerät tracken."
|
176 |
|
177 |
+
#: lib/Loader.php:156
|
178 |
+
msgid ""
|
179 |
+
"As long as you do not activate this option while you are using the incognito "
|
180 |
+
"mode of your browser, a cookie will be stored on your device. This cookie "
|
181 |
+
"will have to be renewed after one year."
|
182 |
+
msgstr ""
|
183 |
+
"Solange Sie diese Option nicht im Inkognito Modus Ihres Browsers aktivieren, "
|
184 |
+
"wird ein Cookie auf Ihrem Gerät gesetzt. Dieses Cookie muss in einem Jahr "
|
185 |
+
"neu gesetzt werden."
|
186 |
+
|
187 |
+
#: lib/Plugin.php:71
|
188 |
msgid "Donate to this plugin"
|
189 |
msgstr "Spenden um das Plugin zu unterstützen"
|
190 |
|
191 |
+
#: lib/Settings.php:46
|
192 |
msgid "Test your tracking code now!"
|
193 |
msgstr "Testen Sie Ihren Tracking Code jetzt!"
|
194 |
|
195 |
+
#: lib/Settings.php:96
|
196 |
+
msgid "Google Analytics Tracking ID"
|
197 |
+
msgstr "Google Analytics Tracking ID"
|
198 |
+
|
199 |
+
#: lib/Settings.php:112
|
200 |
+
msgid "IP Anonymization"
|
201 |
msgstr "IP Anonymisierung"
|
202 |
|
203 |
+
#: lib/Settings.php:128
|
204 |
msgid "Track logged in users"
|
205 |
msgstr "Eingeloggte Benutzer tracken"
|
206 |
|
207 |
+
#: lib/Settings.php:144
|
208 |
msgid "Use Google Tag Manager instead"
|
209 |
msgstr "Google Tag Manager verwenden"
|
210 |
|
211 |
+
#: lib/Settings.php:160
|
212 |
msgid "Google Tag Manager ID"
|
213 |
msgstr "Google Tag Manager ID"
|
214 |
|
215 |
+
#: lib/Settings.php:180
|
216 |
msgid ""
|
217 |
+
"Enter your Google Analytics tracking ID below. Should you use Google Tag "
|
218 |
+
"Manager to deploy Google Analytics, enter your GTM Container ID in the "
|
219 |
+
"respective field and tick the box “Use Google Tag Manager instead”."
|
220 |
msgstr ""
|
221 |
+
"Benutzen Sie Google Analytics, dann geben Sie Ihre Google Analytics Tracking "
|
222 |
+
"ID im gleichnamigen Feld ein. Analytics IDs haben das Format UA-XXXXXXXX-XX. "
|
223 |
+
"Falls Sie Analytics via Google Tag Manager einbinden, können Sie Ihre Google "
|
224 |
+
"Tag Manager ID im gleichnamigen Feld eingeben und ein Häkchen beim Feld "
|
225 |
+
"“Google Tag Manager verwenden setzen”."
|
226 |
|
227 |
+
#: lib/Settings.php:224
|
228 |
msgid ""
|
229 |
+
"This setting is only effective if you use Google Analytics. If you use "
|
230 |
+
"Google Tag Manager to deploy Google Analytics, you have to enable <a "
|
231 |
+
"href=\"https://support.google.com/analytics/answer/2763052?hl=de\" "
|
232 |
+
"target=\"_blank\">IP Anonymization</a> in your GTM settings."
|
233 |
msgstr ""
|
234 |
+
"Diese Einstellung gilt nur für Google Analytics. Falls der Google Tag "
|
235 |
+
"Manager benutzt wird, muss die <a href=\"https://support.google."
|
236 |
+
"com/analytics/answer/2763052?hl=de\" target=\"_blank\">IP-Anonymisierung</a> "
|
237 |
+
"im Google Tag Manager Konto gesetzt werden."
|
238 |
|
239 |
#. Name of the plugin
|
240 |
msgid "Google Analytics and Google Tag Manager by WebKinder"
|
242 |
|
243 |
#. Description of the plugin
|
244 |
msgid ""
|
245 |
+
"Deploy Google Analytics on your website without having to edit code and "
|
246 |
+
"without tracking your own visits. You can exclude any logged in user from "
|
247 |
+
"this and enable tracking solely for them."
|
248 |
+
msgstr "Google Analytics für WordPress, ohne die eigenen Besuche zu tracken."
|
|
|
|
|
|
|
249 |
|
250 |
#. URI of the plugin
|
251 |
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"
|
260 |
+
msgstr "https://www.webkinder.ch"
|
languages/wk-google-analytics.pot
CHANGED
@@ -3,7 +3,7 @@ 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-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -97,74 +97,88 @@ msgstr ""
|
|
97 |
msgid "Opt-out for Google Analytics"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: includes/mailchimp-form.php:11
|
101 |
-
msgid "Stay updated on this plugin"
|
102 |
-
msgstr ""
|
103 |
-
|
104 |
#: includes/mailchimp-form.php:13
|
105 |
-
msgid "
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/mailchimp-form.php:
|
109 |
-
msgid "
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: includes/mailchimp-form.php:
|
113 |
-
msgid "
|
114 |
msgstr ""
|
115 |
|
116 |
#: includes/mailchimp-form.php:25
|
|
|
|
|
|
|
|
|
117 |
msgid "Permission"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: includes/mailchimp-form.php:
|
121 |
msgid ""
|
122 |
-
"I agree
|
123 |
-
"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: includes/mailchimp-form.php:
|
127 |
msgid "Subscribe"
|
128 |
msgstr ""
|
129 |
|
130 |
#: lib/Loader.php:155
|
131 |
-
msgid "Do not track any visits from this device
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: lib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
msgid "Donate to this plugin"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: lib/Settings.php:
|
139 |
msgid "Test your tracking code now!"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: lib/Settings.php:
|
143 |
-
msgid "
|
|
|
|
|
|
|
|
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: lib/Settings.php:
|
147 |
msgid "Track logged in users"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: lib/Settings.php:
|
151 |
msgid "Use Google Tag Manager instead"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: lib/Settings.php:
|
155 |
msgid "Google Tag Manager ID"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: lib/Settings.php:
|
159 |
msgid ""
|
160 |
-
"Enter your Google Analytics tracking
|
161 |
-
"Manager
|
|
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: lib/Settings.php:
|
165 |
msgid ""
|
166 |
-
"This setting is only
|
167 |
-
"
|
|
|
|
|
168 |
msgstr ""
|
169 |
|
170 |
#. Name of the plugin
|
@@ -173,9 +187,9 @@ msgstr ""
|
|
173 |
|
174 |
#. Description of the plugin
|
175 |
msgid ""
|
176 |
-
"
|
177 |
-
"can exclude any logged in user
|
178 |
-
"
|
179 |
msgstr ""
|
180 |
|
181 |
#. URI of the plugin
|
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"
|
9 |
"Language-Team: \n"
|
97 |
msgid "Opt-out for Google Analytics"
|
98 |
msgstr ""
|
99 |
|
|
|
|
|
|
|
|
|
100 |
#: includes/mailchimp-form.php:13
|
101 |
+
msgid "Stay informed about any changes to this plugin"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: includes/mailchimp-form.php:15
|
105 |
+
msgid "Email address"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/mailchimp-form.php:20
|
109 |
+
msgid "First name"
|
110 |
msgstr ""
|
111 |
|
112 |
#: includes/mailchimp-form.php:25
|
113 |
+
msgid "Last name"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: includes/mailchimp-form.php:30
|
117 |
msgid "Permission"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: includes/mailchimp-form.php:32
|
121 |
msgid ""
|
122 |
+
"I agree that my personal data will be stored and used to send plugin updates "
|
123 |
+
"to my email address."
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: includes/mailchimp-form.php:43
|
127 |
msgid "Subscribe"
|
128 |
msgstr ""
|
129 |
|
130 |
#: lib/Loader.php:155
|
131 |
+
msgid "Do not track any visits from this device"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: lib/Loader.php:156
|
135 |
+
msgid ""
|
136 |
+
"As long as you do not activate this option while you are using the incognito "
|
137 |
+
"mode of your browser, a cookie will be stored on your device. This cookie "
|
138 |
+
"will have to be renewed after one year."
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: lib/Plugin.php:71
|
142 |
msgid "Donate to this plugin"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: lib/Settings.php:46
|
146 |
msgid "Test your tracking code now!"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: lib/Settings.php:96
|
150 |
+
msgid "Google Analytics Tracking ID"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: lib/Settings.php:112
|
154 |
+
msgid "IP Anonymization"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: lib/Settings.php:128
|
158 |
msgid "Track logged in users"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: lib/Settings.php:144
|
162 |
msgid "Use Google Tag Manager instead"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: lib/Settings.php:160
|
166 |
msgid "Google Tag Manager ID"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: lib/Settings.php:180
|
170 |
msgid ""
|
171 |
+
"Enter your Google Analytics tracking ID below. Should you use Google Tag "
|
172 |
+
"Manager to deploy Google Analytics, enter your GTM Container ID in the "
|
173 |
+
"respective field and tick the box “Use Google Tag Manager instead”."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: lib/Settings.php:224
|
177 |
msgid ""
|
178 |
+
"This setting is only effective if you use Google Analytics. If you use "
|
179 |
+
"Google Tag Manager to deploy Google Analytics, you have to enable <a "
|
180 |
+
"href=\"https://support.google.com/analytics/answer/2763052?hl=de\" "
|
181 |
+
"target=\"_blank\">IP Anonymization</a> in your GTM settings."
|
182 |
msgstr ""
|
183 |
|
184 |
#. Name of the plugin
|
187 |
|
188 |
#. Description of the plugin
|
189 |
msgid ""
|
190 |
+
"Deploy Google Analytics on your website without having to edit code and "
|
191 |
+
"without tracking your own visits. You can exclude any logged in user from "
|
192 |
+
"this and enable tracking solely for them."
|
193 |
msgstr ""
|
194 |
|
195 |
#. URI of the plugin
|
lib/Loader.php
CHANGED
@@ -16,11 +16,11 @@ class Loader
|
|
16 |
public function render_script()
|
17 |
{
|
18 |
ob_start();
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
return ob_get_clean();
|
25 |
}
|
26 |
|
@@ -35,25 +35,25 @@ class Loader
|
|
35 |
{
|
36 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
37 |
if (get_option('ga_use_tag_manager')) {
|
38 |
-
|
39 |
?>
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
}
|
58 |
return $this->should_track_user() . $this->render_script() . ob_get_clean();
|
59 |
}
|
@@ -71,13 +71,13 @@ class Loader
|
|
71 |
|
72 |
if (get_option('ga_use_tag_manager')) {
|
73 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
|
80 |
-
|
81 |
}
|
82 |
echo ob_get_clean();
|
83 |
}
|
@@ -93,28 +93,28 @@ class Loader
|
|
93 |
public function google_analytics_script()
|
94 |
{
|
95 |
$GA_TRACKING_CODE = get_option('ga_tracking_code');
|
96 |
-
$ANONYMIZE_IP = (get_option('ga_anonymize_ip') !== false) ? (
|
97 |
|
98 |
ob_start();
|
99 |
?>
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
if(
|
107 |
?>
|
108 |
-
|
109 |
-
|
110 |
-
else:
|
111 |
?>
|
112 |
-
|
113 |
-
|
114 |
endif;
|
115 |
?>
|
116 |
-
|
117 |
-
|
118 |
return $this->should_track_user() . $this->render_script() . ob_get_clean();
|
119 |
}
|
120 |
|
@@ -131,7 +131,7 @@ class Loader
|
|
131 |
}
|
132 |
|
133 |
// Google Analytics script in <head>
|
134 |
-
if(!get_option('ga_use_tag_manager')) {
|
135 |
$GA_TRACKING_CODE = get_option('ga_tracking_code');
|
136 |
wp_register_script('wk-analytics-script', 'https://www.googletagmanager.com/gtag/js?id=' . $GA_TRACKING_CODE);
|
137 |
wp_enqueue_script('wk-analytics-script');
|
@@ -152,7 +152,8 @@ class Loader
|
|
152 |
|
153 |
// translate JavaScript
|
154 |
$translation_array = array(
|
155 |
-
'TrackText' => __('Do not track any visits from this device
|
|
|
156 |
);
|
157 |
wp_localize_script('wk-ga-admin-js', 'text_content', $translation_array);
|
158 |
}
|
@@ -165,18 +166,18 @@ class Loader
|
|
165 |
public function should_track_user()
|
166 |
{
|
167 |
ob_start();
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
return ob_get_clean();
|
181 |
}
|
182 |
|
@@ -198,7 +199,5 @@ class Loader
|
|
198 |
|
199 |
// admin styles
|
200 |
wp_enqueue_style('custom-admin-styles', plugins_url(plugin_basename(WK_GOOGLE_ANALYTICS_DIR)) . '/css/admin-styles.css');
|
201 |
-
|
202 |
}
|
203 |
-
|
204 |
-
}
|
16 |
public function render_script()
|
17 |
{
|
18 |
ob_start();
|
19 |
+
?>
|
20 |
+
function hasWKGoogleAnalyticsCookie() {
|
21 |
+
return (new RegExp('wp_wk_ga_untrack_' + document.location.hostname)).test(document.cookie);
|
22 |
+
}
|
23 |
+
<?php
|
24 |
return ob_get_clean();
|
25 |
}
|
26 |
|
35 |
{
|
36 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
37 |
if (get_option('ga_use_tag_manager')) {
|
38 |
+
ob_start();
|
39 |
?>
|
40 |
+
if (!hasWKGoogleAnalyticsCookie() && shouldTrack()) {
|
41 |
+
//Google Tag Manager
|
42 |
+
(function (w, d, s, l, i) {
|
43 |
+
w[l] = w[l] || [];
|
44 |
+
w[l].push({
|
45 |
+
'gtm.start':
|
46 |
+
new Date().getTime(), event: 'gtm.js'
|
47 |
+
});
|
48 |
+
var f = d.getElementsByTagName(s)[0],
|
49 |
+
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
|
50 |
+
j.async = true;
|
51 |
+
j.src =
|
52 |
+
'//www.googletagmanager.com/gtm.js?id=' + i + dl;
|
53 |
+
f.parentNode.insertBefore(j, f);
|
54 |
+
})(window, document, 'script', 'dataLayer', '<?php echo $TAG_MANAGER_ID; ?>');
|
55 |
+
}
|
56 |
+
<?php
|
57 |
}
|
58 |
return $this->should_track_user() . $this->render_script() . ob_get_clean();
|
59 |
}
|
71 |
|
72 |
if (get_option('ga_use_tag_manager')) {
|
73 |
$TAG_MANAGER_ID = get_option('ga_tag_manager_id');
|
74 |
+
?>
|
75 |
+
<noscript>
|
76 |
+
<iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo $TAG_MANAGER_ID; ?>" height="0" width="0"
|
77 |
+
style="display:none;visibility:hidden"></iframe>
|
78 |
+
</noscript>
|
79 |
|
80 |
+
<?php
|
81 |
}
|
82 |
echo ob_get_clean();
|
83 |
}
|
93 |
public function google_analytics_script()
|
94 |
{
|
95 |
$GA_TRACKING_CODE = get_option('ga_tracking_code');
|
96 |
+
$ANONYMIZE_IP = (get_option('ga_anonymize_ip') !== false) ? (bool)get_option('ga_anonymize_ip') : true;
|
97 |
|
98 |
ob_start();
|
99 |
?>
|
100 |
+
if (!hasWKGoogleAnalyticsCookie() && shouldTrack()) {
|
101 |
+
//Google Analytics
|
102 |
+
window.dataLayer = window.dataLayer || [];
|
103 |
+
function gtag(){dataLayer.push(arguments);}
|
104 |
+
gtag('js', new Date());
|
105 |
+
<?php
|
106 |
+
if ($ANONYMIZE_IP) :
|
107 |
?>
|
108 |
+
gtag('config', '<?php echo $GA_TRACKING_CODE; ?>', { 'anonymize_ip': true });
|
109 |
+
<?php
|
110 |
+
else :
|
111 |
?>
|
112 |
+
gtag('config', '<?php echo $GA_TRACKING_CODE; ?>');
|
113 |
+
<?php
|
114 |
endif;
|
115 |
?>
|
116 |
+
}
|
117 |
+
<?php
|
118 |
return $this->should_track_user() . $this->render_script() . ob_get_clean();
|
119 |
}
|
120 |
|
131 |
}
|
132 |
|
133 |
// Google Analytics script in <head>
|
134 |
+
if (!get_option('ga_use_tag_manager')) {
|
135 |
$GA_TRACKING_CODE = get_option('ga_tracking_code');
|
136 |
wp_register_script('wk-analytics-script', 'https://www.googletagmanager.com/gtag/js?id=' . $GA_TRACKING_CODE);
|
137 |
wp_enqueue_script('wk-analytics-script');
|
152 |
|
153 |
// translate JavaScript
|
154 |
$translation_array = array(
|
155 |
+
'TrackText' => __('Do not track any visits from this device', 'wk-google-analytics'),
|
156 |
+
'TrackHint' => __('As long as you do not activate this option while you are using the incognito mode of your browser, a cookie will be stored on your device. This cookie will have to be renewed after one year.', 'wk-google-analytics'),
|
157 |
);
|
158 |
wp_localize_script('wk-ga-admin-js', 'text_content', $translation_array);
|
159 |
}
|
166 |
public function should_track_user()
|
167 |
{
|
168 |
ob_start();
|
169 |
+
?>
|
170 |
+
function shouldTrack(){
|
171 |
+
var trackLoggedIn = <?php echo (get_option('track_logged_in') ? 'true' : 'false'); ?>;
|
172 |
+
var loggedIn = <?php echo (is_user_logged_in() ? 'true' : 'false'); ?>;
|
173 |
+
if(!loggedIn){
|
174 |
+
return true;
|
175 |
+
} else if( trackLoggedIn ) {
|
176 |
+
return true;
|
177 |
+
}
|
178 |
+
return false;
|
179 |
+
}
|
180 |
+
<?php
|
181 |
return ob_get_clean();
|
182 |
}
|
183 |
|
199 |
|
200 |
// admin styles
|
201 |
wp_enqueue_style('custom-admin-styles', plugins_url(plugin_basename(WK_GOOGLE_ANALYTICS_DIR)) . '/css/admin-styles.css');
|
|
|
202 |
}
|
203 |
+
}
|
|
lib/OptOutButton.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace WebKinder\GoogleAnalytics;
|
3 |
-
|
4 |
-
class OptOutButton {
|
5 |
-
public static function init() {
|
6 |
-
add_shortcode( 'google_analytics_opt_out', 'WebKinder\GoogleAnalytics\OptOutButton::render');
|
7 |
-
}
|
8 |
-
|
9 |
-
public static function render() {
|
10 |
-
wp_enqueue_script('cookie-js');
|
11 |
-
wp_enqueue_script('wk-ga-admin-js');
|
12 |
-
return '<div id="track-device"></div>';
|
13 |
-
}
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/Plugin.php
CHANGED
@@ -8,7 +8,7 @@ class Plugin
|
|
8 |
/**
|
9 |
* @var Loader
|
10 |
*/
|
11 |
-
|
12 |
|
13 |
/**
|
14 |
* @var Settings
|
@@ -21,9 +21,6 @@ class Plugin
|
|
21 |
//i18n
|
22 |
add_action('plugins_loaded', array($this, 'load_textdomain'));
|
23 |
|
24 |
-
//opt-out button
|
25 |
-
OptOutButton::init();
|
26 |
-
|
27 |
//settings
|
28 |
$this->settings = new Settings();
|
29 |
|
@@ -41,8 +38,16 @@ class Plugin
|
|
41 |
add_action('wp_enqueue_scripts', array($this->loader, 'register_ga_scripts'));
|
42 |
|
43 |
//Google Tag Manager noscript footer
|
44 |
-
add_action('
|
|
|
|
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
//additional links to admin plugin page
|
48 |
add_filter('plugin_row_meta', array($this, 'additional_admin_information_links'), 10, 2);
|
@@ -67,7 +72,6 @@ class Plugin
|
|
67 |
}
|
68 |
|
69 |
return $links;
|
70 |
-
|
71 |
}
|
72 |
|
73 |
|
@@ -104,4 +108,4 @@ class Plugin
|
|
104 |
$content = ob_get_clean();
|
105 |
return $content;
|
106 |
}
|
107 |
-
}
|
8 |
/**
|
9 |
* @var Loader
|
10 |
*/
|
11 |
+
public $loader;
|
12 |
|
13 |
/**
|
14 |
* @var Settings
|
21 |
//i18n
|
22 |
add_action('plugins_loaded', array($this, 'load_textdomain'));
|
23 |
|
|
|
|
|
|
|
24 |
//settings
|
25 |
$this->settings = new Settings();
|
26 |
|
38 |
add_action('wp_enqueue_scripts', array($this->loader, 'register_ga_scripts'));
|
39 |
|
40 |
//Google Tag Manager noscript footer
|
41 |
+
add_action('wp_body_open', function () {
|
42 |
+
$this->loader->google_tag_manager_noscript();
|
43 |
+
});
|
44 |
|
45 |
+
add_action('wp_footer', function () {
|
46 |
+
//Google Tag Manager noscript footer (if wp_body_open is not used in theme yet)
|
47 |
+
if (did_action('wp_body_open') === 0) {
|
48 |
+
$this->loader->google_tag_manager_noscript();
|
49 |
+
}
|
50 |
+
});
|
51 |
|
52 |
//additional links to admin plugin page
|
53 |
add_filter('plugin_row_meta', array($this, 'additional_admin_information_links'), 10, 2);
|
72 |
}
|
73 |
|
74 |
return $links;
|
|
|
75 |
}
|
76 |
|
77 |
|
108 |
$content = ob_get_clean();
|
109 |
return $content;
|
110 |
}
|
111 |
+
}
|
lib/Settings.php
CHANGED
@@ -2,7 +2,8 @@
|
|
2 |
|
3 |
namespace WebKinder\GoogleAnalytics;
|
4 |
|
5 |
-
class Settings
|
|
|
6 |
|
7 |
/**
|
8 |
* Add an options page under 'Settings'
|
@@ -11,13 +12,14 @@ class Settings {
|
|
11 |
* @see https://codex.wordpress.org/Function_Reference/add_options_page
|
12 |
*
|
13 |
*/
|
14 |
-
function settings_page()
|
|
|
15 |
add_options_page(
|
16 |
-
'Google Analytics',
|
17 |
'Google Analytics',
|
18 |
'manage_options',
|
19 |
'google_analytics',
|
20 |
-
array(
|
21 |
);
|
22 |
}
|
23 |
|
@@ -28,37 +30,36 @@ class Settings {
|
|
28 |
* @since 1.0
|
29 |
*
|
30 |
*/
|
31 |
-
function settings_content()
|
|
|
32 |
|
33 |
-
if (
|
34 |
$_REQUEST['settings-updated'] = false;
|
35 |
-
|
36 |
-
|
37 |
-
<
|
38 |
-
|
39 |
-
|
40 |
-
<?php if ( false !== $_REQUEST['settings-updated'] ) : ?>
|
41 |
-
<div class="updated fade">
|
42 |
<p>
|
43 |
-
|
|
|
|
|
|
|
44 |
</p>
|
45 |
-
|
46 |
<?php endif; ?>
|
47 |
-
|
48 |
<div class="wk-left-part">
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
</form>
|
55 |
</div>
|
56 |
-
|
57 |
-
<?php include_once(
|
58 |
-
</div>
|
59 |
</div>
|
60 |
-
|
61 |
-
|
62 |
|
63 |
}
|
64 |
|
@@ -72,12 +73,13 @@ class Settings {
|
|
72 |
* @see https://codex.wordpress.org/Function_Reference/add_settings_field
|
73 |
*
|
74 |
*/
|
75 |
-
function register_settings()
|
|
|
76 |
|
77 |
add_settings_section(
|
78 |
'google_analytics',
|
79 |
-
|
80 |
-
array(
|
81 |
'google_analytics'
|
82 |
);
|
83 |
|
@@ -91,8 +93,8 @@ class Settings {
|
|
91 |
|
92 |
add_settings_field(
|
93 |
'ga_tracking_code',
|
94 |
-
__('
|
95 |
-
array(
|
96 |
'google_analytics',
|
97 |
'google_analytics'
|
98 |
);
|
@@ -107,8 +109,8 @@ class Settings {
|
|
107 |
|
108 |
add_settings_field(
|
109 |
'ga_anonymize_ip',
|
110 |
-
__('
|
111 |
-
array(
|
112 |
'google_analytics',
|
113 |
'google_analytics'
|
114 |
);
|
@@ -124,7 +126,7 @@ class Settings {
|
|
124 |
add_settings_field(
|
125 |
'track_logged_in',
|
126 |
__('Track logged in users', 'wk-google-analytics'),
|
127 |
-
array(
|
128 |
'google_analytics',
|
129 |
'google_analytics'
|
130 |
);
|
@@ -140,7 +142,7 @@ class Settings {
|
|
140 |
add_settings_field(
|
141 |
'ga_use_tag_manager',
|
142 |
__('Use Google Tag Manager instead', 'wk-google-analytics'),
|
143 |
-
array(
|
144 |
'google_analytics',
|
145 |
'google_analytics'
|
146 |
);
|
@@ -156,11 +158,10 @@ class Settings {
|
|
156 |
add_settings_field(
|
157 |
'ga_tag_manager_id',
|
158 |
__('Google Tag Manager ID', 'wk-google-analytics'),
|
159 |
-
array(
|
160 |
'google_analytics',
|
161 |
'google_analytics'
|
162 |
);
|
163 |
-
|
164 |
}
|
165 |
|
166 |
|
@@ -170,12 +171,16 @@ class Settings {
|
|
170 |
* @since 1.6.2
|
171 |
*
|
172 |
*/
|
173 |
-
function settings_header()
|
174 |
-
|
|
|
|
|
|
|
175 |
|
176 |
-
|
|
|
177 |
|
178 |
-
|
179 |
}
|
180 |
|
181 |
/**
|
@@ -184,16 +189,17 @@ class Settings {
|
|
184 |
* @since 1.6.2
|
185 |
*
|
186 |
*/
|
187 |
-
function tracking_code_field()
|
|
|
188 |
|
189 |
$field = 'ga_tracking_code';
|
190 |
-
$value = esc_attr(
|
191 |
|
192 |
-
|
193 |
|
194 |
-
|
195 |
|
196 |
-
|
197 |
}
|
198 |
|
199 |
/**
|
@@ -202,31 +208,33 @@ class Settings {
|
|
202 |
* @since 1.6.2
|
203 |
*
|
204 |
*/
|
205 |
-
function anonymize_ip_field()
|
|
|
206 |
|
207 |
$field = 'ga_anonymize_ip';
|
208 |
-
$value = get_option(
|
209 |
-
$value = (
|
210 |
|
211 |
-
|
212 |
|
213 |
-
|
214 |
<input type="hidden" name="<?php echo $field; ?>" value="0">
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
|
|
223 |
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
|
229 |
-
|
230 |
|
231 |
}
|
232 |
|
@@ -236,16 +244,17 @@ class Settings {
|
|
236 |
* @since 1.6.2
|
237 |
*
|
238 |
*/
|
239 |
-
function track_logged_in_field()
|
|
|
240 |
|
241 |
$field = 'track_logged_in';
|
242 |
-
$value = get_option(
|
243 |
|
244 |
-
|
245 |
|
246 |
-
|
247 |
|
248 |
-
|
249 |
|
250 |
}
|
251 |
|
@@ -255,16 +264,17 @@ class Settings {
|
|
255 |
* @since 1.6.2
|
256 |
*
|
257 |
*/
|
258 |
-
function use_tag_manager_field()
|
|
|
259 |
|
260 |
$field = 'ga_use_tag_manager';
|
261 |
-
$value = get_option(
|
262 |
|
263 |
-
|
264 |
|
265 |
-
|
266 |
|
267 |
-
|
268 |
|
269 |
}
|
270 |
|
@@ -274,16 +284,17 @@ class Settings {
|
|
274 |
* @since 1.6.2
|
275 |
*
|
276 |
*/
|
277 |
-
function tag_manager_id_field()
|
|
|
278 |
|
279 |
$field = 'ga_tag_manager_id';
|
280 |
-
$value = esc_attr(
|
281 |
|
282 |
-
|
283 |
|
284 |
-
|
285 |
|
286 |
-
|
287 |
|
288 |
}
|
289 |
-
}
|
2 |
|
3 |
namespace WebKinder\GoogleAnalytics;
|
4 |
|
5 |
+
class Settings
|
6 |
+
{
|
7 |
|
8 |
/**
|
9 |
* Add an options page under 'Settings'
|
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 |
|
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 |
|
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 |
|
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 |
);
|
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 |
);
|
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 |
);
|
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 |
);
|
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 |
|
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 |
/**
|
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 |
/**
|
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 |
|
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 |
|
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 |
|
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 |
+
}
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
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.
|
6 |
Requires PHP: 7.1
|
7 |
-
Stable tag: 1.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,20 +12,20 @@ Google Analytics or Google Tag Manager for WordPress without tracking your own v
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
|
16 |
|
17 |
-
|
18 |
|
19 |
-
We would love to hear your feedback
|
20 |
|
21 |
If you have any questions or feature requests, feel free to contact us via support@webkinder.ch.
|
22 |
|
23 |
== Installation ==
|
24 |
|
25 |
-
1. Upload the
|
26 |
-
1. Activate the plugin
|
27 |
-
1.
|
28 |
-
1.
|
29 |
|
30 |
== Screenshots ==
|
31 |
|
@@ -33,6 +33,11 @@ If you have any questions or feature requests, feel free to contact us via suppo
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
|
|
|
|
|
|
|
|
|
|
36 |
= 1.9.1 =
|
37 |
|
38 |
* Updated plugin icon and banner
|
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.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
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. You can also ignore a device by ticking a box which sets a session cookie.
|
16 |
|
17 |
+
You can also enter your Google Tag Manager ID and disable tracking via GTM.
|
18 |
|
19 |
+
We would love to hear your [feedback](https://wordpress.org/support/plugin/wk-google-analytics/reviews/). It helps us improve and expand the plugin according to your needs.
|
20 |
|
21 |
If you have any questions or feature requests, feel free to contact us via support@webkinder.ch.
|
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).
|
29 |
|
30 |
== Screenshots ==
|
31 |
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
+
= 1.9.2 =
|
37 |
+
|
38 |
+
* Updated wording
|
39 |
+
* NoScript is now using wp_body_open action added with 5.2 if already supported
|
40 |
+
|
41 |
= 1.9.1 =
|
42 |
|
43 |
* Updated plugin icon and banner
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit586d9140429be238606f0ab34c460ebb::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -79,7 +79,6 @@ return array(
|
|
79 |
'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
80 |
'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
81 |
'WebKinder\\GoogleAnalytics\\Loader' => $baseDir . '/lib/Loader.php',
|
82 |
-
'WebKinder\\GoogleAnalytics\\OptOutButton' => $baseDir . '/lib/OptOutButton.php',
|
83 |
'WebKinder\\GoogleAnalytics\\Plugin' => $baseDir . '/lib/Plugin.php',
|
84 |
'WebKinder\\GoogleAnalytics\\PluginFactory' => $baseDir . '/lib/PluginFactory.php',
|
85 |
'WebKinder\\GoogleAnalytics\\Settings' => $baseDir . '/lib/Settings.php',
|
79 |
'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
80 |
'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
81 |
'WebKinder\\GoogleAnalytics\\Loader' => $baseDir . '/lib/Loader.php',
|
|
|
82 |
'WebKinder\\GoogleAnalytics\\Plugin' => $baseDir . '/lib/Plugin.php',
|
83 |
'WebKinder\\GoogleAnalytics\\PluginFactory' => $baseDir . '/lib/PluginFactory.php',
|
84 |
'WebKinder\\GoogleAnalytics\\Settings' => $baseDir . '/lib/Settings.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit7c557c27840b14728b4632c26d2c2358
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
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\
|
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 ComposerAutoloaderInit586d9140429be238606f0ab34c460ebb
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit586d9140429be238606f0ab34c460ebb', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit586d9140429be238606f0ab34c460ebb', '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\ComposerStaticInit586d9140429be238606f0ab34c460ebb::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -102,7 +102,6 @@ class ComposerStaticInit7c557c27840b14728b4632c26d2c2358
|
|
102 |
'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
103 |
'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
104 |
'WebKinder\\GoogleAnalytics\\Loader' => __DIR__ . '/../..' . '/lib/Loader.php',
|
105 |
-
'WebKinder\\GoogleAnalytics\\OptOutButton' => __DIR__ . '/../..' . '/lib/OptOutButton.php',
|
106 |
'WebKinder\\GoogleAnalytics\\Plugin' => __DIR__ . '/../..' . '/lib/Plugin.php',
|
107 |
'WebKinder\\GoogleAnalytics\\PluginFactory' => __DIR__ . '/../..' . '/lib/PluginFactory.php',
|
108 |
'WebKinder\\GoogleAnalytics\\Settings' => __DIR__ . '/../..' . '/lib/Settings.php',
|
@@ -111,9 +110,9 @@ class ComposerStaticInit7c557c27840b14728b4632c26d2c2358
|
|
111 |
public static function getInitializer(ClassLoader $loader)
|
112 |
{
|
113 |
return \Closure::bind(function () use ($loader) {
|
114 |
-
$loader->prefixLengthsPsr4 =
|
115 |
-
$loader->prefixDirsPsr4 =
|
116 |
-
$loader->classMap =
|
117 |
|
118 |
}, null, ClassLoader::class);
|
119 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit586d9140429be238606f0ab34c460ebb
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
102 |
'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
103 |
'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
104 |
'WebKinder\\GoogleAnalytics\\Loader' => __DIR__ . '/../..' . '/lib/Loader.php',
|
|
|
105 |
'WebKinder\\GoogleAnalytics\\Plugin' => __DIR__ . '/../..' . '/lib/Plugin.php',
|
106 |
'WebKinder\\GoogleAnalytics\\PluginFactory' => __DIR__ . '/../..' . '/lib/PluginFactory.php',
|
107 |
'WebKinder\\GoogleAnalytics\\Settings' => __DIR__ . '/../..' . '/lib/Settings.php',
|
110 |
public static function getInitializer(ClassLoader $loader)
|
111 |
{
|
112 |
return \Closure::bind(function () use ($loader) {
|
113 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit586d9140429be238606f0ab34c460ebb::$prefixLengthsPsr4;
|
114 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit586d9140429be238606f0ab34c460ebb::$prefixDirsPsr4;
|
115 |
+
$loader->classMap = ComposerStaticInit586d9140429be238606f0ab34c460ebb::$classMap;
|
116 |
|
117 |
}, null, ClassLoader::class);
|
118 |
}
|
wk-ga.php
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Plugin Name: Google Analytics and Google Tag Manager by WebKinder
|
4 |
* Plugin URI: https://wordpress.org/plugins/wk-google-analytics/
|
5 |
-
* Description:
|
6 |
-
* Version: 1.9.
|
7 |
* Author: WebKinder
|
8 |
* Author URI: https://www.webkinder.ch
|
9 |
* License: GPL2
|
@@ -20,4 +21,4 @@ if (file_exists($autoload)) {
|
|
20 |
require_once($autoload);
|
21 |
}
|
22 |
|
23 |
-
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.2
|
8 |
* Author: WebKinder
|
9 |
* Author URI: https://www.webkinder.ch
|
10 |
* License: GPL2
|
21 |
require_once($autoload);
|
22 |
}
|
23 |
|
24 |
+
WebKinder\GoogleAnalytics\PluginFactory::create()->run();
|