Version Description
Download this release
Release Info
Developer | wp-buddy |
Plugin | Google Analytics Opt-Out |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1 to 0.1.1
- classes/admin.php +9 -1
- classes/functions.php +22 -27
- classes/shortcodes.php +12 -8
- google-analytics-opt-out.php +11 -2
- languages/gaoo-de_DE.mo +0 -0
- languages/gaoo-de_DE.po +29 -12
- languages/gaoo.mo +0 -0
- languages/gaoo.po +24 -10
- readme.txt +12 -4
classes/admin.php
CHANGED
@@ -5,10 +5,18 @@ function gaoo_admin_notice() {
|
|
5 |
if ( ! empty( $code ) ) {
|
6 |
return;
|
7 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
?>
|
9 |
<div class="error">
|
10 |
<p>
|
11 |
-
<a href="<?php echo
|
12 |
</p>
|
13 |
</div>
|
14 |
<?php
|
5 |
if ( ! empty( $code ) ) {
|
6 |
return;
|
7 |
}
|
8 |
+
|
9 |
+
$link = admin_url( 'options-general.php?page=gaoo-options' );
|
10 |
+
$message = __( 'To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the settings page.', 'gaoo' );
|
11 |
+
|
12 |
+
if ( gaoo_yoast_plugin_active() ) {
|
13 |
+
$link = admin_url( 'options-general.php?page=google-analytics-for-wordpress' );
|
14 |
+
$message = __( 'To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the settings page of "Google Analytics for WordPress" configuration page.', 'gaoo' );
|
15 |
+
}
|
16 |
?>
|
17 |
<div class="error">
|
18 |
<p>
|
19 |
+
<a href="<?php echo $link; ?>"><?php echo $message; ?></a>
|
20 |
</p>
|
21 |
</div>
|
22 |
<?php
|
classes/functions.php
CHANGED
@@ -6,14 +6,10 @@
|
|
6 |
* @return bool
|
7 |
*/
|
8 |
function gaoo_yoast_plugin_active() {
|
9 |
-
global $ga_admin;
|
10 |
|
11 |
-
if (
|
12 |
-
return
|
13 |
-
}
|
14 |
-
|
15 |
-
if ( ! $ga_admin instanceof GA_Admin ) {
|
16 |
-
return false;
|
17 |
}
|
18 |
|
19 |
return true;
|
@@ -32,19 +28,30 @@ function gaoo_get_yoast_ua() {
|
|
32 |
return '';
|
33 |
}
|
34 |
|
35 |
-
|
|
|
36 |
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
|
41 |
-
|
42 |
|
43 |
-
if ( ! isset( $
|
44 |
return '';
|
45 |
}
|
46 |
|
47 |
-
return $
|
|
|
48 |
}
|
49 |
|
50 |
/**
|
@@ -54,20 +61,8 @@ function gaoo_get_yoast_ua() {
|
|
54 |
*/
|
55 |
function gaoo_get_ua_code() {
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
// if the plugin is used the first time, this value is NULL
|
60 |
-
if ( is_null( $use_yoast ) ) {
|
61 |
-
$use_yoast = 1;
|
62 |
-
}
|
63 |
-
|
64 |
-
// if yoast should be used, try to get the ua code from the plugin
|
65 |
-
if ( 1 == intval( $use_yoast ) ) {
|
66 |
-
$yoast_code = gaoo_get_yoast_ua();
|
67 |
-
|
68 |
-
if ( ! empty( $yoast_code ) ) {
|
69 |
-
return apply_filters( 'gaoo_get_ua_code', $yoast_code );
|
70 |
-
}
|
71 |
}
|
72 |
|
73 |
// if yoast returns an empty string OR if the checkbox was set to 0 return the textbox content
|
6 |
* @return bool
|
7 |
*/
|
8 |
function gaoo_yoast_plugin_active() {
|
9 |
+
global $ga_admin, $yoast_ga;
|
10 |
|
11 |
+
if ( ( isset( $ga_admin ) && is_a( $ga_admin, 'GA_Admin' ) ) OR ( isset( $yoast_ga ) && is_a( $yoast_ga, 'GA_Filter' ) ) ) {
|
12 |
+
return true;
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
return true;
|
28 |
return '';
|
29 |
}
|
30 |
|
31 |
+
if ( is_admin() ) {
|
32 |
+
global $ga_admin;
|
33 |
|
34 |
+
if ( ! isset( $ga_admin->optionname ) ) {
|
35 |
+
return '';
|
36 |
+
}
|
37 |
+
|
38 |
+
$yoast_settings = get_option( $ga_admin->optionname );
|
39 |
+
|
40 |
+
if ( ! isset( $yoast_settings['uastring'] ) ) {
|
41 |
+
return '';
|
42 |
+
}
|
43 |
+
|
44 |
+
return $yoast_settings['uastring'];
|
45 |
}
|
46 |
|
47 |
+
global $yoast_ga;
|
48 |
|
49 |
+
if ( ! isset( $yoast_ga->options['uastring'] ) ) {
|
50 |
return '';
|
51 |
}
|
52 |
|
53 |
+
return $yoast_ga->options['uastring'];
|
54 |
+
|
55 |
}
|
56 |
|
57 |
/**
|
61 |
*/
|
62 |
function gaoo_get_ua_code() {
|
63 |
|
64 |
+
if ( gaoo_yoast_plugin_active() ) {
|
65 |
+
return apply_filters( 'gaoo_get_ua_code', gaoo_get_yoast_ua() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
// if yoast returns an empty string OR if the checkbox was set to 0 return the textbox content
|
classes/shortcodes.php
CHANGED
@@ -37,22 +37,24 @@ add_action( 'init', 'gaoo_init_shortcodes' );
|
|
37 |
*
|
38 |
* @param array $atts
|
39 |
* @param string $content
|
|
|
40 |
*
|
41 |
* @since 0.1
|
42 |
*
|
43 |
* @return string
|
44 |
*/
|
45 |
-
function gaoo_shortcode( $atts, $content = '' ) {
|
46 |
-
//$atts = shortcode_atts( array(), $atts );
|
47 |
-
|
48 |
-
if ( empty( $content ) ) {
|
49 |
-
$content = __( 'Click here to opt out.', 'gaoo' );
|
50 |
-
}
|
51 |
|
52 |
$ua_code = gaoo_get_ua_code();
|
53 |
|
54 |
if ( empty( $ua_code ) ) {
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
57 |
|
58 |
return '<a class="gaoo-opt-out google-analytics-opt-out" href="javascript:gaoo_analytics_optout();">' . do_shortcode( $content ) . '</a>';
|
@@ -61,4 +63,6 @@ function gaoo_shortcode( $atts, $content = '' ) {
|
|
61 |
/**
|
62 |
* Doing shortcodes in the text widget, too
|
63 |
*/
|
64 |
-
|
|
|
|
37 |
*
|
38 |
* @param array $atts
|
39 |
* @param string $content
|
40 |
+
* @param string $shortcode_name
|
41 |
*
|
42 |
* @since 0.1
|
43 |
*
|
44 |
* @return string
|
45 |
*/
|
46 |
+
function gaoo_shortcode( $atts, $content = '', $shortcode_name ) {
|
47 |
+
//$atts = shortcode_atts( array(), $atts, $shortcode_name );
|
|
|
|
|
|
|
|
|
48 |
|
49 |
$ua_code = gaoo_get_ua_code();
|
50 |
|
51 |
if ( empty( $ua_code ) ) {
|
52 |
+
$message = __( 'No UA-Code has been entered. Please ask the admin to solve this issue!', 'gaoo' );
|
53 |
+
return '<span style="cursor: help; border: 0 none; border-bottom-width: 1px; border-style: dashed;" title="' . $message . '">' . $message . '</span>';
|
54 |
+
}
|
55 |
+
|
56 |
+
if ( empty( $content ) ) {
|
57 |
+
$content = __( 'Click here to opt out.', 'gaoo' );
|
58 |
}
|
59 |
|
60 |
return '<a class="gaoo-opt-out google-analytics-opt-out" href="javascript:gaoo_analytics_optout();">' . do_shortcode( $content ) . '</a>';
|
63 |
/**
|
64 |
* Doing shortcodes in the text widget, too
|
65 |
*/
|
66 |
+
if ( false !== has_filter( 'widget_text', 'do_shortcode' ) ) {
|
67 |
+
add_filter( 'widget_text', 'do_shortcode' );
|
68 |
+
}
|
google-analytics-opt-out.php
CHANGED
@@ -3,10 +3,12 @@
|
|
3 |
Plugin Name: Google Analytics Opt-Out
|
4 |
Plugin URI: http://wp-buddy.com/products/plugins/google-analytics-opt-out
|
5 |
Description: Provides an Opt-Out functionality for Google Analytics
|
6 |
-
Version: 0.1
|
7 |
Author: WP-Buddy
|
8 |
Author URI: http://wp-buddy.com
|
9 |
License: GPL2
|
|
|
|
|
10 |
|
11 |
Copyright 2013 WP-Buddy (email : info@wp-buddy.com)
|
12 |
|
@@ -29,11 +31,18 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
29 |
exit;
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
32 |
define( 'GAOO_FILE', __FILE__ );
|
33 |
define( 'GAOO_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
34 |
define( 'GAOO_URL', trailingslashit( plugins_url() ) . trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );
|
35 |
|
36 |
-
|
|
|
|
|
|
|
37 |
|
38 |
require_once GAOO_PATH . 'classes/functions.php';
|
39 |
require_once GAOO_PATH . 'classes/admin.php';
|
3 |
Plugin Name: Google Analytics Opt-Out
|
4 |
Plugin URI: http://wp-buddy.com/products/plugins/google-analytics-opt-out
|
5 |
Description: Provides an Opt-Out functionality for Google Analytics
|
6 |
+
Version: 0.1.1
|
7 |
Author: WP-Buddy
|
8 |
Author URI: http://wp-buddy.com
|
9 |
License: GPL2
|
10 |
+
Text Domain: gaoo
|
11 |
+
Domain Path: /languages/
|
12 |
|
13 |
Copyright 2013 WP-Buddy (email : info@wp-buddy.com)
|
14 |
|
31 |
exit;
|
32 |
}
|
33 |
|
34 |
+
// for translations only
|
35 |
+
__( 'Google Analytics Opt-Out', 'gaoo' );
|
36 |
+
__( 'Provides an Opt-Out functionality for Google Analytics', 'gaoo' );
|
37 |
+
|
38 |
define( 'GAOO_FILE', __FILE__ );
|
39 |
define( 'GAOO_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
40 |
define( 'GAOO_URL', trailingslashit( plugins_url() ) . trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );
|
41 |
|
42 |
+
add_action( 'init', 'gaoo_add_translation' );
|
43 |
+
function gaoo_add_translation() {
|
44 |
+
load_plugin_textdomain( 'gaoo', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
45 |
+
}
|
46 |
|
47 |
require_once GAOO_PATH . 'classes/functions.php';
|
48 |
require_once GAOO_PATH . 'classes/admin.php';
|
languages/gaoo-de_DE.mo
CHANGED
Binary file
|
languages/gaoo-de_DE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics Opt-Out\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
|
7 |
"Language-Team: WP-Buddy <info@wp-buddy.com>\n"
|
8 |
"Language: de_DE\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Textdomain-Support: yes\n"
|
13 |
-
"X-Generator: Poedit 1.5
|
14 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
|
16 |
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
@@ -18,7 +18,7 @@ msgstr ""
|
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
"X-Poedit-SearchPath-0: ..\n"
|
20 |
|
21 |
-
#: ../classes/admin.php:
|
22 |
msgid ""
|
23 |
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
24 |
"settings page."
|
@@ -26,15 +26,24 @@ msgstr ""
|
|
26 |
"Um das Google Analytics Opt-Oput Plugin zu benutzen müssen Sie einen UA-Code "
|
27 |
"auf der Einstellungsseite eingeben."
|
28 |
|
29 |
-
#: ../classes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
msgid "Settings"
|
31 |
msgstr "Einstellungen"
|
32 |
|
33 |
-
#: ../classes/admin.php:
|
34 |
msgid "More by WP-Buddy"
|
35 |
msgstr "Mehr von WP-Buddy"
|
36 |
|
37 |
-
#: ../classes/scripts.php:
|
38 |
msgid ""
|
39 |
"Thanks. We have set a cookie so that Google Analytics data collection will "
|
40 |
"be disabled on your next visit."
|
@@ -74,12 +83,20 @@ msgstr ""
|
|
74 |
"sicher, dass der Analytics Code NACH dem Opt-Out-Code eingebunden wird. Der "
|
75 |
"Opt-Out-Code beginnt mit <code>/* Google Analytics Opt-Out</code>."
|
76 |
|
77 |
-
#: ../classes/shortcodes.php:
|
78 |
-
msgid "Click here to opt out."
|
79 |
-
msgstr "Zum Opt-Out hier klicken."
|
80 |
-
|
81 |
-
#: ../classes/shortcodes.php:55
|
82 |
msgid "No UA-Code has been entered. Please ask the admin to solve this issue!"
|
83 |
msgstr ""
|
84 |
"Es wurde kein UA-Code eingegeben. Bitte Fragen Sie beim Administrator nach "
|
85 |
"um dieses Problem zu beheben!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics Opt-Out\n"
|
4 |
+
"POT-Creation-Date: 2014-06-12 08:09+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-06-12 08:11+0100\n"
|
6 |
"Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
|
7 |
"Language-Team: WP-Buddy <info@wp-buddy.com>\n"
|
8 |
"Language: de_DE\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Textdomain-Support: yes\n"
|
13 |
+
"X-Generator: Poedit 1.6.5\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
|
16 |
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
"X-Poedit-SearchPath-0: ..\n"
|
20 |
|
21 |
+
#: ../classes/admin.php:10
|
22 |
msgid ""
|
23 |
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
24 |
"settings page."
|
26 |
"Um das Google Analytics Opt-Oput Plugin zu benutzen müssen Sie einen UA-Code "
|
27 |
"auf der Einstellungsseite eingeben."
|
28 |
|
29 |
+
#: ../classes/admin.php:14
|
30 |
+
msgid ""
|
31 |
+
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
32 |
+
"settings page of \"Google Analytics for WordPress\" configuration page."
|
33 |
+
msgstr ""
|
34 |
+
"Um das Google Analytics Opt-Out Plugin nutzen zu können musst Du Deinen UA-"
|
35 |
+
"Code auf der Einstellungsseite des \"Google Analytics for WordPress\" "
|
36 |
+
"Konfigurationsseite eingeben."
|
37 |
+
|
38 |
+
#: ../classes/admin.php:38
|
39 |
msgid "Settings"
|
40 |
msgstr "Einstellungen"
|
41 |
|
42 |
+
#: ../classes/admin.php:39
|
43 |
msgid "More by WP-Buddy"
|
44 |
msgstr "Mehr von WP-Buddy"
|
45 |
|
46 |
+
#: ../classes/scripts.php:47
|
47 |
msgid ""
|
48 |
"Thanks. We have set a cookie so that Google Analytics data collection will "
|
49 |
"be disabled on your next visit."
|
83 |
"sicher, dass der Analytics Code NACH dem Opt-Out-Code eingebunden wird. Der "
|
84 |
"Opt-Out-Code beginnt mit <code>/* Google Analytics Opt-Out</code>."
|
85 |
|
86 |
+
#: ../classes/shortcodes.php:52
|
|
|
|
|
|
|
|
|
87 |
msgid "No UA-Code has been entered. Please ask the admin to solve this issue!"
|
88 |
msgstr ""
|
89 |
"Es wurde kein UA-Code eingegeben. Bitte Fragen Sie beim Administrator nach "
|
90 |
"um dieses Problem zu beheben!"
|
91 |
+
|
92 |
+
#: ../classes/shortcodes.php:56
|
93 |
+
msgid "Click here to opt out."
|
94 |
+
msgstr "Zum Opt-Out hier klicken."
|
95 |
+
|
96 |
+
#: ../google-analytics-opt-out.php:35
|
97 |
+
msgid "Google Analytics Opt-Out"
|
98 |
+
msgstr "Google Analytics Opt-Out"
|
99 |
+
|
100 |
+
#: ../google-analytics-opt-out.php:36
|
101 |
+
msgid "Provides an Opt-Out functionality for Google Analytics"
|
102 |
+
msgstr "Stellt eine Opt-Out-Funktion für Google Analytics bereit."
|
languages/gaoo.mo
CHANGED
Binary file
|
languages/gaoo.po
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics Opt-Out\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.5
|
12 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
13 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
|
14 |
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
@@ -16,21 +16,27 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
-
#: ../classes/admin.php:
|
20 |
msgid ""
|
21 |
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
22 |
"settings page."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: ../classes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
msgid "Settings"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: ../classes/admin.php:
|
30 |
msgid "More by WP-Buddy"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../classes/scripts.php:
|
34 |
msgid ""
|
35 |
"Thanks. We have set a cookie so that Google Analytics data collection will "
|
36 |
"be disabled on your next visit."
|
@@ -64,10 +70,18 @@ msgid ""
|
|
64 |
"Google Analytics Opt-Out</code>)."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../classes/shortcodes.php:
|
|
|
|
|
|
|
|
|
68 |
msgid "Click here to opt out."
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../
|
72 |
-
msgid "
|
|
|
|
|
|
|
|
|
73 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Analytics Opt-Out\n"
|
4 |
+
"POT-Creation-Date: 2014-06-12 08:09+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-06-12 08:09+0100\n"
|
6 |
"Last-Translator: WP-Buddy <info@wp-buddy.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.6.5\n"
|
12 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
13 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
|
14 |
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
+
#: ../classes/admin.php:10
|
20 |
msgid ""
|
21 |
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
22 |
"settings page."
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../classes/admin.php:14
|
26 |
+
msgid ""
|
27 |
+
"To use the Google Analytics Opt-Out Plugin please enter an UA-Code on the "
|
28 |
+
"settings page of \"Google Analytics for WordPress\" configuration page."
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: ../classes/admin.php:38
|
32 |
msgid "Settings"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: ../classes/admin.php:39
|
36 |
msgid "More by WP-Buddy"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: ../classes/scripts.php:47
|
40 |
msgid ""
|
41 |
"Thanks. We have set a cookie so that Google Analytics data collection will "
|
42 |
"be disabled on your next visit."
|
70 |
"Google Analytics Opt-Out</code>)."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../classes/shortcodes.php:52
|
74 |
+
msgid "No UA-Code has been entered. Please ask the admin to solve this issue!"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: ../classes/shortcodes.php:56
|
78 |
msgid "Click here to opt out."
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../google-analytics-opt-out.php:35
|
82 |
+
msgid "Google Analytics Opt-Out"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: ../google-analytics-opt-out.php:36
|
86 |
+
msgid "Provides an Opt-Out functionality for Google Analytics"
|
87 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
=== Google Analytics Opt-Out ===
|
2 |
Contributors: wp-buddy
|
3 |
-
Donate link: http://wp-buddy.com/products/plugins/google-analytics-opt-out
|
4 |
Tags: google analytics, analytics, analytics opt-out, analytics opt out
|
5 |
-
Version: 0.1
|
6 |
Requires at least: 3.7
|
7 |
-
Stable tag: 0.1
|
8 |
-
Tested up to: 3.
|
9 |
License: GPLv2
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
|
|
12 |
Provides an Opt-Out functionality for Google Analytics
|
13 |
|
14 |
== Description ==
|
@@ -17,6 +18,8 @@ This plugin provides an Opt-Out functionality for Google Analytics by setting a
|
|
17 |
|
18 |
Works perfectly together with the [Yoast Analytics Plugin](http://wordpress.org/plugins/google-analytics-for-wordpress/ "Yoast Analytics Plugin").
|
19 |
|
|
|
|
|
20 |
== Installation ==
|
21 |
|
22 |
* Install and activate the plugin via your WordPress Administration panel
|
@@ -59,6 +62,11 @@ if ( function_exists( 'gaoo_js' ) ) {
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
|
|
|
|
62 |
= 0.1 =
|
63 |
* The first version
|
64 |
|
1 |
=== Google Analytics Opt-Out ===
|
2 |
Contributors: wp-buddy
|
3 |
+
Donate link: http://wp-buddy.com/products/plugins/google-analytics-opt-out/
|
4 |
Tags: google analytics, analytics, analytics opt-out, analytics opt out
|
5 |
+
Version: 0.1.1
|
6 |
Requires at least: 3.7
|
7 |
+
Stable tag: 0.1.1
|
8 |
+
Tested up to: 3.9.1
|
9 |
License: GPLv2
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
12 |
+
|
13 |
Provides an Opt-Out functionality for Google Analytics
|
14 |
|
15 |
== Description ==
|
18 |
|
19 |
Works perfectly together with the [Yoast Analytics Plugin](http://wordpress.org/plugins/google-analytics-for-wordpress/ "Yoast Analytics Plugin").
|
20 |
|
21 |
+
Please by the Pro Version of the [Google Analytics Opt Out WordPress Plugin](http://wp-buddy.com/products/plugins/google-analytics-opt-out/ "Google Analytics Opt Out WordPress Plugin") to even keep the free version up-to-date! Thanks!
|
22 |
+
|
23 |
== Installation ==
|
24 |
|
25 |
* Install and activate the plugin via your WordPress Administration panel
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 0.2 =
|
66 |
+
* Fixed the issue that error message still shows shows up
|
67 |
+
* Added/replaced some translations
|
68 |
+
* Fixed an issue that Yoasts Analytics for WordPress plugin has changed the option name
|
69 |
+
|
70 |
= 0.1 =
|
71 |
* The first version
|
72 |
|