Google Analytics for WordPress by MonsterInsights - Version 5.1.1

Version Description

Release Date: November 12th, 2014

  • Bugfixes:

    • Fixes a conflict with Fancybox.
    • Fixes a bug where links without the href attribute would cause the tracking code to be added wrongly.
    • Fixes a multisite bug in Premium which was caused by the absence of a network admin menu.
    • Fixes an issue with the version number.
    • Fixes a bug where translations might be loaded several times.
  • Enhancements:

    • Shows more relevant banners.
    • Adds an image to the premium extension on the extensions page.
    • Always show the custom dimension tab.
    • Added translations for Finnish, Dutch and Russian.
Download this release

Release Info

Developer joostdevalk
Plugin Icon 128x128 Google Analytics for WordPress by MonsterInsights
Version 5.1.1
Comparing to
See all releases

Code changes from version 5.1 to 5.1.1

Files changed (56) hide show
  1. admin/api-libs/class-api-libs.php +121 -0
  2. admin/api-libs/oauth/class-api-oauth.php +41 -0
  3. admin/api-libs/oauth/class-oauth-consumer.php +22 -0
  4. admin/api-libs/oauth/class-oauth-datastore.php +32 -0
  5. admin/api-libs/oauth/class-oauth-exception.php +9 -0
  6. admin/api-libs/oauth/class-oauth-request.php +277 -0
  7. admin/api-libs/oauth/class-oauth-server.php +235 -0
  8. admin/api-libs/oauth/class-oauth-signature-method-hmac-sha1.php +35 -0
  9. admin/api-libs/oauth/class-oauth-signature-method-plaintext.php +40 -0
  10. admin/api-libs/oauth/class-oauth-signature-method-rsa-sha1.php +74 -0
  11. admin/api-libs/oauth/class-oauth-signature-method.php +63 -0
  12. admin/api-libs/oauth/class-oauth-token.php +37 -0
  13. admin/api-libs/oauth/class-oauth-util.php +169 -0
  14. admin/class-admin-dashboards-aggregate.php +19 -0
  15. admin/class-admin-dashboards.php +16 -0
  16. admin/class-admin-menu.php +176 -0
  17. admin/class-admin.php +48 -112
  18. admin/class-google-analytics.php +0 -4
  19. admin/pages/dashboard.php +1 -6
  20. admin/pages/settings.php +9 -2
  21. admin/views/content-footer.php +2 -0
  22. admin/wp-gdata/OAuth.php +0 -928
  23. admin/wp-gdata/wp-gdata.php +0 -5
  24. css/yoast_ga_styles.css +4 -0
  25. css/yoast_ga_styles.min.css +1 -1
  26. frontend/class-frontend.php +16 -4
  27. frontend/class-ga-js.php +1 -1
  28. frontend/class-universal.php +1 -4
  29. googleanalytics.php +4 -2
  30. img/banner-ga-ecommerce.png +0 -0
  31. img/banner-local-seo.png +0 -0
  32. img/banner-premium-ga.png +0 -0
  33. img/banner-premium-seo.png +0 -0
  34. img/banner-video-seo.png +0 -0
  35. img/ga-premium-banner.png +0 -0
  36. img/yoast_avatar_joost.png +0 -0
  37. includes/class-autoload.php +19 -19
  38. includes/class-options.php +10 -0
  39. js/chosen.css +0 -413
  40. languages/google-analytics-for-wordpress-de_DE.mo +0 -0
  41. languages/google-analytics-for-wordpress-de_DE.po +0 -571
  42. languages/google-analytics-for-wordpress-el_GR.mo +0 -0
  43. languages/google-analytics-for-wordpress-el_GR.po +0 -571
  44. languages/google-analytics-for-wordpress-es_ES.mo +0 -0
  45. languages/google-analytics-for-wordpress-es_ES.po +0 -571
  46. languages/google-analytics-for-wordpress-fi.mo +0 -0
  47. languages/google-analytics-for-wordpress-fi.po +0 -571
  48. languages/google-analytics-for-wordpress-fr_FR.mo +0 -0
  49. languages/google-analytics-for-wordpress-fr_FR.po +0 -571
  50. languages/google-analytics-for-wordpress-hu_HU.mo +0 -0
  51. languages/google-analytics-for-wordpress-hu_HU.po +0 -571
  52. languages/google-analytics-for-wordpress-nl_NL.mo +0 -0
  53. languages/google-analytics-for-wordpress-nl_NL.po +0 -571
  54. languages/google-analytics-for-wordpress-ru_RU.mo +0 -0
  55. languages/google-analytics-for-wordpress.pot +101 -69
  56. readme.txt +19 -2
admin/api-libs/class-api-libs.php ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Include this class to use the Yoast_Api_Libs, you can include this as a submodule in your project
5
+ * and you just have to autoload this class
6
+ *
7
+ *
8
+ * NAMING CONVENTIONS
9
+ * - Register 'oauth' by using $this->register_api_library()
10
+ * - Create folder 'oauth'
11
+ * - Create file 'class-api-oauth.php'
12
+ * - Class name should be 'Yoast_Api_Oauth'
13
+ */
14
+
15
+ if ( ! class_exists( 'Yoast_Api_Libs' ) ) {
16
+
17
+ class Yoast_Api_Libs {
18
+
19
+ /**
20
+ * Store the available API libraries
21
+ *
22
+ * @var array
23
+ */
24
+ private static $api_libs = array();
25
+
26
+ /**
27
+ * Store the instances of the API class
28
+ *
29
+ * @var array
30
+ */
31
+ private static $instances = array();
32
+
33
+ /**
34
+ * Call this method to init the libraries you need
35
+ *
36
+ * @param array $libraries
37
+ *
38
+ * @return bool True when at least 1 library is registered, False when there was 1 failure or when there is no class loaded at all
39
+ */
40
+ public static function load_api_libraries( $libraries = array() ) {
41
+ $succeeded = 0;
42
+ $failed = 0;
43
+
44
+ if ( is_array( $libraries ) && count( $libraries ) >= 1 ) {
45
+ foreach ( $libraries as $lib ) {
46
+ if ( self::register_api_library( $lib ) ) {
47
+ $succeeded ++;
48
+ } else {
49
+ $failed ++;
50
+ }
51
+ }
52
+ }
53
+
54
+ if ( $succeeded >= 1 && $failed == 0 ) {
55
+ return true;
56
+ } else {
57
+ return false;
58
+ }
59
+ }
60
+
61
+ /**
62
+ * Get the registered API libraries
63
+ *
64
+ * @return array
65
+ */
66
+ public static function get_api_libs() {
67
+ return self::$api_libs;
68
+ }
69
+
70
+ /**
71
+ * Register a new API library to this class
72
+ *
73
+ * @param $name
74
+ *
75
+ * @return bool
76
+ */
77
+ private static function register_api_library( $name ) {
78
+ $name = strtolower( $name );
79
+ $classname = 'Yoast_Api_' . ucfirst( $name );
80
+ $classpath = 'class-api-' . $name . '.php';
81
+ $path_to_require = dirname( __FILE__ ) . '/' . $name . '/' . $classpath;
82
+
83
+ self::$api_libs[$name] = array(
84
+ 'name' => $name,
85
+ 'classname' => $classname,
86
+ 'classpath' => $classpath,
87
+ 'path_to_require' => $path_to_require,
88
+ );
89
+
90
+ if ( file_exists( $path_to_require ) ) {
91
+ include( $path_to_require );
92
+
93
+ if ( class_exists( $classname ) ) {
94
+ $instance = new $classname;
95
+
96
+ self::$instances[$name] = $instance;
97
+
98
+ return true;
99
+ }
100
+ }
101
+
102
+ return false;
103
+ }
104
+
105
+ /**
106
+ * Execute a call with this method
107
+ *
108
+ * @param $instance
109
+ * @param $method
110
+ * @param array $params
111
+ */
112
+ public static function do_call( $instance, $method, $params = array() ) {
113
+ $class = self::$instances[$instance];
114
+
115
+ $class->$method( $params );
116
+ // Call user func?
117
+ }
118
+
119
+ }
120
+
121
+ }
admin/api-libs/oauth/class-api-oauth.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_Api_Oauth' ) ) {
4
+
5
+ class Yoast_Api_Oauth {
6
+
7
+ /**
8
+ * This class will be loaded when someone calls the API library with the Oauth module
9
+ */
10
+ public function __construct() {
11
+ $this->load_api_oauth_files();
12
+ }
13
+
14
+ /**
15
+ * Autoload the Oauth classes
16
+ */
17
+ private function load_api_oauth_files() {
18
+ $oauth_files = array(
19
+ 'yoast_oauthconsumer' => 'class-oauth-consumer',
20
+ 'yoast_oauthdatastore' => 'class-oauth-datestore',
21
+ 'yoast_oauthexception' => 'class-oauth-exception',
22
+ 'yoast_oauthrequest' => 'class-oauth-request',
23
+ 'yoast_oauthserver' => 'class-oauth-server',
24
+ 'yoast_oauthsignaturemethod' => 'class-oauth-signature-method',
25
+ 'yoast_oathsignaturemethod_hmac_sha1' => 'class-oauth-signature-method-hmac-sha1',
26
+ 'yoast_oauthsignaturemethod_plaintext' => 'class-oauth-signature-method-plaintext',
27
+ 'yoast_oauthsignaturemethod_rsa_sha1' => 'class-oauth-signature-method-rsa-sha1',
28
+ 'yoast_oauthtoken' => 'class-oauth-token',
29
+ 'yoast_oauthutil' => 'class-oauth-util',
30
+ );
31
+
32
+ foreach ( $oauth_files as $key => $name ) {
33
+ if ( file_exists( dirname( __FILE__ ) . '/' . $name . '.php' ) ) {
34
+ require_once( dirname( __FILE__ ) . '/' . $name . '.php' );
35
+ }
36
+ }
37
+ }
38
+
39
+ }
40
+
41
+ }
admin/api-libs/oauth/class-oauth-consumer.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthConsumer' ) ) {
4
+
5
+ class Yoast_OAuthConsumer {
6
+
7
+ public $key;
8
+ public $secret;
9
+
10
+ function __construct( $key, $secret, $callback_url = null ) {
11
+ $this->key = $key;
12
+ $this->secret = $secret;
13
+ $this->callback_url = $callback_url;
14
+ }
15
+
16
+ function __toString() {
17
+ return "Yoast_OAuthConsumer[key=$this->key,secret=$this->secret]";
18
+ }
19
+
20
+ }
21
+
22
+ }
admin/api-libs/oauth/class-oauth-datastore.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthDataStore' ) ) {
4
+
5
+ class Yoast_OAuthDataStore {
6
+
7
+ function lookup_consumer( $consumer_key ) {
8
+ // implement me
9
+ }
10
+
11
+ function lookup_token( $consumer, $token_type, $token ) {
12
+ // implement me
13
+ }
14
+
15
+ function lookup_nonce( $consumer, $token, $nonce, $timestamp ) {
16
+ // implement me
17
+ }
18
+
19
+ function new_request_token( $consumer, $callback = null ) {
20
+ // return a new token attached to this consumer
21
+ }
22
+
23
+ function new_access_token( $token, $consumer, $verifier = null ) {
24
+ // return a new access token attached to this consumer
25
+ // for the user associated with this token if the request token
26
+ // is authorized
27
+ // should also invalidate the request token
28
+ }
29
+
30
+ }
31
+
32
+ }
admin/api-libs/oauth/class-oauth-exception.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthException' ) ) {
4
+
5
+ class Yoast_OAuthException extends Exception {
6
+ // pass
7
+ }
8
+
9
+ }
admin/api-libs/oauth/class-oauth-request.php ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if(!class_exists('Yoast_OAuthRequest')) {
4
+
5
+ class Yoast_OAuthRequest {
6
+
7
+ protected $parameters;
8
+ protected $http_method;
9
+ protected $http_url;
10
+ // for debug purposes
11
+ public $base_string;
12
+ public static $version = '1.0';
13
+ public static $POST_INPUT = 'php://input';
14
+
15
+ function __construct( $http_method, $http_url, $parameters = null ) {
16
+ $parameters = ( $parameters ) ? $parameters : array();
17
+ $parameters = array_merge( Yoast_OAuthUtil::parse_parameters( parse_url( $http_url, PHP_URL_QUERY ) ), $parameters );
18
+ $this->parameters = $parameters;
19
+ $this->http_method = $http_method;
20
+ $this->http_url = $http_url;
21
+ }
22
+
23
+
24
+ /**
25
+ * attempt to build up a request from what was passed to the server
26
+ */
27
+ public static function from_request( $http_method = null, $http_url = null, $parameters = null ) {
28
+ $scheme = ( ! isset( $_SERVER['HTTPS'] ) || $_SERVER['HTTPS'] != 'on' )
29
+ ? 'http'
30
+ : 'https';
31
+ $http_url = ( $http_url ) ? $http_url : $scheme .
32
+ '://' . $_SERVER['SERVER_NAME'] .
33
+ ':' .
34
+ $_SERVER['SERVER_PORT'] .
35
+ $_SERVER['REQUEST_URI'];
36
+ $http_method = ( $http_method ) ? $http_method : $_SERVER['REQUEST_METHOD'];
37
+
38
+ // We weren't handed any parameters, so let's find the ones relevant to
39
+ // this request.
40
+ // If you run XML-RPC or similar you should use this to provide your own
41
+ // parsed parameter-list
42
+ if ( ! $parameters ) {
43
+ // Find request headers
44
+ $request_headers = Yoast_OAuthUtil::get_headers();
45
+
46
+ // Parse the query-string to find GET parameters
47
+ $parameters = Yoast_OAuthUtil::parse_parameters( $_SERVER['QUERY_STRING'] );
48
+
49
+ // It's a POST request of the proper content-type, so parse POST
50
+ // parameters and add those overriding any duplicates from GET
51
+ if ( $http_method == 'POST'
52
+ && isset( $request_headers['Content-Type'] )
53
+ && strstr( $request_headers['Content-Type'],
54
+ 'application/x-www-form-urlencoded' )
55
+ ) {
56
+ $post_data = Yoast_OAuthUtil::parse_parameters(
57
+ file_get_contents( self::$POST_INPUT )
58
+ );
59
+ $parameters = array_merge( $parameters, $post_data );
60
+ }
61
+
62
+ // We have a Authorization-header with OAuth data. Parse the header
63
+ // and add those overriding any duplicates from GET or POST
64
+ if ( isset( $request_headers['Authorization'] ) && substr( $request_headers['Authorization'], 0, 6 ) == 'OAuth ' ) {
65
+ $header_parameters = Yoast_OAuthUtil::split_header(
66
+ $request_headers['Authorization']
67
+ );
68
+ $parameters = array_merge( $parameters, $header_parameters );
69
+ }
70
+ }
71
+
72
+ return new Yoast_OAuthRequest( $http_method, $http_url, $parameters );
73
+ }
74
+
75
+ /**
76
+ * pretty much a helper function to set up the request
77
+ */
78
+ public static function from_consumer_and_token( $consumer, $token, $http_method, $http_url, $parameters = null ) {
79
+ $parameters = ( $parameters ) ? $parameters : array();
80
+ $defaults = array(
81
+ 'oauth_version' => Yoast_OAuthRequest::$version,
82
+ 'oauth_nonce' => Yoast_OAuthRequest::generate_nonce(),
83
+ 'oauth_timestamp' => Yoast_OAuthRequest::generate_timestamp(),
84
+ 'oauth_consumer_key' => $consumer->key,
85
+ );
86
+ if ( $token ) {
87
+ $defaults['oauth_token'] = $token->key;
88
+ }
89
+
90
+ $parameters = array_merge( $defaults, $parameters );
91
+
92
+ return new Yoast_OAuthRequest( $http_method, $http_url, $parameters );
93
+ }
94
+
95
+ public function set_parameter( $name, $value, $allow_duplicates = true ) {
96
+ if ( $allow_duplicates && isset( $this->parameters[$name] ) ) {
97
+ // We have already added parameter(s) with this name, so add to the list
98
+ if ( is_scalar( $this->parameters[$name] ) ) {
99
+ // This is the first duplicate, so transform scalar (string)
100
+ // into an array so we can add the duplicates
101
+ $this->parameters[$name] = array( $this->parameters[$name] );
102
+ }
103
+
104
+ $this->parameters[$name][] = $value;
105
+ } else {
106
+ $this->parameters[$name] = $value;
107
+ }
108
+ }
109
+
110
+ public function get_parameter( $name ) {
111
+ return isset( $this->parameters[$name] ) ? $this->parameters[$name] : null;
112
+ }
113
+
114
+ public function get_parameters() {
115
+ return $this->parameters;
116
+ }
117
+
118
+ public function unset_parameter( $name ) {
119
+ unset( $this->parameters[$name] );
120
+ }
121
+
122
+ /**
123
+ * The request parameters, sorted and concatenated into a normalized string.
124
+ * @return string
125
+ */
126
+ public function get_signable_parameters() {
127
+ // Grab all parameters
128
+ $params = $this->parameters;
129
+
130
+ // Remove oauth_signature if present
131
+ // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
132
+ if ( isset( $params['oauth_signature'] ) ) {
133
+ unset( $params['oauth_signature'] );
134
+ }
135
+
136
+ return Yoast_OAuthUtil::build_http_query( $params );
137
+ }
138
+
139
+ /**
140
+ * Returns the base string of this request
141
+ *
142
+ * The base string defined as the method, the url
143
+ * and the parameters (normalized), each urlencoded
144
+ * and the concated with &.
145
+ */
146
+ public function get_signature_base_string() {
147
+ $parts = array(
148
+ $this->get_normalized_http_method(),
149
+ $this->get_normalized_http_url(),
150
+ $this->get_signable_parameters(),
151
+ );
152
+
153
+ $parts = Yoast_OAuthUtil::urlencode_rfc3986( $parts );
154
+
155
+ return implode( '&', $parts );
156
+ }
157
+
158
+ /**
159
+ * just uppercases the http method
160
+ */
161
+ public function get_normalized_http_method() {
162
+ return strtoupper( $this->http_method );
163
+ }
164
+
165
+ /**
166
+ * parses the url and rebuilds it to be
167
+ * scheme://host/path
168
+ */
169
+ public function get_normalized_http_url() {
170
+ $parts = parse_url( $this->http_url );
171
+
172
+ $scheme = ( isset( $parts['scheme'] ) ) ? $parts['scheme'] : 'http';
173
+ $port = ( isset( $parts['port'] ) ) ? $parts['port'] : ( ( $scheme == 'https' ) ? '443' : '80' );
174
+ $host = ( isset( $parts['host'] ) ) ? strtolower( $parts['host'] ) : '';
175
+ $path = ( isset( $parts['path'] ) ) ? $parts['path'] : '';
176
+
177
+ if ( ( $scheme == 'https' && $port != '443' )
178
+ || ( $scheme == 'http' && $port != '80' )
179
+ ) {
180
+ $host = "$host:$port";
181
+ }
182
+
183
+ return "$scheme://$host$path";
184
+ }
185
+
186
+ /**
187
+ * builds a url usable for a GET request
188
+ */
189
+ public function to_url() {
190
+ $post_data = $this->to_postdata();
191
+ $out = $this->get_normalized_http_url();
192
+ if ( $post_data ) {
193
+ $out .= '?' . $post_data;
194
+ }
195
+
196
+ return $out;
197
+ }
198
+
199
+ /**
200
+ * builds the data one would send in a POST request
201
+ */
202
+ public function to_postdata() {
203
+ return Yoast_OAuthUtil::build_http_query( $this->parameters );
204
+ }
205
+
206
+ /**
207
+ * builds the Authorization: header
208
+ */
209
+ public function to_header( $realm = null ) {
210
+ $first = true;
211
+ if ( $realm ) {
212
+ $out = 'Authorization: OAuth realm="' . Yoast_OAuthUtil::urlencode_rfc3986( $realm ) . '"';
213
+ $first = false;
214
+ } else {
215
+ $out = 'Authorization: OAuth';
216
+ }
217
+
218
+ $total = array();
219
+ foreach ( $this->parameters as $k => $v ) {
220
+ if ( substr( $k, 0, 5 ) != 'oauth' ) {
221
+ continue;
222
+ }
223
+ if ( is_array( $v ) ) {
224
+ throw new Yoast_OAuthException( 'Arrays not supported in headers' );
225
+ }
226
+ $out .= ( $first ) ? ' ' : ',';
227
+ $out .= Yoast_OAuthUtil::urlencode_rfc3986( $k ) .
228
+ '="' .
229
+ Yoast_OAuthUtil::urlencode_rfc3986( $v ) .
230
+ '"';
231
+ $first = false;
232
+ }
233
+
234
+ return $out;
235
+ }
236
+
237
+ public function __toString() {
238
+ return $this->to_url();
239
+ }
240
+
241
+
242
+ public function sign_request( $signature_method, $consumer, $token ) {
243
+ $this->set_parameter(
244
+ 'oauth_signature_method',
245
+ $signature_method->get_name(),
246
+ false
247
+ );
248
+ $signature = $this->build_signature( $signature_method, $consumer, $token );
249
+ $this->set_parameter( 'oauth_signature', $signature, false );
250
+ }
251
+
252
+ public function build_signature( $signature_method, $consumer, $token ) {
253
+ $signature = $signature_method->build_signature( $this, $consumer, $token );
254
+
255
+ return $signature;
256
+ }
257
+
258
+ /**
259
+ * util function: current timestamp
260
+ */
261
+ private static function generate_timestamp() {
262
+ return time();
263
+ }
264
+
265
+ /**
266
+ * util function: current nonce
267
+ */
268
+ private static function generate_nonce() {
269
+ $mt = microtime();
270
+ $rand = mt_rand();
271
+
272
+ return md5( $mt . $rand ); // md5s look nicer than numbers
273
+ }
274
+
275
+ }
276
+
277
+ }
admin/api-libs/oauth/class-oauth-server.php ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthServer' ) ) {
4
+
5
+ class Yoast_OAuthServer {
6
+
7
+ protected $timestamp_threshold = 300; // in seconds, five minutes
8
+ protected $version = '1.0'; // hi blaine
9
+ protected $signature_methods = array();
10
+
11
+ protected $data_store;
12
+
13
+ function __construct( $data_store ) {
14
+ $this->data_store = $data_store;
15
+ }
16
+
17
+ public function add_signature_method( $signature_method ) {
18
+ $this->signature_methods[$signature_method->get_name()] =
19
+ $signature_method;
20
+ }
21
+
22
+ // high level functions
23
+
24
+ /**
25
+ * process a request_token request
26
+ * returns the request token on success
27
+ */
28
+ public function fetch_request_token( &$request ) {
29
+ $this->get_version( $request );
30
+
31
+ $consumer = $this->get_consumer( $request );
32
+
33
+ // no token required for the initial token request
34
+ $token = null;
35
+
36
+ $this->check_signature( $request, $consumer, $token );
37
+
38
+ // Rev A change
39
+ $callback = $request->get_parameter( 'oauth_callback' );
40
+ $new_token = $this->data_store->new_request_token( $consumer, $callback );
41
+
42
+ return $new_token;
43
+ }
44
+
45
+ /**
46
+ * process an access_token request
47
+ * returns the access token on success
48
+ */
49
+ public function fetch_access_token( &$request ) {
50
+ $this->get_version( $request );
51
+
52
+ $consumer = $this->get_consumer( $request );
53
+
54
+ // requires authorized request token
55
+ $token = $this->get_token( $request, $consumer, 'request' );
56
+
57
+ $this->check_signature( $request, $consumer, $token );
58
+
59
+ // Rev A change
60
+ $verifier = $request->get_parameter( 'oauth_verifier' );
61
+ $new_token = $this->data_store->new_access_token( $token, $consumer, $verifier );
62
+
63
+ return $new_token;
64
+ }
65
+
66
+ /**
67
+ * verify an api call, checks all the parameters
68
+ */
69
+ public function verify_request( &$request ) {
70
+ $this->get_version( $request );
71
+ $consumer = $this->get_consumer( $request );
72
+ $token = $this->get_token( $request, $consumer, 'access' );
73
+ $this->check_signature( $request, $consumer, $token );
74
+
75
+ return array( $consumer, $token );
76
+ }
77
+
78
+ // Internals from here
79
+ /**
80
+ * version 1
81
+ */
82
+ private function get_version( &$request ) {
83
+ $version = $request->get_parameter( 'oauth_version' );
84
+ if ( ! $version ) {
85
+ // Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present.
86
+ // Chapter 7.0 ("Accessing Protected Ressources")
87
+ $version = '1.0';
88
+ }
89
+ if ( $version !== $this->version ) {
90
+ throw new Yoast_OAuthException( 'OAuth version ' . $version . ' not supported' );
91
+ }
92
+
93
+ return $version;
94
+ }
95
+
96
+ /**
97
+ * figure out the signature with some defaults
98
+ */
99
+ private function get_signature_method( $request ) {
100
+ $signature_method = $request instanceof Yoast_OAuthRequest
101
+ ? $request->get_parameter( 'oauth_signature_method' )
102
+ : null;
103
+
104
+ if ( ! $signature_method ) {
105
+ // According to chapter 7 ("Accessing Protected Ressources") the signature-method
106
+ // parameter is required, and we can't just fallback to PLAINTEXT
107
+ throw new Yoast_OAuthException( 'No signature method parameter. This parameter is required' );
108
+ }
109
+
110
+ if ( ! in_array( $signature_method,
111
+ array_keys( $this->signature_methods ) )
112
+ ) {
113
+ throw new Yoast_OAuthException(
114
+ 'Signature method ' . $signature_method . ' not supported ' .
115
+ 'try one of the following: ' .
116
+ implode( ', ', array_keys( $this->signature_methods ) )
117
+ );
118
+ }
119
+
120
+ return $this->signature_methods[$signature_method];
121
+ }
122
+
123
+ /**
124
+ * try to find the consumer for the provided request's consumer key
125
+ */
126
+ private function get_consumer( $request ) {
127
+ $consumer_key = $request instanceof Yoast_OAuthRequest
128
+ ? $request->get_parameter( 'oauth_consumer_key' )
129
+ : null;
130
+
131
+ if ( ! $consumer_key ) {
132
+ throw new Yoast_OAuthException( 'Invalid consumer key' );
133
+ }
134
+
135
+ $consumer = $this->data_store->lookup_consumer( $consumer_key );
136
+ if ( ! $consumer ) {
137
+ throw new Yoast_OAuthException( 'Invalid consumer' );
138
+ }
139
+
140
+ return $consumer;
141
+ }
142
+
143
+ /**
144
+ * try to find the token for the provided request's token key
145
+ */
146
+ private function get_token( $request, $consumer, $token_type = 'access' ) {
147
+ $token_field = $request instanceof Yoast_OAuthRequest
148
+ ? $request->get_parameter( 'oauth_token' )
149
+ : null;
150
+
151
+ $token = $this->data_store->lookup_token(
152
+ $consumer, $token_type, $token_field
153
+ );
154
+ if ( ! $token ) {
155
+ throw new Yoast_OAuthException( "Invalid $token_type token: $token_field" );
156
+ }
157
+
158
+ return $token;
159
+ }
160
+
161
+ /**
162
+ * all-in-one function to check the signature on a request
163
+ * should guess the signature method appropriately
164
+ */
165
+ private function check_signature( $request, $consumer, $token ) {
166
+ // this should probably be in a different method
167
+ $timestamp = $request instanceof Yoast_OAuthRequest
168
+ ? $request->get_parameter( 'oauth_timestamp' )
169
+ : null;
170
+ $nonce = $request instanceof Yoast_OAuthRequest
171
+ ? $request->get_parameter( 'oauth_nonce' )
172
+ : null;
173
+
174
+ $this->check_timestamp( $timestamp );
175
+ $this->check_nonce( $consumer, $token, $nonce, $timestamp );
176
+
177
+ $signature_method = $this->get_signature_method( $request );
178
+
179
+ $signature = $request->get_parameter( 'oauth_signature' );
180
+ $valid_sig = $signature_method->check_signature(
181
+ $request,
182
+ $consumer,
183
+ $token,
184
+ $signature
185
+ );
186
+
187
+ if ( ! $valid_sig ) {
188
+ throw new Yoast_OAuthException( 'Invalid signature' );
189
+ }
190
+ }
191
+
192
+ /**
193
+ * check that the timestamp is new enough
194
+ */
195
+ private function check_timestamp( $timestamp ) {
196
+ if ( ! $timestamp ) {
197
+ throw new Yoast_OAuthException(
198
+ 'Missing timestamp parameter. The parameter is required'
199
+ );
200
+ }
201
+
202
+ // verify that timestamp is recentish
203
+ $now = time();
204
+ if ( abs( $now - $timestamp ) > $this->timestamp_threshold ) {
205
+ throw new Yoast_OAuthException(
206
+ "Expired timestamp, yours $timestamp, ours $now"
207
+ );
208
+ }
209
+ }
210
+
211
+ /**
212
+ * check that the nonce is not repeated
213
+ */
214
+ private function check_nonce( $consumer, $token, $nonce, $timestamp ) {
215
+ if ( ! $nonce ) {
216
+ throw new Yoast_OAuthException(
217
+ 'Missing nonce parameter. The parameter is required'
218
+ );
219
+ }
220
+
221
+ // verify that the nonce is uniqueish
222
+ $found = $this->data_store->lookup_nonce(
223
+ $consumer,
224
+ $token,
225
+ $nonce,
226
+ $timestamp
227
+ );
228
+ if ( $found ) {
229
+ throw new Yoast_OAuthException( "Nonce already used: $nonce" );
230
+ }
231
+ }
232
+
233
+ }
234
+
235
+ }
admin/api-libs/oauth/class-oauth-signature-method-hmac-sha1.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthSignatureMethod_HMAC_SHA1' ) ) {
4
+
5
+ /**
6
+ * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]
7
+ * where the Signature Base String is the text and the key is the concatenated values (each first
8
+ * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
9
+ * character (ASCII code 38) even if empty.
10
+ * - Chapter 9.2 ("HMAC-SHA1")
11
+ */
12
+ class Yoast_OAuthSignatureMethod_HMAC_SHA1 extends Yoast_OAuthSignatureMethod {
13
+
14
+ function get_name() {
15
+ return 'HMAC-SHA1';
16
+ }
17
+
18
+ public function build_signature( $request, $consumer, $token ) {
19
+ $base_string = $request->get_signature_base_string();
20
+ $request->base_string = $base_string;
21
+
22
+ $key_parts = array(
23
+ $consumer->secret,
24
+ ( $token ) ? $token->secret : '',
25
+ );
26
+
27
+ $key_parts = Yoast_OAuthUtil::urlencode_rfc3986( $key_parts );
28
+ $key = implode( '&', $key_parts );
29
+
30
+ return base64_encode( hash_hmac( 'sha1', $base_string, $key, true ) );
31
+ }
32
+
33
+ }
34
+
35
+ }
admin/api-libs/oauth/class-oauth-signature-method-plaintext.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if(!class_exists('Yoast_OAuthSignatureMethod_PLAINTEXT')) {
4
+
5
+ /**
6
+ * The PLAINTEXT method does not provide any security protection and SHOULD only be used
7
+ * over a secure channel such as HTTPS. It does not use the Signature Base String.
8
+ * - Chapter 9.4 ("PLAINTEXT")
9
+ */
10
+ class Yoast_OAuthSignatureMethod_PLAINTEXT extends Yoast_OAuthSignatureMethod {
11
+
12
+ public function get_name() {
13
+ return 'PLAINTEXT';
14
+ }
15
+
16
+ /**
17
+ * oauth_signature is set to the concatenated encoded values of the Consumer Secret and
18
+ * Token Secret, separated by a '&' character (ASCII code 38), even if either secret is
19
+ * empty. The result MUST be encoded again.
20
+ * - Chapter 9.4.1 ("Generating Signatures")
21
+ *
22
+ * Please note that the second encoding MUST NOT happen in the SignatureMethod, as
23
+ * Yoast_OAuthRequest handles this!
24
+ */
25
+ public function build_signature( $request, $consumer, $token ) {
26
+ $key_parts = array(
27
+ $consumer->secret,
28
+ ( $token ) ? $token->secret : '',
29
+ );
30
+
31
+ $key_parts = Yoast_OAuthUtil::urlencode_rfc3986( $key_parts );
32
+ $key = implode( '&', $key_parts );
33
+ $request->base_string = $key;
34
+
35
+ return $key;
36
+ }
37
+
38
+ }
39
+
40
+ }
admin/api-libs/oauth/class-oauth-signature-method-rsa-sha1.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if( !class_exists('Yoast_OAuthSignatureMethod_RSA_SHA1')) {
4
+
5
+ /**
6
+ * The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in
7
+ * [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for
8
+ * EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a
9
+ * verified way to the Service Provider, in a manner which is beyond the scope of this
10
+ * specification.
11
+ * - Chapter 9.3 ("RSA-SHA1")
12
+ */
13
+ abstract class Yoast_OAuthSignatureMethod_RSA_SHA1 extends Yoast_OAuthSignatureMethod {
14
+
15
+ public function get_name() {
16
+ return 'RSA-SHA1';
17
+ }
18
+
19
+ // Up to the SP to implement this lookup of keys. Possible ideas are:
20
+ // (1) do a lookup in a table of trusted certs keyed off of consumer
21
+ // (2) fetch via http using a url provided by the requester
22
+ // (3) some sort of specific discovery code based on request
23
+ //
24
+ // Either way should return a string representation of the certificate
25
+ protected abstract function fetch_public_cert( &$request );
26
+
27
+ // Up to the SP to implement this lookup of keys. Possible ideas are:
28
+ // (1) do a lookup in a table of trusted certs keyed off of consumer
29
+ //
30
+ // Either way should return a string representation of the certificate
31
+ protected abstract function fetch_private_cert( &$request );
32
+
33
+ public function build_signature( $request, $consumer, $token ) {
34
+ $base_string = $request->get_signature_base_string();
35
+ $request->base_string = $base_string;
36
+
37
+ // Fetch the private key cert based on the request
38
+ $cert = $this->fetch_private_cert( $request );
39
+
40
+ // Pull the private key ID from the certificate
41
+ $privatekeyid = openssl_get_privatekey( $cert );
42
+
43
+ // Sign using the key
44
+ $ok = openssl_sign( $base_string, $signature, $privatekeyid );
45
+
46
+ // Release the key resource
47
+ openssl_free_key( $privatekeyid );
48
+
49
+ return base64_encode( $signature );
50
+ }
51
+
52
+ public function check_signature( $request, $consumer, $token, $signature ) {
53
+ $decoded_sig = base64_decode( $signature );
54
+
55
+ $base_string = $request->get_signature_base_string();
56
+
57
+ // Fetch the public key cert based on the request
58
+ $cert = $this->fetch_public_cert( $request );
59
+
60
+ // Pull the public key ID from the certificate
61
+ $publickeyid = openssl_get_publickey( $cert );
62
+
63
+ // Check the computed signature against the one passed in the query
64
+ $ok = openssl_verify( $base_string, $decoded_sig, $publickeyid );
65
+
66
+ // Release the key resource
67
+ openssl_free_key( $publickeyid );
68
+
69
+ return $ok == 1;
70
+ }
71
+
72
+ }
73
+
74
+ }
admin/api-libs/oauth/class-oauth-signature-method.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_OAuthSignatureMethod' ) ) {
4
+ /**
5
+ * A class for implementing a Signature Method
6
+ * See section 9 ("Signing Requests") in the spec
7
+ */
8
+ abstract class Yoast_OAuthSignatureMethod {
9
+
10
+ /**
11
+ * Needs to return the name of the Signature Method (ie HMAC-SHA1)
12
+ * @return string
13
+ */
14
+ abstract public function get_name();
15
+
16
+ /**
17
+ * Build up the signature
18
+ * NOTE: The output of this function MUST NOT be urlencoded.
19
+ * the encoding is handled in Yoast_OAuthRequest when the final
20
+ * request is serialized
21
+ *
22
+ * @param Yoast_OAuthRequest $request
23
+ * @param Yoast_OAuthConsumer $consumer
24
+ * @param Yoast_OAuthToken $token
25
+ *
26
+ * @return string
27
+ */
28
+ abstract public function build_signature( $request, $consumer, $token );
29
+
30
+ /**
31
+ * Verifies that a given signature is correct
32
+ *
33
+ * @param Yoast_OAuthRequest $request
34
+ * @param Yoast_OAuthConsumer $consumer
35
+ * @param Yoast_OAuthToken $token
36
+ * @param string $signature
37
+ *
38
+ * @return bool
39
+ */
40
+ public function check_signature( $request, $consumer, $token, $signature ) {
41
+ $built = $this->build_signature( $request, $consumer, $token );
42
+
43
+ // Check for zero length, although unlikely here
44
+ if ( strlen( $built ) == 0 || strlen( $signature ) == 0 ) {
45
+ return false;
46
+ }
47
+
48
+ if ( strlen( $built ) != strlen( $signature ) ) {
49
+ return false;
50
+ }
51
+
52
+ // Avoid a timing leak with a (hopefully) time insensitive compare
53
+ $result = 0;
54
+ for ( $i = 0; $i < strlen( $signature ); $i ++ ) {
55
+ $result |= ord( $built{$i} ) ^ ord( $signature{$i} );
56
+ }
57
+
58
+ return $result == 0;
59
+ }
60
+
61
+ }
62
+
63
+ }
admin/api-libs/oauth/class-oauth-token.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if(!class_exists('Yoast_OAuthToken')) {
4
+
5
+ class Yoast_OAuthToken {
6
+
7
+ // access tokens and request tokens
8
+ public $key;
9
+ public $secret;
10
+
11
+ /**
12
+ * key = the token
13
+ * secret = the token secret
14
+ */
15
+ function __construct( $key, $secret ) {
16
+ $this->key = $key;
17
+ $this->secret = $secret;
18
+ }
19
+
20
+ /**
21
+ * generates the basic string serialization of a token that a server
22
+ * would respond to request_token and access_token calls with
23
+ */
24
+ function to_string() {
25
+ return 'oauth_token=' .
26
+ Yoast_OAuthUtil::urlencode_rfc3986( $this->key ) .
27
+ '&oauth_token_secret=' .
28
+ Yoast_OAuthUtil::urlencode_rfc3986( $this->secret );
29
+ }
30
+
31
+ function __toString() {
32
+ return $this->to_string();
33
+ }
34
+
35
+ }
36
+
37
+ }
admin/api-libs/oauth/class-oauth-util.php ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if(!class_exists('Yoast_OAuthUtil')) {
4
+
5
+ class Yoast_OAuthUtil {
6
+
7
+ public static function urlencode_rfc3986( $input ) {
8
+ if ( is_array( $input ) ) {
9
+ return array_map( array( 'Yoast_OAuthUtil', 'urlencode_rfc3986' ), $input );
10
+ } else {
11
+ if ( is_scalar( $input ) ) {
12
+ return str_replace(
13
+ '+',
14
+ ' ',
15
+ str_replace( '%7E', '~', rawurlencode( $input ) )
16
+ );
17
+ } else {
18
+ return '';
19
+ }
20
+ }
21
+ }
22
+
23
+
24
+ // This decode function isn't taking into consideration the above
25
+ // modifications to the encoding process. However, this method doesn't
26
+ // seem to be used anywhere so leaving it as is.
27
+ public static function urldecode_rfc3986( $string ) {
28
+ return urldecode( $string );
29
+ }
30
+
31
+ // Utility function for turning the Authorization: header into
32
+ // parameters, has to do some unescaping
33
+ // Can filter out any non-oauth parameters if needed (default behaviour)
34
+ // May 28th, 2010 - method updated to tjerk.meesters for a speed improvement.
35
+ // see http://code.google.com/p/oauth/issues/detail?id=163
36
+ public static function split_header( $header, $only_allow_oauth_parameters = true ) {
37
+ $params = array();
38
+ if ( preg_match_all( '/(' . ( $only_allow_oauth_parameters ? 'oauth_' : '' ) . '[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches ) ) {
39
+ foreach ( $matches[1] as $i => $h ) {
40
+ $params[$h] = Yoast_OAuthUtil::urldecode_rfc3986( empty( $matches[3][$i] ) ? $matches[4][$i] : $matches[3][$i] );
41
+ }
42
+ if ( isset( $params['realm'] ) ) {
43
+ unset( $params['realm'] );
44
+ }
45
+ }
46
+
47
+ return $params;
48
+ }
49
+
50
+ // helper to try to sort out headers for people who aren't running apache
51
+ public static function get_headers() {
52
+ if ( function_exists( 'apache_request_headers' ) ) {
53
+ // we need this to get the actual Authorization: header
54
+ // because apache tends to tell us it doesn't exist
55
+ $headers = apache_request_headers();
56
+
57
+ // sanitize the output of apache_request_headers because
58
+ // we always want the keys to be Cased-Like-This and arh()
59
+ // returns the headers in the same case as they are in the
60
+ // request
61
+ $out = array();
62
+ foreach ( $headers AS $key => $value ) {
63
+ $key = str_replace(
64
+ ' ',
65
+ '-',
66
+ ucwords( strtolower( str_replace( '-', ' ', $key ) ) )
67
+ );
68
+ $out[$key] = $value;
69
+ }
70
+ } else {
71
+ // otherwise we don't have apache and are just going to have to hope
72
+ // that $_SERVER actually contains what we need
73
+ $out = array();
74
+ if ( isset( $_SERVER['CONTENT_TYPE'] ) ) {
75
+ $out['Content-Type'] = $_SERVER['CONTENT_TYPE'];
76
+ }
77
+ if ( isset( $_ENV['CONTENT_TYPE'] ) ) {
78
+ $out['Content-Type'] = $_ENV['CONTENT_TYPE'];
79
+ }
80
+
81
+ foreach ( $_SERVER as $key => $value ) {
82
+ if ( substr( $key, 0, 5 ) == 'HTTP_' ) {
83
+ // this is chaos, basically it is just there to capitalize the first
84
+ // letter of every word that is not an initial HTTP and strip HTTP
85
+ // code from przemek
86
+ $key = str_replace(
87
+ ' ',
88
+ '-',
89
+ ucwords( strtolower( str_replace( '_', ' ', substr( $key, 5 ) ) ) )
90
+ );
91
+ $out[$key] = $value;
92
+ }
93
+ }
94
+ }
95
+
96
+ return $out;
97
+ }
98
+
99
+ // This function takes a input like a=b&a=c&d=e and returns the parsed
100
+ // parameters like this
101
+ // array('a' => array('b','c'), 'd' => 'e')
102
+ public static function parse_parameters( $input ) {
103
+ if ( ! isset( $input ) || ! $input ) {
104
+ return array();
105
+ }
106
+
107
+ $pairs = explode( '&', $input );
108
+
109
+ $parsed_parameters = array();
110
+ foreach ( $pairs as $pair ) {
111
+ $split = explode( '=', $pair, 2 );
112
+ $parameter = Yoast_OAuthUtil::urldecode_rfc3986( $split[0] );
113
+ $value = isset( $split[1] ) ? Yoast_OAuthUtil::urldecode_rfc3986( $split[1] ) : '';
114
+
115
+ if ( isset( $parsed_parameters[$parameter] ) ) {
116
+ // We have already recieved parameter(s) with this name, so add to the list
117
+ // of parameters with this name
118
+
119
+ if ( is_scalar( $parsed_parameters[$parameter] ) ) {
120
+ // This is the first duplicate, so transform scalar (string) into an array
121
+ // so we can add the duplicates
122
+ $parsed_parameters[$parameter] = array( $parsed_parameters[$parameter] );
123
+ }
124
+
125
+ $parsed_parameters[$parameter][] = $value;
126
+ } else {
127
+ $parsed_parameters[$parameter] = $value;
128
+ }
129
+ }
130
+
131
+ return $parsed_parameters;
132
+ }
133
+
134
+ public static function build_http_query( $params ) {
135
+ if ( ! $params ) {
136
+ return '';
137
+ }
138
+
139
+ // Urlencode both keys and values
140
+ $keys = Yoast_OAuthUtil::urlencode_rfc3986( array_keys( $params ) );
141
+ $values = Yoast_OAuthUtil::urlencode_rfc3986( array_values( $params ) );
142
+ $params = array_combine( $keys, $values );
143
+
144
+ // Parameters are sorted by name, using lexicographical byte value ordering.
145
+ // Ref: Spec: 9.1.1 (1)
146
+ uksort( $params, 'strcmp' );
147
+
148
+ $pairs = array();
149
+ foreach ( $params as $parameter => $value ) {
150
+ if ( is_array( $value ) ) {
151
+ // If two or more parameters share the same name, they are sorted by their value
152
+ // Ref: Spec: 9.1.1 (1)
153
+ // June 12th, 2010 - changed to sort because of issue 164 by hidetaka
154
+ sort( $value, SORT_STRING );
155
+ foreach ( $value as $duplicate_value ) {
156
+ $pairs[] = $parameter . '=' . $duplicate_value;
157
+ }
158
+ } else {
159
+ $pairs[] = $parameter . '=' . $value;
160
+ }
161
+ }
162
+ // For each parameter, the name is separated from the corresponding value by an '=' character (ASCII code 61)
163
+ // Each name-value pair is separated by an '&' character (ASCII code 38)
164
+ return implode( '&', $pairs );
165
+ }
166
+
167
+ }
168
+
169
+ }
admin/class-admin-dashboards-aggregate.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_GA_Dashboards_Aggregrate' ) ) {
4
+
5
+ class Yoast_GA_Dashboards_Aggregrate extends Yoast_GA_Dashboards {
6
+
7
+ private $api;
8
+
9
+ /**
10
+ * Construct on the dashboards class for GA
11
+ */
12
+ public function __construct(){
13
+
14
+ $this->api = Yoast_Api_Libs::load_api_libraries( array( 'oauth' ) );
15
+ }
16
+
17
+ }
18
+
19
+ }
admin/class-admin-dashboards.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! class_exists( 'Yoast_GA_Dashboards' ) ) {
4
+
5
+ class Yoast_GA_Dashboards extends Yoast_GA_Admin {
6
+
7
+ /**
8
+ * Construct on the dashboards class for GA
9
+ */
10
+ public function __construct(){
11
+
12
+ }
13
+
14
+ }
15
+
16
+ }
admin/class-admin-menu.php ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This class is for the backend, extendable for all child classes
4
+ */
5
+
6
+ if ( ! class_exists( 'Yoast_GA_Admin_Menu' ) ) {
7
+
8
+ class Yoast_GA_Admin_Menu extends Yoast_GA_Options {
9
+
10
+ /**
11
+ * The property used for storing target object (class admin)
12
+ *
13
+ * @var
14
+ */
15
+ private $target_object;
16
+
17
+ /**
18
+ * Setting the target_object and adding actions
19
+ *
20
+ * @param object $target_object
21
+ */
22
+ public function __construct( $target_object ) {
23
+
24
+ $this->target_object = $target_object;
25
+
26
+ add_action( 'admin_menu', array( $this, 'create_admin_menu' ), 10 );
27
+
28
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
29
+
30
+ if ( is_plugin_active_for_network( GAWP_PATH ) ) {
31
+ add_action( 'network_admin_menu', array( $this, 'create_admin_menu' ), 5 );
32
+ }
33
+ }
34
+
35
+ /**
36
+ * Create the admin menu
37
+ *
38
+ * @todo, we need to implement a new icon for this, currently we're using the WP seo icon
39
+ */
40
+ public function create_admin_menu() {
41
+ /**
42
+ * Filter: 'wpga_menu_on_top' - Allows filtering of menu location of the GA plugin, if false is returned, it moves to bottom.
43
+ *
44
+ * @api book unsigned
45
+ */
46
+ $on_top = apply_filters( 'wpga_menu_on_top', true );
47
+
48
+ // Base 64 encoded SVG image
49
+ $icon_svg = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbnNpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYWFnXzEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7IiB4bWxuczpncmFwaD0iJm5zX2dyYXBoczsiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmE9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRvYmVTVkdWaWV3ZXJFeHRlbnNpb25zLzMuMC8iDQoJIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDAgMzEuODkiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDQwIDMxLjg5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTQwLDEyLjUyNEM0MCw1LjYwOCwzMS40NjksMCwyMCwwQzguNTMsMCwwLDUuNjA4LDAsMTIuNTI0YzAsNS41Niw1LjI0MywxMC4yNzIsMTMuNTU3LDExLjkwN3YtNC4wNjUNCgljMCwwLDAuMDQtMS0wLjI4LTEuOTJjLTAuMzItMC45MjEtMS43Ni0zLjAwMS0xLjc2LTUuMTIxYzAtMi4xMjEsMi41NjEtOS41NjMsNS4xMjItMTAuNDQ0Yy0wLjQsMS4yMDEtMC4zMiw3LjY4My0wLjMyLDcuNjgzDQoJczEuNCwyLjcyLDQuNjQxLDIuNzJjMy4yNDIsMCw0LjUxMS0xLjc2LDQuNzE1LTIuMmMwLjIwNi0wLjQ0LDAuODQ2LTguNzIzLDAuODQ2LTguNzIzczQuMDgyLDQuNDAyLDMuNjgyLDkuMzYzDQoJYy0wLjQwMSw0Ljk2Mi00LjQ4Miw3LjIwMy02LjEyMiw5LjEyM2MtMS4yODYsMS41MDUtMi4yMjQsMy4xMy0yLjYyOSw0LjE2OGMwLjgwMS0wLjAzNCwxLjU4Ny0wLjA5OCwyLjM2MS0wLjE4NGw5LjE1MSw3LjA1OQ0KCWwtNC44ODQtNy44M0MzNS41MzUsMjIuMTYxLDQwLDE3LjcxMyw0MCwxMi41MjR6Ii8+DQo8L2c+DQo8L3N2Zz4=';
50
+
51
+ $menu_name = is_network_admin() ? 'extensions' : 'dashboard';
52
+
53
+ // Add main page
54
+ add_menu_page(
55
+ __( 'Yoast Google Analytics:', 'google-analytics-for-wordpress' ) . ' ' . __( 'General Settings', 'google-analytics-for-wordpress' ), __( 'Analytics', 'google-analytics-for-wordpress' ), 'manage_options', 'yst_ga_' . $menu_name,
56
+ array(
57
+ $this->target_object,
58
+ 'load_page',
59
+ ),
60
+ $icon_svg,
61
+ $on_top ? '2.00013467543' : '100.00013467543'
62
+ );
63
+
64
+ $this->add_submenu_pages();
65
+ }
66
+
67
+ /**
68
+ * Prepares an array that can be used to add a submenu page to the Google Analytics for Wordpress menu
69
+ *
70
+ * @param $submenu_name
71
+ * @param $font_color
72
+ *
73
+ * @return array
74
+ */
75
+ private function prepare_submenu_page( $submenu_name, $font_color ) {
76
+ $menu_title = $this->parse_menu_title( $submenu_name, $font_color );
77
+ $submenu_page = array(
78
+ 'parent_slug' => 'yst_ga_dashboard',
79
+ 'page_title' => __( 'Yoast Google Analytics:', 'google-analytics-for-wordpress' ) . ' ' . __( ucfirst( $submenu_name ), 'google-analytics-for-wordpress' ),
80
+ 'menu_title' => $menu_title,
81
+ 'capability' => 'manage_options',
82
+ 'menu_slug' => 'yst_ga_' . $submenu_name,
83
+ 'submenu_function' => array( $this->target_object, 'load_page' ),
84
+ );
85
+
86
+ return $submenu_page;
87
+ }
88
+
89
+ /**
90
+ * Parsing the menutitle
91
+ *
92
+ * @param string $submenu_name
93
+ * @param string $font_color
94
+ *
95
+ * @return string
96
+ */
97
+ private function parse_menu_title( $submenu_name, $font_color ) {
98
+ $menu_title = __( ucfirst( $submenu_name ), 'google-analytics-for-wordpress' );
99
+ if ( ! empty( $font_color ) ) {
100
+ $menu_title = __( '<span style="color:' . $font_color . '">' . $menu_title . '</span>', 'google-analytics-for-wordpress' );
101
+ }
102
+
103
+ return $menu_title;
104
+ }
105
+
106
+ /**
107
+ * Adds a submenu page to the Google Analytics for WordPress menu
108
+ *
109
+ * @param $submenu_page
110
+ */
111
+ private function add_submenu_page( $submenu_page ) {
112
+ $page = add_submenu_page( $submenu_page['parent_slug'], $submenu_page['page_title'], $submenu_page['menu_title'], $submenu_page['capability'], $submenu_page['menu_slug'], $submenu_page['submenu_function'] );
113
+ $is_not_dashboard = ( 'yst_ga_settings' === $submenu_page['menu_slug'] || 'yst_ga_extensions' === $submenu_page['menu_slug'] );
114
+
115
+ $this->add_assets( $page, $is_not_dashboard );
116
+ }
117
+
118
+ /**
119
+ * Adding stylesheets and based on $is_not_dashboard maybe some more styles and scripts.
120
+ *
121
+ * @param string $page
122
+ * @param boolean $is_not_dashboard
123
+ */
124
+ private function add_assets( $page, $is_not_dashboard ) {
125
+ add_action( 'admin_print_styles-' . $page, array( $this->target_object, 'enqueue_styles' ) );
126
+ if ( $is_not_dashboard ) {
127
+ add_action( 'admin_print_styles-' . $page, array( $this->target_object, 'enqueue_settings_styles' ) );
128
+ add_action( 'admin_print_scripts-' . $page, array( $this->target_object, 'enqueue_scripts' ) );
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Prepares and adds submenu pages to the Google Analytics for Wordpress menu:
134
+ * - Dashboard
135
+ * - Settings
136
+ * - Extensions
137
+ *
138
+ * @return array
139
+ */
140
+ private function add_submenu_pages() {
141
+ /**
142
+ * Array structure:
143
+ *
144
+ * array(
145
+ * $submenu_name => $font_color,
146
+ * ..,
147
+ * ..,
148
+ * )
149
+ *
150
+ * $font_color can be left empty.
151
+ *
152
+ */
153
+ $submenu_types = array(
154
+ 'extensions' => '#f18500',
155
+ );
156
+
157
+ if ( ! is_network_admin() ) {
158
+ $submenu_types = array_merge(
159
+ array(
160
+ 'dashboard' => '',
161
+ 'settings' => '',
162
+ ),
163
+ $submenu_types
164
+ );
165
+ }
166
+
167
+ foreach ( $submenu_types as $submenu_name => $font_color ) {
168
+ $submenu_page = $this->prepare_submenu_page( $submenu_name, $font_color );
169
+ $this->add_submenu_page( $submenu_page );
170
+ }
171
+ }
172
+
173
+
174
+ }
175
+
176
+ }
admin/class-admin.php CHANGED
@@ -9,6 +9,13 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
9
 
10
  private $form_namespace;
11
 
 
 
 
 
 
 
 
12
  public function __construct() {
13
  parent::__construct();
14
 
@@ -20,9 +27,12 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
20
  * Init function when the plugin is loaded
21
  */
22
  public function init_ga() {
23
- add_action( 'admin_menu', array( $this, 'create_menu' ), 5 );
 
24
 
25
  add_filter( 'plugin_action_links_' . plugin_basename( GAWP_FILE ), array( $this, 'add_action_links' ) );
 
 
26
  }
27
 
28
  /**
@@ -125,104 +135,6 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
125
  return $links;
126
  }
127
 
128
- /**
129
- * Create the admin menu
130
- *
131
- * @todo, we need to implement a new icon for this, currently we're using the WP seo icon
132
- */
133
- public function create_menu() {
134
- /**
135
- * Filter: 'wpga_menu_on_top' - Allows filtering of menu location of the GA plugin, if false is returned, it moves to bottom.
136
- *
137
- * @api book unsigned
138
- */
139
- $on_top = apply_filters( 'wpga_menu_on_top', true );
140
-
141
- // Base 64 encoded SVG image
142
- $icon_svg = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCIgWw0KCTwhRU5USVRZIG5zX2Zsb3dzICJodHRwOi8vbnMuYWRvYmUuY29tL0Zsb3dzLzEuMC8iPg0KCTwhRU5USVRZIG5zX2V4dGVuZCAiaHR0cDovL25zLmFkb2JlLmNvbS9FeHRlbnNpYmlsaXR5LzEuMC8iPg0KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPg0KCTwhRU5USVRZIG5zX2dyYXBocyAiaHR0cDovL25zLmFkb2JlLmNvbS9HcmFwaHMvMS4wLyI+DQpdPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYWFnXzEiIHhtbG5zOng9IiZuc19leHRlbmQ7IiB4bWxuczppPSImbnNfYWk7IiB4bWxuczpncmFwaD0iJm5zX2dyYXBoczsiDQoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmE9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRvYmVTVkdWaWV3ZXJFeHRlbnNpb25zLzMuMC8iDQoJIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDAgMzEuODkiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDQwIDMxLjg5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTQwLDEyLjUyNEM0MCw1LjYwOCwzMS40NjksMCwyMCwwQzguNTMsMCwwLDUuNjA4LDAsMTIuNTI0YzAsNS41Niw1LjI0MywxMC4yNzIsMTMuNTU3LDExLjkwN3YtNC4wNjUNCgljMCwwLDAuMDQtMS0wLjI4LTEuOTJjLTAuMzItMC45MjEtMS43Ni0zLjAwMS0xLjc2LTUuMTIxYzAtMi4xMjEsMi41NjEtOS41NjMsNS4xMjItMTAuNDQ0Yy0wLjQsMS4yMDEtMC4zMiw3LjY4My0wLjMyLDcuNjgzDQoJczEuNCwyLjcyLDQuNjQxLDIuNzJjMy4yNDIsMCw0LjUxMS0xLjc2LDQuNzE1LTIuMmMwLjIwNi0wLjQ0LDAuODQ2LTguNzIzLDAuODQ2LTguNzIzczQuMDgyLDQuNDAyLDMuNjgyLDkuMzYzDQoJYy0wLjQwMSw0Ljk2Mi00LjQ4Miw3LjIwMy02LjEyMiw5LjEyM2MtMS4yODYsMS41MDUtMi4yMjQsMy4xMy0yLjYyOSw0LjE2OGMwLjgwMS0wLjAzNCwxLjU4Ny0wLjA5OCwyLjM2MS0wLjE4NGw5LjE1MSw3LjA1OQ0KCWwtNC44ODQtNy44M0MzNS41MzUsMjIuMTYxLDQwLDE3LjcxMyw0MCwxMi41MjR6Ii8+DQo8L2c+DQo8L3N2Zz4=';
143
-
144
- // Add main page
145
- add_menu_page( __( 'Yoast Google Analytics:', 'google-analytics-for-wordpress' ) . ' ' . __( 'General Settings', 'google-analytics-for-wordpress' ), __( 'Analytics', 'google-analytics-for-wordpress' ), 'manage_options', 'yst_ga_dashboard', array(
146
- $this,
147
- 'load_page',
148
- ), $icon_svg, $on_top ? '2.00013467543' : '100.00013467543' );
149
-
150
- $this->add_submenu_pages();
151
- }
152
-
153
- /**
154
- * Prepares an array that can be used to add a submenu page to the Google Analytics for Wordpress menu
155
- *
156
- * @param $submenu_name
157
- * @param $font_color
158
- *
159
- * @return array
160
- */
161
- private function prepare_submenu_page( $submenu_name, $font_color ) {
162
- $menu_title = __( ucfirst( $submenu_name ), 'google-analytics-for-wordpress' );
163
- if ( ! empty( $font_color ) ) {
164
- $menu_title = __( '<span style="color:' . $font_color . '">' . $menu_title . '</span>', 'google-analytics-for-wordpress' );
165
- }
166
-
167
- $submenu_page = array(
168
- 'parent_slug' => 'yst_ga_dashboard',
169
- 'page_title' => __( 'Yoast Google Analytics:', 'google-analytics-for-wordpress' ) . ' ' . __( ucfirst( $submenu_name ), 'google-analytics-for-wordpress' ),
170
- 'menu_title' => $menu_title,
171
- 'capability' => 'manage_options',
172
- 'menu_slug' => 'yst_ga_' . $submenu_name,
173
- 'submenu_function' => array( $this, 'load_page' ),
174
- );
175
-
176
- return $submenu_page;
177
- }
178
-
179
- /**
180
- * Adds a submenu page to the Google Analytics for WordPress menu
181
- *
182
- * @param $submenu_page
183
- */
184
- private function add_submenu_page( $submenu_page ) {
185
- $page = add_submenu_page( $submenu_page['parent_slug'], $submenu_page['page_title'], $submenu_page['menu_title'], $submenu_page['capability'], $submenu_page['menu_slug'], $submenu_page['submenu_function'] );
186
- add_action( 'admin_print_styles-' . $page, array( $this, 'enqueue_styles' ) );
187
- if ( 'yst_ga_settings' === $submenu_page['menu_slug'] || 'yst_ga_extensions' === $submenu_page['menu_slug'] ) {
188
- add_action( 'admin_print_styles-' . $page, array( $this, 'enqueue_settings_styles' ) );
189
- add_action( 'admin_print_scripts-' . $page, array( $this, 'enqueue_scripts' ) );
190
- }
191
- }
192
-
193
- /**
194
- * Prepares and adds submenu pages to the Google Analytics for Wordpress menu:
195
- * - Dashboard
196
- * - Settings
197
- * - Extensions
198
- *
199
- * @return array
200
- */
201
- private function add_submenu_pages() {
202
- /**
203
- * Array structure:
204
- *
205
- * array(
206
- * $submenu_name => $font_color,
207
- * ..,
208
- * ..,
209
- * )
210
- *
211
- * $font_color can be left empty.
212
- *
213
- */
214
- $submenu_types = array(
215
- 'dashboard' => '',
216
- 'settings' => '',
217
- 'extensions' => '#f18500',
218
- );
219
-
220
- foreach ( $submenu_types as $submenu_name => $font_color ) {
221
- $submenu_page = $this->prepare_submenu_page( $submenu_name, $font_color );
222
- $this->add_submenu_page( $submenu_page );
223
- }
224
- }
225
-
226
  /**
227
  * Check whether we can include the minified version or not
228
  *
@@ -265,6 +177,17 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
265
  wp_enqueue_style( 'chosen_css', $this->plugin_url . 'css/chosen' . $this->file_ext( '.css' ) );
266
  }
267
 
 
 
 
 
 
 
 
 
 
 
 
268
  /**
269
  * Load the page of a menu item in the GA plugin
270
  */
@@ -272,6 +195,10 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
272
  global $yoast_ga_admin_ga_js;
273
  $yoast_ga_admin_ga_js = new Yoast_GA_Admin_GA_JS;
274
 
 
 
 
 
275
  if ( isset( $_GET['page'] ) ) {
276
  switch ( $_GET['page'] ) {
277
  case 'yst_ga_settings':
@@ -573,6 +500,21 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
573
  * Render the admin page footer with sidebar for the GA Plugin
574
  */
575
  public function content_footer() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  $banners = array();
577
  $banners[] = array(
578
  'url' => 'https://yoast.com/hire-us/website-review/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
@@ -580,9 +522,9 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
580
  'title' => 'Get a website review by Yoast',
581
  );
582
  $banners[] = array(
583
- 'url' => 'https://yoast.com/wordpress/plugins/seo-premium/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
584
- 'banner' => $this->plugin_url . 'img/banner-premium-seo.png',
585
- 'title' => 'Get WordPress SEO premium',
586
  );
587
  $banners[] = array(
588
  'url' => 'https://yoast.com/ebook-optimize-wordpress-site/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
@@ -590,21 +532,15 @@ if ( ! class_exists( 'Yoast_GA_Admin' ) ) {
590
  'title' => 'Get the Yoast ebook!',
591
  );
592
  $banners[] = array(
593
- 'url' => 'https://yoast.com/wordpress/plugins/local-seo/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
594
- 'banner' => $this->plugin_url . 'img/banner-local-seo.png',
595
- 'title' => 'Get WooCommerce integrated in your Analytics',
596
  );
597
 
598
  shuffle( $banners );
599
 
600
- if ( true == WP_DEBUG ) {
601
- // Show the debug information if debug is enabled in the wp_config file
602
- echo '<div id="ga-debug-info" class="postbox"><h3 class="hndle"><span>' . __( 'Debug information', 'google-analytics-for-wordpress' ) . '</span></h3><div class="inside"><pre>';
603
- var_dump( $this->options );
604
- echo '</pre></div></div>';
605
- }
606
-
607
  require 'views/content-footer.php';
 
608
  }
609
 
610
  /**
9
 
10
  private $form_namespace;
11
 
12
+ /**
13
+ * Store the API instance
14
+ *
15
+ * @var
16
+ */
17
+ public $api;
18
+
19
  public function __construct() {
20
  parent::__construct();
21
 
27
  * Init function when the plugin is loaded
28
  */
29
  public function init_ga() {
30
+
31
+ new Yoast_GA_Admin_Menu( $this );
32
 
33
  add_filter( 'plugin_action_links_' . plugin_basename( GAWP_FILE ), array( $this, 'add_action_links' ) );
34
+
35
+ $this->api = Yoast_Api_Libs::load_api_libraries( array( 'oauth' ) );
36
  }
37
 
38
  /**
135
  return $links;
136
  }
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  /**
139
  * Check whether we can include the minified version or not
140
  *
177
  wp_enqueue_style( 'chosen_css', $this->plugin_url . 'css/chosen' . $this->file_ext( '.css' ) );
178
  }
179
 
180
+ /**
181
+ * Adds some promo text for the premium plugin on the custom dimensions tab.
182
+ */
183
+ public function premium_promo() {
184
+ echo '<p>';
185
+ printf( __( 'If you want to track custom dimensions, to for instance track page views per author or post type, you should upgrade to the %1$spremium version of Google Analytics by Yoast%2$s.', 'google-analytics-for-wordpress' ), '<a href="https://yoast.com/wordpress/plugins/google-analytics/#utm_medium=text-link&utm_source=gawp-config&utm_campaign=wpgaplugin&utm_content=custom_dimensions_tab">', '</a>' );
186
+ echo ' ';
187
+ _e( 'This will also give you email access to the support team at Yoast, who will provide support on the plugin 24/7.', 'google-analytics-for-wordpress' );
188
+ echo '</p>';
189
+ }
190
+
191
  /**
192
  * Load the page of a menu item in the GA plugin
193
  */
195
  global $yoast_ga_admin_ga_js;
196
  $yoast_ga_admin_ga_js = new Yoast_GA_Admin_GA_JS;
197
 
198
+ if ( ! has_action( 'yst_ga_custom_dimensions_tab-content' ) ) {
199
+ add_action( 'yst_ga_custom_dimensions_tab-content', array( $this, 'premium_promo' ) );
200
+ }
201
+
202
  if ( isset( $_GET['page'] ) ) {
203
  switch ( $_GET['page'] ) {
204
  case 'yst_ga_settings':
500
  * Render the admin page footer with sidebar for the GA Plugin
501
  */
502
  public function content_footer() {
503
+
504
+ if ( true == WP_DEBUG ) {
505
+ // Show the debug information if debug is enabled in the wp_config file
506
+ echo '<div id="ga-debug-info" class="postbox"><h3 class="hndle"><span>' . __( 'Debug information', 'google-analytics-for-wordpress' ) . '</span></h3><div class="inside"><pre>';
507
+ var_dump( $this->options );
508
+ echo '</pre></div></div>';
509
+ }
510
+
511
+ if ( class_exists( 'Yoast_Product_GA_Premium' ) ) {
512
+ $license_manager = new Yoast_Plugin_License_Manager( new Yoast_Product_GA_Premium() );
513
+ if ( $license_manager->license_is_valid() ) {
514
+ return;
515
+ }
516
+ }
517
+
518
  $banners = array();
519
  $banners[] = array(
520
  'url' => 'https://yoast.com/hire-us/website-review/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
522
  'title' => 'Get a website review by Yoast',
523
  );
524
  $banners[] = array(
525
+ 'url' => 'https://yoast.com/wordpress/plugins/google-analytics/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
526
+ 'banner' => $this->plugin_url . 'img/banner-premium-ga.png',
527
+ 'title' => 'Get the premium version of Google Analytics by Yoast!',
528
  );
529
  $banners[] = array(
530
  'url' => 'https://yoast.com/ebook-optimize-wordpress-site/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
532
  'title' => 'Get the Yoast ebook!',
533
  );
534
  $banners[] = array(
535
+ 'url' => 'https://yoast.com/wordpress/plugins/ga-ecommerce/#utm_medium=banner&utm_source=gawp-config&utm_campaign=wpgaplugin',
536
+ 'banner' => $this->plugin_url . 'img/banner-ga-ecommerce.png',
537
+ 'title' => 'Get advanced eCommerce tracking for WooCommerce and Easy Digital Downloads!',
538
  );
539
 
540
  shuffle( $banners );
541
 
 
 
 
 
 
 
 
542
  require 'views/content-footer.php';
543
+
544
  }
545
 
546
  /**
admin/class-google-analytics.php CHANGED
@@ -197,10 +197,6 @@ if ( ! class_exists( 'Yoast_Google_Analytics', false ) ) {
197
  * @return WP_GData
198
  */
199
  protected function get_gdata( $scope, $token = null, $secret = null ) {
200
- if ( ! class_exists( 'WP_Gdata', false ) ) {
201
- require_once 'wp-gdata/wp-gdata.php';
202
- }
203
-
204
  $args = array(
205
  'scope' => $scope,
206
  'xoauth_displayname' => 'Google Analytics by Yoast',
197
  * @return WP_GData
198
  */
199
  protected function get_gdata( $scope, $token = null, $secret = null ) {
 
 
 
 
200
  $args = array(
201
  'scope' => $scope,
202
  'xoauth_displayname' => 'Google Analytics by Yoast',
admin/pages/dashboard.php CHANGED
@@ -6,12 +6,7 @@ echo $yoast_ga_admin->content_head();
6
  <h2 id="yoast_ga_title"><?php echo __( 'Yoast Google Analytics: Dashboard', 'google-analytics-for-wordpress' ); ?></h2>
7
 
8
  <div id="ga-promote">
9
- <p>This feature
10
- <a href="https://yoast.com/google-analytics-5/#utm_medium=textlink&utm_source=gawp-config&utm_campaign=wpgaplugin">will be coming soon</a>. For now, you can
11
- <a href="https://yoast.com/cat/analytics/#utm_medium=textlink&utm_source=gawp-config&utm_campaign=wpgaplugin">read our posts on Analytics</a>, or, of course,
12
- <a href="http://www.google.com/analytics/">log into Google Analytics</a> yourself.</p>
13
-
14
- <p align="center"><img src="<?php echo GAWP_URL . 'img/'; ?>yoast_avatar_joost.png" width="250"></p>
15
  </div>
16
 
17
  <?php
6
  <h2 id="yoast_ga_title"><?php echo __( 'Yoast Google Analytics: Dashboard', 'google-analytics-for-wordpress' ); ?></h2>
7
 
8
  <div id="ga-promote">
9
+ <p><?php printf( __( 'This feature %1$swill be coming soon%2$s. For now, you can %3$sread our posts on Analytics%2$s, or of course, %4$slog into Google Analytics%2$s yourself.', 'google-analytics-for-wordpress' ), '<a href="https://yoast.com/google-analytics-5/#utm_medium=textlink&utm_source=gawp-config&utm_campaign=wpgaplugin">', '</a>', '<a href="https://yoast.com/cat/analytics/#utm_medium=textlink&utm_source=gawp-config&utm_campaign=wpgaplugin">', '<a href="http://www.google.com/analytics/">' ); ?>
 
 
 
 
 
10
  </div>
11
 
12
  <?php
admin/pages/settings.php CHANGED
@@ -13,6 +13,7 @@ settings_errors( 'yoast_google_analytics' );
13
  <a class="nav-tab" id="general-tab" href="#top#general"><?php _e( 'General', 'google-analytics-for-wordpress' ); ?></a>
14
  <a class="nav-tab" id="universal-tab" href="#top#universal"><?php _e( 'Universal', 'google-analytics-for-wordpress' ); ?></a>
15
  <a class="nav-tab" id="advanced-tab" href="#top#advanced"><?php _e( 'Advanced', 'google-analytics-for-wordpress' ); ?></a>
 
16
  <?php do_action( 'yst_ga_custom_tabs-tab' ); ?>
17
  <a class="nav-tab" id="debugmode-tab" href="#top#debugmode"><?php _e( 'Debug mode', 'google-analytics-for-wordpress' ); ?></a>
18
  </h2>
@@ -88,7 +89,7 @@ echo $yoast_ga_admin->create_form( 'settings' );
88
  echo $yoast_ga_admin->input( 'text', __( 'Set path for internal links to track as outbound links', 'google-analytics-for-wordpress' ), 'track_internal_as_outbound', null, 'If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma\'s: <code>/out/,/recommends/</code>' );
89
  echo $yoast_ga_admin->input( 'text', __( 'Label for those links', 'google-analytics-for-wordpress' ), 'track_internal_as_label', null, 'The label to use for these links, this will be added to where the click came from, so if the label is "aff", the label for a click from the content of an article becomes "outbound-article-aff".' );
90
 
91
- echo $yoast_ga_admin->input( 'checkbox', __( 'Tag links in RSS feed with campaign variables', 'google-analytics-for-wordpress' ), 'tag_links_in_rss', null, __( 'Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href="http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769" target="_blank">this help page</a> for info on how to enable this feature in FeedBurner.', 'google-analytics-for-wordpress' ) );
92
  echo $yoast_ga_admin->input( 'checkbox', __( 'Allow anchor', 'google-analytics-for-wordpress' ), 'allow_anchor', null, __( 'This adds a <code><a href="http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor" target="_blank">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well.', 'google-analytics-for-wordpress' ) );
93
  echo $yoast_ga_admin->input( 'checkbox', __( 'Add <code>_setAllowLinker</code>', 'google-analytics-for-wordpress' ), 'add_allow_linker', null, __( 'This adds a <code><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker" target="_blank">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions.', 'google-analytics-for-wordpress' ) );
94
  echo $yoast_ga_admin->textarea( 'Custom code', 'custom_code', __( 'Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call.', 'google-analytics-for-wordpress' ) );
@@ -96,6 +97,12 @@ echo $yoast_ga_admin->create_form( 'settings' );
96
  do_action( 'yst_ga_advanced-tab' );
97
  ?>
98
  </div>
 
 
 
 
 
 
99
  <?php do_action( 'yst_ga_custom_tabs-content' ); ?>
100
  <div id="debugmode" class="gatab">
101
  <?php
@@ -121,4 +128,4 @@ echo $yoast_ga_admin->content_footer();
121
  jQuery('#yoast-ga-form-select-settings-ignore_users').chosen({placeholder_text_multiple: '<?php echo __( 'Select the users to ignore', 'google-analytics-for-wordpress' ); ?>'});
122
  }
123
  );
124
- </script>
13
  <a class="nav-tab" id="general-tab" href="#top#general"><?php _e( 'General', 'google-analytics-for-wordpress' ); ?></a>
14
  <a class="nav-tab" id="universal-tab" href="#top#universal"><?php _e( 'Universal', 'google-analytics-for-wordpress' ); ?></a>
15
  <a class="nav-tab" id="advanced-tab" href="#top#advanced"><?php _e( 'Advanced', 'google-analytics-for-wordpress' ); ?></a>
16
+ <a class="nav-tab" id="customdimensions-tab" href="#top#customdimensions"><?php _e( 'Custom dimensions', 'google-analytics-for-wordpress' ); ?></a>
17
  <?php do_action( 'yst_ga_custom_tabs-tab' ); ?>
18
  <a class="nav-tab" id="debugmode-tab" href="#top#debugmode"><?php _e( 'Debug mode', 'google-analytics-for-wordpress' ); ?></a>
19
  </h2>
89
  echo $yoast_ga_admin->input( 'text', __( 'Set path for internal links to track as outbound links', 'google-analytics-for-wordpress' ), 'track_internal_as_outbound', null, 'If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma\'s: <code>/out/,/recommends/</code>' );
90
  echo $yoast_ga_admin->input( 'text', __( 'Label for those links', 'google-analytics-for-wordpress' ), 'track_internal_as_label', null, 'The label to use for these links, this will be added to where the click came from, so if the label is "aff", the label for a click from the content of an article becomes "outbound-article-aff".' );
91
 
92
+ echo $yoast_ga_admin->input( 'checkbox', __( 'Tag links in RSS feed with campaign variables', 'google-analytics-for-wordpress' ), 'tag_links_in_rss', null, __( 'Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href="https://support.google.com/feedburner/answer/165769?hl=en&amp;ref_topic=13075" target="_blank">this help page</a> for info on how to enable this feature in FeedBurner.', 'google-analytics-for-wordpress' ) );
93
  echo $yoast_ga_admin->input( 'checkbox', __( 'Allow anchor', 'google-analytics-for-wordpress' ), 'allow_anchor', null, __( 'This adds a <code><a href="http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor" target="_blank">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well.', 'google-analytics-for-wordpress' ) );
94
  echo $yoast_ga_admin->input( 'checkbox', __( 'Add <code>_setAllowLinker</code>', 'google-analytics-for-wordpress' ), 'add_allow_linker', null, __( 'This adds a <code><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker" target="_blank">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions.', 'google-analytics-for-wordpress' ) );
95
  echo $yoast_ga_admin->textarea( 'Custom code', 'custom_code', __( 'Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call.', 'google-analytics-for-wordpress' ) );
97
  do_action( 'yst_ga_advanced-tab' );
98
  ?>
99
  </div>
100
+ <div id="customdimensions" class="gatab">
101
+ <?php
102
+ echo '<h2>' . __( 'Custom dimensions', 'google-analytics-for-wordpress' ) . '</h2>';
103
+ do_action( 'yst_ga_custom_dimensions_tab-content' );
104
+ ?>
105
+ </div>
106
  <?php do_action( 'yst_ga_custom_tabs-content' ); ?>
107
  <div id="debugmode" class="gatab">
108
  <?php
128
  jQuery('#yoast-ga-form-select-settings-ignore_users').chosen({placeholder_text_multiple: '<?php echo __( 'Select the users to ignore', 'google-analytics-for-wordpress' ); ?>'});
129
  }
130
  );
131
+ </script>
admin/views/content-footer.php CHANGED
@@ -5,5 +5,7 @@
5
  <img src="<?php echo $item['banner']; ?>" alt="<?php echo $item['title']; ?>" class="yoast-banner" border="0" width="250" />
6
  </a></p>
7
  <?php endforeach; ?>
 
 
8
  </div>
9
  </div>
5
  <img src="<?php echo $item['banner']; ?>" alt="<?php echo $item['title']; ?>" class="yoast-banner" border="0" width="250" />
6
  </a></p>
7
  <?php endforeach; ?>
8
+ <?php _e( 'Remove these ads?', 'google-analytics-for-wordpress' ); ?><br />
9
+ <a href="https://yoast.com/wordpress/plugins/google-analytics/#utm_medium=text-link&utm_source=gawp-config&utm_campaign=wpgaplugin" target="_blank"><?php _e( 'Upgrade to Google Analytics By Yoast Premium »', 'google-analytics-for-wordpress' ); ?></a>
10
  </div>
11
  </div>
admin/wp-gdata/OAuth.php DELETED
@@ -1,928 +0,0 @@
1
- <?php
2
- // vim: foldmethod=marker
3
-
4
- /* Generic exception class
5
- */
6
-
7
- class Yoast_OAuthException extends Exception {
8
- // pass
9
- }
10
-
11
- class Yoast_OAuthConsumer {
12
- public $key;
13
- public $secret;
14
-
15
- function __construct( $key, $secret, $callback_url = null ) {
16
- $this->key = $key;
17
- $this->secret = $secret;
18
- $this->callback_url = $callback_url;
19
- }
20
-
21
- function __toString() {
22
- return "Yoast_OAuthConsumer[key=$this->key,secret=$this->secret]";
23
- }
24
- }
25
-
26
- class Yoast_OAuthToken {
27
- // access tokens and request tokens
28
- public $key;
29
- public $secret;
30
-
31
- /**
32
- * key = the token
33
- * secret = the token secret
34
- */
35
- function __construct( $key, $secret ) {
36
- $this->key = $key;
37
- $this->secret = $secret;
38
- }
39
-
40
- /**
41
- * generates the basic string serialization of a token that a server
42
- * would respond to request_token and access_token calls with
43
- */
44
- function to_string() {
45
- return 'oauth_token=' .
46
- Yoast_OAuthUtil::urlencode_rfc3986( $this->key ) .
47
- '&oauth_token_secret=' .
48
- Yoast_OAuthUtil::urlencode_rfc3986( $this->secret );
49
- }
50
-
51
- function __toString() {
52
- return $this->to_string();
53
- }
54
- }
55
-
56
- /**
57
- * A class for implementing a Signature Method
58
- * See section 9 ("Signing Requests") in the spec
59
- */
60
- abstract class Yoast_OAuthSignatureMethod {
61
- /**
62
- * Needs to return the name of the Signature Method (ie HMAC-SHA1)
63
- * @return string
64
- */
65
- abstract public function get_name();
66
-
67
- /**
68
- * Build up the signature
69
- * NOTE: The output of this function MUST NOT be urlencoded.
70
- * the encoding is handled in Yoast_OAuthRequest when the final
71
- * request is serialized
72
- *
73
- * @param Yoast_OAuthRequest $request
74
- * @param Yoast_OAuthConsumer $consumer
75
- * @param Yoast_OAuthToken $token
76
- *
77
- * @return string
78
- */
79
- abstract public function build_signature( $request, $consumer, $token );
80
-
81
- /**
82
- * Verifies that a given signature is correct
83
- *
84
- * @param Yoast_OAuthRequest $request
85
- * @param Yoast_OAuthConsumer $consumer
86
- * @param Yoast_OAuthToken $token
87
- * @param string $signature
88
- *
89
- * @return bool
90
- */
91
- public function check_signature( $request, $consumer, $token, $signature ) {
92
- $built = $this->build_signature( $request, $consumer, $token );
93
-
94
- // Check for zero length, although unlikely here
95
- if ( strlen( $built ) == 0 || strlen( $signature ) == 0 ) {
96
- return false;
97
- }
98
-
99
- if ( strlen( $built ) != strlen( $signature ) ) {
100
- return false;
101
- }
102
-
103
- // Avoid a timing leak with a (hopefully) time insensitive compare
104
- $result = 0;
105
- for ( $i = 0; $i < strlen( $signature ); $i ++ ) {
106
- $result |= ord( $built{$i} ) ^ ord( $signature{$i} );
107
- }
108
-
109
- return $result == 0;
110
- }
111
- }
112
-
113
- /**
114
- * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]
115
- * where the Signature Base String is the text and the key is the concatenated values (each first
116
- * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
117
- * character (ASCII code 38) even if empty.
118
- * - Chapter 9.2 ("HMAC-SHA1")
119
- */
120
- class Yoast_OAuthSignatureMethod_HMAC_SHA1 extends Yoast_OAuthSignatureMethod {
121
- function get_name() {
122
- return 'HMAC-SHA1';
123
- }
124
-
125
- public function build_signature( $request, $consumer, $token ) {
126
- $base_string = $request->get_signature_base_string();
127
- $request->base_string = $base_string;
128
-
129
- $key_parts = array(
130
- $consumer->secret,
131
- ( $token ) ? $token->secret : '',
132
- );
133
-
134
- $key_parts = Yoast_OAuthUtil::urlencode_rfc3986( $key_parts );
135
- $key = implode( '&', $key_parts );
136
-
137
- return base64_encode( hash_hmac( 'sha1', $base_string, $key, true ) );
138
- }
139
- }
140
-
141
- /**
142
- * The PLAINTEXT method does not provide any security protection and SHOULD only be used
143
- * over a secure channel such as HTTPS. It does not use the Signature Base String.
144
- * - Chapter 9.4 ("PLAINTEXT")
145
- */
146
- class Yoast_OAuthSignatureMethod_PLAINTEXT extends Yoast_OAuthSignatureMethod {
147
- public function get_name() {
148
- return 'PLAINTEXT';
149
- }
150
-
151
- /**
152
- * oauth_signature is set to the concatenated encoded values of the Consumer Secret and
153
- * Token Secret, separated by a '&' character (ASCII code 38), even if either secret is
154
- * empty. The result MUST be encoded again.
155
- * - Chapter 9.4.1 ("Generating Signatures")
156
- *
157
- * Please note that the second encoding MUST NOT happen in the SignatureMethod, as
158
- * Yoast_OAuthRequest handles this!
159
- */
160
- public function build_signature( $request, $consumer, $token ) {
161
- $key_parts = array(
162
- $consumer->secret,
163
- ( $token ) ? $token->secret : '',
164
- );
165
-
166
- $key_parts = Yoast_OAuthUtil::urlencode_rfc3986( $key_parts );
167
- $key = implode( '&', $key_parts );
168
- $request->base_string = $key;
169
-
170
- return $key;
171
- }
172
- }
173
-
174
- /**
175
- * The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in
176
- * [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for
177
- * EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a
178
- * verified way to the Service Provider, in a manner which is beyond the scope of this
179
- * specification.
180
- * - Chapter 9.3 ("RSA-SHA1")
181
- */
182
- abstract class Yoast_OAuthSignatureMethod_RSA_SHA1 extends Yoast_OAuthSignatureMethod {
183
- public function get_name() {
184
- return 'RSA-SHA1';
185
- }
186
-
187
- // Up to the SP to implement this lookup of keys. Possible ideas are:
188
- // (1) do a lookup in a table of trusted certs keyed off of consumer
189
- // (2) fetch via http using a url provided by the requester
190
- // (3) some sort of specific discovery code based on request
191
- //
192
- // Either way should return a string representation of the certificate
193
- protected abstract function fetch_public_cert( &$request );
194
-
195
- // Up to the SP to implement this lookup of keys. Possible ideas are:
196
- // (1) do a lookup in a table of trusted certs keyed off of consumer
197
- //
198
- // Either way should return a string representation of the certificate
199
- protected abstract function fetch_private_cert( &$request );
200
-
201
- public function build_signature( $request, $consumer, $token ) {
202
- $base_string = $request->get_signature_base_string();
203
- $request->base_string = $base_string;
204
-
205
- // Fetch the private key cert based on the request
206
- $cert = $this->fetch_private_cert( $request );
207
-
208
- // Pull the private key ID from the certificate
209
- $privatekeyid = openssl_get_privatekey( $cert );
210
-
211
- // Sign using the key
212
- $ok = openssl_sign( $base_string, $signature, $privatekeyid );
213
-
214
- // Release the key resource
215
- openssl_free_key( $privatekeyid );
216
-
217
- return base64_encode( $signature );
218
- }
219
-
220
- public function check_signature( $request, $consumer, $token, $signature ) {
221
- $decoded_sig = base64_decode( $signature );
222
-
223
- $base_string = $request->get_signature_base_string();
224
-
225
- // Fetch the public key cert based on the request
226
- $cert = $this->fetch_public_cert( $request );
227
-
228
- // Pull the public key ID from the certificate
229
- $publickeyid = openssl_get_publickey( $cert );
230
-
231
- // Check the computed signature against the one passed in the query
232
- $ok = openssl_verify( $base_string, $decoded_sig, $publickeyid );
233
-
234
- // Release the key resource
235
- openssl_free_key( $publickeyid );
236
-
237
- return $ok == 1;
238
- }
239
- }
240
-
241
- class Yoast_OAuthRequest {
242
- protected $parameters;
243
- protected $http_method;
244
- protected $http_url;
245
- // for debug purposes
246
- public $base_string;
247
- public static $version = '1.0';
248
- public static $POST_INPUT = 'php://input';
249
-
250
- function __construct( $http_method, $http_url, $parameters = null ) {
251
- $parameters = ( $parameters ) ? $parameters : array();
252
- $parameters = array_merge( Yoast_OAuthUtil::parse_parameters( parse_url( $http_url, PHP_URL_QUERY ) ), $parameters );
253
- $this->parameters = $parameters;
254
- $this->http_method = $http_method;
255
- $this->http_url = $http_url;
256
- }
257
-
258
-
259
- /**
260
- * attempt to build up a request from what was passed to the server
261
- */
262
- public static function from_request( $http_method = null, $http_url = null, $parameters = null ) {
263
- $scheme = ( ! isset( $_SERVER['HTTPS'] ) || $_SERVER['HTTPS'] != 'on' )
264
- ? 'http'
265
- : 'https';
266
- $http_url = ( $http_url ) ? $http_url : $scheme .
267
- '://' . $_SERVER['SERVER_NAME'] .
268
- ':' .
269
- $_SERVER['SERVER_PORT'] .
270
- $_SERVER['REQUEST_URI'];
271
- $http_method = ( $http_method ) ? $http_method : $_SERVER['REQUEST_METHOD'];
272
-
273
- // We weren't handed any parameters, so let's find the ones relevant to
274
- // this request.
275
- // If you run XML-RPC or similar you should use this to provide your own
276
- // parsed parameter-list
277
- if ( ! $parameters ) {
278
- // Find request headers
279
- $request_headers = Yoast_OAuthUtil::get_headers();
280
-
281
- // Parse the query-string to find GET parameters
282
- $parameters = Yoast_OAuthUtil::parse_parameters( $_SERVER['QUERY_STRING'] );
283
-
284
- // It's a POST request of the proper content-type, so parse POST
285
- // parameters and add those overriding any duplicates from GET
286
- if ( $http_method == 'POST'
287
- && isset( $request_headers['Content-Type'] )
288
- && strstr( $request_headers['Content-Type'],
289
- 'application/x-www-form-urlencoded' )
290
- ) {
291
- $post_data = Yoast_OAuthUtil::parse_parameters(
292
- file_get_contents( self::$POST_INPUT )
293
- );
294
- $parameters = array_merge( $parameters, $post_data );
295
- }
296
-
297
- // We have a Authorization-header with OAuth data. Parse the header
298
- // and add those overriding any duplicates from GET or POST
299
- if ( isset( $request_headers['Authorization'] ) && substr( $request_headers['Authorization'], 0, 6 ) == 'OAuth ' ) {
300
- $header_parameters = Yoast_OAuthUtil::split_header(
301
- $request_headers['Authorization']
302
- );
303
- $parameters = array_merge( $parameters, $header_parameters );
304
- }
305
- }
306
-
307
- return new Yoast_OAuthRequest( $http_method, $http_url, $parameters );
308
- }
309
-
310
- /**
311
- * pretty much a helper function to set up the request
312
- */
313
- public static function from_consumer_and_token( $consumer, $token, $http_method, $http_url, $parameters = null ) {
314
- $parameters = ( $parameters ) ? $parameters : array();
315
- $defaults = array(
316
- 'oauth_version' => Yoast_OAuthRequest::$version,
317
- 'oauth_nonce' => Yoast_OAuthRequest::generate_nonce(),
318
- 'oauth_timestamp' => Yoast_OAuthRequest::generate_timestamp(),
319
- 'oauth_consumer_key' => $consumer->key,
320
- );
321
- if ( $token ) {
322
- $defaults['oauth_token'] = $token->key;
323
- }
324
-
325
- $parameters = array_merge( $defaults, $parameters );
326
-
327
- return new Yoast_OAuthRequest( $http_method, $http_url, $parameters );
328
- }
329
-
330
- public function set_parameter( $name, $value, $allow_duplicates = true ) {
331
- if ( $allow_duplicates && isset( $this->parameters[$name] ) ) {
332
- // We have already added parameter(s) with this name, so add to the list
333
- if ( is_scalar( $this->parameters[$name] ) ) {
334
- // This is the first duplicate, so transform scalar (string)
335
- // into an array so we can add the duplicates
336
- $this->parameters[$name] = array( $this->parameters[$name] );
337
- }
338
-
339
- $this->parameters[$name][] = $value;
340
- } else {
341
- $this->parameters[$name] = $value;
342
- }
343
- }
344
-
345
- public function get_parameter( $name ) {
346
- return isset( $this->parameters[$name] ) ? $this->parameters[$name] : null;
347
- }
348
-
349
- public function get_parameters() {
350
- return $this->parameters;
351
- }
352
-
353
- public function unset_parameter( $name ) {
354
- unset( $this->parameters[$name] );
355
- }
356
-
357
- /**
358
- * The request parameters, sorted and concatenated into a normalized string.
359
- * @return string
360
- */
361
- public function get_signable_parameters() {
362
- // Grab all parameters
363
- $params = $this->parameters;
364
-
365
- // Remove oauth_signature if present
366
- // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
367
- if ( isset( $params['oauth_signature'] ) ) {
368
- unset( $params['oauth_signature'] );
369
- }
370
-
371
- return Yoast_OAuthUtil::build_http_query( $params );
372
- }
373
-
374
- /**
375
- * Returns the base string of this request
376
- *
377
- * The base string defined as the method, the url
378
- * and the parameters (normalized), each urlencoded
379
- * and the concated with &.
380
- */
381
- public function get_signature_base_string() {
382
- $parts = array(
383
- $this->get_normalized_http_method(),
384
- $this->get_normalized_http_url(),
385
- $this->get_signable_parameters(),
386
- );
387
-
388
- $parts = Yoast_OAuthUtil::urlencode_rfc3986( $parts );
389
-
390
- return implode( '&', $parts );
391
- }
392
-
393
- /**
394
- * just uppercases the http method
395
- */
396
- public function get_normalized_http_method() {
397
- return strtoupper( $this->http_method );
398
- }
399
-
400
- /**
401
- * parses the url and rebuilds it to be
402
- * scheme://host/path
403
- */
404
- public function get_normalized_http_url() {
405
- $parts = parse_url( $this->http_url );
406
-
407
- $scheme = ( isset( $parts['scheme'] ) ) ? $parts['scheme'] : 'http';
408
- $port = ( isset( $parts['port'] ) ) ? $parts['port'] : ( ( $scheme == 'https' ) ? '443' : '80' );
409
- $host = ( isset( $parts['host'] ) ) ? strtolower( $parts['host'] ) : '';
410
- $path = ( isset( $parts['path'] ) ) ? $parts['path'] : '';
411
-
412
- if ( ( $scheme == 'https' && $port != '443' )
413
- || ( $scheme == 'http' && $port != '80' )
414
- ) {
415
- $host = "$host:$port";
416
- }
417
-
418
- return "$scheme://$host$path";
419
- }
420
-
421
- /**
422
- * builds a url usable for a GET request
423
- */
424
- public function to_url() {
425
- $post_data = $this->to_postdata();
426
- $out = $this->get_normalized_http_url();
427
- if ( $post_data ) {
428
- $out .= '?' . $post_data;
429
- }
430
-
431
- return $out;
432
- }
433
-
434
- /**
435
- * builds the data one would send in a POST request
436
- */
437
- public function to_postdata() {
438
- return Yoast_OAuthUtil::build_http_query( $this->parameters );
439
- }
440
-
441
- /**
442
- * builds the Authorization: header
443
- */
444
- public function to_header( $realm = null ) {
445
- $first = true;
446
- if ( $realm ) {
447
- $out = 'Authorization: OAuth realm="' . Yoast_OAuthUtil::urlencode_rfc3986( $realm ) . '"';
448
- $first = false;
449
- } else {
450
- $out = 'Authorization: OAuth';
451
- }
452
-
453
- $total = array();
454
- foreach ( $this->parameters as $k => $v ) {
455
- if ( substr( $k, 0, 5 ) != 'oauth' ) {
456
- continue;
457
- }
458
- if ( is_array( $v ) ) {
459
- throw new Yoast_OAuthException( 'Arrays not supported in headers' );
460
- }
461
- $out .= ( $first ) ? ' ' : ',';
462
- $out .= Yoast_OAuthUtil::urlencode_rfc3986( $k ) .
463
- '="' .
464
- Yoast_OAuthUtil::urlencode_rfc3986( $v ) .
465
- '"';
466
- $first = false;
467
- }
468
-
469
- return $out;
470
- }
471
-
472
- public function __toString() {
473
- return $this->to_url();
474
- }
475
-
476
-
477
- public function sign_request( $signature_method, $consumer, $token ) {
478
- $this->set_parameter(
479
- 'oauth_signature_method',
480
- $signature_method->get_name(),
481
- false
482
- );
483
- $signature = $this->build_signature( $signature_method, $consumer, $token );
484
- $this->set_parameter( 'oauth_signature', $signature, false );
485
- }
486
-
487
- public function build_signature( $signature_method, $consumer, $token ) {
488
- $signature = $signature_method->build_signature( $this, $consumer, $token );
489
-
490
- return $signature;
491
- }
492
-
493
- /**
494
- * util function: current timestamp
495
- */
496
- private static function generate_timestamp() {
497
- return time();
498
- }
499
-
500
- /**
501
- * util function: current nonce
502
- */
503
- private static function generate_nonce() {
504
- $mt = microtime();
505
- $rand = mt_rand();
506
-
507
- return md5( $mt . $rand ); // md5s look nicer than numbers
508
- }
509
- }
510
-
511
- class Yoast_OAuthServer {
512
- protected $timestamp_threshold = 300; // in seconds, five minutes
513
- protected $version = '1.0'; // hi blaine
514
- protected $signature_methods = array();
515
-
516
- protected $data_store;
517
-
518
- function __construct( $data_store ) {
519
- $this->data_store = $data_store;
520
- }
521
-
522
- public function add_signature_method( $signature_method ) {
523
- $this->signature_methods[$signature_method->get_name()] =
524
- $signature_method;
525
- }
526
-
527
- // high level functions
528
-
529
- /**
530
- * process a request_token request
531
- * returns the request token on success
532
- */
533
- public function fetch_request_token( &$request ) {
534
- $this->get_version( $request );
535
-
536
- $consumer = $this->get_consumer( $request );
537
-
538
- // no token required for the initial token request
539
- $token = null;
540
-
541
- $this->check_signature( $request, $consumer, $token );
542
-
543
- // Rev A change
544
- $callback = $request->get_parameter( 'oauth_callback' );
545
- $new_token = $this->data_store->new_request_token( $consumer, $callback );
546
-
547
- return $new_token;
548
- }
549
-
550
- /**
551
- * process an access_token request
552
- * returns the access token on success
553
- */
554
- public function fetch_access_token( &$request ) {
555
- $this->get_version( $request );
556
-
557
- $consumer = $this->get_consumer( $request );
558
-
559
- // requires authorized request token
560
- $token = $this->get_token( $request, $consumer, 'request' );
561
-
562
- $this->check_signature( $request, $consumer, $token );
563
-
564
- // Rev A change
565
- $verifier = $request->get_parameter( 'oauth_verifier' );
566
- $new_token = $this->data_store->new_access_token( $token, $consumer, $verifier );
567
-
568
- return $new_token;
569
- }
570
-
571
- /**
572
- * verify an api call, checks all the parameters
573
- */
574
- public function verify_request( &$request ) {
575
- $this->get_version( $request );
576
- $consumer = $this->get_consumer( $request );
577
- $token = $this->get_token( $request, $consumer, 'access' );
578
- $this->check_signature( $request, $consumer, $token );
579
-
580
- return array( $consumer, $token );
581
- }
582
-
583
- // Internals from here
584
- /**
585
- * version 1
586
- */
587
- private function get_version( &$request ) {
588
- $version = $request->get_parameter( 'oauth_version' );
589
- if ( ! $version ) {
590
- // Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present.
591
- // Chapter 7.0 ("Accessing Protected Ressources")
592
- $version = '1.0';
593
- }
594
- if ( $version !== $this->version ) {
595
- throw new Yoast_OAuthException( 'OAuth version ' . $version . ' not supported' );
596
- }
597
-
598
- return $version;
599
- }
600
-
601
- /**
602
- * figure out the signature with some defaults
603
- */
604
- private function get_signature_method( $request ) {
605
- $signature_method = $request instanceof Yoast_OAuthRequest
606
- ? $request->get_parameter( 'oauth_signature_method' )
607
- : null;
608
-
609
- if ( ! $signature_method ) {
610
- // According to chapter 7 ("Accessing Protected Ressources") the signature-method
611
- // parameter is required, and we can't just fallback to PLAINTEXT
612
- throw new Yoast_OAuthException( 'No signature method parameter. This parameter is required' );
613
- }
614
-
615
- if ( ! in_array( $signature_method,
616
- array_keys( $this->signature_methods ) )
617
- ) {
618
- throw new Yoast_OAuthException(
619
- 'Signature method ' . $signature_method . ' not supported ' .
620
- 'try one of the following: ' .
621
- implode( ', ', array_keys( $this->signature_methods ) )
622
- );
623
- }
624
-
625
- return $this->signature_methods[$signature_method];
626
- }
627
-
628
- /**
629
- * try to find the consumer for the provided request's consumer key
630
- */
631
- private function get_consumer( $request ) {
632
- $consumer_key = $request instanceof Yoast_OAuthRequest
633
- ? $request->get_parameter( 'oauth_consumer_key' )
634
- : null;
635
-
636
- if ( ! $consumer_key ) {
637
- throw new Yoast_OAuthException( 'Invalid consumer key' );
638
- }
639
-
640
- $consumer = $this->data_store->lookup_consumer( $consumer_key );
641
- if ( ! $consumer ) {
642
- throw new Yoast_OAuthException( 'Invalid consumer' );
643
- }
644
-
645
- return $consumer;
646
- }
647
-
648
- /**
649
- * try to find the token for the provided request's token key
650
- */
651
- private function get_token( $request, $consumer, $token_type = 'access' ) {
652
- $token_field = $request instanceof Yoast_OAuthRequest
653
- ? $request->get_parameter( 'oauth_token' )
654
- : null;
655
-
656
- $token = $this->data_store->lookup_token(
657
- $consumer, $token_type, $token_field
658
- );
659
- if ( ! $token ) {
660
- throw new Yoast_OAuthException( "Invalid $token_type token: $token_field" );
661
- }
662
-
663
- return $token;
664
- }
665
-
666
- /**
667
- * all-in-one function to check the signature on a request
668
- * should guess the signature method appropriately
669
- */
670
- private function check_signature( $request, $consumer, $token ) {
671
- // this should probably be in a different method
672
- $timestamp = $request instanceof Yoast_OAuthRequest
673
- ? $request->get_parameter( 'oauth_timestamp' )
674
- : null;
675
- $nonce = $request instanceof Yoast_OAuthRequest
676
- ? $request->get_parameter( 'oauth_nonce' )
677
- : null;
678
-
679
- $this->check_timestamp( $timestamp );
680
- $this->check_nonce( $consumer, $token, $nonce, $timestamp );
681
-
682
- $signature_method = $this->get_signature_method( $request );
683
-
684
- $signature = $request->get_parameter( 'oauth_signature' );
685
- $valid_sig = $signature_method->check_signature(
686
- $request,
687
- $consumer,
688
- $token,
689
- $signature
690
- );
691
-
692
- if ( ! $valid_sig ) {
693
- throw new Yoast_OAuthException( 'Invalid signature' );
694
- }
695
- }
696
-
697
- /**
698
- * check that the timestamp is new enough
699
- */
700
- private function check_timestamp( $timestamp ) {
701
- if ( ! $timestamp ) {
702
- throw new Yoast_OAuthException(
703
- 'Missing timestamp parameter. The parameter is required'
704
- );
705
- }
706
-
707
- // verify that timestamp is recentish
708
- $now = time();
709
- if ( abs( $now - $timestamp ) > $this->timestamp_threshold ) {
710
- throw new Yoast_OAuthException(
711
- "Expired timestamp, yours $timestamp, ours $now"
712
- );
713
- }
714
- }
715
-
716
- /**
717
- * check that the nonce is not repeated
718
- */
719
- private function check_nonce( $consumer, $token, $nonce, $timestamp ) {
720
- if ( ! $nonce ) {
721
- throw new Yoast_OAuthException(
722
- 'Missing nonce parameter. The parameter is required'
723
- );
724
- }
725
-
726
- // verify that the nonce is uniqueish
727
- $found = $this->data_store->lookup_nonce(
728
- $consumer,
729
- $token,
730
- $nonce,
731
- $timestamp
732
- );
733
- if ( $found ) {
734
- throw new Yoast_OAuthException( "Nonce already used: $nonce" );
735
- }
736
- }
737
-
738
- }
739
-
740
- class Yoast_OAuthDataStore {
741
- function lookup_consumer( $consumer_key ) {
742
- // implement me
743
- }
744
-
745
- function lookup_token( $consumer, $token_type, $token ) {
746
- // implement me
747
- }
748
-
749
- function lookup_nonce( $consumer, $token, $nonce, $timestamp ) {
750
- // implement me
751
- }
752
-
753
- function new_request_token( $consumer, $callback = null ) {
754
- // return a new token attached to this consumer
755
- }
756
-
757
- function new_access_token( $token, $consumer, $verifier = null ) {
758
- // return a new access token attached to this consumer
759
- // for the user associated with this token if the request token
760
- // is authorized
761
- // should also invalidate the request token
762
- }
763
-
764
- }
765
-
766
- class Yoast_OAuthUtil {
767
- public static function urlencode_rfc3986( $input ) {
768
- if ( is_array( $input ) ) {
769
- return array_map( array( 'Yoast_OAuthUtil', 'urlencode_rfc3986' ), $input );
770
- } else {
771
- if ( is_scalar( $input ) ) {
772
- return str_replace(
773
- '+',
774
- ' ',
775
- str_replace( '%7E', '~', rawurlencode( $input ) )
776
- );
777
- } else {
778
- return '';
779
- }
780
- }
781
- }
782
-
783
-
784
- // This decode function isn't taking into consideration the above
785
- // modifications to the encoding process. However, this method doesn't
786
- // seem to be used anywhere so leaving it as is.
787
- public static function urldecode_rfc3986( $string ) {
788
- return urldecode( $string );
789
- }
790
-
791
- // Utility function for turning the Authorization: header into
792
- // parameters, has to do some unescaping
793
- // Can filter out any non-oauth parameters if needed (default behaviour)
794
- // May 28th, 2010 - method updated to tjerk.meesters for a speed improvement.
795
- // see http://code.google.com/p/oauth/issues/detail?id=163
796
- public static function split_header( $header, $only_allow_oauth_parameters = true ) {
797
- $params = array();
798
- if ( preg_match_all( '/(' . ( $only_allow_oauth_parameters ? 'oauth_' : '' ) . '[a-z_-]*)=(:?"([^"]*)"|([^,]*))/', $header, $matches ) ) {
799
- foreach ( $matches[1] as $i => $h ) {
800
- $params[$h] = Yoast_OAuthUtil::urldecode_rfc3986( empty( $matches[3][$i] ) ? $matches[4][$i] : $matches[3][$i] );
801
- }
802
- if ( isset( $params['realm'] ) ) {
803
- unset( $params['realm'] );
804
- }
805
- }
806
-
807
- return $params;
808
- }
809
-
810
- // helper to try to sort out headers for people who aren't running apache
811
- public static function get_headers() {
812
- if ( function_exists( 'apache_request_headers' ) ) {
813
- // we need this to get the actual Authorization: header
814
- // because apache tends to tell us it doesn't exist
815
- $headers = apache_request_headers();
816
-
817
- // sanitize the output of apache_request_headers because
818
- // we always want the keys to be Cased-Like-This and arh()
819
- // returns the headers in the same case as they are in the
820
- // request
821
- $out = array();
822
- foreach ( $headers AS $key => $value ) {
823
- $key = str_replace(
824
- ' ',
825
- '-',
826
- ucwords( strtolower( str_replace( '-', ' ', $key ) ) )
827
- );
828
- $out[$key] = $value;
829
- }
830
- } else {
831
- // otherwise we don't have apache and are just going to have to hope
832
- // that $_SERVER actually contains what we need
833
- $out = array();
834
- if ( isset( $_SERVER['CONTENT_TYPE'] ) ) {
835
- $out['Content-Type'] = $_SERVER['CONTENT_TYPE'];
836
- }
837
- if ( isset( $_ENV['CONTENT_TYPE'] ) ) {
838
- $out['Content-Type'] = $_ENV['CONTENT_TYPE'];
839
- }
840
-
841
- foreach ( $_SERVER as $key => $value ) {
842
- if ( substr( $key, 0, 5 ) == 'HTTP_' ) {
843
- // this is chaos, basically it is just there to capitalize the first
844
- // letter of every word that is not an initial HTTP and strip HTTP
845
- // code from przemek
846
- $key = str_replace(
847
- ' ',
848
- '-',
849
- ucwords( strtolower( str_replace( '_', ' ', substr( $key, 5 ) ) ) )
850
- );
851
- $out[$key] = $value;
852
- }
853
- }
854
- }
855
-
856
- return $out;
857
- }
858
-
859
- // This function takes a input like a=b&a=c&d=e and returns the parsed
860
- // parameters like this
861
- // array('a' => array('b','c'), 'd' => 'e')
862
- public static function parse_parameters( $input ) {
863
- if ( ! isset( $input ) || ! $input ) {
864
- return array();
865
- }
866
-
867
- $pairs = explode( '&', $input );
868
-
869
- $parsed_parameters = array();
870
- foreach ( $pairs as $pair ) {
871
- $split = explode( '=', $pair, 2 );
872
- $parameter = Yoast_OAuthUtil::urldecode_rfc3986( $split[0] );
873
- $value = isset( $split[1] ) ? Yoast_OAuthUtil::urldecode_rfc3986( $split[1] ) : '';
874
-
875
- if ( isset( $parsed_parameters[$parameter] ) ) {
876
- // We have already recieved parameter(s) with this name, so add to the list
877
- // of parameters with this name
878
-
879
- if ( is_scalar( $parsed_parameters[$parameter] ) ) {
880
- // This is the first duplicate, so transform scalar (string) into an array
881
- // so we can add the duplicates
882
- $parsed_parameters[$parameter] = array( $parsed_parameters[$parameter] );
883
- }
884
-
885
- $parsed_parameters[$parameter][] = $value;
886
- } else {
887
- $parsed_parameters[$parameter] = $value;
888
- }
889
- }
890
-
891
- return $parsed_parameters;
892
- }
893
-
894
- public static function build_http_query( $params ) {
895
- if ( ! $params ) {
896
- return '';
897
- }
898
-
899
- // Urlencode both keys and values
900
- $keys = Yoast_OAuthUtil::urlencode_rfc3986( array_keys( $params ) );
901
- $values = Yoast_OAuthUtil::urlencode_rfc3986( array_values( $params ) );
902
- $params = array_combine( $keys, $values );
903
-
904
- // Parameters are sorted by name, using lexicographical byte value ordering.
905
- // Ref: Spec: 9.1.1 (1)
906
- uksort( $params, 'strcmp' );
907
-
908
- $pairs = array();
909
- foreach ( $params as $parameter => $value ) {
910
- if ( is_array( $value ) ) {
911
- // If two or more parameters share the same name, they are sorted by their value
912
- // Ref: Spec: 9.1.1 (1)
913
- // June 12th, 2010 - changed to sort because of issue 164 by hidetaka
914
- sort( $value, SORT_STRING );
915
- foreach ( $value as $duplicate_value ) {
916
- $pairs[] = $parameter . '=' . $duplicate_value;
917
- }
918
- } else {
919
- $pairs[] = $parameter . '=' . $value;
920
- }
921
- }
922
- // For each parameter, the name is separated from the corresponding value by an '=' character (ASCII code 61)
923
- // Each name-value pair is separated by an '&' character (ASCII code 38)
924
- return implode( '&', $pairs );
925
- }
926
- }
927
-
928
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/wp-gdata/wp-gdata.php CHANGED
@@ -5,11 +5,6 @@
5
  * @author Pete Mall
6
  */
7
 
8
- // Load the OAuth library.
9
- if ( ! class_exists( 'Yoast_OAuthConsumer' ) ) {
10
- require( 'OAuth.php' );
11
- }
12
-
13
  class WP_GData {
14
  /* Contains the last HTTP status code returned. */
15
  public $http_code;
5
  * @author Pete Mall
6
  */
7
 
 
 
 
 
 
8
  class WP_GData {
9
  /* Contains the last HTTP status code returned. */
10
  public $http_code;
css/yoast_ga_styles.css CHANGED
@@ -165,6 +165,10 @@ select.ga-multiple {
165
  background-image: url(../img/eComm_130x100.png) !important;
166
  }
167
 
 
 
 
 
168
  #ga-debug-info h3 {
169
  height: 30px;
170
  margin-top: 10px;
165
  background-image: url(../img/eComm_130x100.png) !important;
166
  }
167
 
168
+ .ga_premium h3 {
169
+ background-image: url(../img/ga-premium-banner.png) !important;
170
+ }
171
+
172
  #ga-debug-info h3 {
173
  height: 30px;
174
  margin-top: 10px;
css/yoast_ga_styles.min.css CHANGED
@@ -1 +1 @@
1
- h2#yoast_ga_title{padding:9px 15px 4px 0;font-size:23px;font-weight:400;line-height:29px}.nav-tab-wrapper{margin-bottom:0}.gatab{display:none}.gatab.active{display:block;padding:.5em .9em;border:1px solid #ddd;border-radius:0 3px 3px;background-color:#fff}.tabwrapper .gatab{padding:0;border:none;background:0 0}.tabwrapper .gatab h2{padding:9px 15px 4px 0;font-size:23px;font-weight:400}.ga-form-submit{margin-top:20px}.ga-form-label-left{float:left;width:250px;margin:0 0 0 5px;font-size:14px;font-weight:700;cursor:default}.ga-form-input{margin-top:10px}#yoast-ga-wrapper{display:table;width:auto;max-width:1150px}.yoast-ga-content{display:table-cell;min-width:850px;height:500px;margin:0;padding:0;vertical-align:top}.yoast-ga-banners{display:table-cell;width:261px;height:500px;margin:0;padding:0;padding:20px;vertical-align:top}.ga-form-input{display:table;margin-bottom:20px}.ga-form-table{display:table-cell}.ga-form-description{display:block;float:right;max-width:325px;color:#999}p.ga-topdescription{max-width:600px}#ga-promote{max-width:600px;padding-left:10px;border:1px solid #ccc;background-color:#fff}#yoast-ga-form-settings input[type=text]{width:325px}#enter_ua{display:none;margin-top:10px;padding-top:10px}#yoast-ga-form-text-settings-ga_general-manual_ua_code_field{margin-top:-30px}select.ga-multiple{width:300px;height:150px!important}.wpseotab .extension{float:left;box-sizing:border-box;width:350px;height:230px;margin:10px 20px 10px 0;border:1px solid #ccc}.wpseotab .extension p{margin:0;padding:10px}.wpseotab .extension h3{box-sizing:border-box;height:110px;margin:0;padding:20px 10px 0 120px;border-bottom:1px solid #ccc;background:#fff no-repeat left 10px;background-size:130px 100px}.wpseotab .extension button.installed{border-color:#00a000;background-color:#00a000;cursor:default}.wpseotab .extension .button-primary.activate-link{border-color:#f06000;background-color:#f18500}.extension a{text-decoration:none}.ecommerce h3{background-image:url(../img/eComm_130x100.png)!important}#ga-debug-info h3{height:30px;margin-top:10px;padding-left:16px;font-size:14px}.yoast_help{margin:2px 5px 0}
1
+ h2#yoast_ga_title{padding:9px 15px 4px 0;font-size:23px;font-weight:400;line-height:29px}.nav-tab-wrapper{margin-bottom:0}.gatab{display:none}.gatab.active{display:block;padding:.5em .9em;border:1px solid #ddd;border-radius:0 3px 3px 3px;background-color:#fff}.tabwrapper .gatab{padding:0;border:0;background:0}.tabwrapper .gatab h2{padding:9px 15px 4px 0;font-size:23px;font-weight:400}.ga-form-submit{margin-top:20px}.ga-form-label-left{float:left;width:250px;margin:0 0 0 5px;font-size:14px;font-weight:bold;cursor:default}.ga-form-input{margin-top:10px;margin-bottom:10px}#yoast-ga-wrapper{display:table;width:auto;max-width:1150px}.yoast-ga-content{display:table-cell;min-width:850px;height:500px;margin:0;padding:0;vertical-align:top}.yoast-ga-banners{display:table-cell;width:261px;height:500px;margin:0;padding:0;padding:20px;vertical-align:top}.ga-form-input{display:table;margin-bottom:20px}.ga-form-table{display:table-cell}.ga-form-description{display:block;float:right;max-width:325px;color:#999}p.ga-topdescription{max-width:600px}#ga-promote{max-width:600px;padding-left:10px;border:1px solid #ccc;background-color:#fff}#yoast-ga-form-settings input[type="text"]{width:325px}#enter_ua{display:none;margin-top:10px;padding-top:10px}#yoast-ga-form-text-settings-ga_general-manual_ua_code_field{margin-top:-30px}select.ga-multiple{width:300px;height:150px !important}.wpseotab .extension{float:left;box-sizing:border-box;width:350px;height:230px;margin:10px 20px 10px 0;border:1px solid #ccc}.wpseotab .extension p{margin:0;padding:10px}.wpseotab .extension h3{box-sizing:border-box;height:110px;margin:0;padding:20px 10px 0 120px;border-bottom:1px solid #ccc;background:#fff no-repeat left 10px;background-size:130px 100px}.wpseotab .extension button.installed{border-color:#00a000;background-color:#00a000;cursor:default}.wpseotab .extension .button-primary.activate-link{border-color:#f06000;background-color:#f18500}.extension a{text-decoration:none}.ecommerce h3{background-image:url(../img/eComm_130x100.png) !important}.ga_premium h3{background-image:url(../img/ga-premium-banner.png) !important}#ga-debug-info h3{height:30px;margin-top:10px;padding-left:16px;font-size:14px}.yoast_help{margin:2px 5px 0 5px}
frontend/class-frontend.php CHANGED
@@ -7,6 +7,8 @@ if ( ! class_exists( 'Yoast_GA_Frontend' ) ) {
7
 
8
  class Yoast_GA_Frontend extends Yoast_GA_Options {
9
 
 
 
10
  /**
11
  * Class constructor
12
  */
@@ -25,6 +27,16 @@ if ( ! class_exists( 'Yoast_GA_Frontend' ) ) {
25
  global $yoast_ga_js;
26
  $yoast_ga_js = new Yoast_GA_JS;
27
  }
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
  /**
@@ -118,8 +130,8 @@ if ( ! class_exists( 'Yoast_GA_Frontend' ) ) {
118
  */
119
  public function get_target( $category, $matches ) {
120
  $protocol = $matches[2];
121
- $original_url = $matches[3];
122
- $domain = $this->yoast_ga_get_domain( $matches[3] );
123
  $origin = $this->yoast_ga_get_domain( $_SERVER['HTTP_HOST'] );
124
  $download_extensions = explode( ',', str_replace( '.', '', $this->options['extensions_of_files'] ) );
125
  $extension = substr( strrchr( $original_url, '.' ), 1 );
@@ -165,8 +177,8 @@ if ( ! class_exists( 'Yoast_GA_Frontend' ) ) {
165
  'origin_domain' => $origin['domain'],
166
  'origin_host' => $origin['host'],
167
  'extension' => $extension,
168
- 'link_attributes' => rtrim( $matches[1] . ' ' . $matches[4] ),
169
- 'link_text' => $matches[5],
170
  'original_url' => $original_url,
171
  );
172
  }
7
 
8
  class Yoast_GA_Frontend extends Yoast_GA_Options {
9
 
10
+ public $link_regex;
11
+
12
  /**
13
  * Class constructor
14
  */
27
  global $yoast_ga_js;
28
  $yoast_ga_js = new Yoast_GA_JS;
29
  }
30
+
31
+ }
32
+
33
+ /**
34
+ * Get the regex for Ga.js and universal tracking to detect links
35
+ *
36
+ * @return string Contains the regular expression for detecting links
37
+ */
38
+ public function get_regex() {
39
+ return '/<a\s+([^>]*?)href=[\'\"](.*?):(\/\/)?([^\'\"]+?)[\'\"]\s?(.*?)>(.*?)<\/a>/i';
40
  }
41
 
42
  /**
130
  */
131
  public function get_target( $category, $matches ) {
132
  $protocol = $matches[2];
133
+ $original_url = $matches[4];
134
+ $domain = $this->yoast_ga_get_domain( $matches[4] );
135
  $origin = $this->yoast_ga_get_domain( $_SERVER['HTTP_HOST'] );
136
  $download_extensions = explode( ',', str_replace( '.', '', $this->options['extensions_of_files'] ) );
137
  $extension = substr( strrchr( $original_url, '.' ), 1 );
177
  'origin_domain' => $origin['domain'],
178
  'origin_host' => $origin['host'],
179
  'extension' => $extension,
180
+ 'link_attributes' => rtrim( $matches[1] . ' ' . $matches[5] ),
181
+ 'link_text' => $matches[6],
182
  'original_url' => $original_url,
183
  );
184
  }
frontend/class-ga-js.php CHANGED
@@ -11,7 +11,7 @@ if ( ! class_exists( 'Yoast_GA_JS' ) ) {
11
  public function __construct() {
12
 
13
  $this->options = Yoast_GA_Options::instance()->options;
14
- $this->link_regex = '/<a (.*?)href=[\'\"](.*?):\/*([^\'\"]+?)[\'\"](.*?)>(.*?)<\/a>/i';
15
 
16
  add_action( 'wp_head', array( $this, 'tracking' ), 8 );
17
 
11
  public function __construct() {
12
 
13
  $this->options = Yoast_GA_Options::instance()->options;
14
+ $this->link_regex = $this->get_regex();
15
 
16
  add_action( 'wp_head', array( $this, 'tracking' ), 8 );
17
 
frontend/class-universal.php CHANGED
@@ -9,9 +9,8 @@ if ( ! class_exists( 'Yoast_GA_Universal' ) ) {
9
  public $link_regex;
10
 
11
  public function __construct() {
12
-
13
  $this->options = Yoast_GA_Options::instance()->options;
14
- $this->link_regex = '`<a (.*?)href=[\'\"](.*?):/*([^\'\"]+)[\'\"](.*?)>(.*?)</a>`i';
15
 
16
  add_action( 'wp_head', array( $this, 'tracking' ), 8 );
17
 
@@ -28,8 +27,6 @@ if ( ! class_exists( 'Yoast_GA_Universal' ) ) {
28
 
29
  /**
30
  * Function to output the GA Tracking code in the wp_head()
31
- *
32
- * @todo, add the tracking code and remove this test output
33
  */
34
  public function tracking( $return_array = false ) {
35
  global $wp_query;
9
  public $link_regex;
10
 
11
  public function __construct() {
 
12
  $this->options = Yoast_GA_Options::instance()->options;
13
+ $this->link_regex = $this->get_regex();
14
 
15
  add_action( 'wp_head', array( $this, 'tracking' ), 8 );
16
 
27
 
28
  /**
29
  * Function to output the GA Tracking code in the wp_head()
 
 
30
  */
31
  public function tracking( $return_array = false ) {
32
  global $wp_query;
googleanalytics.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Analytics by Yoast
4
  Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
5
  Description: This plugin makes it simple to add Google Analytics to your WordPress blog, adding lots of features, eg. error page, search result and automatic clickout and download tracking.
6
  Author: Team Yoast
7
- Version: 5.1
8
  Requires at least: 3.8
9
  Author URI: https://yoast.com/
10
  License: GPL v3
@@ -30,10 +30,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30
 
31
  // This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
32
 
33
- define( 'GAWP_VERSION', '5.1' );
34
 
35
  define( 'GAWP_FILE', __FILE__ );
36
 
 
 
37
  define( 'GAWP_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
38
 
39
  if ( ! class_exists( 'Yoast_GA_Autoload', false ) ) {
4
  Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
5
  Description: This plugin makes it simple to add Google Analytics to your WordPress blog, adding lots of features, eg. error page, search result and automatic clickout and download tracking.
6
  Author: Team Yoast
7
+ Version: 5.1.1
8
  Requires at least: 3.8
9
  Author URI: https://yoast.com/
10
  License: GPL v3
30
 
31
  // This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
32
 
33
+ define( 'GAWP_VERSION', '5.1.1' );
34
 
35
  define( 'GAWP_FILE', __FILE__ );
36
 
37
+ define( 'GAWP_PATH', plugin_basename( __FILE__ ) );
38
+
39
  define( 'GAWP_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
40
 
41
  if ( ! class_exists( 'Yoast_GA_Autoload', false ) ) {
img/banner-ga-ecommerce.png ADDED
Binary file
img/banner-local-seo.png DELETED
Binary file
img/banner-premium-ga.png ADDED
Binary file
img/banner-premium-seo.png DELETED
Binary file
img/banner-video-seo.png DELETED
Binary file
img/ga-premium-banner.png ADDED
Binary file
img/yoast_avatar_joost.png DELETED
Binary file
includes/class-autoload.php CHANGED
@@ -13,22 +13,31 @@ if ( ! class_exists( 'Yoast_GA_Autoload' ) ) {
13
  if ( self::$classes === null ) {
14
 
15
  self::$classes = array(
16
- 'yoast_ga_options' => 'includes/class-options',
17
 
18
  // Frontend classes
19
- 'yoast_ga_frontend' => 'frontend/class-frontend',
20
- 'yoast_ga_universal' => 'frontend/class-universal',
21
- 'yoast_ga_js' => 'frontend/class-ga-js',
22
 
23
  // Admin classes
24
- 'yoast_ga_admin' => 'admin/class-admin',
25
- 'yoast_google_analytics' => 'admin/class-google-analytics',
26
- 'yoast_ga_admin_ga_js' => 'admin/class-admin-ga-js',
 
 
 
 
 
 
27
 
28
  // License manager
29
- 'yoast_license_manager' => 'admin/license-manager/class-license-manager',
30
- 'yoast_plugin_license_manager' => 'admin/license-manager/class-plugin-license-manager',
31
- 'yoast_product' => 'admin/license-manager/class-product',
 
 
 
32
  );
33
  }
34
 
@@ -37,15 +46,6 @@ if ( ! class_exists( 'Yoast_GA_Autoload' ) ) {
37
  require_once $include_path . '/' . self::$classes[$class_name] . '.php';
38
  }
39
 
40
- add_action( 'plugins_loaded', array( 'Yoast_GA_Autoload', 'yst_ga_load_textdomain' ) );
41
-
42
- }
43
-
44
- /**
45
- * Load plugin textdomain
46
- */
47
- public static function yst_ga_load_textdomain() {
48
- load_plugin_textdomain( 'google-analytics-for-wordpress', false, dirname( plugin_basename( GAWP_FILE ) ) . '/languages/' );
49
  }
50
 
51
  }
13
  if ( self::$classes === null ) {
14
 
15
  self::$classes = array(
16
+ 'yoast_ga_options' => 'includes/class-options',
17
 
18
  // Frontend classes
19
+ 'yoast_ga_frontend' => 'frontend/class-frontend',
20
+ 'yoast_ga_universal' => 'frontend/class-universal',
21
+ 'yoast_ga_js' => 'frontend/class-ga-js',
22
 
23
  // Admin classes
24
+ 'yoast_ga_admin' => 'admin/class-admin',
25
+ 'yoast_ga_admin_menu' => 'admin/class-admin-menu',
26
+ 'yoast_google_analytics' => 'admin/class-google-analytics',
27
+ 'yoast_ga_admin_ga_js' => 'admin/class-admin-ga-js',
28
+ 'wp_gdata' => 'admin/wp-gdata/wp-gdata',
29
+
30
+ // Dashboards
31
+ 'yoast_ga_dashboards' => 'admin/class-admin-dashboards',
32
+ 'yoast_ga_dashboards_aggregate' => 'admin/class-admin-dashboards-aggregate',
33
 
34
  // License manager
35
+ 'yoast_license_manager' => 'admin/license-manager/class-license-manager',
36
+ 'yoast_plugin_license_manager' => 'admin/license-manager/class-plugin-license-manager',
37
+ 'yoast_product' => 'admin/license-manager/class-product',
38
+
39
+ // API libraries
40
+ 'yoast_api_libs' => 'admin/api-libs/class-api-libs',
41
  );
42
  }
43
 
46
  require_once $include_path . '/' . self::$classes[$class_name] . '.php';
47
  }
48
 
 
 
 
 
 
 
 
 
 
49
  }
50
 
51
  }
includes/class-options.php CHANGED
@@ -79,6 +79,8 @@ if ( ! class_exists( 'Yoast_GA_Options' ) ) {
79
  if ( is_null( self::$instance ) ) {
80
  self::$instance = $this;
81
  }
 
 
82
  }
83
 
84
  /**
@@ -244,5 +246,13 @@ if ( ! class_exists( 'Yoast_GA_Options' ) ) {
244
 
245
  return $options;
246
  }
 
 
 
 
 
 
 
 
247
  }
248
  }
79
  if ( is_null( self::$instance ) ) {
80
  self::$instance = $this;
81
  }
82
+
83
+ add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
84
  }
85
 
86
  /**
246
 
247
  return $options;
248
  }
249
+
250
+ /**
251
+ * Load plugin textdomain
252
+ */
253
+ public static function load_textdomain() {
254
+ load_plugin_textdomain( 'google-analytics-for-wordpress', false, dirname( plugin_basename( GAWP_FILE ) ) . '/languages/' );
255
+ }
256
+
257
  }
258
  }
js/chosen.css DELETED
@@ -1,413 +0,0 @@
1
- /* @group Base */
2
- .chzn-container {
3
- font-size: 13px;
4
- position: relative;
5
- display: inline-block;
6
- zoom: 1;
7
- *display: inline;
8
- }
9
- .chzn-container .chzn-drop {
10
- background: #fff;
11
- border: 1px solid #aaa;
12
- border-top: 0;
13
- position: absolute;
14
- top: 29px;
15
- left: 0;
16
- -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
17
- -moz-box-shadow : 0 4px 5px rgba(0,0,0,.15);
18
- box-shadow : 0 4px 5px rgba(0,0,0,.15);
19
- z-index: 1010;
20
- }
21
- /* @end */
22
-
23
- /* @group Single Chosen */
24
- .chzn-container-single .chzn-single {
25
- background-color: #ffffff;
26
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
27
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
28
- background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
29
- background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
30
- background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
31
- background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
32
- -webkit-border-radius: 5px;
33
- -moz-border-radius : 5px;
34
- border-radius : 5px;
35
- -moz-background-clip : padding;
36
- -webkit-background-clip: padding-box;
37
- background-clip : padding-box;
38
- border: 1px solid #aaaaaa;
39
- -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
40
- -moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
41
- box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
42
- display: block;
43
- overflow: hidden;
44
- white-space: nowrap;
45
- position: relative;
46
- height: 23px;
47
- line-height: 24px;
48
- padding: 0 0 0 8px;
49
- color: #444444;
50
- text-decoration: none;
51
- }
52
- .chzn-container-single .chzn-default {
53
- color: #999;
54
- }
55
- .chzn-container-single .chzn-single span {
56
- margin-right: 26px;
57
- display: block;
58
- overflow: hidden;
59
- white-space: nowrap;
60
- -o-text-overflow: ellipsis;
61
- -ms-text-overflow: ellipsis;
62
- text-overflow: ellipsis;
63
- }
64
- .chzn-container-single .chzn-single abbr {
65
- display: block;
66
- position: absolute;
67
- right: 26px;
68
- top: 6px;
69
- width: 12px;
70
- height: 12px;
71
- font-size: 1px;
72
- background: url('chosen-sprite.png') -42px 1px no-repeat;
73
- }
74
- .chzn-container-single .chzn-single abbr:hover {
75
- background-position: -42px -10px;
76
- }
77
- .chzn-container-single.chzn-disabled .chzn-single abbr:hover {
78
- background-position: -42px -10px;
79
- }
80
- .chzn-container-single .chzn-single div {
81
- position: absolute;
82
- right: 0;
83
- top: 0;
84
- display: block;
85
- height: 100%;
86
- width: 18px;
87
- }
88
- .chzn-container-single .chzn-single div b {
89
- background: url('chosen-sprite.png') no-repeat 0px 2px;
90
- display: block;
91
- width: 100%;
92
- height: 100%;
93
- }
94
- .chzn-container-single .chzn-search {
95
- padding: 3px 4px;
96
- position: relative;
97
- margin: 0;
98
- white-space: nowrap;
99
- z-index: 1010;
100
- }
101
- .chzn-container-single .chzn-search input {
102
- background: #fff url('chosen-sprite.png') no-repeat 100% -20px;
103
- background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
104
- background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
105
- background: url('chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
106
- background: url('chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
107
- background: url('chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
108
- margin: 1px 0;
109
- padding: 4px 20px 4px 5px;
110
- outline: 0;
111
- border: 1px solid #aaa;
112
- font-family: sans-serif;
113
- font-size: 1em;
114
- }
115
- .chzn-container-single .chzn-drop {
116
- -webkit-border-radius: 0 0 4px 4px;
117
- -moz-border-radius : 0 0 4px 4px;
118
- border-radius : 0 0 4px 4px;
119
- -moz-background-clip : padding;
120
- -webkit-background-clip: padding-box;
121
- background-clip : padding-box;
122
- }
123
- /* @end */
124
-
125
- .chzn-container-single-nosearch .chzn-search input {
126
- position: absolute;
127
- left: -9000px;
128
- }
129
-
130
- /* @group Multi Chosen */
131
- .chzn-container-multi .chzn-choices {
132
- background-color: #fff;
133
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
134
- background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
135
- background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
136
- background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
137
- background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
138
- border: 1px solid #aaa;
139
- margin: 0;
140
- padding: 0;
141
- cursor: text;
142
- overflow: hidden;
143
- height: auto !important;
144
- height: 1%;
145
- position: relative;
146
- }
147
- .chzn-container-multi .chzn-choices li {
148
- float: left;
149
- list-style: none;
150
- }
151
- .chzn-container-multi .chzn-choices .search-field {
152
- white-space: nowrap;
153
- margin: 0;
154
- padding: 0;
155
- }
156
- .chzn-container-multi .chzn-choices .search-field input {
157
- color: #666;
158
- background: transparent !important;
159
- border: 0 !important;
160
- font-family: sans-serif;
161
- font-size: 100%;
162
- height: 15px;
163
- padding: 5px;
164
- margin: 1px 0;
165
- outline: 0;
166
- -webkit-box-shadow: none;
167
- -moz-box-shadow : none;
168
- box-shadow : none;
169
- }
170
- .chzn-container-multi .chzn-choices .search-field .default {
171
- color: #999;
172
- }
173
- .chzn-container-multi .chzn-choices .search-choice {
174
- -webkit-border-radius: 3px;
175
- -moz-border-radius : 3px;
176
- border-radius : 3px;
177
- -moz-background-clip : padding;
178
- -webkit-background-clip: padding-box;
179
- background-clip : padding-box;
180
- background-color: #e4e4e4;
181
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
182
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
183
- background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
184
- background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
185
- background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
186
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
187
- -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
188
- -moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
189
- box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
190
- color: #333;
191
- border: 1px solid #aaaaaa;
192
- line-height: 13px;
193
- padding: 3px 20px 3px 5px;
194
- margin: 3px 0 3px 5px;
195
- position: relative;
196
- cursor: default;
197
- }
198
- .chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
199
- background-color: #e4e4e4;
200
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
201
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
202
- background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
203
- background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
204
- background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
205
- background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
206
- background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
207
- color: #666;
208
- border: 1px solid #cccccc;
209
- padding-right: 5px;
210
- }
211
- .chzn-container-multi .chzn-choices .search-choice-focus {
212
- background: #d4d4d4;
213
- }
214
- .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
215
- display: block;
216
- position: absolute;
217
- right: 3px;
218
- top: 4px;
219
- width: 12px;
220
- height: 12px;
221
- font-size: 1px;
222
- background: url('chosen-sprite.png') -42px 1px no-repeat;
223
- }
224
- .chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
225
- background-position: -42px -10px;
226
- }
227
- .chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
228
- background-position: -42px -10px;
229
- }
230
- /* @end */
231
-
232
- /* @group Results */
233
- .chzn-container .chzn-results {
234
- margin: 0 4px 4px 0;
235
- max-height: 240px;
236
- padding: 0 0 0 4px;
237
- position: relative;
238
- overflow-x: hidden;
239
- overflow-y: auto;
240
- -webkit-overflow-scrolling: touch;
241
- }
242
- .chzn-container-multi .chzn-results {
243
- margin: -1px 0 0;
244
- padding: 0;
245
- }
246
- .chzn-container .chzn-results li {
247
- display: none;
248
- line-height: 15px;
249
- padding: 5px 6px;
250
- margin: 0;
251
- list-style: none;
252
- }
253
- .chzn-container .chzn-results .active-result {
254
- cursor: pointer;
255
- display: list-item;
256
- }
257
- .chzn-container .chzn-results .highlighted {
258
- background-color: #3875d7;
259
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );
260
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
261
- background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
262
- background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
263
- background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
264
- background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
265
- color: #fff;
266
- }
267
- .chzn-container .chzn-results li em {
268
- background: #feffde;
269
- font-style: normal;
270
- }
271
- .chzn-container .chzn-results .highlighted em {
272
- background: transparent;
273
- }
274
- .chzn-container .chzn-results .no-results {
275
- background: #f4f4f4;
276
- display: list-item;
277
- }
278
- .chzn-container .chzn-results .group-result {
279
- cursor: default;
280
- color: #999;
281
- font-weight: bold;
282
- }
283
- .chzn-container .chzn-results .group-option {
284
- padding-left: 15px;
285
- }
286
- .chzn-container-multi .chzn-drop .result-selected {
287
- display: none;
288
- }
289
- .chzn-container .chzn-results-scroll {
290
- background: white;
291
- margin: 0 4px;
292
- position: absolute;
293
- text-align: center;
294
- width: 321px; /* This should by dynamic with js */
295
- z-index: 1;
296
- }
297
- .chzn-container .chzn-results-scroll span {
298
- display: inline-block;
299
- height: 17px;
300
- text-indent: -5000px;
301
- width: 9px;
302
- }
303
- .chzn-container .chzn-results-scroll-down {
304
- bottom: 0;
305
- }
306
- .chzn-container .chzn-results-scroll-down span {
307
- background: url('chosen-sprite.png') no-repeat -4px -3px;
308
- }
309
- .chzn-container .chzn-results-scroll-up span {
310
- background: url('chosen-sprite.png') no-repeat -22px -3px;
311
- }
312
- /* @end */
313
-
314
- /* @group Active */
315
- .chzn-container-active .chzn-single {
316
- -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
317
- -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
318
- box-shadow : 0 0 5px rgba(0,0,0,.3);
319
- border: 1px solid #5897fb;
320
- }
321
- .chzn-container-active .chzn-single-with-drop {
322
- border: 1px solid #aaa;
323
- -webkit-box-shadow: 0 1px 0 #fff inset;
324
- -moz-box-shadow : 0 1px 0 #fff inset;
325
- box-shadow : 0 1px 0 #fff inset;
326
- background-color: #eee;
327
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
328
- background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
329
- background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
330
- background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
331
- background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
332
- background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
333
- -webkit-border-bottom-left-radius : 0;
334
- -webkit-border-bottom-right-radius: 0;
335
- -moz-border-radius-bottomleft : 0;
336
- -moz-border-radius-bottomright: 0;
337
- border-bottom-left-radius : 0;
338
- border-bottom-right-radius: 0;
339
- }
340
- .chzn-container-active .chzn-single-with-drop div {
341
- background: transparent;
342
- border-left: none;
343
- }
344
- .chzn-container-active .chzn-single-with-drop div b {
345
- background-position: -18px 2px;
346
- }
347
- .chzn-container-active .chzn-choices {
348
- -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
349
- -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
350
- box-shadow : 0 0 5px rgba(0,0,0,.3);
351
- border: 1px solid #5897fb;
352
- }
353
- .chzn-container-active .chzn-choices .search-field input {
354
- color: #111 !important;
355
- }
356
- /* @end */
357
-
358
- /* @group Disabled Support */
359
- .chzn-disabled {
360
- cursor: default;
361
- opacity:0.5 !important;
362
- }
363
- .chzn-disabled .chzn-single {
364
- cursor: default;
365
- }
366
- .chzn-disabled .chzn-choices .search-choice .search-choice-close {
367
- cursor: default;
368
- }
369
-
370
- /* @group Right to Left */
371
- .chzn-rtl { text-align: right; }
372
- .chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
373
- .chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
374
-
375
- .chzn-rtl .chzn-single div { left: 3px; right: auto; }
376
- .chzn-rtl .chzn-single abbr {
377
- left: 26px;
378
- right: auto;
379
- }
380
- .chzn-rtl .chzn-choices .search-field input { direction: rtl; }
381
- .chzn-rtl .chzn-choices li { float: right; }
382
- .chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
383
- .chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; }
384
- .chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
385
- .chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
386
- .chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
387
- .chzn-rtl .chzn-search input {
388
- background: #fff url('chosen-sprite.png') no-repeat -30px -20px;
389
- background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
390
- background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
391
- background: url('chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
392
- background: url('chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
393
- background: url('chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
394
- padding: 4px 5px 4px 20px;
395
- direction: rtl;
396
- }
397
- .chzn-container-single.chzn-rtl .chzn-single div b {
398
- background-position: 6px 2px;
399
- }
400
- .chzn-container-single.chzn-rtl .chzn-single-with-drop div b {
401
- background-position: -12px 2px;
402
- }
403
- /* @end */
404
-
405
- /* @group Retina compatibility */
406
- @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
407
- .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span {
408
- background-image: url('chosen-sprite@2x.png') !important;
409
- background-repeat: no-repeat !important;
410
- background-size: 52px 37px !important;
411
- }
412
- }
413
- /* @end */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-de_DE.mo DELETED
Binary file
languages/google-analytics-for-wordpress-de_DE.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in German
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:23:18+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Google Analytics Konfiguration"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr ""
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr ""
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr ""
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr "Hast du Probleme?"
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr "Wenn du Probleme mit diesem Plugin hast, bitte besuche die <a href='%s'>FAQ Seite</a>."
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr "Google Analytics Konfiguration zurückgesetzt."
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr ""
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr "Google Analytics Konfiguration aktualisiert."
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr ""
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr ""
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr ""
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr ""
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr ""
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr ""
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr ""
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr ""
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr ""
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr ""
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr ""
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr ""
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr ""
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr ""
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr ""
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr ""
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr ""
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr ""
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr ""
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr ""
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr ""
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr ""
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr ""
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr ""
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr ""
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr ""
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr ""
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr ""
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr ""
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr ""
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr ""
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr ""
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr ""
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr ""
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr ""
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr ""
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr ""
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr ""
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr ""
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr ""
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr ""
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr ""
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr ""
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr ""
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr ""
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr ""
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr ""
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr ""
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr ""
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr ""
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr ""
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr ""
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr ""
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr ""
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr ""
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr ""
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr ""
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr ""
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr ""
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr ""
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr ""
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr ""
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr ""
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr ""
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr ""
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr ""
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr ""
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr ""
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr ""
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr ""
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr ""
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr ""
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr ""
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr ""
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr ""
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr ""
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr ""
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr ""
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr ""
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr ""
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr ""
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr ""
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr ""
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr ""
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr ""
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr ""
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr ""
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr ""
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr ""
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr ""
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr ""
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr ""
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr ""
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr ""
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr ""
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr ""
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr ""
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr ""
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr ""
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr ""
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr ""
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr ""
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr ""
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr ""
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr ""
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr ""
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr ""
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr ""
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr ""
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr ""
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr ""
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr ""
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr ""
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr ""
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr ""
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr ""
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr ""
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr ""
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr ""
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr ""
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr ""
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr ""
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr ""
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr ""
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr ""
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr ""
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr ""
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr ""
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr ""
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr ""
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-el_GR.mo DELETED
Binary file
languages/google-analytics-for-wordpress-el_GR.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in Greek
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:24:28+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Ρυθμίσεις Google Analytics"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr "Google Analytics"
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr ""
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr ""
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr "Έχετε κάποιο πρόβλημα;"
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr "Αν αντιμετωπίζετε κάποιο πρόβλημα με αυτό το plugin, παρακαλούμε να το αναφέρετε στη <a href='%s'>σελίδα FAQ</a>"
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr "Οι ρυθμίσεις του Google Analytics επαναφέρθηκαν."
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr "Δεν μπορείτε να τροποποιήσετε τις επιλογές του Google Analytics για WordPress."
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr "Οι ρυθμίσεις του Google Analytics ενημερώθηκαν."
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr ""
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr "Ρύθμιση του Google Analytics για το WordPress."
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr "Παρακαλούμε επικυρώστε την αυθεντικότητα του Google Analytics για να πάρετε το κώδικα παρακολούθησής σας."
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr "Πατήστε εδώ για να επικυρώσετε την αυθεντικότητα με το Google."
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr "Παρακαλούμε επιλέξτε το σωστό λογαριασμό στο Analytics."
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr ""
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr "Προφίλ"
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr "Παρακαλούμε σημειώστε ότι εάν έχετε περισσότερα από ένα προφίλ για την ίδια σελίδα, δεν έχει σημασία ποιο από τα προφίλ θα επιλέξετε, και στην πράξη ένα από τα άλλα προφίλ ίσως φαίνεται ως επιλεγμένο αργότερα. Μπορείτε να ελέγξετε αν υπάρχουν πολλά προφίλ για την ίδια σελίδα ελέγχοντας έαν αυτές έχουν το ίδιο UA κωδικό. Αν αυτό ισχύει, η παρακολούθηση θα λειτουργεί σωστά."
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr "Ανανεώστε τη λίστα ή μεταβείτε σε έναν άλλο λογαριασμό."
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr "Δυστυχώς προέκυψε ένα σφάλμα κατά τη σύνδεση με το Google, παρακαλούμε προσπαθήστε πάλι:"
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr "Επαναεπικυρώστε την ταυτότητα με το Google"
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr "Επιλέξτε ένα άλλο προφίλ Analytics &raquo;"
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr "Προσθέστε χειροκίνητα τον UA κωδικό σας:"
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr "Προφίλ Analytics"
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr "Προσθέστε χειροκίνητα τον UA κωδικό σας"
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr "Στην κεφαλίδα-header (προεπιλογή)"
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr "Εισάγετε χειροκίνητα"
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr "Προσοχή"
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr "Αλλάξατε το θέμα σας, παρακαλούμε βεβαιωθείτε ότι η παρακολούθηση του Google Analytics λειτουργεί σωστά. Αποθηκεύστε τις ρυθμίσεις σας για να είστε σίγουροι ότι το Google Analytics θα φορτωθεί σωστά."
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr "Η κεφαλίδα-header είναι μακράν το καλύτερο σημείο για να εισάγετε τον δικό σας κώδικα παρακολούθησης. Εάν προτιμάτε να εισάγετε τον κώδικα χειροκίνητα, αλλάξτε στην χειροκίνητη εισαγωγή. Για περισσότερες πληροφορίες %sδιαβάστε αυτή τη σελίδα%s."
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr ""
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr ""
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr ""
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr ""
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr ""
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr ""
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr ""
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr ""
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr ""
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr ""
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr ""
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr ""
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr ""
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr ""
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr ""
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr ""
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr ""
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr ""
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr ""
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr ""
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr ""
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr ""
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr ""
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr ""
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr ""
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr ""
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr ""
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr ""
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr ""
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr ""
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr ""
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr ""
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr ""
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr ""
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr ""
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr ""
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr ""
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr ""
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr ""
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr ""
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr ""
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr ""
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr ""
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr ""
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr ""
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr ""
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr ""
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr ""
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr ""
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr ""
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr ""
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr ""
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr ""
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr ""
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr ""
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr ""
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr ""
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr ""
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr ""
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr ""
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr ""
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr ""
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr ""
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr ""
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr ""
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr ""
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr ""
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr ""
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr ""
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr ""
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr ""
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr ""
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr ""
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr ""
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr ""
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr ""
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr ""
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr ""
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr ""
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr ""
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr ""
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr ""
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr ""
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr ""
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr ""
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr ""
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr ""
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr ""
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr ""
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr ""
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr ""
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr ""
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr ""
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr ""
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr ""
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr ""
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr ""
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr ""
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr ""
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr ""
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr ""
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr ""
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr ""
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr ""
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr ""
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr ""
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr ""
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr ""
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr ""
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr ""
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-es_ES.mo DELETED
Binary file
languages/google-analytics-for-wordpress-es_ES.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in Spanish (Spain)
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:18:24+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Configuración del Analizador de Google"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr "Analizador de Google"
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr "El número máximo permitido de variables personalizadas en el Analizador de Google es 5, por favor, elimina una de las variables anteriores antes de seleccionar ésta."
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr "Éste no es un ID de UA válido, por favor, asegúrate de que sigue el siguiente patrón: UA-XXXXXX-X, y que no hay espacios u otros caracteres en el campo de entrada."
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr "Algún problema?"
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr "Si tienes algún problema con este plugin, por favor, redirígete a su <a href='%s'>FAQ page</a>."
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr "Reset de la configuración del Analizador de Google."
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr "No puedes editar las opciones del Analizador de Google para WordPress."
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr "Configuración del Analizador de Google actualizada."
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr "Actualizar la configuración del Analizador de Google &raquo;"
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr "Configuración del Analizador de Google para WordPress"
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr "Por favor, confirma tu identidad con el Analizador de Google para localizar tu código de búsqueda:"
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr "Haz click aquí para confirmar tu identidad con Google"
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr "Por favor, selecciona la cuenta del Analizador correcta"
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr "Por favor, selecciona la cuenta correcta del Analizador para seguir:"
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr "Perfil"
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr "Por favor, ten en cuenta que si tienes varios perfiles en la misma página web, no importa qué perfil selecciones, y de hecho puede mostrarse otro perfil más tarde distinto del que selecciones. Puedes comprobar si hay perfiles para la misma página comprobando si tienen al mismo código UA. Si es correcto, el tracking será correcto."
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr "Refresca este listing o cambia a otra cuenta:"
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr "Desafortunadamente, ha ocurrido un error al conectar con Google, por favor, inténtelo de nuevo:"
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr "Re-confirma tu identidad con Google"
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr "Selecciona otro perfil del Analizador &raquo;"
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr "Introduce manualmente tu código UA:"
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr "Perfil del Analizador"
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr "Introduce manualmente tu código UA"
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr "En la cabecera (por defecto)"
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr "Introducir manualmente"
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr "Date cuenta"
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr "Has cambiad tu tema, por favor, asegúrate de que tu tracking del Analizador de Google está todavía correcto. Guarda tu configuración para asegurarte de que el Analizador de Google se carga correctamente."
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr "La cabecera es de lejos el mejor lugar para poner el código de seguimiento. Si prefieres poner el código manualmente, cambia a posicionamiento manual. Para más información, %sread this page%s."
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr "%sSigue las instrucciones siguientes%s para elegir la ubicación de tu código de seguimiento manualmente."
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr "Donde deberías introducir el código de seguimiento"
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr "Clicks de seguimiento de salida &amp; descargas"
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr "Clicks &amp; las descargas se seguirán como eventos, puedes encontrar éstas en Contenido &raquo; el Seguimiento de Eventos de tu informe del Analizador de Google"
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr "Mostrar configuración avanzada"
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr "Sólo recomendado para usuarios avanzados que estén seguros de sus pasos en el Analizador de Google"
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr "Permitir seguimiento de datos anónimos"
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr "Permitiéndonos seguir datos anónimos podemos ayudarte de manera mejor, porque sabemos con qué configuraciones de WordPress, temas y plugins deberíamos probar. No se entregarán datos personales."
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr "Configuración del Analizador de Google"
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr "El Analizador de Google te permite guardar hasta 5 variables personalizadas en cada páina, y este plugin te ayuda a hacer el mayor uso de ellas! Elige qué variables personalizadas quieres que el plugin guarde por ti. Por favor, ten en cuenta que sólo serán guardadas cuando estén disponibles."
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr "Si quieres empezar a usar estas variables personalizadsa, dirígete a Visitantes &raquo; Variables Personalizadas en tu informe del Analizador."
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr "Usuarios registrados en línea"
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr "Te permite borrar fácilmente los usuarios registrados en línea de tus informes, o agruparlos en distintos roles de usuarios. El rol primario del usuario será mostrado."
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr "Tipo de post"
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr "Te permite ver vistas de página por tipo de post, especialmente útil si usas distintos tipos de posts personalizados."
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr "Nombre del autor"
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr "Te permite ver vistas de página por autor."
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr "Etiquetas"
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr "Te permite ver vistas de página por etiquetas usando grupos avanzados."
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr "Año de publicación"
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr "Te permite ver vistas previas por año de publicación, mostrando si tus antiguos posts todavía registran tráfico."
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr "Categoría única"
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr "Te permite ver la vista de página por categoría, funciona mejor cuando cada post está en una única categoría."
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr "Todas las categorías"
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr "Te permite ver la vista de página por categoría usando grupos avanzados, debería usarse cuando uses múltiples categorías por post."
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr "Configuración de las variables personalizadas"
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr "Ignorar usuarios"
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr "Los usuarios del rol seleccionado y superior serán ignorados, por lo que si eliges Editor, todos los Editores y Administradores serán ignorados."
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr "No ignorar a nadie"
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr "Administrador"
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr "Editor"
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr "Autor"
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr "Contribuyente"
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr "Suscriptor (ignora todos los usuarios en linea)"
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr "Seguir clicks de salida como vistas de página"
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr "No necesitas activar esto para activar el seguimiento de clicks de salida, esto cambia el comportamiento por defecto del seguimiento de clicks como eventos para seguirlos como vistas de página. Esto es, por tanto, no recomendado, dado que distorsionaría tus estadísticas, pero but <em>es</em> a veces necesario cuando no necesitas estarblecer clicks de salida como objetivo."
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr "Descarga de los seguimientos como vista de página"
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr "No recomendado, dado que esto distorsionaría tus estadísticas, pero permite hacer el seguimiento de descargas como objetivo."
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr "Extensión de los archivos a seguir como descargas"
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr "Prefijo para usar en el Analizador antes de las vistas de página seguidas"
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr ""
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr ""
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr ""
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr ""
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr ""
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr ""
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr ""
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr ""
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr ""
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr ""
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr ""
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr ""
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr ""
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr ""
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr ""
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr ""
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr ""
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr ""
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr ""
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr ""
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr ""
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr ""
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr ""
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr ""
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr ""
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr ""
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr ""
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr ""
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr ""
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr ""
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr ""
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr ""
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr ""
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr ""
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr ""
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr ""
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr ""
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr ""
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr ""
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr ""
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr ""
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr ""
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr ""
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr ""
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr ""
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr ""
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr ""
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr ""
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr ""
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr ""
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr ""
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr ""
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr ""
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr ""
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr ""
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr ""
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr ""
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr ""
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr ""
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr ""
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr ""
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr ""
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr ""
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr ""
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr ""
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr ""
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr ""
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr ""
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr ""
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr ""
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-fi.mo CHANGED
Binary file
languages/google-analytics-for-wordpress-fi.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in Finnish
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:21:57+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Google Analytics asetukset"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr "Google Analytics"
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr "Muokattuja muuttujia voi olla maksimissaan viisi. Poista joku muuttuja ennen uuden valintaa."
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr "UA-koodin muoto on väärä. Varmista, että se on muotoa UA-XXXXXX-X ja ettei kentässä ole turhia välilyöntejä."
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr "Onko ongelmia?"
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr "Jos kohtaat ongelmia, kannattaa ensin katsoa <a href='%s'>FAQ-sivu</a>."
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr "Google Analytics asetukset nollattu."
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr "Et voi muokata Google Analytics for WordPressin asetuksia."
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr "Google Analytics asetukset päivitetty."
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr "Päivitä Google Analytics asetukset &raquo;"
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr "Google Analytics for WordPress asetukset"
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr "Seurantakoodin hakeminen edellyttää Google Analyticsiin kirjautumista:"
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr "Kirjaudu Googleen"
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr "Ole hyvä ja valitse oikea Analytics-tili"
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr "Ole hyvä ja valitse oikea seurattava Analytics-tili:"
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr "Profiili"
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr "Huomaa, että sillä ei ole väliä, jos samalla sivustolla on monta profiilia. Itse asiassa myöhemmin toinen profiili saattaa näkyä valittuna. Voit katsoa, ovatko profiilit saman sivuston, tarkastamalla niiden UA-koodin. Jos koodit ovat samat, seuranta toimii oikein."
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr "Päivitä listaus tai valitse toinen tili:"
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr "Valitettavasti yhteydenotto Googleen epäonnistui. Ole hyvä ja yritä uudelleen:"
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr "Kirjaudu uudelleen Googleen"
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr "Valitse toinen profiili &raquo;"
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr "Syötä UA-koodi itse:"
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr "Analytics-profiili"
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr "Syötä UA-koodi itse"
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr "Ylätunnisteessa (oletus)"
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr "Syötä itse"
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr "Ilmoitus"
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr "Olet vaihtanut teemaa. Varmista, että Google Analytics seuranta toimii silti. Tallenna asetukset, jotta Google Analytics ladataan varmasti oikein."
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr "Ylätunniste on selvästi paras paikka seurantakoodille. Jos haluat sijoittaa koodin itse, lue %stämä sivu%s."
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr "%sSeuraa näitä ohjeita%s valitaksesi seurantakoodin sijainnin."
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr "Mihin seurantakoodi tulisi sijoittaa"
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr "Seuraa lähteviä klikkauksia &amp; latauksia"
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr "Klikkaukset &amp; lataukset seurataan tapahtumina. Löydät nämä Google Analytics raportin Sisältö > Tapahtumat kohdasta."
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr "Näytä edistyneet asetukset"
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr "Tätä suositellaan vain käyttäjille, jotka tuntevat Google Analyticsin hyvin"
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr "Salli tuntemattoman tiedon seuranta"
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr "Sallimalla tiedon seurannan, pystymme auttamaan sinua paremmin, koska tiedämme, mitä asetuksia, teemoja ja lisäosia meidän pitäisi testata. Henkilökohtaisia tietoja ei lähetetä."
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr "Google Analytics asetukset"
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr "Google Analytics sallii viiden muokatun muuttujan tallennuksen jokaisella sivulla. Valitse haluamasi muuttujat, jotka haluaisit tallentaa. Huomaa, että nämä tallennetaan vain kun ne ovat oikeasti saatavilla."
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr "Löydät muuttujat Analytics-raportilta kohdasta Yleisö &raquo; Muokattu &raquo; Muokatut muuttujat."
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr "Sisäänkirjautuneet käyttäjät"
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr "Pystyt helposti poistamaan kirjautuneet käyttäjät raportilta tai jakamaan käyttäjät roolin mukaan. Käyttäjän päärooli tallennetaan."
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr "Artikkelimuoto"
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr "Näet sivulataukset artikkelimuotojen perusteella. Hyödyllinen, jos käytät useita artikkelityyppejä."
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr "Kirjoittajan nimi"
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr "Näet sivulataukset kirjoittajan mukaan."
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr "Avainsanat"
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr "Näet sivulataukset avainsanojen mukaan."
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr "Julkaisuvuosi"
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr "Näet sivulataukset julkaisuvuoden mukaan. Täten näet, saako vanha sisältö vielä liikennettä."
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr "Yksittäinen kategoria"
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr "Näet sivulataukset kategorian mukaan. Toimii parhaiten kun artikkeleille määritellään vain yksi kategoria."
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr "Kaikki kategoriat"
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr "Näet sivulataukset kategorian mukaan. Tätä kannattaa käyttää, jos artikkeli asetetaan useaan kategoriaan."
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr "Muokattujen muuttujien asetukset"
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr "Älä huomioi käyttäjiä"
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr "Valitun käyttäjäroolin ja sitä korkeamman tason roolit jätetään huomioitta. Jos valitset pääkirjoittajan, kaikkia pääkirjoittajia ja pääkäyttäjiä ei huomioida."
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr "Huomioi kaikki käyttäjät"
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr "Pääkäyttäjä"
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr "Pääkirjoittaja"
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr "Kirjoittaja"
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr "Avustaja"
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr "Tilaaja (ei huomioi ollenkaan kirjautuneita käyttäjiä)"
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr "Seuraa lähtevät klikkaukset sivun katseluina."
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr "Tätä ei tarvitse valita seurataksesi lähteviä klikkauksia. Tämä muuttaa oletustoiminnallisuutta niin, että klikkaukset seurataan sivun katseluina tapahtumien sijaan. Tätä ei suositella, koska se vääristäisi tilastoja. Joskus tämä <em>on</em> kuitenkin tarpeellista kun lähtevät klikkaukset halutaan määrittää tavoitteina."
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr "Seuraa latauksia sivun katseluina"
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr "Tätä ei suositella, koska se vääristäisi tilastoja. Joskus tämä <em>on</em> kuitenkin tarpeellista kun latauksia halutaan seurata tavoitteina."
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr "Tiedostopäätteet, jotka seurataan latauksina"
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr "Etuliite, jota käytetään seuratuissa sivun katseluissa"
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr "Etuliitettä käytetään kaikkiin sivun katseluihin ja ne jaetaan sen jälkeen automaattisesti. Jos mitään ei syötetä, käytetään liitettä <code>/yoast-ga/</code>"
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr "Seuraa lähtevien klikkausten koko URL tai vain verkkotunnus"
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr "Vain verkkotunnus"
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr "Seuraa koko URL"
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr "Aliverkkotunnuksen seuranta"
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr "Tämä mahdollistaa %s<code>setDomainName</code>%s asettamisen aliverkkotunnuksen seuraamiseksi. Ei käytetä ollenkaan, jos tyhjä."
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr "Salli usean verkkotunnuksen seuraus"
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr "Tämä mahdollistaa %sUsean verkkotunnuksen seuraamisen%s. Asetettuna <code>_setAllowLinker:</code> koodi otetaan käyttöön."
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr "Usean verkkotunnuksen seuraaminen, pääverkkotunnus"
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr "Aseta pääverkkotunnus, jota käytetään %s<code>setDomainName</code>%s määritteessä (esim. <code>esimerkki.fi</code> ). Jos tyhjä, käytetään WordPressin kotiosoitetta."
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr "Usean verkkotunnuksen seuraaminen, muut verkkotunnukset"
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr "Kaikkiin näihin osoitteisiin viittaaviin linkkeihin lisätään <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> määrite. Erottele (ali)verkkotunnukset pilkuilla (esim. <code>kissa.esimerkki.fi, koira.esimerkki.fi</code>)"
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr "Räätälöity koodi"
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr "Ei normaaleille käyttäjille: mahdollistaa koodirivin lisäämisen ennen <code>trackPageview</code> kutsua."
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr "Lataa ga.js paikallisesti"
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr "Kerro ga.js tiedoston osoite."
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr "Jostakin syystä saatat haluta käyttää paikallista ga.js tiedostoa. Ruksita vaihtoehto ja anna tiedoston koko osoite (myös http)."
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr "Seuraa ylimääräisiä hakukoneita"
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr "Voit antaa URL-osoitteen ylimääräisten hakukoneiden tiedostoon, jos haluat:"
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr "Lisää RSS-syötteen linkkeihin muuttujat"
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr "Älä käytä tätä jos syötteesi on FeedBurnerissa, sillä FeedBurner osaa tehdä sen automaattisesti ja paremmin. <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">Katso</a>, miten voit ottaa ominaisuuden käyttöön FeedBurnerissa."
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr "Lisää seuranta kirjautumis- ja rekisteröintilomakkeille"
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr "Lisää seuranta kommenttilomakkeelle"
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr "Käytä risuaitaa kysymysmerkin sijaan kampanjan seurannassa"
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr "Tämä lisää <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> kutsun seurantakoodiin. Myös RSS-seuranta alkaa käyttää #."
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr "Lisää <code>_setAllowLinker</code>"
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr "Tämä lisää <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> kutsun seurantakoodiin. Tämä mahdollistaa <code>_link</code> ja siihen sidoksissa olevien funktioiden käytön."
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr "Aseta <code>_setAllowHash</code> epätodeksi"
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr "Tämä asettaa <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> epätodeksi ja mahdollistaa aliverkkotunnuksien seurannan jne."
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr "IP-osoitteen anonymisointi"
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr "Tämä lisää <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code> määritteen. Google Analytics anonymisoi osoitteen poistamalla viimeisen oktetin IP-osoitteesta ennen kuin se tallennetaan."
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr "Edistyneet asetukset"
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr "Seuraa sisäisiä linkkejä kuin lähteviä"
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr "Jos haluat seurata kaikkia sisäisiä linkkejä, jotka alkavat <code>/out/</code>, lisää <code>/out/</code> yllä olevaan kenttään. Jos etuliitteitä on monia, voit erottaa ne pilkulla <code>/out/,/recommends/</code>"
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr "Käytettävä nimike"
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr "Linkeille käytettävä nimike. Tämä lisätään klikkauksiin. Jos nimike on aff niin esimerkiksi artikkelilinkin klikkauksen nimike on tällöin \"outbound-article-aff\"."
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr "Seuraa sisäisiä linkkejä kuin lähteviä"
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr "WordPressin e-Commerce lisäosa on havaittu. Lisäosamme pystyy lisäämään transaktioiden seurannan automaattisesti. <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">Lue, miten otat käyttöön toiminnallisuuden Google Analyticsissä</a>. Sen jälkeen ruksita alla oleva laatikko."
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr "Ota käyttöön transaktioiden seuranta"
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr "WordPress e-Commerce asetukset"
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr "Shopp e-Commerce lisäosa on havaittu. Lisäosamme pystyy lisäämään transaktioiden seurannan automaattisesti. <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">Lue, miten otat käyttöön toiminnallisuuden Google Analyticsissä</a>. Sen jälkeen ruksita alla oleva laatikko."
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr "Shopp e-Commerce asetukset"
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr "Jos haluat varmistaa, että seuranta toimii, aseta tämä asetus päälle ja tarkastele konsolia %sFirebugilla%s (Firefoxilla), %sFirebug Litellä%s (muille selaimille) tai Chromen &amp; Safarin Web Inspectorilla. Ota asetus pois päältä myöhemmin, sillä se hidastaa seurantaa."
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr "Huom"
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr "debuggaus-skriptit ladataan vain pääkäyttäjille."
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr "Ota debuggaus käyttöön"
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr "Ota käyttöön Firebug Lite"
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr "Debuggaus tila"
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr "Haluatko varmasti nollata kaikki asetukset?"
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr "Nollaa kaikki asetukset &raquo;"
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr "Auta levittämään sanaa!"
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr "Haluatko auttaa tekemään lisäosasta vieläkin paremman? Kaikki lahjoitukset käytetään lisäosan parantamiseen. Lahjoita 20, 50 tai 100 dollaria nyt!"
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr "Tai sitten voisit:"
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr "Anna viisi tähteä WordPress.orgissa"
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr "Auta muita foorumeilla"
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr "Kirjoita ja linkkaa %1$slisäosan sivulle%2$s"
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr "Google Analytics ei ole aktiivinen."
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr "Sinun pitää %svalita mitä Analytics profiilia käytetään%s ennen kuin seuranta toimii."
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr "Auta parantamaan Google Analytics for WordPressiä"
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr "Olet juuri asentanut Yoastin Google Analytics for WordPress-lisäosan. Annatko meille luvan kerätä anonyymia tietoa, jotta tiedämme, millä asetuksilla, lisäosilla ja teemoilla meidän pitäisi testata?"
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr "Salli seuranta"
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr "Älä salli seurantaa"
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr "Asetukset"
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr "Miksipä et tekisi jotakin seuraavista:"
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr "Linkkaa lisäosaan, jotta muutkin saavat tietää."
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr "Anna viisi tähteä WordPress.orgissa."
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr "Kerro muille, että se toimii sinun WordPress-asennuksessasi."
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr "Pidätkö lisäosasta?"
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr "Google Analytics seurantakoodia ei näytetä, koska Google Analytics for WordPressiä ei ole vielä konfiguroitu."
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr "Google Analytics seurantakoodia ei näytetä, koska %s roolia ja sitä korkeampia ei huomioida."
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr "Muuta seurantakoodin sijoitusasetus \"Syötä itse\" vaihtoehtoon tai poista yoast_analytics(); kutsu."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-fr_FR.mo DELETED
Binary file
languages/google-analytics-for-wordpress-fr_FR.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in French (France)
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:22:46+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n > 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Configuration de Google Analytics"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr "Google Analytics"
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr ""
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr ""
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr ""
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr ""
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr ""
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr ""
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr ""
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr ""
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr ""
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr ""
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr ""
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr ""
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr ""
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr "Profil"
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr ""
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr ""
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr ""
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr ""
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr ""
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr ""
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr ""
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr ""
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr "Dans l'en-tête (par défaut)"
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr "Insérer manuellement "
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr ""
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr ""
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr ""
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr ""
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr ""
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr ""
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr ""
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr ""
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr ""
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr ""
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr ""
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr "Réglages de Google Analytics"
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr ""
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr ""
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr ""
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr ""
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr ""
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr ""
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr "Nom de l'auteur"
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr ""
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr "Mots-clefs"
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr ""
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr ""
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr ""
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr ""
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr ""
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr "Toutes les catégories"
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr ""
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr ""
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr ""
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr ""
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr ""
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr ""
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr ""
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr ""
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr ""
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr ""
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr ""
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr ""
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr ""
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr ""
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr ""
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr ""
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr ""
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr ""
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr ""
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr ""
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr ""
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr ""
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr ""
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr ""
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr ""
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr ""
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr ""
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr ""
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr ""
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr ""
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr ""
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr ""
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr ""
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr ""
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr ""
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr ""
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr ""
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr ""
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr ""
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr ""
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr ""
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr ""
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr ""
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr ""
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr ""
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr ""
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr ""
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr ""
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr ""
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr ""
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr ""
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr ""
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr ""
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr ""
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr ""
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr ""
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr ""
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr ""
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr ""
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr ""
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr ""
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr ""
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr ""
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr ""
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr ""
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr ""
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr ""
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr ""
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr ""
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr ""
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr ""
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr ""
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr ""
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr ""
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr ""
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr ""
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr ""
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr ""
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr ""
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr ""
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr ""
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr ""
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr ""
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr ""
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr ""
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr ""
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-hu_HU.mo DELETED
Binary file
languages/google-analytics-for-wordpress-hu_HU.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in Hungarian
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:19:43+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr ""
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr ""
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr ""
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr ""
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr ""
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr ""
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr ""
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr ""
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr ""
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr ""
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr ""
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr ""
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr ""
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr ""
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr ""
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr ""
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr ""
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr ""
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr ""
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr ""
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr ""
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr ""
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr ""
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr ""
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr ""
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr ""
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr ""
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr ""
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr ""
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr ""
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr ""
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr ""
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr ""
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr ""
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr ""
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr ""
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr ""
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr ""
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr ""
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr ""
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr ""
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr ""
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr ""
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr ""
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr ""
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr ""
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr ""
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr ""
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr ""
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr ""
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr ""
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr ""
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr ""
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr ""
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr ""
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr ""
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr ""
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr ""
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr ""
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr ""
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr ""
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr ""
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr ""
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr ""
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr ""
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr ""
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr ""
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr ""
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr ""
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr ""
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr ""
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr ""
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr ""
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr ""
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr ""
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr ""
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr ""
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr ""
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr ""
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr ""
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr ""
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr ""
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr ""
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr ""
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr ""
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr ""
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr ""
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr ""
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr ""
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr ""
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr ""
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr ""
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr ""
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr ""
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr ""
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr ""
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr ""
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr ""
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr ""
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr ""
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr ""
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr ""
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr ""
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr ""
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr ""
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr ""
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr ""
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr ""
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr ""
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr ""
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr ""
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr ""
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr ""
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr ""
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr ""
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr ""
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr ""
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr ""
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr ""
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr ""
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr ""
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr ""
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr ""
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr ""
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr ""
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr "A Google Analytics nincs aktiválva."
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr "Előbb %ski kell választanod az Analytics Profilt a követéshez%s, hogy aktiváld."
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr ""
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr ""
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr ""
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr ""
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr ""
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr ""
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr ""
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr ""
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr ""
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr ""
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr ""
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr ""
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-nl_NL.mo CHANGED
Binary file
languages/google-analytics-for-wordpress-nl_NL.po DELETED
@@ -1,571 +0,0 @@
1
- # Translation of Google Analytics for WordPress in Dutch
2
- # This file is distributed under the same license as the Google Analytics for WordPress package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-01-06 10:07:57+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: Google Analytics for WordPress\n"
12
-
13
- #: admin/class-admin.php:30
14
- msgid "Google Analytics Configuration"
15
- msgstr "Google Analytics configuratie"
16
-
17
- #: admin/class-admin.php:31
18
- msgid "Google Analytics"
19
- msgstr "Google Analytics"
20
-
21
- #: admin/class-admin.php:129
22
- msgid "The maximum number of allowed custom variables in Google Analytics is 5, please unselect one of the other custom variables before selecting this one."
23
- msgstr "Het maximum aantal toegestane custom variabelen in Google Analytics is 5, deselecteer een van de andere custom variabelen voordat je deze selecteert."
24
-
25
- #: admin/class-admin.php:136
26
- msgid "That's not a valid UA ID, please make sure it matches the expected pattern of: UA-XXXXXX-X, and that there are no spaces or other characters in the input field."
27
- msgstr "dat is geen geldige UA ID, zorg er voor dat het voeldoet aan het verwachte patroon van: UA-XXXXXX-X, en dat er geen spaties of andere tekens in het invulveld staan."
28
-
29
- #: admin/class-admin.php:151
30
- msgid "Having problems?"
31
- msgstr "Heb je problemen?"
32
-
33
- #: admin/class-admin.php:152
34
- msgid "If you're having problems with this plugin, please refer to its <a href='%s'>FAQ page</a>."
35
- msgstr "Als je problemen hebt met deze plugin, ga dan naar de <a href='%s'>FAQ pagina</a>."
36
-
37
- #: admin/class-admin.php:171
38
- msgid "Google Analytics settings reset."
39
- msgstr "Google Analytics instellingen opnieuw ingesteld"
40
-
41
- #: admin/class-admin.php:174
42
- msgid "You cannot edit the Google Analytics for WordPress options."
43
- msgstr "Je kunt de Google Analytics for WordPress opties niet bewerken."
44
-
45
- #: admin/class-admin.php:220
46
- msgid "Google Analytics settings updated."
47
- msgstr "Google Analytics instellingen geüpdatet."
48
-
49
- #: admin/class-admin.php:227
50
- msgid "Update Google Analytics Settings &raquo;"
51
- msgstr "Update Google Analytics instellingen &raquo;"
52
-
53
- #: admin/class-admin.php:263
54
- msgid "Google Analytics for WordPress Configuration"
55
- msgstr "Google Analytics for WordPress configuratie"
56
-
57
- #: admin/class-admin.php:275
58
- msgid "Please authenticate with Google Analytics to retrieve your tracking code:"
59
- msgstr "Verifieer bij Google Analytics om je trackingcode te ontvangen:"
60
-
61
- #: admin/class-admin.php:275
62
- msgid "Click here to authenticate with Google"
63
- msgstr "Klik hier om bij Google te verifiëren"
64
-
65
- #: admin/class-admin.php:340
66
- msgid "Please select the correct Analytics Account"
67
- msgstr "Selecteer het goede Analytics account"
68
-
69
- #: admin/class-admin.php:349
70
- msgid "Please select the correct Analytics account to track:"
71
- msgstr "Selecteer het goede Analytics account om te tracken:"
72
-
73
- #: admin/class-admin.php:351
74
- msgid "Profile"
75
- msgstr "Profiel"
76
-
77
- #: admin/class-admin.php:363
78
- msgid "Please note that if you have several profiles of the same website, it doesn't matter which profile you select, and in fact another profile might show as selected later. You can check whether they're profiles for the same site by checking if they have the same UA code. If that's true, tracking will be correct."
79
- msgstr "Let op: als je meerdere profielen op dezelfde website gebruikt, maakt het niet welk profiel je selecteert. Het kan zelfs zo zijn dat er later een ander profiel geselecteerd is. Je kunt bekijken of de profielen voor dezelfde site zijn door te controleren of ze dezelfde UA code hebben. Als dat zo is, dan is de tracking goed."
80
-
81
- #: admin/class-admin.php:365
82
- msgid "Refresh this listing or switch to another account: "
83
- msgstr "Ververs deze lijst of schakel over naar een ander account:"
84
-
85
- #: admin/class-admin.php:367
86
- msgid "Unfortunately, an error occurred while connecting to Google, please try again:"
87
- msgstr "Helaas, er is een fout opgetreden met het verbinden met Google, probeer het nog een keer:"
88
-
89
- #: admin/class-admin.php:371
90
- msgid "Re-authenticate with Google"
91
- msgstr "Verifieer opnieuw bij Google"
92
-
93
- #: admin/class-admin.php:373
94
- msgid "Select another Analytics Profile &raquo;"
95
- msgstr "Selecteer een ander Analytics profiel &raquo;"
96
-
97
- #: admin/class-admin.php:375
98
- msgid "Manually enter your UA code: "
99
- msgstr "Vul je UA code handmatig in:"
100
-
101
- #: admin/class-admin.php:380
102
- msgid "Analytics Profile"
103
- msgstr "Analytics profiel"
104
-
105
- #: admin/class-admin.php:381
106
- msgid "Manually enter your UA code"
107
- msgstr "Vul je UA code handmatig in"
108
-
109
- #: admin/class-admin.php:384
110
- msgid "In the header (default)"
111
- msgstr "In de header (standaard)"
112
-
113
- #: admin/class-admin.php:384
114
- msgid "Insert manually"
115
- msgstr "Vul handmatig in"
116
-
117
- #: admin/class-admin.php:387
118
- msgid "Notice"
119
- msgstr "Uitleg"
120
-
121
- #: admin/class-admin.php:387
122
- msgid "You switched your theme, please make sure your Google Analytics tracking is still ok. Save your settings to make sure Google Analytics gets loaded properly."
123
- msgstr "Je hebt je thema veranderd, zorg er voor dat je Google Analytics tracking nog steeds goed is. Bewaar je instellingen om er zeker van te zijn dat Google Analytics goed geladen wordt."
124
-
125
- #: admin/class-admin.php:390
126
- msgid "The header is by far the best spot to place the tracking code. If you'd rather place the code manually, switch to manual placement. For more info %sread this page%s."
127
- msgstr "De header is veruit de beste plek om de tracking code te plaatsen. Als je het het liever handmatig plaatst, schakel dan over op handmatige plaatsing. Voor meer info %slees deze pagina%s."
128
-
129
- #: admin/class-admin.php:391
130
- msgid "%sFollow the instructions here%s to choose the location for your tracking code manually."
131
- msgstr "%sVolg de instructiies hier%s om zelf een locatie te kiezen voor je tracking code."
132
-
133
- #: admin/class-admin.php:395
134
- msgid "Where should the tracking code be placed"
135
- msgstr "Waar moet de tracking code worden geplaatst"
136
-
137
- #: admin/class-admin.php:401
138
- msgid "Track outbound clicks &amp; downloads"
139
- msgstr "Track externe kliks &amp; downloads"
140
-
141
- #: admin/class-admin.php:402
142
- msgid "Clicks &amp; downloads will be tracked as events, you can find these under Content &raquo; Event Tracking in your Google Analytics reports."
143
- msgstr "Kliks &amp; downloads zullen worden getrackt als events, je kunt deze vinden onder Content &raquo; Event Tracking in je Google Analytics rapportages."
144
-
145
- #: admin/class-admin.php:407
146
- msgid "Show advanced settings"
147
- msgstr "Laat geavanceerde instellingen zien"
148
-
149
- #: admin/class-admin.php:408
150
- msgid "Only adviced for advanced users who know their way around Google Analytics"
151
- msgstr "Alleen voor geavanceerde gebruikers die de weg kennen in Google Analytics"
152
-
153
- #: admin/class-admin.php:413
154
- msgid "Allow tracking of anonymous data"
155
- msgstr "Tracking van anonieme data toestaan"
156
-
157
- #: admin/class-admin.php:414
158
- msgid "By allowing us to track anonymous data we can better help you, because we know with which WordPress configurations, themes and plugins we should test. No personal data will be submitted."
159
- msgstr "Door ons toestemming te geven om anonieme data te tracken kunnen we je beter helpen, omdat we dan weten we met welke instellingen, plugins en thema' s we moeten testen. Dit gaat niet om persoonlijke gegevens. "
160
-
161
- #: admin/class-admin.php:417
162
- msgid "Google Analytics Settings"
163
- msgstr "Google Analytics instellingen"
164
-
165
- #: admin/class-admin.php:420
166
- msgid "Google Analytics allows you to save up to 5 custom variables on each page, and this plugin helps you make the most use of these! Check which custom variables you'd like the plugin to save for you below. Please note that these will only be saved when they are actually available."
167
- msgstr "Google Analytics geeft je de mogelijkheid om tot 5 custom variabelen te bewaren op elke pagina. Deze plugin helpt je om het maximale eruit te halen. Selecteer hieronder welke custom variabelen de plugin voor je moet bewaren. Let op: ze worden alleen bewaard als ze ook daadwerkelijk beschikbaar zijn."
168
-
169
- #: admin/class-admin.php:421
170
- msgid "If you want to start using these custom variables, go to Visitors &raquo; Custom Variables in your Analytics reports."
171
- msgstr "Als je je eigen variabelen wilt gebruiken, ga dan naar Bezoekers &raquo; Custom Variables in je Analytics rapportages."
172
-
173
- #: admin/class-admin.php:424
174
- msgid "Logged in Users"
175
- msgstr "Ingelogde gebruikers"
176
-
177
- #: admin/class-admin.php:425
178
- msgid "Allows you to easily remove logged in users from your reports, or to segment by different user roles. The users primary role will be logged."
179
- msgstr "Zorgt er voor dat je makkelijk ingelogde gebruikers kunt verwijderen uit je rapport, of te segmenteren op de verschillende gebruikersrollen. De hoofdrol van de gebruiker zal worden gelogd."
180
-
181
- #: admin/class-admin.php:430
182
- msgid "Post type"
183
- msgstr "Berichttype"
184
-
185
- #: admin/class-admin.php:431
186
- msgid "Allows you to see pageviews per post type, especially useful if you use multiple custom post types."
187
- msgstr "Zorgt dat je de pageviews per berichttype kunt bekijken, vooral nuttig als je meerdere custom post types gebruikt. "
188
-
189
- #: admin/class-admin.php:436
190
- msgid "Author Name"
191
- msgstr "Naam auteur"
192
-
193
- #: admin/class-admin.php:437
194
- msgid "Allows you to see pageviews per author."
195
- msgstr "Zorgt dat je de pageviews per auteur kunt zien."
196
-
197
- #: admin/class-admin.php:442
198
- msgid "Tags"
199
- msgstr "Tags"
200
-
201
- #: admin/class-admin.php:443
202
- msgid "Allows you to see pageviews per tags using advanced segments."
203
- msgstr "Zorgt dat je de pageviews per tag met gebruik van geavanceerde elementen kunt zien."
204
-
205
- #: admin/class-admin.php:448
206
- msgid "Publication year"
207
- msgstr "Publicatiejaar"
208
-
209
- #: admin/class-admin.php:449
210
- msgid "Allows you to see pageviews per year of publication, showing you if your old posts still get traffic."
211
- msgstr "Zorgt dat je de pageviews per publicatiejaar kunt zien, zodat weet welke oude berichten nog steeds verkeer krijgen."
212
-
213
- #: admin/class-admin.php:454
214
- msgid "Single Category"
215
- msgstr "Enkele categorie"
216
-
217
- #: admin/class-admin.php:455
218
- msgid "Allows you to see pageviews per category, works best when each post is in only one category."
219
- msgstr "Zorgt dat je de pageviews per categorie kunt bekijken, dit werkt het beste als elk bericht maar een categorie heeft."
220
-
221
- #: admin/class-admin.php:460
222
- msgid "All Categories"
223
- msgstr "Alle categorieën"
224
-
225
- #: admin/class-admin.php:461
226
- msgid "Allows you to see pageviews per category using advanced segments, should be used when you use multiple categories per post."
227
- msgstr "Zorgt dat je de pageviews per categorie kunt bekijken met geavanceerde segmenten. Dit gebruik je als je berichten hebt met meerdere categorieën."
228
-
229
- #: admin/class-admin.php:466
230
- msgid "Custom Variables Settings"
231
- msgstr "Eigen variabelen-instellingen"
232
-
233
- #: admin/class-admin.php:471
234
- msgid "Ignore users"
235
- msgstr "Negeer gebruikers"
236
-
237
- #: admin/class-admin.php:472
238
- msgid "Users of the role you select and higher will be ignored, so if you select Editor, all Editors and Administrators will be ignored."
239
- msgstr "Gebruikers met de rol die je selecteert en hoger worden genegeerd, dus als je Redacteur selecteert, dan worden alle redacteurs en administrators genegeerd."
240
-
241
- #: admin/class-admin.php:474
242
- msgid "Ignore no-one"
243
- msgstr "Negeer niemand"
244
-
245
- #: admin/class-admin.php:475
246
- msgid "Administrator"
247
- msgstr "Administrator"
248
-
249
- #: admin/class-admin.php:476
250
- msgid "Editor"
251
- msgstr "Redacteur"
252
-
253
- #: admin/class-admin.php:477
254
- msgid "Author"
255
- msgstr "Auteur"
256
-
257
- #: admin/class-admin.php:478
258
- msgid "Contributor"
259
- msgstr "Schrijver"
260
-
261
- #: admin/class-admin.php:479
262
- msgid "Subscriber (ignores all logged in users)"
263
- msgstr "Abonnee (negeert alle ingelogde gebruikers)"
264
-
265
- #: admin/class-admin.php:484
266
- msgid "Track outbound clicks as pageviews"
267
- msgstr "Track externe kliks als pageviews"
268
-
269
- #: admin/class-admin.php:485
270
- msgid "You do not need to enable this to enable outbound click tracking, this changes the default behavior of tracking clicks as events to tracking them as pageviews. This is therefore not recommended, as this would skew your statistics, but <em>is</em> sometimes necessary when you need to set outbound clicks as goals."
271
- msgstr "Je hoeft dit niet aan te zetten voor externe klik tracking, dit verandert het standaardgedrag van de tracking als events in tracking als pageviews. Het wordt daarom afgeraden, omdat het je statistieken verandert, maar het <em>is</em> soms nodig als je de externe kliks als doelen wilt instellen."
272
-
273
- #: admin/class-admin.php:490
274
- msgid "Track downloads as pageviews"
275
- msgstr "Track downloads als pageviews"
276
-
277
- #: admin/class-admin.php:491
278
- msgid "Not recommended, as this would skew your statistics, but it does make it possible to track downloads as goals."
279
- msgstr "Niet aanbevolen, want dit verandert je statistieken. Maar het maakt het wel mogelijk om downloads als doelen te tracken."
280
-
281
- #: admin/class-admin.php:496
282
- msgid "Extensions of files to track as downloads"
283
- msgstr "Bestands-extensies tracken als downloads"
284
-
285
- #: admin/class-admin.php:502
286
- msgid "Prefix to use in Analytics before the tracked pageviews"
287
- msgstr "Voorvoegsel te gebruiken in Analytics voorafgaand aan de getrackte pageviews"
288
-
289
- #: admin/class-admin.php:503
290
- msgid "This prefix is used before all pageviews, they are then segmented automatically after that. If nothing is entered here, <code>/yoast-ga/</code> is used."
291
- msgstr "Dit voorvoegsel wordt gebruikt voor alle pageviews, ze worden daarna automatisch gesegmenteerd. Als hier niets is ingevuld, dan wordt <code>/yoast-ga/</code> gebruikt."
292
-
293
- #: admin/class-admin.php:509
294
- msgid "Track full URL of outbound clicks or just the domain"
295
- msgstr "Track de hele URL van externe kliks of alleen het domein"
296
-
297
- #: admin/class-admin.php:511
298
- msgid "Just the domain"
299
- msgstr "Alleen het domein"
300
-
301
- #: admin/class-admin.php:512
302
- msgid "Track the complete URL"
303
- msgstr "Track de complete URL"
304
-
305
- #: admin/class-admin.php:518
306
- msgid "Subdomain Tracking"
307
- msgstr "Tracking van subdomein"
308
-
309
- #: admin/class-admin.php:519
310
- msgid "This allows you to set the domain that's set by %s<code>setDomainName</code>%s for tracking subdomains, if empty this will not be set."
311
- msgstr "Dit zorgt er voor dat het domein bij %s<code>setDomainName</code>%s subdomeinen kan tracken, als dit leeg is, dan wordt het niet ingesteld."
312
-
313
- #: admin/class-admin.php:524
314
- msgid "Enable Cross Domain Tracking"
315
- msgstr "Cross domein tracking aanzetten"
316
-
317
- #: admin/class-admin.php:525
318
- msgid "This allows you to enable %sCross-Domain Tracking%s for this site. When endabled <code>_setAllowLinker:</code> will be enabled if it is not already."
319
- msgstr "Dit zorgt dat %sCross-Domain Tracking%s aanstaat voor deze site. Als het aan staat, dan wordt <code>_setAllowLinker:</code> aangezet als dat nog niet het geval was."
320
-
321
- #: admin/class-admin.php:530
322
- msgid "Cross-Domain Tracking, Primary Domain"
323
- msgstr "Cross-domein tracking, hoofddomein"
324
-
325
- #: admin/class-admin.php:531
326
- msgid "Set the primary domain used in %s<code>setDomainName</code>%s for cross domain tracking (eg. <code>example-petstore.com</code> ), if empty this will default to your configured Home URL."
327
- msgstr "Stel het hoofddomein in %s<code>setDomainName</code>%s voor cross domein tracking (bijv. <code>voorbeeld-dierenwinkel.nl</code> ), als dit veld leeg is gaat deze automatisch naar de Home URL."
328
-
329
- #: admin/class-admin.php:536
330
- msgid "Cross-Domain Tracking, Other Domains"
331
- msgstr "Cross-domein tracking, andere domeinen"
332
-
333
- #: admin/class-admin.php:537
334
- msgid "All links to these domains will have the <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code automatically attached. Separate domains/sub-domains with commas (eg. <code>dogs.example-petstore.com, cats.example-petstore.com</code>)"
335
- msgstr "Alle links naar deze domeinen zullen automatisch de <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#multipleDomains\"><code>_link</code></a> code krijgen. Scheid domeinen/sub-domeinen met komma's (bijv. <code>honden.voorbeeld-dierenwinkel.nl,katten.voorbeeld-dierenwinkel.nl</code>)"
336
-
337
- #: admin/class-admin.php:542
338
- msgid "Custom Code"
339
- msgstr "Eigen code"
340
-
341
- #: admin/class-admin.php:543
342
- msgid "Not for the average user: this allows you to add a line of code, to be added before the <code>trackPageview</code> call."
343
- msgstr "Niet voor de gemiddelde gebruiker: dit zorgt dat je een regel codes kan toevoegen voor de <code>trackPageview</code> call."
344
-
345
- #: admin/class-admin.php:554
346
- msgid "Host ga.js locally"
347
- msgstr "Host ga.js lokaal"
348
-
349
- #: admin/class-admin.php:556
350
- msgid "You have to provide a URL to your ga.js file:"
351
- msgstr "Je moet een URL naar je ga.js bestand opgeven:"
352
-
353
- #: admin/class-admin.php:559
354
- msgid "For some reasons you might want to use a locally hosted ga.js file, or another ga.js file, check the box and then please enter the full URL including http here."
355
- msgstr "Als je om een of andere reden een ga.js bestand lokaal wilt hosten, of een ander ga.js bestand, vink de box aan en vul hier de complete URL in, inclusief http."
356
-
357
- #: admin/class-admin.php:563
358
- msgid "Track extra Search Engines"
359
- msgstr "Track extra zoekmachines"
360
-
361
- #: admin/class-admin.php:565
362
- msgid "You can provide a custom URL to the extra search engines file if you want:"
363
- msgstr "Je kunt een eigen URL toevoegen aan de extra zoekmachines als je dat wilt:"
364
-
365
- #: admin/class-admin.php:571
366
- msgid "Tag links in RSS feed with campaign variables"
367
- msgstr "Tag links in RSS feed met campagne variabelen"
368
-
369
- #: admin/class-admin.php:572
370
- msgid "Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically, and better than this plugin can. Check <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">this help page</a> for info on how to enable this feature in FeedBurner."
371
- msgstr "Gebruik deze optie niet als je FeedBurner gebruikt, omdat FeedBurner dit automatisch en beter dan deze plugin kan doen. Bekijk <a href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=165769\">deze helppagina</a> voor info over hoe je deze optie in FeedBurner aanzet."
372
-
373
- #: admin/class-admin.php:577
374
- msgid "Add tracking to the login and registration forms"
375
- msgstr "Voeg tracking toe aan de login- en registratieformulieren"
376
-
377
- #: admin/class-admin.php:582
378
- msgid "Add tracking to the comment forms"
379
- msgstr "Voeg tracking toe aan de reactieformulieren"
380
-
381
- #: admin/class-admin.php:587
382
- msgid "Use # instead of ? for Campaign tracking"
383
- msgstr "Gebruik # in plaats van ? voor Campagne tracking"
384
-
385
- #: admin/class-admin.php:588
386
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call to your tracking code, and makes RSS link tagging use a # as well."
387
- msgstr "Deze voegt een <code><a href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor\">_setAllowAnchor</a></code> call toe aan je trackingcode en zorgt ook dat RSS link tagging een # gebruikt."
388
-
389
- #: admin/class-admin.php:593
390
- msgid "Add <code>_setAllowLinker</code>"
391
- msgstr "Voeg <code>_setAllowLinker</code> toe"
392
-
393
- #: admin/class-admin.php:594
394
- msgid "This adds a <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call to your tracking code, allowing you to use <code>_link</code> and related functions."
395
- msgstr "Dit voegt een <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowLinker\">_setAllowLinker</a></code> call toe aan je trackingcode en zorgt dat je <code>_link</code> en gerelateerde functies kunt gebruiken."
396
-
397
- #: admin/class-admin.php:599
398
- msgid "Set <code>_setAllowHash</code> to false"
399
- msgstr "Zet <code>_setAllowHash</code> op false"
400
-
401
- #: admin/class-admin.php:600
402
- msgid "This sets <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> to false, allowing you to track subdomains etc."
403
- msgstr "Dit zet <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html#_gat.GA_Tracker_._setAllowHash\">_setAllowHash</a></code> op false en zorgt dat subdomeinen etc. kunt tracken."
404
-
405
- #: admin/class-admin.php:605
406
- msgid "Anonymize IP's"
407
- msgstr "Anonimiseer IP's"
408
-
409
- #: admin/class-admin.php:606
410
- msgid "This adds <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code>, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage."
411
- msgstr "Dit voegt <code><a href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp\">_anonymizeIp</a></code> toe en zegt tegen Google Analytics dat de informatie die door de tracker wordt verzonden moet worden geanonimiseerd. Dit gebeurt door de laatste 8 cijfers van het IP-adres te verwijderen voordat het wordt opgeslagen."
412
-
413
- #: admin/class-admin.php:610
414
- msgid "Advanced Settings"
415
- msgstr "Geavanceerde instellingen"
416
-
417
- #: admin/class-admin.php:615
418
- msgid "Internal links to track as outbound"
419
- msgstr "Track interne links als externe"
420
-
421
- #: admin/class-admin.php:616
422
- msgid "If you want to track all internal links that begin with <code>/out/</code>, enter <code>/out/</code> in the box above. If you have multiple prefixes you can separate them with comma's: <code>/out/,/recommends/</code>"
423
- msgstr "Als je alle interne links wilt tracken die beginnen met <code>/out/</code>, vul dan in het veld hierboven <code>/out/</code> in. Als je meerdere voorvoegsels hebt, dan kun je ze scheiden door komma's: <code>/out/,/aanbevolen/</code>"
424
-
425
- #: admin/class-admin.php:621
426
- msgid "Label to use"
427
- msgstr "Label om te gebruiken"
428
-
429
- #: admin/class-admin.php:622
430
- msgid "The label to use for these links, this will be added to where the click came from, so if the label is \"aff\", the label for a click from the content of an article becomes \"outbound-article-aff\"."
431
- msgstr "Het label om te gebruiken voor deze links, dit wordt toegevoegd aan waar de klik vandaan kwam, dus als de label \"aff\" is, dan wordt de label voor een klik van de tekst van een bericht \"outbound-article-aff\"."
432
-
433
- #: admin/class-admin.php:626
434
- msgid "Internal Links to Track as Outbound"
435
- msgstr "Track interne links als externe"
436
-
437
- #: admin/class-admin.php:629
438
- msgid "The WordPress e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
439
- msgstr "De WordPress e-Commerce plugin is gedetecteerd. Deze plugin kan automatisch je transacties tracken. Om dat te doen, <a href=\"http://yoast.com/wordpress/google-analytics/enable-ecommerce/\">zet je e-commerce voor je rapportages in Google Analytics aan</a> en vink hieronder de optie aan. "
440
-
441
- #: admin/class-admin.php:633 admin/class-admin.php:646
442
- msgid "Enable transaction tracking"
443
- msgstr "Transactietracking aanzetten"
444
-
445
- #: admin/class-admin.php:636
446
- msgid "WordPress e-Commerce Settings"
447
- msgstr "WordPress e-Commerce instellingen"
448
-
449
- #: admin/class-admin.php:642
450
- msgid "The Shopp e-Commerce plugin has been detected. This plugin can automatically add transaction tracking for you. To do that, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">enable e-commerce for your reports in Google Analytics</a> and then check the box below."
451
- msgstr "De Shopp e-Commerce plugin is gedetecteerd. Deze plugin kan automatisch je transacties tracken. Om dat te doen, <a href=\"http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55528\">zet je e-commerce voor je rapportages in Google Analytics aan</a> en vink hieronder de optie aan."
452
-
453
- #: admin/class-admin.php:649
454
- msgid "Shopp e-Commerce Settings"
455
- msgstr "Shopp e-Commerce instellingen"
456
-
457
- #: admin/class-admin.php:652
458
- msgid "If you want to confirm that tracking on your blog is working as it should, enable this option and check the console in %sFirebug%s (for Firefox), %sFirebug Lite%s (for other browsers) or Chrome &amp; Safari's Web Inspector. Be absolutely sure to disable debugging afterwards, as it is slower than normal tracking."
459
- msgstr "Als je wilt bevestigen dat de tracking op je site goed werkt, zet dan deze optie aan en kijk dan in %sFirebug%s (voor Firefox), %sFirebug Lite%s (voor andere browsers) of Chrome &amp; Safari's Web Inspector. Wees er absoluut zeker van dat je daarna debugging uitzet, want dat is langzamer dan normale tracking."
460
-
461
- #: admin/class-admin.php:653
462
- msgid "Note"
463
- msgstr "Let op"
464
-
465
- #: admin/class-admin.php:653
466
- msgid "the debugging and firebug scripts are only loaded for admins."
467
- msgstr "de debugging and firebug scripts worden alleen voor admins geladen."
468
-
469
- #: admin/class-admin.php:657
470
- msgid "Enable debug mode"
471
- msgstr "Debug modus aanzetten"
472
-
473
- #: admin/class-admin.php:662
474
- msgid "Enable Firebug Lite"
475
- msgstr "Firebug Lite aanzetten"
476
-
477
- #: admin/class-admin.php:665
478
- msgid "Debug Mode"
479
- msgstr "Debug modus"
480
-
481
- #: admin/class-admin.php:670
482
- msgid "Do you really want to reset all settings?"
483
- msgstr "Weet je zeker dat je alles opnieuw wilt instellen?"
484
-
485
- #: admin/class-admin.php:674
486
- msgid "Reset All Settings &raquo;"
487
- msgstr "Alles opnieuw instellen &raquo;"
488
-
489
- #: admin/class-admin.php:683
490
- msgid "Help Spread the Word!"
491
- msgstr "Help het bekend te maken"
492
-
493
- #: admin/class-admin.php:683
494
- msgid "Want to help make this plugin even better? All donations are used to improve this plugin, so donate $20, $50 or $100 now!"
495
- msgstr "Wil je helpen om deze plugin nog beter te maken? Alle donaties gebruiken we om deze plugin te verbeteren, dus doneer nu € 20, € 50 of € 100!"
496
-
497
- #: admin/class-admin.php:689
498
- msgid "Or you could:"
499
- msgstr "Of je kunt:"
500
-
501
- #: admin/class-admin.php:691
502
- msgid "Rate the plugin 5★ on WordPress.org"
503
- msgstr "Geeft de plugin 5★ op WordPress.org"
504
-
505
- #: admin/class-admin.php:692
506
- msgid "Help out other users in the forums"
507
- msgstr "Help andere gebruikers op de forums"
508
-
509
- #: admin/class-admin.php:693
510
- msgid "Blog about it & link to the %1$splugin page%2$s"
511
- msgstr "Blog erover & link naar de %1$splugin pagina%2$s"
512
-
513
- #: admin/class-admin.php:755
514
- msgid "Google Analytics is not active."
515
- msgstr "Google Analytics is niet actief"
516
-
517
- #: admin/class-admin.php:755
518
- msgid "You must %sselect which Analytics Profile to track%s before it can work."
519
- msgstr "Je moet %sselecteren welk Analytics profiel getrackt moet worden%s voordat het werkt."
520
-
521
- #: admin/class-pointer.php:37
522
- msgid "Help improve Google Analytics for WordPress"
523
- msgstr "Help Google Analytics for WordPress te verbeteren"
524
-
525
- #: admin/class-pointer.php:38
526
- msgid "You've just installed Google Analytics for WordPress by Yoast. Please helps us improve it by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test with."
527
- msgstr "Je hebt net Google Analytics for WordPress door Yoast geïnstalleerd. Help ons om het te verbeteren door ons toestemming te geven om anonieme data te verzamelen. Zo weten we met welke instellingen, plugins en thema's we moeten testen."
528
-
529
- #: admin/class-pointer.php:43
530
- msgid "Allow tracking"
531
- msgstr "Tracking toestaan"
532
-
533
- #: admin/class-pointer.php:49
534
- msgid "Do not allow tracking"
535
- msgstr " Tracking niet toestaan"
536
-
537
- #: admin/yst_plugin_tools.php:54
538
- msgid "Settings"
539
- msgstr "Instellingen"
540
-
541
- #: admin/yst_plugin_tools.php:170
542
- msgid "Why not do any or all of the following:"
543
- msgstr "Waarom doe je niet een van de volgende dingen:"
544
-
545
- #: admin/yst_plugin_tools.php:172
546
- msgid "Link to it so other folks can find out about it."
547
- msgstr "Link ernaar zodat andere mensen het kunnen vinden."
548
-
549
- #: admin/yst_plugin_tools.php:173
550
- msgid "Give it a 5 star rating on WordPress.org."
551
- msgstr "Geef het 5 sterren op WordPress.org."
552
-
553
- #: admin/yst_plugin_tools.php:174
554
- msgid "Let other people know that it works with your WordPress setup."
555
- msgstr "Laat andere mensen weten dat het werkt met je WordPress-installatie."
556
-
557
- #: admin/yst_plugin_tools.php:176
558
- msgid "Like this plugin?"
559
- msgstr "Vind je deze plugin goed?"
560
-
561
- #: frontend/class-frontend.php:75
562
- msgid "Google Analytics tracking code not shown because you haven't setup Google Analytics for WordPress yet."
563
- msgstr "Google Analytics tracking code niet zichtbaar omdat je Google Analytics for WordPress nog niet hebt ingesteld."
564
-
565
- #: frontend/class-frontend.php:310
566
- msgid "Google Analytics tracking code not shown because users over level %s are ignored."
567
- msgstr "Google Analytics tracking code niet zichtbaar omdat gebruikers boven level %s worden genegeerd."
568
-
569
- #: frontend/class-frontend.php:661
570
- msgid "Please set Google Analytics position to \"manual\" in the settings, or remove this call to yoast_analytics();"
571
- msgstr "Stel Google Analytics positie naar \"handmatig\" in de instellingen, of verwijder deze aanroep naar yoast_analytics();"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/google-analytics-for-wordpress-ru_RU.mo ADDED
Binary file
languages/google-analytics-for-wordpress.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GPL v3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Google Analytics by Yoast 5.0.7\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/google-analytics-for-wordpress\n"
8
- "POT-Creation-Date: 2014-10-27 13:10:36+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -25,61 +25,74 @@ msgstr ""
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
- #: admin/class-admin.php:66
 
 
 
 
 
 
 
 
 
 
 
 
29
  msgid "Please configure your %sGoogle Analytics settings%s!"
30
  msgstr ""
31
 
32
- #: admin/class-admin.php:93
33
  msgid "Settings saved!"
34
  msgstr ""
35
 
36
- #: admin/class-admin.php:100
37
  msgid "There where no changes to save, please try again."
38
  msgstr ""
39
 
40
- #: admin/class-admin.php:119
41
  msgid "FAQ"
42
  msgstr ""
43
 
44
- #: admin/class-admin.php:122
45
  msgid "Settings"
46
  msgstr ""
47
 
48
- #: admin/class-admin.php:145 admin/class-admin.php:169
49
- msgid "Yoast Google Analytics:"
50
- msgstr ""
51
-
52
- #: admin/class-admin.php:145
53
- msgid "General Settings"
54
  msgstr ""
55
 
56
- #: admin/class-admin.php:145
57
- msgid "Analytics"
 
 
58
  msgstr ""
59
 
60
- #: admin/class-admin.php:602
61
  msgid "Debug information"
62
  msgstr ""
63
 
64
- #: admin/class-admin.php:619 admin/class-admin.php:625
65
- msgid "Google Analytics"
66
  msgstr ""
67
 
68
- #: admin/class-admin.php:619
69
- msgid "Premium"
70
- msgstr ""
71
-
72
- #: admin/class-admin.php:620
73
  msgid ""
74
  "The premium version of Google Analytics for WordPress with more features "
75
  "&amp; support."
76
  msgstr ""
77
 
78
- #: admin/class-admin.php:625
 
 
 
 
79
  msgid "E-Commerce tracking"
80
  msgstr ""
81
 
82
- #: admin/class-admin.php:626
83
  msgid ""
84
  "Track your E-Commerce data and transactions with this E-Commerce extension "
85
  "for Google Analytics."
@@ -234,6 +247,13 @@ msgstr ""
234
  msgid "Yoast Google Analytics: Dashboard"
235
  msgstr ""
236
 
 
 
 
 
 
 
 
237
  #: admin/pages/extensions.php:10
238
  msgid "Yoast Google Analytics: Extensions"
239
  msgstr ""
@@ -268,60 +288,64 @@ msgstr ""
268
  msgid "Advanced"
269
  msgstr ""
270
 
271
- #: admin/pages/settings.php:17
 
 
 
 
272
  msgid "Debug mode"
273
  msgstr ""
274
 
275
- #: admin/pages/settings.php:27
276
  msgid "General settings"
277
  msgstr ""
278
 
279
- #: admin/pages/settings.php:40
280
  msgid "Google profile"
281
  msgstr ""
282
 
283
- #: admin/pages/settings.php:41
284
  msgid "Authenticate with your Google account"
285
  msgstr ""
286
 
287
- #: admin/pages/settings.php:44
288
  msgid "Current UA-profile"
289
  msgstr ""
290
 
291
- #: admin/pages/settings.php:52
292
  msgid "Re-authenticate with your Google account"
293
  msgstr ""
294
 
295
- #: admin/pages/settings.php:58
296
  msgid "Manually enter your UA code"
297
  msgstr ""
298
 
299
- #: admin/pages/settings.php:67
300
  msgid "Track outbound click & downloads"
301
  msgstr ""
302
 
303
- #: admin/pages/settings.php:67
304
  msgid ""
305
  "Clicks &amp; downloads will be tracked as events, you can find these under "
306
  "Content &raquo; Event Tracking in your Google Analytics reports."
307
  msgstr ""
308
 
309
- #: admin/pages/settings.php:68
310
  msgid "Allow tracking of anonymous data"
311
  msgstr ""
312
 
313
- #: admin/pages/settings.php:68
314
  msgid ""
315
  "By allowing us to track anonymous data we can better help you, because we "
316
  "know with which WordPress configurations, themes and plugins we should "
317
  "test. No personal data will be submitted."
318
  msgstr ""
319
 
320
- #: admin/pages/settings.php:69
321
  msgid "Anonymize IP's"
322
  msgstr ""
323
 
324
- #: admin/pages/settings.php:69
325
  msgid ""
326
  "This adds <code><a "
327
  "href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_"
@@ -330,21 +354,21 @@ msgid ""
330
  "by removing the last octet of the IP address prior to its storage."
331
  msgstr ""
332
 
333
- #: admin/pages/settings.php:70
334
  msgid ""
335
  "Users of the role you select will be ignored, so if you select Editor, all "
336
  "Editors will be ignored."
337
  msgstr ""
338
 
339
- #: admin/pages/settings.php:75
340
  msgid "Universal settings"
341
  msgstr ""
342
 
343
- #: admin/pages/settings.php:76
344
  msgid "Enable Universal tracking"
345
  msgstr ""
346
 
347
- #: admin/pages/settings.php:76
348
  msgid ""
349
  "First enable Universal tracking in your Google Analytics account. How to do "
350
  "that, please read <a "
@@ -353,11 +377,11 @@ msgid ""
353
  "target=\"_blank\">this guide</a> to learn how to do that."
354
  msgstr ""
355
 
356
- #: admin/pages/settings.php:77
357
  msgid "Enable Demographics and Interest Reports"
358
  msgstr ""
359
 
360
- #: admin/pages/settings.php:77
361
  msgid ""
362
  "You have to enable the Demographics in Google Analytics before you can see "
363
  "the tracking data. We have a doc in our <a "
@@ -367,64 +391,64 @@ msgid ""
367
  "feature."
368
  msgstr ""
369
 
370
- #: admin/pages/settings.php:82
371
  msgid "Advanced settings"
372
  msgstr ""
373
 
374
- #: admin/pages/settings.php:83
375
  msgid "Track downloads as"
376
  msgstr ""
377
 
378
- #: admin/pages/settings.php:83
379
  msgid ""
380
  "Not recommended, as this would skew your statistics, but it does make it "
381
  "possible to track downloads as goals."
382
  msgstr ""
383
 
384
- #: admin/pages/settings.php:84
385
  msgid "Extensions of files to track as downloads"
386
  msgstr ""
387
 
388
- #: admin/pages/settings.php:85
389
  msgid "Track full URL of outbound clicks or just the domain"
390
  msgstr ""
391
 
392
- #: admin/pages/settings.php:86
393
  msgid "Subdomain tracking"
394
  msgstr ""
395
 
396
- #: admin/pages/settings.php:86
397
  msgid ""
398
  "This allows you to set the domain that's set by <code>setDomainName</code> "
399
  "for tracking subdomains, if empty this will not be set."
400
  msgstr ""
401
 
402
- #: admin/pages/settings.php:88
403
  msgid "Set path for internal links to track as outbound links"
404
  msgstr ""
405
 
406
- #: admin/pages/settings.php:89
407
  msgid "Label for those links"
408
  msgstr ""
409
 
410
- #: admin/pages/settings.php:91
411
  msgid "Tag links in RSS feed with campaign variables"
412
  msgstr ""
413
 
414
- #: admin/pages/settings.php:91
415
  msgid ""
416
  "Do not use this feature if you use FeedBurner, as FeedBurner can do this "
417
  "automatically, and better than this plugin can. Check <a "
418
- "href=\"http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;"
419
- "answer=165769\" target=\"_blank\">this help page</a> for info on how to "
420
  "enable this feature in FeedBurner."
421
  msgstr ""
422
 
423
- #: admin/pages/settings.php:92
424
  msgid "Allow anchor"
425
  msgstr ""
426
 
427
- #: admin/pages/settings.php:92
428
  msgid ""
429
  "This adds a <code><a "
430
  "href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking."
@@ -433,11 +457,11 @@ msgid ""
433
  "and makes RSS link tagging use a # as well."
434
  msgstr ""
435
 
436
- #: admin/pages/settings.php:93
437
  msgid "Add <code>_setAllowLinker</code>"
438
  msgstr ""
439
 
440
- #: admin/pages/settings.php:93
441
  msgid ""
442
  "This adds a <code><a "
443
  "href=\"http://code.google.com/apis/analytics/docs/gaJS/"
@@ -446,17 +470,17 @@ msgid ""
446
  "allowing you to use <code>_link</code> and related functions."
447
  msgstr ""
448
 
449
- #: admin/pages/settings.php:94
450
  msgid ""
451
  "Not for the average user: this allows you to add a line of code, to be "
452
  "added before the <code>trackPageview</code> call."
453
  msgstr ""
454
 
455
- #: admin/pages/settings.php:102
456
  msgid "Debug settings"
457
  msgstr ""
458
 
459
- #: admin/pages/settings.php:105
460
  msgid ""
461
  "If you want to confirm that tracking on your blog is working as it should, "
462
  "enable these options and check the console in Firebug (for Firefox), "
@@ -465,26 +489,34 @@ msgid ""
465
  "normal tracking."
466
  msgstr ""
467
 
468
- #: admin/pages/settings.php:106
469
  msgid "Note"
470
  msgstr ""
471
 
472
- #: admin/pages/settings.php:106
473
  msgid "the debugging and firebug scripts are only loaded for admins."
474
  msgstr ""
475
 
476
- #: admin/pages/settings.php:108
477
  msgid "Enable debug mode"
478
  msgstr ""
479
 
480
- #: admin/pages/settings.php:109
481
  msgid "Enable Firebug Lite"
482
  msgstr ""
483
 
484
- #: admin/pages/settings.php:121
485
  msgid "Select the users to ignore"
486
  msgstr ""
487
 
 
 
 
 
 
 
 
 
488
  #. Plugin Name of the plugin/theme
489
  msgid "Google Analytics by Yoast"
490
  msgstr ""
2
  # This file is distributed under the GPL v3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Google Analytics by Yoast 5.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/google-analytics-for-wordpress\n"
8
+ "POT-Creation-Date: 2014-11-12 13:56:41+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
25
  "X-Poedit-SearchPath-0: .\n"
26
  "X-Textdomain-Support: yes\n"
27
 
28
+ #: admin/class-admin-menu.php:55 admin/class-admin-menu.php:79
29
+ msgid "Yoast Google Analytics:"
30
+ msgstr ""
31
+
32
+ #: admin/class-admin-menu.php:55
33
+ msgid "General Settings"
34
+ msgstr ""
35
+
36
+ #: admin/class-admin-menu.php:55
37
+ msgid "Analytics"
38
+ msgstr ""
39
+
40
+ #: admin/class-admin.php:76
41
  msgid "Please configure your %sGoogle Analytics settings%s!"
42
  msgstr ""
43
 
44
+ #: admin/class-admin.php:103
45
  msgid "Settings saved!"
46
  msgstr ""
47
 
48
+ #: admin/class-admin.php:110
49
  msgid "There where no changes to save, please try again."
50
  msgstr ""
51
 
52
+ #: admin/class-admin.php:129
53
  msgid "FAQ"
54
  msgstr ""
55
 
56
+ #: admin/class-admin.php:132
57
  msgid "Settings"
58
  msgstr ""
59
 
60
+ #: admin/class-admin.php:185
61
+ msgid ""
62
+ "If you want to track custom dimensions, to for instance track page views "
63
+ "per author or post type, you should upgrade to the %1$spremium version of "
64
+ "Google Analytics by Yoast%2$s."
 
65
  msgstr ""
66
 
67
+ #: admin/class-admin.php:187
68
+ msgid ""
69
+ "This will also give you email access to the support team at Yoast, who will "
70
+ "provide support on the plugin 24/7."
71
  msgstr ""
72
 
73
+ #: admin/class-admin.php:506
74
  msgid "Debug information"
75
  msgstr ""
76
 
77
+ #: admin/class-admin.php:555
78
+ msgid "Google Analytics by Yoast Premium"
79
  msgstr ""
80
 
81
+ #: admin/class-admin.php:556
 
 
 
 
82
  msgid ""
83
  "The premium version of Google Analytics for WordPress with more features "
84
  "&amp; support."
85
  msgstr ""
86
 
87
+ #: admin/class-admin.php:561
88
+ msgid "Google Analytics"
89
+ msgstr ""
90
+
91
+ #: admin/class-admin.php:561
92
  msgid "E-Commerce tracking"
93
  msgstr ""
94
 
95
+ #: admin/class-admin.php:562
96
  msgid ""
97
  "Track your E-Commerce data and transactions with this E-Commerce extension "
98
  "for Google Analytics."
247
  msgid "Yoast Google Analytics: Dashboard"
248
  msgstr ""
249
 
250
+ #: admin/pages/dashboard.php:9
251
+ msgid ""
252
+ "This feature %1$swill be coming soon%2$s. For now, you can %3$sread our "
253
+ "posts on Analytics%2$s, or of course, %4$slog into Google Analytics%2$s "
254
+ "yourself."
255
+ msgstr ""
256
+
257
  #: admin/pages/extensions.php:10
258
  msgid "Yoast Google Analytics: Extensions"
259
  msgstr ""
288
  msgid "Advanced"
289
  msgstr ""
290
 
291
+ #: admin/pages/settings.php:16 admin/pages/settings.php:102
292
+ msgid "Custom dimensions"
293
+ msgstr ""
294
+
295
+ #: admin/pages/settings.php:18
296
  msgid "Debug mode"
297
  msgstr ""
298
 
299
+ #: admin/pages/settings.php:28
300
  msgid "General settings"
301
  msgstr ""
302
 
303
+ #: admin/pages/settings.php:41
304
  msgid "Google profile"
305
  msgstr ""
306
 
307
+ #: admin/pages/settings.php:42
308
  msgid "Authenticate with your Google account"
309
  msgstr ""
310
 
311
+ #: admin/pages/settings.php:45
312
  msgid "Current UA-profile"
313
  msgstr ""
314
 
315
+ #: admin/pages/settings.php:53
316
  msgid "Re-authenticate with your Google account"
317
  msgstr ""
318
 
319
+ #: admin/pages/settings.php:59
320
  msgid "Manually enter your UA code"
321
  msgstr ""
322
 
323
+ #: admin/pages/settings.php:68
324
  msgid "Track outbound click & downloads"
325
  msgstr ""
326
 
327
+ #: admin/pages/settings.php:68
328
  msgid ""
329
  "Clicks &amp; downloads will be tracked as events, you can find these under "
330
  "Content &raquo; Event Tracking in your Google Analytics reports."
331
  msgstr ""
332
 
333
+ #: admin/pages/settings.php:69
334
  msgid "Allow tracking of anonymous data"
335
  msgstr ""
336
 
337
+ #: admin/pages/settings.php:69
338
  msgid ""
339
  "By allowing us to track anonymous data we can better help you, because we "
340
  "know with which WordPress configurations, themes and plugins we should "
341
  "test. No personal data will be submitted."
342
  msgstr ""
343
 
344
+ #: admin/pages/settings.php:70
345
  msgid "Anonymize IP's"
346
  msgstr ""
347
 
348
+ #: admin/pages/settings.php:70
349
  msgid ""
350
  "This adds <code><a "
351
  "href=\"http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html#_"
354
  "by removing the last octet of the IP address prior to its storage."
355
  msgstr ""
356
 
357
+ #: admin/pages/settings.php:71
358
  msgid ""
359
  "Users of the role you select will be ignored, so if you select Editor, all "
360
  "Editors will be ignored."
361
  msgstr ""
362
 
363
+ #: admin/pages/settings.php:76
364
  msgid "Universal settings"
365
  msgstr ""
366
 
367
+ #: admin/pages/settings.php:77
368
  msgid "Enable Universal tracking"
369
  msgstr ""
370
 
371
+ #: admin/pages/settings.php:77
372
  msgid ""
373
  "First enable Universal tracking in your Google Analytics account. How to do "
374
  "that, please read <a "
377
  "target=\"_blank\">this guide</a> to learn how to do that."
378
  msgstr ""
379
 
380
+ #: admin/pages/settings.php:78
381
  msgid "Enable Demographics and Interest Reports"
382
  msgstr ""
383
 
384
+ #: admin/pages/settings.php:78
385
  msgid ""
386
  "You have to enable the Demographics in Google Analytics before you can see "
387
  "the tracking data. We have a doc in our <a "
391
  "feature."
392
  msgstr ""
393
 
394
+ #: admin/pages/settings.php:83
395
  msgid "Advanced settings"
396
  msgstr ""
397
 
398
+ #: admin/pages/settings.php:84
399
  msgid "Track downloads as"
400
  msgstr ""
401
 
402
+ #: admin/pages/settings.php:84
403
  msgid ""
404
  "Not recommended, as this would skew your statistics, but it does make it "
405
  "possible to track downloads as goals."
406
  msgstr ""
407
 
408
+ #: admin/pages/settings.php:85
409
  msgid "Extensions of files to track as downloads"
410
  msgstr ""
411
 
412
+ #: admin/pages/settings.php:86
413
  msgid "Track full URL of outbound clicks or just the domain"
414
  msgstr ""
415
 
416
+ #: admin/pages/settings.php:87
417
  msgid "Subdomain tracking"
418
  msgstr ""
419
 
420
+ #: admin/pages/settings.php:87
421
  msgid ""
422
  "This allows you to set the domain that's set by <code>setDomainName</code> "
423
  "for tracking subdomains, if empty this will not be set."
424
  msgstr ""
425
 
426
+ #: admin/pages/settings.php:89
427
  msgid "Set path for internal links to track as outbound links"
428
  msgstr ""
429
 
430
+ #: admin/pages/settings.php:90
431
  msgid "Label for those links"
432
  msgstr ""
433
 
434
+ #: admin/pages/settings.php:92
435
  msgid "Tag links in RSS feed with campaign variables"
436
  msgstr ""
437
 
438
+ #: admin/pages/settings.php:92
439
  msgid ""
440
  "Do not use this feature if you use FeedBurner, as FeedBurner can do this "
441
  "automatically, and better than this plugin can. Check <a "
442
+ "href=\"https://support.google.com/feedburner/answer/165769?hl=en&amp;ref_"
443
+ "topic=13075\" target=\"_blank\">this help page</a> for info on how to "
444
  "enable this feature in FeedBurner."
445
  msgstr ""
446
 
447
+ #: admin/pages/settings.php:93
448
  msgid "Allow anchor"
449
  msgstr ""
450
 
451
+ #: admin/pages/settings.php:93
452
  msgid ""
453
  "This adds a <code><a "
454
  "href=\"http://code.google.com/apis/analytics/docs/gaJSApiCampaignTracking."
457
  "and makes RSS link tagging use a # as well."
458
  msgstr ""
459
 
460
+ #: admin/pages/settings.php:94
461
  msgid "Add <code>_setAllowLinker</code>"
462
  msgstr ""
463
 
464
+ #: admin/pages/settings.php:94
465
  msgid ""
466
  "This adds a <code><a "
467
  "href=\"http://code.google.com/apis/analytics/docs/gaJS/"
470
  "allowing you to use <code>_link</code> and related functions."
471
  msgstr ""
472
 
473
+ #: admin/pages/settings.php:95
474
  msgid ""
475
  "Not for the average user: this allows you to add a line of code, to be "
476
  "added before the <code>trackPageview</code> call."
477
  msgstr ""
478
 
479
+ #: admin/pages/settings.php:109
480
  msgid "Debug settings"
481
  msgstr ""
482
 
483
+ #: admin/pages/settings.php:112
484
  msgid ""
485
  "If you want to confirm that tracking on your blog is working as it should, "
486
  "enable these options and check the console in Firebug (for Firefox), "
489
  "normal tracking."
490
  msgstr ""
491
 
492
+ #: admin/pages/settings.php:113
493
  msgid "Note"
494
  msgstr ""
495
 
496
+ #: admin/pages/settings.php:113
497
  msgid "the debugging and firebug scripts are only loaded for admins."
498
  msgstr ""
499
 
500
+ #: admin/pages/settings.php:115
501
  msgid "Enable debug mode"
502
  msgstr ""
503
 
504
+ #: admin/pages/settings.php:116
505
  msgid "Enable Firebug Lite"
506
  msgstr ""
507
 
508
+ #: admin/pages/settings.php:128
509
  msgid "Select the users to ignore"
510
  msgstr ""
511
 
512
+ #: admin/views/content-footer.php:8
513
+ msgid "Remove these ads?"
514
+ msgstr ""
515
+
516
+ #: admin/views/content-footer.php:9
517
+ msgid "Upgrade to Google Analytics By Yoast Premium »"
518
+ msgstr ""
519
+
520
  #. Plugin Name of the plugin/theme
521
  msgid "Google Analytics by Yoast"
522
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://yoast.com/donate/
4
  Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
5
  Requires at least: 3.8
6
  Tested up to: 4.0
7
- Stable tag: 5.1
8
 
9
  Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
10
 
@@ -49,6 +49,23 @@ This section describes how to install the plugin and get it working.
49
 
50
  == Changelog ==
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  = 5.1 =
53
 
54
  Release Date: October 30th, 2014
@@ -452,4 +469,4 @@ For all frequently asked questions, and their answers, check the [Yoast Knowledg
452
 
453
  1. Screenshot of the general settings panel for this plugin.
454
  2. Screenshot of the universal settings panel.
455
- 3. Screenshot of the advanced settings panel.
4
  Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
5
  Requires at least: 3.8
6
  Tested up to: 4.0
7
+ Stable tag: 5.1.1
8
 
9
  Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
10
 
49
 
50
  == Changelog ==
51
 
52
+ = 5.1.1 =
53
+
54
+ Release Date: November 12th, 2014
55
+
56
+ * Bugfixes:
57
+ * Fixes a conflict with Fancybox.
58
+ * Fixes a bug where links without the href attribute would cause the tracking code to be added wrongly.
59
+ * Fixes a multisite bug in Premium which was caused by the absence of a network admin menu.
60
+ * Fixes an issue with the version number.
61
+ * Fixes a bug where translations might be loaded several times.
62
+
63
+ * Enhancements:
64
+ * Shows more relevant banners.
65
+ * Adds an image to the premium extension on the extensions page.
66
+ * Always show the custom dimension tab.
67
+ * Added translations for Finnish, Dutch and Russian.
68
+
69
  = 5.1 =
70
 
71
  Release Date: October 30th, 2014
469
 
470
  1. Screenshot of the general settings panel for this plugin.
471
  2. Screenshot of the universal settings panel.
472
+ 3. Screenshot of the advanced settings panel.