Google Analytics Dashboard for WP (GADWP) - Version 4.6

Version Description

  • Enhancement: Italian translation, updated by Leo
  • Enhancement: Japanese translation, updated by Hinaloe
  • Enhancement: Portuguese (Brazil) translation, updated by Treed Box
  • Enhancement: introducing a manager class to keep track of all instances and their references
  • Enhancement: push the tracking code at the end of head section, props by Caleb Evans
  • Enhancement: better support for remove_action and wp_dequeue_script
  • Enhancement: Ajax calls optimization
  • Bug Fix: loading bar issues while not all frontend features are enabled
  • Bug Fix: in-existent script enqueued in frontend component, reported by mmokrejs
  • Bug Fix: i18n improvements, committed by Hinaloe
  • Bug Fix: PHP notice when using bbPress, reported by sheridencharles
  • Bug Fix: inexistent script enqueued in frontend component, reported by mmokrejs
  • Bug Fix: improved URI detection in Pages and Posts backend reports
  • Bug Fix: color picker and settings page tabs not working when per posts/pages reports are disabled
Download this release

Release Info

Developer deconf
Plugin Icon 128x128 Google Analytics Dashboard for WP (GADWP)
Version 4.6
Comparing to
See all releases

Code changes from version 4.5.1 to 4.6

Files changed (56) hide show
  1. admin/ajax-actions.php +113 -97
  2. admin/css/gadwp.css +5 -2
  3. admin/item-reports.php +57 -54
  4. admin/settings.php +1249 -1436
  5. admin/setup.php +248 -244
  6. admin/widgets.php +271 -286
  7. config.php +302 -309
  8. front/ajax-actions.php +127 -118
  9. front/item-reports.php +79 -72
  10. front/tracking.php +54 -51
  11. front/tracking/code-classic.php +9 -4
  12. front/tracking/code-universal.php +51 -46
  13. front/tracking/events-classic.php +6 -1
  14. front/tracking/events-universal.php +20 -14
  15. front/widgets.php +107 -107
  16. gadwp.php +248 -73
  17. install/install.php +132 -127
  18. install/uninstall.php +36 -31
  19. languages/ga-dash-ar.mo +0 -0
  20. languages/ga-dash-ar.po +417 -349
  21. languages/ga-dash-de_DE.mo +0 -0
  22. languages/ga-dash-de_DE.po +396 -346
  23. languages/ga-dash-es_ES.mo +0 -0
  24. languages/ga-dash-es_ES.po +361 -343
  25. languages/ga-dash-fr_FR.mo +0 -0
  26. languages/ga-dash-fr_FR.po +413 -354
  27. languages/ga-dash-hu_HU.mo +0 -0
  28. languages/ga-dash-hu_HU.po +395 -345
  29. languages/ga-dash-it_IT.mo +0 -0
  30. languages/ga-dash-it_IT.po +468 -387
  31. languages/ga-dash-ja.mo +0 -0
  32. languages/ga-dash-ja.po +494 -596
  33. languages/ga-dash-nl_NL.mo +0 -0
  34. languages/ga-dash-nl_NL.po +338 -334
  35. languages/ga-dash-pl_PL.mo +0 -0
  36. languages/ga-dash-pl_PL.po +407 -350
  37. languages/ga-dash-pt_BR.mo +0 -0
  38. languages/ga-dash-pt_BR.po +505 -366
  39. languages/ga-dash.pot +435 -605
  40. readme.txt +24 -8
  41. tools/autoload.php +17 -12
  42. tools/gapi.php +943 -937
  43. tools/iso3166.php +244 -239
  44. tools/nprogress/nprogress.css +64 -48
  45. tools/src/Google/Auth/Abstract.php +11 -11
  46. tools/src/Google/Auth/AppIdentity.php +64 -59
  47. tools/src/Google/Auth/AssertionCredentials.php +112 -103
  48. tools/src/Google/Auth/LoginTicket.php +46 -45
  49. tools/src/Google/Auth/OAuth2.php +481 -473
  50. tools/src/Google/Auth/Simple.php +31 -29
  51. tools/src/Google/Cache/Abstract.php +29 -29
  52. tools/src/Google/Cache/Apc.php +72 -71
  53. tools/src/Google/Cache/File.php +146 -142
  54. tools/src/Google/Cache/Memcache.php +137 -132
  55. tools/src/Google/Cache/Null.php +25 -25
  56. tools/src/Google/Client.php +630 -721
admin/ajax-actions.php CHANGED
@@ -5,107 +5,123 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Backend_Ajax')) {
9
 
10
- final class GADASH_Backend_Ajax
11
- {
 
12
 
13
- function __construct()
14
- {
15
- // Admin Widget action
16
- add_action('wp_ajax_gadash_get_widgetreports', array(
17
- $this,
18
- 'ajax_widget_reports'
19
- ));
20
- // Items action
21
- add_action('wp_ajax_gadwp_get_ItemReports', array(
22
- $this,
23
- 'ajax_item_reports'
24
- ));
25
- }
26
 
27
- /**
28
- * Ajax handler for Items (posts/pages)
29
- *
30
- * @return json|int
31
- */
32
- function ajax_item_reports()
33
  {
34
- global $GADASH_Config;
35
- if (! isset($_REQUEST['gadwp_security_item_reports']) or ! wp_verify_nonce($_REQUEST['gadwp_security_item_reports'], 'gadwp_get_itemreports')) {
36
- wp_die(- 30);
37
- }
38
- $from = $_REQUEST['from'];
39
- $to = $_REQUEST['to'];
40
- $query = $_REQUEST['query'];
41
- $filter_id = $_REQUEST['filter'];
42
- if (ob_get_length()) {
43
- ob_clean();
44
- }
45
- $tools = new GADASH_Tools();
46
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_back']) or 0 == $GADASH_Config->options['item_reports']) {
47
- wp_die(- 31);
48
- }
49
- if ($GADASH_Config->options['ga_dash_token'] and $GADASH_Config->options['ga_dash_tableid_jail'] and $from and $to) {
50
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
51
- global $GADASH_GAPI;
52
- } else {
53
- wp_die(- 24);
54
- }
55
- $projectId = $GADASH_Config->options['ga_dash_tableid_jail'];
56
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $projectId);
57
- if (isset($profile_info[4])) {
58
- $GADASH_GAPI->timeshift = $profile_info[4];
59
- } else {
60
- $GADASH_GAPI->timeshift = (int) current_time('timestamp') - time();
61
- }
62
- // strip the protocol & domain
63
- $uri = str_replace($tools->strip_protocol($profile_info[3]), '', $tools->strip_protocol(get_permalink($filter_id)));
64
- // make sure the path starts with '/'
65
- if ($uri) {
66
- $uri = '/' . ltrim($uri, '/');
67
- }
68
- // allow URI correction before sending an API request
69
- $filter = apply_filters('gadwp_backenditem_uri', $uri);
70
- $GADASH_GAPI->get($projectId, $query, $from, $to, $filter);
71
- }
72
 
73
- /**
74
- * Ajax handler for Admin Widget
75
- *
76
- * @return json|int
77
- */
78
- function ajax_widget_reports()
79
- {
80
- global $GADASH_Config;
81
- if (! isset($_REQUEST['gadash_security_widget_reports']) or ! wp_verify_nonce($_REQUEST['gadash_security_widget_reports'], 'gadash_get_widgetreports')) {
82
- wp_die(- 30);
83
- }
84
- $projectId = $_REQUEST['projectId'];
85
- $from = $_REQUEST['from'];
86
- $to = $_REQUEST['to'];
87
- $query = $_REQUEST['query'];
88
- if (ob_get_length()) {
89
- ob_clean();
90
- }
91
- $tools = new GADASH_Tools();
92
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_back']) or 0 == $GADASH_Config->options['dashboard_widget']) {
93
- wp_die(- 31);
94
- }
95
- if ($GADASH_Config->options['ga_dash_token'] and $projectId and $from and $to) {
96
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
97
- global $GADASH_GAPI;
98
- } else {
99
- wp_die(- 24);
100
- }
101
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $projectId);
102
- if (isset($profile_info[4])) {
103
- $GADASH_GAPI->timeshift = $profile_info[4];
104
- } else {
105
- $GADASH_GAPI->timeshift = (int) current_time('timestamp') - time();
106
- }
107
- $GADASH_GAPI->get($projectId, $query, $from, $to);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  }
109
- }
110
  }
111
- $GADASH_Backend_Ajax = new GADASH_Backend_Ajax();
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Backend_Ajax')) {
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Backend_Ajax
 
 
 
 
 
16
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
+ private $gadwp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+
24
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && (1 == $this->gadwp->config->options['dashboard_widget'])) {
25
+ // Admin Widget action
26
+ add_action('wp_ajax_gadash_get_widgetreports', array(
27
+ $this,
28
+ 'ajax_widget_reports'
29
+ ));
30
+ }
31
+
32
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && (1 == $this->gadwp->config->options['item_reports'])) {
33
+ // Items action
34
+ add_action('wp_ajax_gadwp_get_ItemReports', array(
35
+ $this,
36
+ 'ajax_item_reports'
37
+ ));
38
+ }
39
+ }
40
+
41
+ /**
42
+ * Ajax handler for Items (posts/pages)
43
+ *
44
+ * @return json|int
45
+ */
46
+ public function ajax_item_reports()
47
+ {
48
+ if (! isset($_REQUEST['gadwp_security_item_reports']) || ! wp_verify_nonce($_REQUEST['gadwp_security_item_reports'], 'gadwp_get_itemreports')) {
49
+ wp_die(- 30);
50
+ }
51
+ $from = $_REQUEST['from'];
52
+ $to = $_REQUEST['to'];
53
+ $query = $_REQUEST['query'];
54
+ $filter_id = $_REQUEST['filter'];
55
+ if (ob_get_length()) {
56
+ ob_clean();
57
+ }
58
+
59
+ if (! GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) || 0 == $this->gadwp->config->options['item_reports']) {
60
+ wp_die(- 31);
61
+ }
62
+ if ($this->gadwp->config->options['ga_dash_token'] && $this->gadwp->config->options['ga_dash_tableid_jail'] && $from && $to) {
63
+ if (null === $this->gadwp->gapi_controller) {
64
+ $this->gadwp->gapi_controller = new GADWP_GAPI_Controller();
65
+ }
66
+ } else {
67
+ wp_die(- 24);
68
+ }
69
+ $projectId = $this->gadwp->config->options['ga_dash_tableid_jail'];
70
+ $profile_info = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $projectId);
71
+ if (isset($profile_info[4])) {
72
+ $this->gadwp->gapi_controller->timeshift = $profile_info[4];
73
+ } else {
74
+ $this->gadwp->gapi_controller->timeshift = (int) current_time('timestamp') - time();
75
+ }
76
+
77
+ $uri_parts = explode('/', get_permalink($filter_id), 4);
78
+
79
+ if (isset($uri_parts[3])) {
80
+ $uri = '/' . $uri_parts[3];
81
+ } else {
82
+ wp_die(- 25);
83
+ }
84
+
85
+ // allow URI correction before sending an API request
86
+ $filter = apply_filters('gadwp_backenditem_uri', $uri);
87
+ $this->gadwp->gapi_controller->get($projectId, $query, $from, $to, $filter);
88
+ }
89
+
90
+ /**
91
+ * Ajax handler for Admin Widget
92
+ *
93
+ * @return json|int
94
+ */
95
+ public function ajax_widget_reports()
96
+ {
97
+ if (! isset($_REQUEST['gadash_security_widget_reports']) || ! wp_verify_nonce($_REQUEST['gadash_security_widget_reports'], 'gadash_get_widgetreports')) {
98
+ wp_die(- 30);
99
+ }
100
+ $projectId = $_REQUEST['projectId'];
101
+ $from = $_REQUEST['from'];
102
+ $to = $_REQUEST['to'];
103
+ $query = $_REQUEST['query'];
104
+ if (ob_get_length()) {
105
+ ob_clean();
106
+ }
107
+
108
+ if (! GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) || 0 == $this->gadwp->config->options['dashboard_widget']) {
109
+ wp_die(- 31);
110
+ }
111
+ if ($this->gadwp->config->options['ga_dash_token'] && $projectId && $from && $to) {
112
+ if (null === $this->gadwp->gapi_controller) {
113
+ $this->gadwp->gapi_controller = new GADWP_GAPI_Controller();
114
+ }
115
+ } else {
116
+ wp_die(- 24);
117
+ }
118
+ $profile_info = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $projectId);
119
+ if (isset($profile_info[4])) {
120
+ $this->gadwp->gapi_controller->timeshift = $profile_info[4];
121
+ } else {
122
+ $this->gadwp->gapi_controller->timeshift = (int) current_time('timestamp') - time();
123
+ }
124
+ $this->gadwp->gapi_controller->get($projectId, $query, $from, $to);
125
+ }
126
  }
 
127
  }
 
admin/css/gadwp.css CHANGED
@@ -1,6 +1,5 @@
1
  /* Tab navigation */
2
- #gadwp-events, #gadwp-custom, #gadwp-advanced, #gadwp-exclude,
3
- #gadwp-config {
4
  display: none;
5
  }
6
 
@@ -23,6 +22,10 @@ td.title-select {
23
  width: 300px;
24
  }
25
 
 
 
 
 
26
  td.debugging {
27
  width: 300px;
28
  }
1
  /* Tab navigation */
2
+ #gadwp-events, #gadwp-custom, #gadwp-advanced, #gadwp-exclude, #gadwp-config {
 
3
  display: none;
4
  }
5
 
22
  width: 300px;
23
  }
24
 
25
+ .gadwp-help{
26
+ padding-left:15px;
27
+ }
28
+
29
  td.debugging {
30
  width: 300px;
31
  }
admin/item-reports.php CHANGED
@@ -5,64 +5,67 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Back_Stats')) {
9
 
10
- final class GADASH_Back_Stats
11
- {
 
12
 
13
- function __construct()
14
- {
15
- global $GADASH_Config;
16
- $tools = new GADASH_Tools();
17
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_back']) or 0 == $GADASH_Config->options['item_reports']) {
18
- return;
19
- }
20
- // Add custom column in Posts List
21
- add_filter('manage_posts_columns', array(
22
- $this,
23
- 'add_stats_column'
24
- ));
25
- // Populate custom column in Posts List
26
- add_action('manage_posts_custom_column', array(
27
- $this,
28
- 'display_item_stats'
29
- ), 10, 2);
30
- // Add custom column in Pages List
31
- add_filter('manage_pages_columns', array(
32
- $this,
33
- 'add_stats_column'
34
- ));
35
- // Populate custom column in Pages List
36
- add_action('manage_pages_custom_column', array(
37
- $this,
38
- 'display_item_stats'
39
- ), 10, 2);
40
- }
41
 
42
- function display_item_stats($column, $id)
43
  {
44
- global $GADASH_Config, $wp_version;
45
-
46
- if ($column != 'gadwp_stats'){
47
- return;
48
- }
49
-
50
- if (version_compare($wp_version, '3.8.0', '>=')) {
51
- echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '" class="gadwp-icon dashicons-before dashicons-chart-area"></a>';
52
- } else {
53
- echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '"><img class="gadwp-icon-oldwp" src="' . $GADASH_Config->plugin_url . '/admin/images/gadash-icon.png"</a>';
54
- }
55
- }
56
 
57
- function add_stats_column($columns)
58
- {
59
- return array_merge($columns, array(
60
- 'gadwp_stats' => __('Analytics', 'ga-dash'),
61
- ));
62
- }
63
- }
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
- if (is_admin()) {
67
- $GADASH_Back_Stats = new GADASH_Back_Stats();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Backend_Item_Reports')) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Backend_Item_Reports
16
  {
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
+ private $gadwp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+
24
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && 1 == $this->gadwp->config->options['item_reports']) {
25
+
26
+ // Add custom column in Posts List
27
+ add_filter('manage_posts_columns', array(
28
+ $this,
29
+ 'add_columns'
30
+ ));
31
+ // Populate custom column in Posts List
32
+ add_action('manage_posts_custom_column', array(
33
+ $this,
34
+ 'add_icons'
35
+ ), 10, 2);
36
+ // Add custom column in Pages List
37
+ add_filter('manage_pages_columns', array(
38
+ $this,
39
+ 'add_columns'
40
+ ));
41
+ // Populate custom column in Pages List
42
+ add_action('manage_pages_custom_column', array(
43
+ $this,
44
+ 'add_icons'
45
+ ), 10, 2);
46
+ }
47
+ }
48
 
49
+ public function add_icons($column, $id)
50
+ {
51
+ global $wp_version;
52
+
53
+ if ($column != 'gadwp_stats') {
54
+ return;
55
+ }
56
+
57
+ if (version_compare($wp_version, '3.8.0', '>=')) {
58
+ echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '" class="gadwp-icon dashicons-before dashicons-chart-area"></a>';
59
+ } else {
60
+ echo '<a id="gadwp-' . $id . '" title="' . get_the_title($id) . '" href="#' . $id . '"><img class="gadwp-icon-oldwp" src="' . GADWP_URL . 'admin/images/gadash-icon.png"</a>';
61
+ }
62
+ }
63
+
64
+ public function add_columns($columns)
65
+ {
66
+ return array_merge($columns, array(
67
+ 'gadwp_stats' => __('Analytics', 'ga-dash')
68
+ ));
69
+ }
70
+ }
71
  }
admin/settings.php CHANGED
@@ -6,1543 +6,1356 @@
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
- final class GADASH_Settings
 
 
 
 
 
10
  {
11
 
12
- private static function set_get_options($who)
13
- {
14
- global $GADASH_Config;
15
- $network_settings = false;
16
- $options = $GADASH_Config->options; // Get current options
17
- if (isset($_POST['options']['ga_dash_hidden']) and isset($_POST['options']) and (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) and $who != 'Reset') {
18
- $new_options = $_POST['options'];
19
- if ($who == 'tracking') {
20
- $options['ga_dash_anonim'] = 0;
21
- $options['ga_event_tracking'] = 0;
22
- $options['ga_enhanced_links'] = 0;
23
- $options['ga_dash_remarketing'] = 0;
24
- $options['ga_dash_adsense'] = 0;
25
- $options['ga_event_bouncerate'] = 0;
26
- $options['ga_crossdomain_tracking'] = 0;
27
- $options['ga_aff_tracking'] = 0;
28
- $options['ga_hash_tracking'] = 0;
29
- if (isset($_POST['options']['ga_tracking_code'])) {
30
- $new_options['ga_tracking_code'] = trim($new_options['ga_tracking_code'], "\t");
31
- }
32
- if (empty($new_options['ga_track_exclude'])) {
33
- $new_options['ga_track_exclude'] = array();
34
- }
35
- } else
36
- if ($who == 'backend') {
37
- $options['switch_profile'] = 0;
38
- $options['item_reports'] = 0;
39
- $options['dashboard_widget'] = 0;
40
- if (empty($new_options['ga_dash_access_back'])) {
41
- $new_options['ga_dash_access_back'][] = 'administrator';
42
- }
43
- } else
44
- if ($who == 'frontend') {
45
- $options['ga_dash_frontend_stats'] = 0;
46
- $options['ga_dash_frontend_keywords'] = 0;
47
- if (empty($new_options['ga_dash_access_front'])) {
48
- $new_options['ga_dash_access_front'][] = 'administrator';
49
- }
50
- } else
51
- if ($who == 'general') {
52
- $options['ga_dash_userapi'] = 0;
53
- if (!is_multisite()){
54
- $options['automatic_updates_minorversion'] = 0;
55
- }
56
  } else
57
- if ($who == 'network') {
58
- $options['ga_dash_userapi'] = 0;
59
- $options['ga_dash_network'] = 0;
60
- $options['ga_dash_excludesa'] = 0;
61
- $options['automatic_updates_minorversion'] = 0;
62
- $network_settings = true;
63
- }
64
- $options = array_merge($options, $new_options);
65
- $GADASH_Config->options = $options;
66
- $GADASH_Config->set_plugin_options($network_settings);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  }
68
- return $options;
69
- }
70
 
71
- private static function navigation_tabs($tabs)
72
- {
73
- echo '<div id="icon-themes" class="icon32"><br></div>';
74
- echo '<h2 class="nav-tab-wrapper">';
75
- foreach ($tabs as $tab => $name) {
76
- echo "<a class='nav-tab' id='tab-$tab' href='#top#gadwp-$tab'>$name</a>";
 
 
77
  }
78
- echo '</h2>';
79
- }
80
 
81
- public static function frontend_settings()
82
- {
83
- global $GADASH_Config;
84
- if (! current_user_can('manage_options')) {
85
- return;
86
- }
87
- $options = self::set_get_options('frontend');
88
- if (isset($_POST['options']['ga_dash_hidden'])) {
89
- $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
90
- if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
91
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
92
- }
93
- }
94
- if (! $GADASH_Config->options['ga_dash_tableid_jail'] or ! $GADASH_Config->options['ga_dash_token']) {
95
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
96
- }
97
- ?>
98
- <form name="ga_dash_form" method="post"
99
- action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
100
- <div class="wrap">
101
  <?php echo "<h2>" . __( "Google Analytics Frontend Settings", 'ga-dash' ) . "</h2>"; ?><hr>
102
- </div>
103
- <div id="poststuff">
104
- <div id="post-body" class="metabox-holder columns-2">
105
- <div id="post-body-content">
106
- <div class="settings-wrapper">
107
- <div class="inside">
108
  <?php if (isset($message)) echo $message; ?>
109
  <table class="options">
110
- <tr>
111
- <td colspan="2"><?php echo "<h2>" . __( "Permissions", 'ga-dash' ) . "</h2>"; ?></td>
112
- </tr>
113
- <tr>
114
- <td class="roles title"><label for="ga_dash_access_front"><?php _e("Show stats to:", 'ga-dash' ); ?></label></td>
115
- <td class="roles">
 
 
 
 
 
116
  <?php
117
- if (! isset($wp_roles)) {
118
- $wp_roles = new WP_Roles();
119
- }
120
- $i = 0;
121
- ?><table>
122
- <tr>
123
- <?php
124
- foreach ($wp_roles->role_names as $role => $name) {
125
- if ($role != 'subscriber') {
126
- $i ++;
127
- ?>
128
- <td><label> <input
129
- type="checkbox" name="options[ga_dash_access_front][]"
130
- value="<?php echo $role; ?>"
131
- <?php if (in_array($role,$options['ga_dash_access_front']) OR $role=='administrator') echo 'checked="checked"'; if ($role=='administrator') echo 'disabled="disabled"';?> />
132
- <?php echo $name; ?>
133
- </label></td>
134
  <?php
135
- }
136
- if ($i % 4 == 0) {
 
 
 
 
 
 
137
  ?>
138
- </tr>
139
- <tr>
140
- <?php
141
- }
142
- }
143
- ?>
144
- </table>
145
- </td>
146
- </tr>
147
- <tr>
148
- <td colspan="2" class="title">
149
- <div class="onoffswitch">
150
- <input type="checkbox" name="options[ga_dash_frontend_stats]"
151
- value="1" class="onoffswitch-checkbox"
152
- id="ga_dash_frontend_stats"
153
- <?php checked( $options['ga_dash_frontend_stats'], 1 ); ?>> <label
154
- class="onoffswitch-label" for="ga_dash_frontend_stats">
155
- <div class="onoffswitch-inner"></div>
156
- <div class="onoffswitch-switch"></div>
157
- </label>
158
- </div>
159
- <div class="switch-desc"><?php _e ( " show page sessions and users in frontend (after each article)", 'ga-dash' );?></div>
160
- </td>
161
- </tr>
162
- <tr>
163
- <td colspan="2" class="title">
164
- <div class="onoffswitch">
165
- <input type="checkbox"
166
- name="options[ga_dash_frontend_keywords]" value="1"
167
- class="onoffswitch-checkbox" id="ga_dash_frontend_keywords"
168
- <?php checked( $options['ga_dash_frontend_keywords'], 1 ); ?>>
169
- <label class="onoffswitch-label"
170
- for="ga_dash_frontend_keywords">
171
- <div class="onoffswitch-inner"></div>
172
- <div class="onoffswitch-switch"></div>
173
- </label>
174
- </div>
175
- <div class="switch-desc"><?php _e ( " show page searches (after each article)", 'ga-dash' );?></div>
176
- </td>
177
- </tr>
178
- <tr>
179
- <td colspan="2"><hr></td>
180
- </tr>
181
- <tr>
182
- <td colspan="2" class="submit"><input type="submit"
183
- name="Submit" class="button button-primary"
184
- value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
185
- </tr>
186
- </table>
187
- <input type="hidden" name="options[ga_dash_hidden]" value="Y">
188
- <?php wp_nonce_field('gadash_form','gadash_security'); ?>
189
- <?php
190
- self::output_sidebar();
191
- }
192
 
193
- public static function backend_settings()
194
- {
195
- global $GADASH_Config;
196
- if (! current_user_can('manage_options')) {
197
- return;
198
- }
199
- $options = self::set_get_options('backend');
200
- if (isset($_POST['options']['ga_dash_hidden'])) {
201
- $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
202
- if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
203
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
204
- }
205
- }
206
- if (! $GADASH_Config->options['ga_dash_tableid_jail'] or ! $GADASH_Config->options['ga_dash_token']) {
207
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
208
  }
209
- ?>
210
- <form name="ga_dash_form" method="post"
211
- action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
212
- <div class="wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  <?php echo "<h2>" . __( "Google Analytics Backend Settings", 'ga-dash' ) . "</h2>"; ?><hr>
214
- </div>
215
- <div id="poststuff">
216
- <div id="post-body" class="metabox-holder columns-2">
217
- <div id="post-body-content">
218
- <div class="settings-wrapper">
219
- <div class="inside">
220
  <?php if (isset($message)) echo $message; ?>
221
  <table class="options">
222
- <tr>
223
- <td colspan="2"><?php echo "<h2>" . __( "Permissions", 'ga-dash' ) . "</h2>"; ?></td>
224
- </tr>
225
- <tr>
226
- <td class="roles title"><label for="ga_dash_access_back"><?php _e("Show stats to:", 'ga-dash' ); ?></label></td>
227
- <td class="roles">
228
- <?php
229
- if (! isset($wp_roles)) {
230
- $wp_roles = new WP_Roles();
231
- }
232
- $i = 0;
233
- ?>
234
- <table>
235
- <tr>
236
  <?php
237
- foreach ($wp_roles->role_names as $role => $name) {
238
- if ($role != 'subscriber') {
239
- $i ++;
240
- ?>
241
- <td><label> <input
242
- type="checkbox" name="options[ga_dash_access_back][]"
243
- value="<?php echo $role; ?>"
244
- <?php if (in_array($role,$options['ga_dash_access_back']) OR $role=='administrator') echo 'checked="checked"'; if ($role=='administrator') echo 'disabled="disabled"';?> />
245
- <?php echo $name; ?>
246
- </label></td>
247
- <?php
248
- }
249
- if ($i % 4 == 0) {
250
  ?>
251
- </tr>
252
- <tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
253
  <?php
254
- }
255
- }
256
- ?>
257
- </table>
258
- </td>
259
- </tr>
260
- <tr>
261
- <td colspan="2" class="title">
262
- <div class="onoffswitch">
263
- <input type="checkbox" name="options[switch_profile]"
264
- value="1" class="onoffswitch-checkbox"
265
- id="switch_profile"
266
- <?php checked( $options['switch_profile'], 1 ); ?>> <label
267
- class="onoffswitch-label" for="switch_profile">
268
- <div class="onoffswitch-inner"></div>
269
- <div class="onoffswitch-switch"></div>
270
- </label>
271
- </div>
272
- <div class="switch-desc"><?php _e ( "enable Switch Profile/View functionality", 'ga-dash' );?></div>
273
- </td>
274
- </tr>
275
- <tr>
276
- <td colspan="2" class="title">
277
- <div class="onoffswitch">
278
- <input type="checkbox" name="options[item_reports]" value="1"
279
- class="onoffswitch-checkbox" id="item_reports"
280
- <?php checked( $options['item_reports'], 1 ); ?>> <label
281
- class="onoffswitch-label" for="item_reports">
282
- <div class="onoffswitch-inner"></div>
283
- <div class="onoffswitch-switch"></div>
284
- </label>
285
- </div>
286
- <div class="switch-desc"><?php _e ( "enable reports on Posts List and Pages List", 'ga-dash' );?></div>
287
- </td>
288
- </tr>
289
- <tr>
290
- <td colspan="2" class="title">
291
- <div class="onoffswitch">
292
- <input type="checkbox" name="options[dashboard_widget]"
293
- value="1" class="onoffswitch-checkbox" id="dashboard_widget"
294
- <?php checked( $options['dashboard_widget'], 1 ); ?>> <label
295
- class="onoffswitch-label" for="dashboard_widget">
296
- <div class="onoffswitch-inner"></div>
297
- <div class="onoffswitch-switch"></div>
298
- </label>
299
- </div>
300
- <div class="switch-desc"><?php _e ( "enable the main Dashboard Widget", 'ga-dash' );?></div>
301
- </td>
302
- </tr>
303
- <tr>
304
- <td colspan="2"><hr><?php echo "<h2>" . __( "Real-Time Settings", 'ga-dash' ) . "</h2>"; ?></td>
305
- </tr>
306
- <tr>
307
- <td colspan="2" class="title"> <?php _e("Maximum number of pages to display on real-time tab:", 'ga-dash'); ?>
308
- <input type="number" name="options[ga_realtime_pages]"
309
- id="ga_realtime_pages"
310
- value="<?php echo (int)$options['ga_realtime_pages']; ?>"
311
- size="3">
312
- <?php echo '('.__("find out more", 'ga-dash')?> <a
313
- href="https://deconf.com/google-analytics-dashboard-real-time-reports/"
314
- target="_blank"><?php _e("about this feature", 'ga-dash') ?></a>
315
- )
316
  </td>
317
- </tr>
318
- <tr>
319
- <td colspan="2"><hr><?php echo "<h2>" . __( "Location Settings", 'ga-dash' ) . "</h2>"; ?></td>
320
- </tr>
321
- <tr>
322
- <td colspan="2" class="title">
323
  <?php echo __("Target Geo Map to country:", 'ga-dash'); ?>
324
- <input type="text" style="text-align: center;"
325
- name="options[ga_target_geomap]"
326
- value="<?php echo esc_attr($options['ga_target_geomap']); ?>"
327
- size="3">
328
- <?php echo '('.__("find out more", 'ga-dash')?>
329
- <a
330
- href="https://deconf.com/country-codes-for-google-analytics-dashboard/"
331
- target="_blank"><?php _e("about this feature", 'ga-dash') ?></a>
332
- )
333
  </td>
334
- </tr>
335
- <tr>
336
- <td colspan="2"><hr></td>
337
- </tr>
338
- <tr>
339
- <td colspan="2" class="submit"><input type="submit"
340
- name="Submit" class="button button-primary"
341
- value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
342
- </tr>
343
- </table>
344
- <input type="hidden" name="options[ga_dash_hidden]" value="Y">
345
- <?php wp_nonce_field('gadash_form','gadash_security'); ?>
346
- <?php
347
- self::output_sidebar();
348
- }
349
 
350
- public static function tracking_settings()
351
- {
352
- global $GADASH_Config;
353
- $tools = new GADASH_Tools();
354
- if (! current_user_can('manage_options')) {
355
- return;
356
- }
357
- $options = self::set_get_options('tracking');
358
- if (isset($_POST['options']['ga_dash_hidden'])) {
359
- $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
360
- if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
361
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
362
- }
363
- }
364
- if (! $GADASH_Config->options['ga_dash_tableid_jail']) {
365
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
366
- }
367
- if (! $options['ga_dash_tracking']) {
368
- $message = "<div class='error'><p>" . __("The tracking component is disabled. You should set", 'ga-dash') . " <strong>" . __("Tracking Options", 'ga-dash') . "</strong> " . __("to", 'ga-dash') . " <strong>" . __("Enabled", 'ga-dash') . "</strong>.</p></div>";
369
  }
370
- ?>
371
- <form name="ga_dash_form" method="post"
372
- action="<?php esc_url($_SERVER['REQUEST_URI']); ?>">
373
- <div class="wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  <?php echo "<h2>" . __( "Google Analytics Tracking Code", 'ga-dash' ) . "</h2>"; ?>
375
  </div>
376
- <div id="poststuff">
377
- <div id="post-body" class="metabox-holder columns-2">
378
- <div id="post-body-content">
379
- <div class="settings-wrapper">
380
- <div class="inside">
381
  <?php
382
- $tabs = array(
383
- 'basic' => __("Basic Settings", 'ga-dash'),
384
- 'events' => __("Events Tracking", 'ga-dash'),
385
- 'custom' => __("Custom Definitions", 'ga-dash'),
386
- 'exclude' => __("Exclude Tracking", 'ga-dash'),
387
- 'advanced' => __("Advanced Settings", 'ga-dash')
388
- );
389
- self::navigation_tabs($tabs);
390
- ?>
 
391
  <?php if (isset($message)) echo $message; ?>
392
  <div id="gadwp-basic">
393
- <table class="options">
394
- <tr>
395
- <td colspan="2"><?php echo "<h2>" . __( "Tracking Settings", 'ga-dash' ) . "</h2>"; ?></td>
396
- </tr>
397
- <tr>
398
- <td class="title"><label for="ga_dash_tracking"><?php _e("Tracking Options:", 'ga-dash' ); ?></label></td>
399
- <td><select id="ga_dash_tracking"
400
- name="options[ga_dash_tracking]" onchange="this.form.submit()">
401
- <option value="0"
402
- <?php selected( $options['ga_dash_tracking'], 0 ); ?>><?php _e("Disabled", 'ga-dash');?></option>
403
- <option value="1"
404
- <?php selected( $options['ga_dash_tracking'], 1 ); ?>><?php _e("Enabled", 'ga-dash');?></option>
405
- </select></td>
406
- </tr>
407
  <?php if ($options['ga_dash_tracking']) {?>
408
  <tr>
409
- <td class="title"></td>
410
- <td><?php
411
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
412
- echo '<pre>' . __("View Name:", 'ga-dash') . "\t" . esc_html($profile_info[0]) . "<br />" . __("Tracking ID:", 'ga-dash') . "\t" . esc_html($profile_info[2]) . "<br />" . __("Default URL:", 'ga-dash') . "\t" . esc_html($profile_info[3]) . "<br />" . __("Time Zone:", 'ga-dash') . "\t" . esc_html($profile_info[5]) . '</pre>';
413
- ?></td>
414
- </tr>
415
  <?php }?>
416
  <tr>
417
- <td colspan="2"><hr><?php echo "<h2>" . __( "Basic Tracking", 'ga-dash' ) . "</h2>"; ?></td>
418
- </tr>
419
- <tr>
420
- <td class="title"><label for="ga_dash_tracking_type"><?php _e("Tracking Type:", 'ga-dash' ); ?></label></td>
421
- <td><select id="ga_dash_tracking_type"
422
- name="options[ga_dash_tracking_type]">
423
- <option value="classic"
424
- <?php selected( $options['ga_dash_tracking_type'], 'classic' ); ?>><?php _e("Classic Analytics", 'ga-dash');?></option>
425
- <option value="universal"
426
- <?php selected( $options['ga_dash_tracking_type'], 'universal' ); ?>><?php _e("Universal Analytics", 'ga-dash');?></option>
427
- </select></td>
428
- </tr>
429
- <tr>
430
- <td colspan="2" class="title">
431
- <div class="onoffswitch">
432
- <input type="checkbox" name="options[ga_dash_anonim]"
433
- value="1" class="onoffswitch-checkbox" id="ga_dash_anonim"
434
- <?php checked( $options['ga_dash_anonim'], 1 ); ?>> <label
435
- class="onoffswitch-label" for="ga_dash_anonim">
436
- <div class="onoffswitch-inner"></div>
437
- <div class="onoffswitch-switch"></div>
438
- </label>
439
- </div>
440
- <div class="switch-desc"><?php _e ( " anonymize IPs while tracking", 'ga-dash' );?></div>
441
- </td>
442
- </tr>
443
- <tr>
444
- <td colspan="2" class="title">
445
- <div class="onoffswitch">
446
- <input type="checkbox" name="options[ga_dash_remarketing]"
447
- value="1" class="onoffswitch-checkbox"
448
- id="ga_dash_remarketing"
449
- <?php checked( $options['ga_dash_remarketing'], 1 ); ?>> <label
450
- class="onoffswitch-label" for="ga_dash_remarketing">
451
- <div class="onoffswitch-inner"></div>
452
- <div class="onoffswitch-switch"></div>
453
- </label>
454
- </div>
455
- <div class="switch-desc"><?php _e ( " enable remarketing, demographics and interests reports", 'ga-dash' );?></div>
456
- </td>
457
- </tr>
458
- </table>
459
- </div>
460
- <div id="gadwp-events">
461
- <table class="options">
462
- <tr>
463
- <td colspan="2"><?php echo "<h2>" . __( "Events Tracking", 'ga-dash' ) . "</h2>"; ?></td>
464
- </tr>
465
- <tr>
466
- <td colspan="2" class="title">
467
- <div class="onoffswitch">
468
- <input type="checkbox" name="options[ga_event_tracking]"
469
- value="1" class="onoffswitch-checkbox"
470
- id="ga_event_tracking"
471
- <?php checked( $options['ga_event_tracking'], 1 ); ?>> <label
472
- class="onoffswitch-label" for="ga_event_tracking">
473
- <div class="onoffswitch-inner"></div>
474
- <div class="onoffswitch-switch"></div>
475
- </label>
476
- </div>
477
- <div class="switch-desc"><?php _e(" track downloads, mailto and outbound links", 'ga-dash' ); ?></div>
478
- </td>
479
- </tr>
480
- <tr>
481
- <td class="title"><label for="ga_event_downloads"><?php _e("Downloads Regex:", 'ga-dash'); ?></label></td>
482
- <td><input type="text" id="ga_event_downloads"
483
- name="options[ga_event_downloads]"
484
- value="<?php echo esc_attr($options['ga_event_downloads']); ?>"
485
- size="50"></td>
486
- </tr>
487
- <tr>
488
- <td colspan="2" class="title">
489
- <div class="onoffswitch">
490
- <input type="checkbox" name="options[ga_aff_tracking]"
491
- value="1" class="onoffswitch-checkbox" id="ga_aff_tracking"
492
- <?php checked( $options['ga_aff_tracking'], 1 ); ?>> <label
493
- class="onoffswitch-label" for="ga_aff_tracking">
494
- <div class="onoffswitch-inner"></div>
495
- <div class="onoffswitch-switch"></div>
496
- </label>
497
- </div>
498
- <div class="switch-desc"><?php _e(" track affiliate links matching this regex", 'ga-dash' ); ?></div>
499
- </td>
500
- </tr>
501
- <tr>
502
- <td class="title"><label for="ga_event_affiliates"><?php _e("Affiliates Regex:", 'ga-dash'); ?></label></td>
503
- <td><input type="text" id="ga_event_affiliates"
504
- name="options[ga_event_affiliates]"
505
- value="<?php echo esc_attr($options['ga_event_affiliates']); ?>"
506
- size="50"></td>
507
- </tr>
508
- <tr>
509
- <td colspan="2" class="title">
510
- <div class="onoffswitch">
511
- <input type="checkbox" name="options[ga_hash_tracking]"
512
- value="1" class="onoffswitch-checkbox" id="ga_hash_tracking"
513
- <?php checked( $options['ga_hash_tracking'], 1 ); ?>> <label
514
- class="onoffswitch-label" for="ga_hash_tracking">
515
- <div class="onoffswitch-inner"></div>
516
- <div class="onoffswitch-switch"></div>
517
- </label>
518
- </div>
519
- <div class="switch-desc"><?php _e(" track fragment identifiers, hashmarks (#) in URI links", 'ga-dash' ); ?></div>
520
- </td>
521
- </tr>
522
- </table>
523
- </div>
524
- <div id="gadwp-custom">
525
- <table class="options">
526
- <tr>
527
- <td colspan="2"><?php echo "<h2>" . __( "Custom Definitions", 'ga-dash' ) . "</h2>"; ?></td>
528
- </tr>
529
- <tr>
530
- <td class="title"><label for="ga_author_dimindex"><?php _e("Authors:", 'ga-dash' ); ?></label></td>
531
- <td><select id="ga_author_dimindex"
532
- name="options[ga_author_dimindex]">
533
  <?php for ($i=0;$i<21;$i++){?>
534
- <option value="<?php echo $i;?>"
535
- <?php selected( $options['ga_author_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
536
- <?php } ?>
537
  </select></td>
538
- </tr>
539
- <tr>
540
- <td class="title"><label for="ga_pubyear_dimindex"><?php _e("Publication Year:", 'ga-dash' ); ?></label></td>
541
- <td><select id="ga_pubyear_dimindex"
542
- name="options[ga_pubyear_dimindex]">
543
  <?php for ($i=0;$i<21;$i++){?>
544
- <option value="<?php echo $i;?>"
545
- <?php selected( $options['ga_pubyear_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
546
- <?php } ?>
547
  </select></td>
548
- </tr>
549
- <tr>
550
- <td class="title"><label for="ga_category_dimindex"><?php _e("Categories:", 'ga-dash' ); ?></label></td>
551
- <td><select id="ga_category_dimindex"
552
- name="options[ga_category_dimindex]">
553
  <?php for ($i=0;$i<21;$i++){?>
554
- <option value="<?php echo $i;?>"
555
- <?php selected( $options['ga_category_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
556
- <?php } ?>
557
  </select></td>
558
- </tr>
559
- <tr>
560
- <td class="title"><label for="ga_user_dimindex"><?php _e("User Type:", 'ga-dash' ); ?></label></td>
561
- <td><select id="ga_user_dimindex"
562
- name="options[ga_user_dimindex]">
563
  <?php for ($i=0;$i<21;$i++){?>
564
- <option value="<?php echo $i;?>"
565
- <?php selected( $options['ga_user_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
566
- <?php } ?>
567
  </select></td>
568
- </tr>
569
- </table>
570
- </div>
571
- <div id="gadwp-advanced">
572
- <table class="options">
573
- <tr>
574
- <td colspan="2"><?php echo "<h2>" . __( "Advanced Tracking", 'ga-dash' ) . "</h2>"; ?></td>
575
- </tr>
576
- <tr>
577
- <td class="title"><label for="ga_speed_samplerate"><?php _e("Page Speed SR:", 'ga-dash'); ?></label></td>
578
- <td><input type="number" id="ga_speed_samplerate"
579
- name="options[ga_speed_samplerate]"
580
- value="<?php echo (int)($options['ga_speed_samplerate']); ?>"
581
- max="100" min="1"> %</td>
582
- </tr>
583
- <tr>
584
- <td colspan="2" class="title">
585
- <div class="onoffswitch">
586
- <input type="checkbox" name="options[ga_event_bouncerate]"
587
- value="1" class="onoffswitch-checkbox"
588
- id="ga_event_bouncerate"
589
- <?php checked( $options['ga_event_bouncerate'], 1 ); ?>> <label
590
- class="onoffswitch-label" for="ga_event_bouncerate">
591
- <div class="onoffswitch-inner"></div>
592
- <div class="onoffswitch-switch"></div>
593
- </label>
594
- </div>
595
- <div class="switch-desc"><?php _e ( " exclude events from bounce-rate calculation", 'ga-dash' );?></div>
596
- </td>
597
- </tr>
598
- <tr>
599
- <td colspan="2" class="title">
600
- <div class="onoffswitch">
601
- <input type="checkbox" name="options[ga_enhanced_links]"
602
- value="1" class="onoffswitch-checkbox"
603
- id="ga_enhanced_links"
604
- <?php checked( $options['ga_enhanced_links'], 1 ); ?>> <label
605
- class="onoffswitch-label" for="ga_enhanced_links">
606
- <div class="onoffswitch-inner"></div>
607
- <div class="onoffswitch-switch"></div>
608
- </label>
609
- </div>
610
- <div class="switch-desc"><?php _e ( " enable enhanced link attribution", 'ga-dash' );?></div>
611
- </td>
612
- </tr>
613
- <tr>
614
- <td colspan="2" class="title">
615
- <div class="onoffswitch">
616
- <input type="checkbox" name="options[ga_dash_adsense]"
617
- value="1" class="onoffswitch-checkbox" id="ga_dash_adsense"
618
- <?php checked( $options['ga_dash_adsense'], 1 ); ?>> <label
619
- class="onoffswitch-label" for="ga_dash_adsense">
620
- <div class="onoffswitch-inner"></div>
621
- <div class="onoffswitch-switch"></div>
622
- </label>
623
- </div>
624
- <div class="switch-desc"><?php _e ( " enable AdSense account linking", 'ga-dash' );?></div>
625
- </td>
626
- </tr>
627
- <tr>
628
- <td colspan="2" class="title">
629
- <div class="onoffswitch">
630
- <input type="checkbox"
631
- name="options[ga_crossdomain_tracking]" value="1"
632
- class="onoffswitch-checkbox" id="ga_crossdomain_tracking"
633
- <?php checked( $options['ga_crossdomain_tracking'], 1 ); ?>>
634
- <label class="onoffswitch-label"
635
- for="ga_crossdomain_tracking">
636
- <div class="onoffswitch-inner"></div>
637
- <div class="onoffswitch-switch"></div>
638
- </label>
639
- </div>
640
- <div class="switch-desc"><?php _e(" enable cross domain tracking", 'ga-dash' ); ?></div>
641
- </td>
642
- </tr>
643
- <tr>
644
- <td class="title"><label for="ga_crossdomain_list"><?php _e("Cross Domains:", 'ga-dash'); ?></label></td>
645
- <td><input type="text" id="ga_crossdomain_list"
646
- name="options[ga_crossdomain_list]"
647
- value="<?php echo esc_attr($options['ga_crossdomain_list']); ?>"
648
- size="50"></td>
649
- </tr>
650
- </table>
651
- </div>
652
- <div id="gadwp-exclude">
653
- <table class="options">
654
- <tr>
655
- <td colspan="2"><?php echo "<h2>" . __( "Exclude Tracking", 'ga-dash' ) . "</h2>"; ?></td>
656
- </tr>
657
- <tr>
658
- <td class="roles title"><label for="ga_track_exclude"><?php _e("Exclude tracking for:", 'ga-dash' ); ?></label></td>
659
- <td class="roles">
660
  <?php
661
- if (! isset($wp_roles)) {
662
- $wp_roles = new WP_Roles();
663
- }
664
- $i = 0;
665
- ?> <table>
666
- <tr>
667
  <?php
668
- foreach ($wp_roles->role_names as $role => $name) {
669
- $i ++;
670
- ?>
671
- <td><label> <input type="checkbox"
672
- name="options[ga_track_exclude][]"
673
- value="<?php echo $role; ?>"
674
- <?php if (in_array($role,$options['ga_track_exclude'])) echo 'checked="checked"'; ?> />
675
  <?php echo $name; ?>
676
  </label></td>
677
  <?php
678
- if ($i % 4 == 0) {
679
- ?>
680
  </tr>
681
- <tr>
682
  <?php
683
- }
684
- }
685
- ?>
686
- </table>
687
- </td>
688
- </tr>
689
- </table>
690
- </div>
691
- <table class="options">
692
- <tr>
693
- <td colspan="2"><hr></td>
694
- </tr>
695
- <tr>
696
- <td colspan="2" class="submit"><input type="submit"
697
- name="Submit" class="button button-primary"
698
- value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
699
- </tr>
700
- </table>
701
- <input type="hidden" name="options[ga_dash_hidden]" value="Y">
702
- <?php wp_nonce_field('gadash_form','gadash_security'); ?>
703
- <?php
704
- self::output_sidebar();
705
- }
706
 
707
- public static function errors_debugging()
708
- {
709
- global $GADASH_Config;
710
- global $wp_version;
711
- if (! current_user_can('manage_options')) {
712
- return;
713
- }
714
- $options = self::set_get_options('frontend');
715
- if (! $GADASH_Config->options['ga_dash_tableid_jail'] or ! $GADASH_Config->options['ga_dash_token']) {
716
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
717
  }
718
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
719
  <div class="wrap">
720
  <?php echo "<h2>" . __( "Google Analytics Errors & Debugging", 'ga-dash' ) . "</h2>"; ?>
721
  </div>
722
  <div id="poststuff">
723
- <div id="post-body" class="metabox-holder columns-2">
724
- <div id="post-body-content">
725
- <div class="settings-wrapper">
726
- <div class="inside">
727
  <?php if (isset($message)) echo $message; ?>
728
  <?php
729
- $tabs = array(
730
- 'errors' => __("Errors & Details", 'ga-dash'),
731
- 'config' => __("Plugin Settings", 'ga-dash')
732
- );
733
- self::navigation_tabs($tabs);
734
- ?>
735
  <div id="gadwp-errors">
736
- <table class="options">
737
- <tr>
738
- <td>
739
- <?php echo __("For errors and/or other issues please check",'ga-dash')." <a href='https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=errors_screen&utm_campaign=gadwp' target='_blank'>". __("this documentation page",'ga-dash')."</a> ".__("and related tutorials",'ga-dash').".";?>
740
  </td>
741
- </tr>
742
- <tr>
743
- <td><?php echo "<h2>" . __( "Last Error detected", 'ga-dash' ) . "</h2>"; ?></td>
744
- </tr>
745
- <tr>
746
- <td>
 
 
747
  <?php
748
- $errors = esc_html(print_r(get_transient('ga_dash_lasterror'), true)) ? esc_html(print_r(get_transient('ga_dash_lasterror'), true)) : __("None", 'ga-dash');
749
- echo '<pre class="log_data">Last Error: ';
750
- echo $errors;
751
- ?></pre>
752
- </td>
753
- </tr>
754
- <tr>
755
- <td colspan="2"><hr><?php echo "<h2>" . __( "Error Details", 'ga-dash' ) . "</h2>"; ?></td>
756
- </tr>
757
- <tr>
758
- <td>
759
  <?php
760
- echo '<pre class="log_data">Error Details: ';
761
- $error_details = esc_html(print_r(get_transient('ga_dash_gapi_errors'), true)) ? "\n" . esc_html(print_r(get_transient('ga_dash_gapi_errors'), true)) : __("None", 'ga-dash');
762
- echo $error_details;
763
- ?></pre><br />
764
- <hr>
765
- </td>
766
-
767
-
768
- <tr>
769
-
770
- </table>
771
- </div>
772
- <div id="gadwp-config">
773
- <table class="options">
774
- <tr>
775
- <td><?php echo "<h2>" . __( "Plugin Configuration", 'ga-dash' ) . "</h2>"; ?></td>
776
- </tr>
777
- <tr>
778
- <td><pre class="log_data"><?php
779
- $anonim = $GADASH_Config->options;
780
- $anonim['wp_version'] = $wp_version;
781
- $anonim['gadwp_version'] = GADWP_CURRENT_VERSION;
782
- if ($anonim['ga_dash_token']) {
783
- $anonim['ga_dash_token'] = 'HIDDEN';
784
- }
785
- if ($anonim['ga_dash_refresh_token']) {
786
- $anonim['ga_dash_refresh_token'] = 'HIDDEN';
787
- }
788
- if ($anonim['ga_dash_clientid']) {
789
- $anonim['ga_dash_clientid'] = 'HIDDEN';
790
- }
791
- if ($anonim['ga_dash_clientsecret']) {
792
- $anonim['ga_dash_clientsecret'] = 'HIDDEN';
793
- }
794
- if ($anonim['ga_dash_apikey']) {
795
- $anonim['ga_dash_apikey'] = 'HIDDEN';
796
- }
797
- echo esc_html(print_r($anonim, true));
798
- ?></pre><br />
799
- <hr></td>
800
- </tr>
801
- </table>
802
- </div>
803
  <?php
804
- self::output_sidebar();
805
- }
806
-
807
- public static function general_settings()
808
- {
809
- global $GADASH_Config;
810
- global $wp_version;
811
- $tools = new GADASH_Tools();
812
- if (! current_user_can('manage_options')) {
813
- return;
814
  }
815
- $options = self::set_get_options('general');
816
- /*
817
- * Include GAPI
818
- */
819
- echo '<div id="gapi-warning" class="updated"><p>' . __('Loading the required libraries. If this results in a blank screen or a fatal error, try this solution:', "ga-dash") . ' <a href="https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=general_screen&utm_campaign=gadwp">Library conflicts between WordPress plugins</a></p></div>';
820
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
821
- global $GADASH_GAPI;
822
- echo '<script type="text/javascript">jQuery("#gapi-warning").hide()</script>';
823
- if (isset($_POST['ga_dash_code'])) {
824
- if (! stripos('x' . $_POST['ga_dash_code'], 'UA-', 1) == 1) {
825
- try {
826
- $GADASH_GAPI->client->authenticate($_POST['ga_dash_code']);
827
- $GADASH_Config->options['ga_dash_token'] = $GADASH_GAPI->client->getAccessToken();
828
- $google_token = json_decode($GADASH_GAPI->client->getAccessToken());
829
- $GADASH_Config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
830
- $GADASH_Config->set_plugin_options();
831
- $message = "<div class='updated'><p>" . __("Plugin authorization succeeded.", 'ga-dash') . "</p></div>";
832
- $options = self::set_get_options('general');
833
- delete_transient('ga_dash_gapi_errors');
834
- delete_transient('ga_dash_lasterror');
835
- } catch (Google_IO_Exception $e) {
836
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $GADASH_GAPI->error_timeout);
837
- return false;
838
- } catch (Google_Service_Exception $e) {
839
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $GADASH_GAPI->error_timeout);
840
- set_transient('ga_dash_gapi_errors', $e->getErrors(), $GADASH_GAPI->error_timeout);
841
- return $e->getCode();
842
- } catch (Exception $e) {
843
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e) . "\nResponseHttpCode:" . $e->getCode(), $GADASH_GAPI->error_timeout);
844
- $GADASH_GAPI->reset_token(false);
845
  }
846
- } else {
847
- $message = "<div class='error'><p>" . __("The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> (UA-XXXXX-X). Try again, and use the red link to get your access code", 'ga-dash') . ".</p></div>";
848
- }
849
- }
850
- if ($GADASH_Config->options['ga_dash_token'] and $GADASH_GAPI->client->getAccessToken()) {
851
- if ($GADASH_Config->options['ga_dash_profile_list']) {
852
- $profiles = $GADASH_Config->options['ga_dash_profile_list'];
853
- } else {
854
- $profiles = $GADASH_GAPI->refresh_profiles();
855
- }
856
- if ($profiles) {
857
- $GADASH_Config->options['ga_dash_profile_list'] = $profiles;
858
- if (! $GADASH_Config->options['ga_dash_tableid_jail']) {
859
- $profile = $tools->guess_default_domain($profiles);
860
- $GADASH_Config->options['ga_dash_tableid_jail'] = $profile;
861
- $GADASH_Config->options['ga_dash_tableid'] = $profile;
862
  }
863
- $GADASH_Config->set_plugin_options();
864
- $options = self::set_get_options('general');
865
- }
866
- }
867
- if (isset($_POST['Clear'])) {
868
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
869
- $tools->clear_cache();
870
- $message = "<div class='updated'><p>" . __("Cleared Cache.", 'ga-dash') . "</p></div>";
871
- } else {
872
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
873
- }
874
- }
875
- if (isset($_POST['Reset'])) {
876
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
877
- $GADASH_GAPI->reset_token(true);
878
- $tools->clear_cache();
879
- $message = "<div class='updated'><p>" . __("Token Reseted and Revoked.", 'ga-dash') . "</p></div>";
880
- $options = self::set_get_options('Reset');
881
- } else {
882
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
883
- }
884
- }
885
- if (isset($_POST['Reset_Err'])) {
886
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
887
- delete_transient('ga_dash_lasterror');
888
- delete_transient('ga_dash_gapi_errors');
889
- $message = "<div class='updated'><p>" . __("All errors reseted.", 'ga-dash') . "</p></div>";
890
- } else {
891
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
892
- }
893
- }
894
- if (isset($_POST['options']['ga_dash_hidden']) and ! isset($_POST['Clear']) and ! isset($_POST['Reset']) and ! isset($_POST['Reset_Err'])) {
895
- $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
896
- if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
897
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
898
- }
899
- }
900
- if (isset($_POST['Hide'])) {
901
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
902
- $message = "<div class='updated'><p>" . __("All other domains/properties were removed.", 'ga-dash') . "</p></div>";
903
- $lock_profile = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
904
- $GADASH_Config->options['ga_dash_profile_list'] = array(
905
- $lock_profile
906
- );
907
- $options = self::set_get_options('general');
908
- } else {
909
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
910
- }
911
- }
912
- ?>
913
- <div class="wrap">
914
- <?php echo "<h2>" . __( "Google Analytics Settings", 'ga-dash' ) . "</h2>"; ?><hr>
915
- </div>
916
- <div id="poststuff">
917
- <div id="post-body" class="metabox-holder columns-2">
918
- <div id="post-body-content">
919
- <div class="settings-wrapper">
920
- <div class="inside">
921
- if ($GADASH_GAPI->gapi_errors_handler()) {
922
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
923
- }
924
- if (isset($_POST['Authorize'])) {
925
- $tools->clear_cache();
926
- $GADASH_GAPI->token_request();
927
- echo "<div class='updated'><p>" . __("Use the red link (see below) to generate and get your access code!", 'ga-dash') . "</p></div>";
928
- } else {
929
- if (isset($message))
930
- echo $message;
931
- ?>
932
- <form name="ga_dash_form" method="post"
933
- action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
934
- <input type="hidden" name="options[ga_dash_hidden]" value="Y">
935
- <?php wp_nonce_field('gadash_form','gadash_security'); ?>
936
- <table class="options">
937
- <tr>
938
- <td colspan="2"><?php echo "<h2>" . __( "Plugin Authorization", 'ga-dash' ) . "</h2>"; ?></td>
939
- </tr>
940
- <tr>
941
- <td colspan="2" class="info">
942
- <?php echo __("You should watch the",'ga-dash')." <a href='https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_video&utm_campaign=gadwp' target='_blank'>". __("video",'ga-dash')."</a> ".__("and read this", 'ga-dash')." <a href='https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_tutorial&utm_campaign=gadwp' target='_blank'>". __("tutorial",'ga-dash')."</a> ".__("before proceeding to authorization. This plugin requires a properly configured Google Analytics account", 'ga-dash')."!";?>
943
- </td>
944
- </tr>
945
- <?php
946
- if (! $options['ga_dash_token'] or $options['ga_dash_userapi']) {
947
- ?>
948
- <tr>
949
- <td colspan="2" class="info"><input
950
- name="options[ga_dash_userapi]" type="checkbox"
951
- id="ga_dash_userapi" value="1"
952
- <?php checked( $options['ga_dash_userapi'], 1 ); ?>
953
- onchange="this.form.submit()"
954
- <?php echo ($options['ga_dash_network'])?'disabled="disabled"':''; ?> /><?php _e ( " use your own API Project credentials", 'ga-dash' );?>
955
- </td>
956
- </tr>
957
- }
958
- if ($options['ga_dash_userapi']) {
959
- ?>
960
- <tr>
961
- <td class="title"><label for="options[ga_dash_apikey]"><?php _e("API Key:", 'ga-dash'); ?></label>
962
- </td>
963
- <td><input type="text" name="options[ga_dash_apikey]"
964
- value="<?php echo esc_attr($options['ga_dash_apikey']); ?>"
965
- size="40" required="required"></td>
966
- </tr>
967
- <tr>
968
- <td class="title"><label for="options[ga_dash_clientid]"><?php _e("Client ID:", 'ga-dash'); ?></label>
969
- </td>
970
- <td><input type="text" name="options[ga_dash_clientid]"
971
- value="<?php echo esc_attr($options['ga_dash_clientid']); ?>"
972
- size="40" required="required"></td>
973
- </tr>
974
- <tr>
975
- <td class="title"><label
976
- for="options[ga_dash_clientsecret]"><?php _e("Client Secret:", 'ga-dash'); ?></label>
977
- </td>
978
- <td><input type="text" name="options[ga_dash_clientsecret]"
979
- value="<?php echo esc_attr($options['ga_dash_clientsecret']); ?>"
980
- size="40" required="required"> <input type="hidden"
981
- name="options[ga_dash_hidden]" value="Y">
982
- <?php wp_nonce_field('gadash_form','gadash_security'); ?>
983
- </td>
984
- </tr>
985
- <?php
986
- }
987
- ?>
988
- <?php
989
- if ($options['ga_dash_token']) {
990
- ?>
991
- <tr>
992
- <td colspan="2"><input type="submit" name="Reset"
993
- class="button button-secondary"
994
- value="<?php _e( "Clear Authorization", 'ga-dash' ); ?>"
995
- <?php echo $options['ga_dash_network']?'disabled="disabled"':''; ?> />
996
- <input type="submit" name="Clear"
997
- class="button button-secondary"
998
- value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /> <input
999
- type="submit" name="Reset_Err"
1000
- class="button button-secondary"
1001
- value="<?php _e( "Reset Errors", 'ga-dash' ); ?>" /></td>
1002
- </tr>
1003
- <tr>
1004
- <td colspan="2"><hr></td>
1005
- </tr>
1006
- <tr>
1007
- <td colspan="2"><?php echo "<h2>" . __( "General Settings", 'ga-dash' ) . "</h2>"; ?></td>
1008
- </tr>
1009
- <tr>
1010
- <td class="title"><label for="ga_dash_tableid_jail"><?php _e("Select Domain:", 'ga-dash' ); ?></label></td>
1011
- <td><select id="ga_dash_tableid_jail"
1012
- <?php disabled(is_array($options['ga_dash_profile_list']), false); ?>
1013
- name="options[ga_dash_tableid_jail]">
1014
- <?php
1015
- if (is_array($options['ga_dash_profile_list'])) {
1016
- foreach ($options['ga_dash_profile_list'] as $items) {
1017
- if ($items[3]) {
1018
- echo '<option value="' . esc_attr($items[1]) . '" ' . selected($items[1], $options['ga_dash_tableid_jail']);
1019
- echo ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($items[0]) . '">' . esc_html($tools->strip_protocol($items[3])) . ' &#8658; ' . esc_attr($items[0]) . '</option>';
1020
  }
1021
- }
1022
- } else {
1023
- echo '<option value="">' . __("Property not found", 'ga-dash') . '</option>';
1024
  }
1025
- ?>
1026
- </select>
1027
- if (count($options['ga_dash_profile_list']) > 1) {
1028
- _e("and/or hide all other domains", 'ga-dash');
1029
- ?>
1030
- <input type="submit" name="Hide" class="button button-secondary"
1031
- value="<?php _e( "Hide Now", 'ga-dash' ); ?>" />
1032
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1033
  }
1034
  ?>
1035
- </td>
1036
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1037
  <?php } if ($options['ga_dash_userapi']) { ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1038
  <?php
 
 
 
 
 
 
 
1039
  <?php
1040
- if ($options['ga_dash_tableid_jail']) {
1041
- ?>
1042
  <tr>
1043
- <td class="title"></td>
1044
- <td><?php
1045
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
1046
- echo '<pre>' . __("View Name:", 'ga-dash') . "\t" . esc_html($profile_info[0]) . "<br />" . __("Tracking ID:", 'ga-dash') . "\t" . esc_html($profile_info[2]) . "<br />" . __("Default URL:", 'ga-dash') . "\t" . esc_html($profile_info[3]) . "<br />" . __("Time Zone:", 'ga-dash') . "\t" . esc_html($profile_info[5]) . '</pre>';
1047
- ?></td>
1048
- </tr>
1049
  <?php
1050
- }
1051
- ?>
1052
- <td class="title"><label for="ga_dash_style"><?php _e("Theme Color:", 'ga-dash' ); ?></label></td>
1053
- <td><input type="text" id="ga_dash_style"
1054
- class="ga_dash_style" name="options[ga_dash_style]"
1055
- value="<?php echo esc_attr($options['ga_dash_style']); ?>"
1056
- size="10"></td>
1057
- </tr>
1058
- <tr>
1059
- <td colspan="2"><hr></td>
1060
- </tr>
1061
- <?php if ( !is_multisite()) {?>
1062
  <tr>
1063
- <td colspan="2"><?php echo "<h2>" . __( "Automatic Updates", 'ga-dash' ) . "</h2>"; ?></td>
1064
- </tr>
 
 
 
 
 
 
 
 
 
 
 
1065
  <tr>
1066
- <td colspan="2" class="title">
1067
- <div class="onoffswitch">
1068
- <input type="checkbox"
1069
- name="options[automatic_updates_minorversion]" value="1"
1070
- class="onoffswitch-checkbox"
1071
- id="automatic_updates_minorversion"
1072
- <?php checked( $options['automatic_updates_minorversion'], 1 ); ?>>
1073
- <label class="onoffswitch-label"
1074
- for="automatic_updates_minorversion">
1075
- <div class="onoffswitch-inner"></div>
1076
- <div class="onoffswitch-switch"></div>
1077
- </label>
1078
- </div>
1079
- <div class="switch-desc"><?php echo " ".__( "automatic updates for minor versions (security and maintenance releases only)", 'ga-dash' );?></div>
1080
- </td>
1081
- </tr>
1082
  <?php }?>
1083
- <tr>
1084
- <td colspan="2"><hr></td>
1085
- </tr>
1086
- <tr>
1087
- <td colspan="2" class="submit"><input type="submit"
1088
- name="Submit" class="button button-primary"
1089
- value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
1090
- </tr>
1091
- } else {
1092
- ?>
1093
- <tr>
1094
- <td colspan="2"><hr></td>
1095
- </tr>
1096
- <tr>
1097
- <td colspan="2"><input type="submit" name="Authorize"
1098
- class="button button-secondary" id="authorize"
1099
- value="<?php _e( "Authorize Plugin", 'ga-dash' ); ?>"
1100
- <?php echo $options['ga_dash_network']?'disabled="disabled"':''; ?> />
1101
- <input type="submit" name="Clear"
1102
- class="button button-secondary"
1103
- value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /></td>
1104
- </tr>
1105
- <tr>
1106
- <td colspan="2"><hr></td>
1107
- </tr>
1108
- </table>
1109
- </form>
1110
  <?php
 
 
 
 
 
 
1111
  self::output_sidebar();
1112
- return;
1113
- }
1114
- ?>
1115
- </form>
1116
- }
1117
- self::output_sidebar();
1118
- }
1119
- // Network Settings
1120
- public static function general_settings_network()
1121
- {
1122
- global $GADASH_Config;
1123
- global $wp_version;
1124
- $tools = new GADASH_Tools();
1125
- if (! current_user_can('manage_network_options')) {
1126
- return;
1127
  }
1128
- $options = self::set_get_options('network');
1129
- /*
1130
- * Include GAPI
1131
- */
1132
- echo '<div id="gapi-warning" class="updated"><p>' . __('Loading the required libraries. If this results in a blank screen or a fatal error, try this solution:', "ga-dash") . ' <a href="https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=general_screen&utm_campaign=gadwp">Library conflicts between WordPress plugins</a></p></div>';
1133
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
1134
- global $GADASH_GAPI;
1135
- echo '<script type="text/javascript">jQuery("#gapi-warning").hide()</script>';
1136
- if (isset($_POST['ga_dash_code'])) {
1137
- if (! stripos('x' . $_POST['ga_dash_code'], 'UA-', 1) == 1) {
1138
- try {
1139
- $GADASH_GAPI->client->authenticate($_POST['ga_dash_code']);
1140
- $GADASH_Config->options['ga_dash_token'] = $GADASH_GAPI->client->getAccessToken();
1141
- $google_token = json_decode($GADASH_GAPI->client->getAccessToken());
1142
- $GADASH_Config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
1143
- $GADASH_Config->set_plugin_options(true);
1144
- $message = "<div class='updated'><p>" . __("Plugin authorization succeeded.", 'ga-dash') . "</p></div>";
1145
- $options = self::set_get_options('network');
1146
- if (is_multisite()) { // Cleanup errors on the entire network
1147
- foreach (wp_get_sites(array(
1148
- 'limit' => apply_filters('gadwp_sites_limit', 100)
1149
- )) as $blog) {
1150
- switch_to_blog($blog['blog_id']);
1151
- delete_transient('ga_dash_gapi_errors');
1152
- restore_current_blog();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1153
  }
1154
- } else {
1155
- delete_transient('ga_dash_gapi_errors');
1156
- }
1157
- } catch (Google_IO_Exception $e) {
1158
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $GADASH_GAPI->error_timeout);
1159
- return false;
1160
- } catch (Google_Service_Exception $e) {
1161
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $GADASH_GAPI->error_timeout);
1162
- set_transient('ga_dash_gapi_errors', $e->getErrors(), $GADASH_GAPI->error_timeout);
1163
- return $e->getCode();
1164
- } catch (Exception $e) {
1165
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e) . "\nResponseHttpCode:" . $e->getCode(), $GADASH_GAPI->error_timeout);
1166
- $GADASH_GAPI->reset_token(false);
1167
  }
1168
- } else {
1169
- $message = "<div class='error'><p>" . __("The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> (UA-XXXXX-X). Try again, and use the red link to get your access code", 'ga-dash') . ".</p></div>";
1170
- }
1171
- }
1172
- if (isset($_POST['Refresh'])) {
1173
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1174
- $GADASH_Config->options['ga_dash_profile_list'] = '';
1175
- $message = "<div class='updated'><p>" . __("Properties refreshed.", 'ga-dash') . "</p></div>";
1176
- $options = self::set_get_options('network');
1177
- } else {
1178
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1179
- }
1180
- }
1181
- if ($GADASH_Config->options['ga_dash_token'] and $GADASH_GAPI->client->getAccessToken()) {
1182
- if ($GADASH_Config->options['ga_dash_profile_list']) {
1183
- $profiles = $GADASH_Config->options['ga_dash_profile_list'];
1184
- } else {
1185
- $profiles = $GADASH_GAPI->refresh_profiles();
1186
- }
1187
- if ($profiles) {
1188
- $GADASH_Config->options['ga_dash_profile_list'] = $profiles;
1189
- if (isset($GADASH_Config->options['ga_dash_tableid_jail']) and ! $GADASH_Config->options['ga_dash_tableid_jail']) {
1190
- $profile = $tools->guess_default_domain($profiles);
1191
- $GADASH_Config->options['ga_dash_tableid_jail'] = $profile;
1192
- $GADASH_Config->options['ga_dash_tableid'] = $profile;
1193
  }
1194
- $GADASH_Config->set_plugin_options(true);
1195
- $options = self::set_get_options('network');
1196
- }
1197
- }
1198
- if (isset($_POST['Clear'])) {
1199
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1200
- $tools->clear_cache();
1201
- $message = "<div class='updated'><p>" . __("Cleared Cache.", 'ga-dash') . "</p></div>";
1202
- } else {
1203
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1204
- }
1205
- }
1206
- if (isset($_POST['Reset'])) {
1207
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1208
- $GADASH_GAPI->reset_token(true);
1209
- $tools->clear_cache();
1210
- $message = "<div class='updated'><p>" . __("Token Reseted and Revoked.", 'ga-dash') . "</p></div>";
1211
- $options = self::set_get_options('Reset');
1212
- } else {
1213
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1214
- }
1215
- }
1216
- if (isset($_POST['options']['ga_dash_hidden']) and ! isset($_POST['Clear']) and ! isset($_POST['Reset']) and ! isset($_POST['Refresh'])) {
1217
- $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
1218
- if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
1219
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1220
- }
1221
- }
1222
- if (isset($_POST['Hide'])) {
1223
- if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1224
- $message = "<div class='updated'><p>" . __("All other domains/properties were removed.", 'ga-dash') . "</p></div>";
1225
- $lock_profile = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
1226
- $GADASH_Config->options['ga_dash_profile_list'] = array(
1227
- $lock_profile
1228
- );
1229
- $options = self::set_get_options('network');
1230
- } else {
1231
- $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1232
- }
1233
- }
1234
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
1235
  <div class="wrap">
1236
  <?php echo "<h2>" . __( "Google Analytics Settings", 'ga-dash' ) . "</h2>"; ?><hr>
1237
- </div>
1238
- <div id="poststuff">
1239
- <div id="post-body" class="metabox-holder columns-2">
1240
- <div id="post-body-content">
1241
- <div class="settings-wrapper">
1242
- <div class="inside">
1243
- if ($GADASH_GAPI->gapi_errors_handler()) {
1244
- $message = "<div class='error'><p>" . __("Something went wrong, check", 'ga-dash') . " <a href='" . menu_page_url('gadash_errors_debugging', false) . "'>" . __('Errors & Debug', 'ga-dash') . "</a> " . __('or', 'ga-dash') . " <a href='" . menu_page_url('gadash_settings', false) . "'>" . __('authorize the plugin', 'ga-dash') . "</a>.</p></div>";
1245
- }
1246
- if (isset($_POST['Authorize'])) {
1247
- $tools->clear_cache();
1248
- $GADASH_GAPI->token_request();
1249
- echo "<div class='updated'><p>" . __("Use the red link (see below) to generate and get your access code!", 'ga-dash') . "</p></div>";
1250
- } else {
1251
- if (isset($message))
1252
- echo $message;
1253
- ?>
1254
- <form name="ga_dash_form" method="post"
1255
- action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
1256
- <input type="hidden" name="options[ga_dash_hidden]"
1257
- value="Y">
1258
  <?php wp_nonce_field('gadash_form','gadash_security'); ?>
1259
  <table class="options">
1260
- <tr>
1261
- <td colspan="2"><?php echo "<h2>" . __( "Network Setup", 'ga-dash' ) . "</h2>"; ?></td>
1262
- </tr>
1263
- <tr>
1264
- <td colspan="2" class="title">
1265
- <div class="onoffswitch">
1266
- <input type="checkbox"
1267
- name="options[ga_dash_network]" value="1"
1268
- class="onoffswitch-checkbox" id="ga_dash_network"
1269
- <?php checked( $options['ga_dash_network'], 1); ?>
1270
- onchange="this.form.submit()"> <label
1271
- class="onoffswitch-label" for="ga_dash_network">
1272
- <div class="onoffswitch-inner"></div>
1273
- <div class="onoffswitch-switch"></div>
1274
- </label>
1275
- </div>
1276
- <div class="switch-desc"><?php _e ( " use a single Google Analytics account for the entire network", 'ga-dash' );?></div>
1277
- </td>
1278
- </tr>
1279
  <?php if ($options['ga_dash_network']){ //Network Mode check?>
1280
  <tr>
1281
- <td colspan="2"><hr></td>
1282
- </tr>
1283
- <tr>
1284
- <td colspan="2"><?php echo "<h2>" . __( "Plugin Authorization", 'ga-dash' ) . "</h2>"; ?></td>
1285
- </tr>
1286
- <tr>
1287
- <td colspan="2" class="info">
1288
- <?php echo __("You should watch the",'ga-dash')." <a href='https://deconf.com/google-analytics-dashboard-wordpress/' target='_blank'>". __("video",'ga-dash')."</a> ".__("and read this", 'ga-dash')." <a href='https://deconf.com/google-analytics-dashboard-wordpress/' target='_blank'>". __("tutorial",'ga-dash')."</a> ".__("before proceeding to authorization. This plugin requires a properly configured Google Analytics account", 'ga-dash')."!";?>
1289
- </td>
1290
- </tr>
1291
  <?php
1292
- if (! $options['ga_dash_token'] or $options['ga_dash_userapi']) {
1293
- ?>
1294
- <tr>
1295
- <td colspan="2" class="info"><input
1296
- name="options[ga_dash_userapi]" type="checkbox"
1297
- id="ga_dash_userapi" value="1"
1298
- <?php checked( $options['ga_dash_userapi'], 1 ); ?>
1299
- onchange="this.form.submit()" /><?php _e ( " use your own API Project credentials", 'ga-dash' );?>
1300
- </td>
1301
- </tr>
1302
- }
1303
- if ($options['ga_dash_userapi']) {
1304
- ?>
1305
- <tr>
1306
- <td class="title"><label for="options[ga_dash_apikey]"><?php _e("API Key:", 'ga-dash'); ?></label>
1307
- </td>
1308
- <td><input type="text" name="options[ga_dash_apikey]"
1309
- value="<?php echo esc_attr($options['ga_dash_apikey']); ?>"
1310
- size="40" required="required"></td>
1311
- </tr>
1312
- <tr>
1313
- <td class="title"><label
1314
- for="options[ga_dash_clientid]"><?php _e("Client ID:", 'ga-dash'); ?></label>
1315
- </td>
1316
- <td><input type="text"
1317
- name="options[ga_dash_clientid]"
1318
- value="<?php echo esc_attr($options['ga_dash_clientid']); ?>"
1319
- size="40" required="required"></td>
1320
- </tr>
1321
- <tr>
1322
- <td class="title"><label
1323
- for="options[ga_dash_clientsecret]"><?php _e("Client Secret:", 'ga-dash'); ?></label>
1324
- </td>
1325
- <td><input type="text"
1326
- name="options[ga_dash_clientsecret]"
1327
- value="<?php echo esc_attr($options['ga_dash_clientsecret']); ?>"
1328
- size="40" required="required"> <input type="hidden"
1329
- name="options[ga_dash_hidden]" value="Y">
1330
  <?php wp_nonce_field('gadash_form','gadash_security'); ?>
1331
  </td>
1332
- </tr>
1333
  <?php
1334
- }
1335
- ?>
1336
- <?php
1337
- if ($options['ga_dash_token']) {
1338
- ?>
1339
  <tr>
1340
- <td colspan="2"><input type="submit" name="Reset"
1341
- class="button button-secondary"
1342
- value="<?php _e( "Clear Authorization", 'ga-dash' ); ?>" />
1343
- <input type="submit" name="Clear"
1344
- class="button button-secondary"
1345
- value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /> <input
1346
- type="submit" name="Refresh"
1347
- class="button button-secondary"
1348
- value="<?php _e( "Refresh Properties", 'ga-dash' ); ?>" /></td>
1349
- </tr>
1350
- <tr>
1351
- <td colspan="2"><hr></td>
1352
- </tr>
1353
- <tr>
1354
- <td colspan="2"><?php echo "<h2>" . __( "Properties/Views Settings", 'ga-dash' ) . "</h2>"; ?></td>
1355
- </tr>
1356
  <?php
1357
- if (isset($options['ga_dash_tableid_network'])) {
1358
- $options['ga_dash_tableid_network'] = json_decode(json_encode($options['ga_dash_tableid_network']), FALSE);
1359
- }
1360
- foreach (wp_get_sites(array(
1361
- 'limit' => apply_filters('gadwp_sites_limit', 100)
1362
- )) as $blog) {
1363
- ?>
1364
- <tr>
1365
- <td class="title-select"><label
1366
- for="ga_dash_tableid_network"><?php echo '<strong>'.$blog['domain'].$blog['path'].'</strong>: ';?></label></td>
1367
- <td><select id="ga_dash_tableid_network"
1368
- <?php disabled(is_array($options['ga_dash_profile_list']),false);?>
1369
- name="options[ga_dash_tableid_network][<?php echo $blog['blog_id'];?>]">
1370
  <?php
1371
- if (is_array($options['ga_dash_profile_list'])) {
1372
- foreach ($options['ga_dash_profile_list'] as $items) {
1373
- if ($items[3]) {
1374
- echo '<option value="' . esc_attr($items[1]) . '" ' . selected($items[1], isset($options['ga_dash_tableid_network']->$blog['blog_id']) ? $options['ga_dash_tableid_network']->$blog['blog_id'] : '');
1375
- echo ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($items[0]) . '">' . esc_html($tools->strip_protocol($items[3])) . ' &#8658; ' . esc_attr($items[0]) . '</option>';
1376
- }
1377
- }
1378
- } else {
1379
- echo '<option value="">' . __("Property not found", 'ga-dash') . '</option>';
1380
- }
1381
- ?>
1382
- </select><br /></td>
1383
- </tr>
1384
  <?php
1385
- }
1386
- ?>
1387
  <tr>
1388
- <td colspan="2"><?php echo "<h2>" . __( "Automatic Updates", 'ga-dash' ) . "</h2>"; ?></td>
1389
- </tr>
1390
- <tr>
1391
- <td colspan="2" class="title">
1392
- <div class="onoffswitch">
1393
- <input type="checkbox"
1394
- name="options[automatic_updates_minorversion]"
1395
- value="1" class="onoffswitch-checkbox"
1396
- id="automatic_updates_minorversion"
1397
- <?php checked( $options['automatic_updates_minorversion'], 1 ); ?>>
1398
- <label class="onoffswitch-label"
1399
- for="automatic_updates_minorversion">
1400
- <div class="onoffswitch-inner"></div>
1401
- <div class="onoffswitch-switch"></div>
1402
- </label>
1403
- </div>
1404
- <div class="switch-desc"><?php echo " ".__( "automatic updates for minor versions (security and maintenance releases only)", 'ga-dash' );?></div>
1405
- </td>
1406
- </tr>
1407
- <tr>
1408
- <td colspan="2"><hr><?php echo "<h2>" . __( "Exclude Tracking", 'ga-dash' ) . "</h2>"; ?></td>
1409
- </tr>
1410
- <tr>
1411
- <td colspan="2" class="title">
1412
- <div class="onoffswitch">
1413
- <input type="checkbox"
1414
- name="options[ga_dash_excludesa]" value="1"
1415
- class="onoffswitch-checkbox" id="ga_dash_excludesa"<?php checked( $options['ga_dash_excludesa'], 1); ?>">
1416
- <label class="onoffswitch-label"
1417
- for="ga_dash_excludesa">
1418
- <div class="onoffswitch-inner"></div>
1419
- <div class="onoffswitch-switch"></div>
1420
- </label>
1421
- </div>
1422
- <div class="switch-desc"><?php _e ( " exclude Super Admin tracking for the entire network", 'ga-dash' );?></div>
1423
- </td>
1424
- </tr>
1425
- <tr>
1426
- <td colspan="2"><hr></td>
1427
- </tr>
1428
- <tr>
1429
- <td colspan="2" class="submit"><input type="submit"
1430
- name="Submit" class="button button-primary"
1431
- value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
1432
- </tr>
1433
- } else {
1434
- ?>
1435
- <td colspan="2"><hr></td>
1436
- </tr>
1437
- <tr>
1438
- <td colspan="2"><input type="submit" name="Authorize"
1439
- class="button button-secondary" id="authorize"
1440
- value="<?php _e( "Authorize Plugin", 'ga-dash' ); ?>" />
1441
- <input type="submit" name="Clear"
1442
- class="button button-secondary"
1443
- value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /></td>
1444
- </tr>
1445
  <?php } //Network Mode check?>
1446
- <tr>
1447
- <td colspan="2"><hr></td>
1448
- </tr>
1449
- </table>
1450
- </form>
1451
  <?php
1452
- self::output_sidebar();
1453
- return;
1454
- }
1455
- ?>
1456
  </table>
1457
- </form>
1458
  <?php
 
 
1459
  }
1460
- self::output_sidebar();
1461
- }
1462
 
1463
- public static function output_sidebar()
1464
- {
1465
- global $GADASH_Config;
1466
- ?>
1467
- </div>
1468
- </div>
1469
- </div>
1470
- <div id="postbox-container-1" class="postbox-container">
1471
- <div class="meta-box-sortables">
1472
- <div class="postbox">
1473
- <h3>
1474
- <span><?php _e("Setup Tutorial & Demo",'ga-dash') ?></span>
1475
- </h3>
1476
- <div class="inside">
1477
- <a
1478
- href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=video&utm_campaign=gadwp"
1479
- target="_blank"><img
1480
- src="<?php echo plugins_url( 'images/google-analytics-dashboard.png' , __FILE__ );?>"
1481
- width="100%" alt="" /></a>
1482
- </div>
1483
- </div>
1484
- <div class="postbox">
1485
- <h3>
1486
- <span><?php _e("Support & Reviews",'ga-dash')?></span>
1487
- </h3>
1488
- <div class="inside">
1489
- <div class="gadash-title">
1490
- <a
1491
- href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=support&utm_campaign=gadwp"><img
1492
- src="<?php echo plugins_url( 'images/help.png' , __FILE__ ); ?>" /></a>
1493
- </div>
1494
- <div class="gadash-desc"><?php echo __('Plugin documentation and support on', 'ga-dash') . ' <a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=support&utm_campaign=gadwp">deconf.com</a>.'; ?></div>
1495
- <br />
1496
- <div class="gadash-title">
1497
- <a
1498
- href="http://wordpress.org/support/view/plugin-reviews/google-analytics-dashboard-for-wp#plugin-info"><img
1499
- src="<?php echo plugins_url( 'images/star.png' , __FILE__ ); ?>" /></a>
1500
- </div>
1501
- <div class="gadash-desc"><?php echo __('Your feedback and review are both important,', 'ga-dash').' <a href="http://wordpress.org/support/view/plugin-reviews/google-analytics-dashboard-for-wp#plugin-info">'.__('rate this plugin', 'ga-dash').'</a>!'; ?></div>
1502
- </div>
1503
- </div>
1504
- <div class="postbox">
1505
- <h3>
1506
- <span><?php _e("Further Reading",'ga-dash')?></span>
1507
- </h3>
1508
- <div class="inside">
1509
- <div class="gadash-title">
1510
- <a
1511
- href="https://deconf.com/move-website-https-ssl/?utm_source=gadwp_config&utm_medium=link&utm_content=ssl&utm_campaign=gadwp"><img
1512
- src="<?php echo plugins_url( 'images/ssl.png' , __FILE__ ); ?>" /></a>
1513
- </div>
1514
- <div class="gadash-desc"><?php echo '<a href="https://deconf.com/move-website-https-ssl/?utm_source=gadwp_config&utm_medium=link&utm_content=ssl&utm_campaign=gadwp">'.__('Improve search rankings', 'ga-dash').'</a> '.__('by moving your website to HTTPS/SSL.', 'ga-dash'); ?></div>
1515
- <br />
1516
- <div class="gadash-title">
1517
- <a
1518
- href="https://deconf.com/wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=plugins&utm_campaign=gadwp"><img
1519
- src="<?php echo plugins_url( 'images/wp.png' , __FILE__ ); ?>" /></a>
1520
- </div>
1521
- <div class="gadash-desc"><?php echo __('Other', 'ga-dash').' <a href="https://deconf.com/wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=plugins&utm_campaign=gadwp">'.__('WordPress Plugins', 'ga-dash').'</a> '.__('written by the same author', 'ga-dash').'.'; ?></div>
1522
- </div>
1523
- </div>
1524
- <div class="postbox">
1525
- <h3>
1526
- <span><?php _e("Other Services",'ga-dash')?></span>
1527
- </h3>
1528
- <div class="inside">
1529
- <div class="gadash-title">
1530
- <a
1531
- href="https://deconf.com/wordpress-cdn-speeds-up-your-site/"><img
1532
- src="<?php echo plugins_url( 'images/mcdn.png' , __FILE__ ); ?>" /></a>
1533
- </div>
1534
- <div class="gadash-desc"><?php echo __('Speed up your website and plug into a whole', 'ga-dash').' <a href="https://deconf.com/wordpress-cdn-speeds-up-your-site/">'.__('new level of site speed', 'ga-dash').'</a>.'; ?></div>
1535
- <br />
1536
- <div class="gadash-title">
1537
- <a
1538
- href="https://deconf.com/clicky-web-analytics-review/?utm_source=gadwp_config&utm_medium=link&utm_content=clicky&utm_campaign=gadwp"><img
1539
- src="<?php echo plugins_url( 'images/clicky.png' , __FILE__ ); ?>" /></a>
1540
- </div>
1541
- <div class="gadash-desc"><?php echo '<a href="https://deconf.com/clicky-web-analytics-review/?utm_source=gadwp_config&utm_medium=link&utm_content=clicky&utm_campaign=gadwp">'.__('Web Analytics', 'ga-dash').'</a> '.__('service with users tracking at IP level.', 'ga-dash'); ?></div>
1542
- </div>
1543
- </div>
1544
- </div>
1545
- </div>
1546
- </div>
1547
- </div>
1548
- <?php
1549
- }
1550
  }
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
+
10
+ // Exit if accessed directly
11
+ if (! defined('ABSPATH'))
12
+ exit();
13
+
14
+ final class GADWP_Settings
15
  {
16
 
17
+ private static function update_options($who)
18
+ {
19
+ $gadwp = GADWP();
20
+ $network_settings = false;
21
+ $options = $gadwp->config->options; // Get current options
22
+ if (isset($_POST['options']['ga_dash_hidden']) && isset($_POST['options']) && (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) && $who != 'Reset') {
23
+ $new_options = $_POST['options'];
24
+ if ($who == 'tracking') {
25
+ $options['ga_dash_anonim'] = 0;
26
+ $options['ga_event_tracking'] = 0;
27
+ $options['ga_enhanced_links'] = 0;
28
+ $options['ga_dash_remarketing'] = 0;
29
+ $options['ga_dash_adsense'] = 0;
30
+ $options['ga_event_bouncerate'] = 0;
31
+ $options['ga_crossdomain_tracking'] = 0;
32
+ $options['ga_aff_tracking'] = 0;
33
+ $options['ga_hash_tracking'] = 0;
34
+ if (isset($_POST['options']['ga_tracking_code'])) {
35
+ $new_options['ga_tracking_code'] = trim($new_options['ga_tracking_code'], "\t");
36
+ }
37
+ if (empty($new_options['ga_track_exclude'])) {
38
+ $new_options['ga_track_exclude'] = array();
39
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  } else
41
+ if ($who == 'backend') {
42
+ $options['switch_profile'] = 0;
43
+ $options['item_reports'] = 0;
44
+ $options['dashboard_widget'] = 0;
45
+ if (empty($new_options['ga_dash_access_back'])) {
46
+ $new_options['ga_dash_access_back'][] = 'administrator';
47
+ }
48
+ } else
49
+ if ($who == 'frontend') {
50
+ $options['ga_dash_frontend_stats'] = 0;
51
+ $options['ga_dash_frontend_keywords'] = 0;
52
+ if (empty($new_options['ga_dash_access_front'])) {
53
+ $new_options['ga_dash_access_front'][] = 'administrator';
54
+ }
55
+ } else
56
+ if ($who == 'general') {
57
+ $options['ga_dash_userapi'] = 0;
58
+ if (! is_multisite()) {
59
+ $options['automatic_updates_minorversion'] = 0;
60
+ }
61
+ } else
62
+ if ($who == 'network') {
63
+ $options['ga_dash_userapi'] = 0;
64
+ $options['ga_dash_network'] = 0;
65
+ $options['ga_dash_excludesa'] = 0;
66
+ $options['automatic_updates_minorversion'] = 0;
67
+ $network_settings = true;
68
+ }
69
+ $options = array_merge($options, $new_options);
70
+ $gadwp->config->options = $options;
71
+ $gadwp->config->set_plugin_options($network_settings);
72
+ }
73
+ return $options;
74
  }
 
 
75
 
76
+ private static function navigation_tabs($tabs)
77
+ {
78
+ echo '<div id="icon-themes" class="icon32"><br></div>';
79
+ echo '<h2 class="nav-tab-wrapper">';
80
+ foreach ($tabs as $tab => $name) {
81
+ echo "<a class='nav-tab' id='tab-$tab' href='#top#gadwp-$tab'>$name</a>";
82
+ }
83
+ echo '</h2>';
84
  }
 
 
85
 
86
+ public static function frontend_settings()
87
+ {
88
+ $gadwp = GADWP();
89
+ if (! current_user_can('manage_options')) {
90
+ return;
91
+ }
92
+ $options = self::update_options('frontend');
93
+ if (isset($_POST['options']['ga_dash_hidden'])) {
94
+ $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
95
+ if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
96
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
97
+ }
98
+ }
99
+ if (! $gadwp->config->options['ga_dash_tableid_jail'] || ! $gadwp->config->options['ga_dash_token']) {
100
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
101
+ }
102
+ ?>
103
+ <form name="ga_dash_form" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
104
+ <div class="wrap">
 
105
  <?php echo "<h2>" . __( "Google Analytics Frontend Settings", 'ga-dash' ) . "</h2>"; ?><hr>
106
+ </div>
107
+ <div id="poststuff">
108
+ <div id="post-body" class="metabox-holder columns-2">
109
+ <div id="post-body-content">
110
+ <div class="settings-wrapper">
111
+ <div class="inside">
112
  <?php if (isset($message)) echo $message; ?>
113
  <table class="options">
114
+ <tr>
115
+ <td colspan="2">
116
+ <?php printf(__('Read %s for more information about Frontend Features and Options.', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=frontend_screen&utm_campaign=gadwp', __('this documentation page', 'ga-dash')))?>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <td colspan="2"><?php echo "<h2>" . __( "Permissions", 'ga-dash' ) . "</h2>"; ?></td>
121
+ </tr>
122
+ <tr>
123
+ <td class="roles title"><label for="ga_dash_access_front"><?php _e("Show stats to:", 'ga-dash' ); ?></label></td>
124
+ <td class="roles">
125
  <?php
126
+ if (! isset($wp_roles)) {
127
+ $wp_roles = new WP_Roles();
128
+ }
129
+ $i = 0;
130
+ ?>
131
+ <table>
132
+ <tr>
133
+ <?php
134
+ foreach ($wp_roles->role_names as $role => $name) {
135
+ if ($role != 'subscriber') {
136
+ $i ++;
137
+ ?>
138
+ <td><label> <input type="checkbox" name="options[ga_dash_access_front][]" value="<?php echo $role; ?>" <?php if (in_array($role,$options['ga_dash_access_front']) || $role=='administrator') echo 'checked="checked"'; if ($role=='administrator') echo 'disabled="disabled"';?> /><?php echo $name; ?>
139
+ </label></td>
 
 
 
140
  <?php
141
+ }
142
+ if ($i % 4 == 0) {
143
+ ?>
144
+ </tr>
145
+ <tr>
146
+ <?php
147
+ }
148
+ }
149
  ?>
150
+
151
+ </table>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td colspan="2" class="title">
156
+ <div class="onoffswitch">
157
+ <input type="checkbox" name="options[ga_dash_frontend_stats]" value="1" class="onoffswitch-checkbox" id="ga_dash_frontend_stats" <?php checked( $options['ga_dash_frontend_stats'], 1 ); ?>> <label class="onoffswitch-label" for="ga_dash_frontend_stats">
158
+ <div class="onoffswitch-inner"></div>
159
+ <div class="onoffswitch-switch"></div>
160
+ </label>
161
+ </div>
162
+ <div class="switch-desc"><?php echo " ".__("show page sessions and users in frontend (after each article)", 'ga-dash' );?></div>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td colspan="2" class="title">
167
+ <div class="onoffswitch">
168
+ <input type="checkbox" name="options[ga_dash_frontend_keywords]" value="1" class="onoffswitch-checkbox" id="ga_dash_frontend_keywords" <?php checked( $options['ga_dash_frontend_keywords'], 1 ); ?>> <label class="onoffswitch-label" for="ga_dash_frontend_keywords">
169
+ <div class="onoffswitch-inner"></div>
170
+ <div class="onoffswitch-switch"></div>
171
+ </label>
172
+ </div>
173
+ <div class="switch-desc"><?php echo " ".__("show page searches (after each article)", 'ga-dash' );?></div>
174
+ </td>
175
+ </tr>
176
+ <tr>
177
+ <td colspan="2"><hr></td>
178
+ </tr>
179
+ <tr>
180
+ <td colspan="2" class="submit"><input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
181
+ </tr>
182
+ </table>
183
+ <input type="hidden" name="options[ga_dash_hidden]" value="Y">
184
+ <?php wp_nonce_field('gadash_form','gadash_security');?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
+
187
+
188
+
189
+ </form>
190
+ <?php
191
+ self::output_sidebar();
 
 
 
 
 
 
 
 
 
192
  }
193
+
194
+ public static function backend_settings()
195
+ {
196
+ $gadwp = GADWP();
197
+ if (! current_user_can('manage_options')) {
198
+ return;
199
+ }
200
+ $options = self::update_options('backend');
201
+ if (isset($_POST['options']['ga_dash_hidden'])) {
202
+ $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
203
+ if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
204
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
205
+ }
206
+ }
207
+ if (! $gadwp->config->options['ga_dash_tableid_jail'] || ! $gadwp->config->options['ga_dash_token']) {
208
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
209
+ }
210
+ ?>
211
+ <form name="ga_dash_form" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
212
+ <div class="wrap">
213
  <?php echo "<h2>" . __( "Google Analytics Backend Settings", 'ga-dash' ) . "</h2>"; ?><hr>
214
+ </div>
215
+ <div id="poststuff">
216
+ <div id="post-body" class="metabox-holder columns-2">
217
+ <div id="post-body-content">
218
+ <div class="settings-wrapper">
219
+ <div class="inside">
220
  <?php if (isset($message)) echo $message; ?>
221
  <table class="options">
222
+ <tr>
223
+ <td colspan="2">
224
+ <?php printf(__('Read %s for more information about Backend Features and Options.', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=backend_screen&utm_campaign=gadwp', __('this documentation page', 'ga-dash')))?>
225
+ </td>
226
+ </tr>
227
+ <tr>
228
+ <td colspan="2"><?php echo "<h2>" . __( "Permissions", 'ga-dash' ) . "</h2>"; ?></td>
229
+ </tr>
230
+ <tr>
231
+ <td class="roles title"><label for="ga_dash_access_back"><?php _e("Show stats to:", 'ga-dash' ); ?></label></td>
232
+ <td class="roles">
 
 
 
233
  <?php
234
+ if (! isset($wp_roles)) {
235
+ $wp_roles = new WP_Roles();
236
+ }
237
+ $i = 0;
 
 
 
 
 
 
 
 
 
238
  ?>
239
+ <table>
240
+ <tr>
241
+ <?php
242
+
243
+ foreach ($wp_roles->role_names as $role => $name) {
244
+ if ($role != 'subscriber') {
245
+ $i ++;
246
+ ?>
247
+ <td><label> <input type="checkbox" name="options[ga_dash_access_back][]" value="<?php echo $role; ?>" <?php if (in_array($role,$options['ga_dash_access_back']) || $role=='administrator') echo 'checked="checked"'; if ($role=='administrator') echo 'disabled="disabled"';?> />
248
+ <?php echo $name; ?>
249
+ </label></td>
250
+ <?php
251
+ }
252
+ if ($i % 4 == 0) {
253
+ ?>
254
+ </tr>
255
+ <tr>
256
  <?php
257
+ }
258
+ }
259
+ ?>
260
+
261
+ </table>
262
+ </td>
263
+ </tr>
264
+ <tr>
265
+ <td colspan="2" class="title">
266
+ <div class="onoffswitch">
267
+ <input type="checkbox" name="options[switch_profile]" value="1" class="onoffswitch-checkbox" id="switch_profile" <?php checked( $options['switch_profile'], 1 ); ?>> <label class="onoffswitch-label" for="switch_profile">
268
+ <div class="onoffswitch-inner"></div>
269
+ <div class="onoffswitch-switch"></div>
270
+ </label>
271
+ </div>
272
+ <div class="switch-desc"><?php _e ( "enable Switch Profile/View functionality", 'ga-dash' );?></div>
273
+ </td>
274
+ </tr>
275
+ <tr>
276
+ <td colspan="2" class="title">
277
+ <div class="onoffswitch">
278
+ <input type="checkbox" name="options[item_reports]" value="1" class="onoffswitch-checkbox" id="item_reports" <?php checked( $options['item_reports'], 1 ); ?>> <label class="onoffswitch-label" for="item_reports">
279
+ <div class="onoffswitch-inner"></div>
280
+ <div class="onoffswitch-switch"></div>
281
+ </label>
282
+ </div>
283
+ <div class="switch-desc"><?php _e ( "enable reports on Posts List and Pages List", 'ga-dash' );?></div>
284
+ </td>
285
+ </tr>
286
+ <tr>
287
+ <td colspan="2" class="title">
288
+ <div class="onoffswitch">
289
+ <input type="checkbox" name="options[dashboard_widget]" value="1" class="onoffswitch-checkbox" id="dashboard_widget" <?php checked( $options['dashboard_widget'], 1 ); ?>> <label class="onoffswitch-label" for="dashboard_widget">
290
+ <div class="onoffswitch-inner"></div>
291
+ <div class="onoffswitch-switch"></div>
292
+ </label>
293
+ </div>
294
+ <div class="switch-desc"><?php _e ( "enable the main Dashboard Widget", 'ga-dash' );?></div>
295
+ </td>
296
+ </tr>
297
+ <tr>
298
+ <td colspan="2"><hr><?php echo "<h2>" . __( "Real-Time Settings", 'ga-dash' ) . "</h2>"; ?></td>
299
+ </tr>
300
+ <tr>
301
+ <td colspan="2" class="title"> <?php _e("Maximum number of pages to display on real-time tab:", 'ga-dash'); ?>
302
+ <input type="number" name="options[ga_realtime_pages]" id="ga_realtime_pages" value="<?php echo (int)$options['ga_realtime_pages']; ?>" size="3">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  </td>
304
+ </tr>
305
+ <tr>
306
+ <td colspan="2"><hr><?php echo "<h2>" . __( "Location Settings", 'ga-dash' ) . "</h2>"; ?></td>
307
+ </tr>
308
+ <tr>
309
+ <td colspan="2" class="title">
310
  <?php echo __("Target Geo Map to country:", 'ga-dash'); ?>
311
+ <input type="text" style="text-align: center;" name="options[ga_target_geomap]" value="<?php echo esc_attr($options['ga_target_geomap']); ?>" size="3">
 
 
 
 
 
 
 
 
312
  </td>
313
+ </tr>
314
+ <tr>
315
+ <td colspan="2"><hr></td>
316
+ </tr>
317
+ <tr>
318
+ <td colspan="2" class="submit"><input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
319
+ </tr>
320
+ </table>
321
+ <input type="hidden" name="options[ga_dash_hidden]" value="Y">
322
+ <?php wp_nonce_field('gadash_form','gadash_security'); ?>
 
 
 
 
 
323
 
324
+ </form>
325
+ <?php
326
+ self::output_sidebar();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
327
  }
328
+
329
+ public static function tracking_settings()
330
+ {
331
+ $gadwp = GADWP();
332
+
333
+ if (! current_user_can('manage_options')) {
334
+ return;
335
+ }
336
+ $options = self::update_options('tracking');
337
+ if (isset($_POST['options']['ga_dash_hidden'])) {
338
+ $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
339
+ if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
340
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
341
+ }
342
+ }
343
+ if (! $gadwp->config->options['ga_dash_tableid_jail']) {
344
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
345
+ }
346
+ if (! $options['ga_dash_tracking']) {
347
+ $message = "<div class='error'><p>" . __("The tracking component is disabled. You should set <strong>Tracking Options</strong> to <strong>Enabled</strong>", 'ga-dash') . ".</p></div>";
348
+ }
349
+ ?>
350
+ <form name="ga_dash_form" method="post" action="<?php esc_url($_SERVER['REQUEST_URI']); ?>">
351
+ <div class="wrap">
352
  <?php echo "<h2>" . __( "Google Analytics Tracking Code", 'ga-dash' ) . "</h2>"; ?>
353
  </div>
354
+ <div id="poststuff">
355
+ <div id="post-body" class="metabox-holder columns-2">
356
+ <div id="post-body-content">
357
+ <div class="settings-wrapper">
358
+ <div class="inside">
359
  <?php
360
+ $tabs = array(
361
+ 'basic' => __("Basic Settings", 'ga-dash'),
362
+ 'events' => __("Events Tracking", 'ga-dash'),
363
+ 'custom' => __("Custom Definitions", 'ga-dash'),
364
+ 'exclude' => __("Exclude Tracking", 'ga-dash'),
365
+ 'advanced' => __("Advanced Settings", 'ga-dash')
366
+ );
367
+ self::navigation_tabs($tabs);
368
+ ?>
369
+ <div class="gadwp-help"><?php printf(__('For more information about Tracking Options read %s.', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/tracking-google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=tracking_screen&utm_campaign=gadwp', __('this documentation page', 'ga-dash')));?></div>
370
  <?php if (isset($message)) echo $message; ?>
371
  <div id="gadwp-basic">
372
+ <table class="options">
373
+ <tr>
374
+ <td colspan="2"><?php echo "<h2>" . __( "Tracking Settings", 'ga-dash' ) . "</h2>"; ?></td>
375
+ </tr>
376
+ <tr>
377
+ <td class="title"><label for="ga_dash_tracking"><?php _e("Tracking Options:", 'ga-dash' ); ?></label></td>
378
+ <td><select id="ga_dash_tracking" name="options[ga_dash_tracking]" onchange="this.form.submit()">
379
+ <option value="0" <?php selected( $options['ga_dash_tracking'], 0 ); ?>><?php _e("Disabled", 'ga-dash');?></option>
380
+ <option value="1" <?php selected( $options['ga_dash_tracking'], 1 ); ?>><?php _e("Enabled", 'ga-dash');?></option>
381
+ </select></td>
382
+ </tr>
 
 
 
383
  <?php if ($options['ga_dash_tracking']) {?>
384
  <tr>
385
+ <td class="title"></td>
386
+ <td>
387
+ <?php $profile_info = GADWP_Tools::get_selected_profile($gadwp->config->options['ga_dash_profile_list'], $gadwp->config->options['ga_dash_tableid_jail']); ?>
388
+ <?php echo '<pre>' . __("View Name:", 'ga-dash') . "\t" . esc_html($profile_info[0]) . "<br />" . __("Tracking ID:", 'ga-dash') . "\t" . esc_html($profile_info[2]) . "<br />" . __("Default URL:", 'ga-dash') . "\t" . esc_html($profile_info[3]) . "<br />" . __("Time Zone:", 'ga-dash') . "\t" . esc_html($profile_info[5]) . '</pre>';?>
389
+ </td>
390
+ </tr>
391
  <?php }?>
392
  <tr>
393
+ <td colspan="2"><hr><?php echo "<h2>" . __( "Basic Tracking", 'ga-dash' ) . "</h2>"; ?></td>
394
+ </tr>
395
+ <tr>
396
+ <td class="title"><label for="ga_dash_tracking_type"><?php _e("Tracking Type:", 'ga-dash' ); ?></label></td>
397
+ <td><select id="ga_dash_tracking_type" name="options[ga_dash_tracking_type]">
398
+ <option value="classic" <?php selected( $options['ga_dash_tracking_type'], 'classic' ); ?>><?php _e("Classic Analytics", 'ga-dash');?></option>
399
+ <option value="universal" <?php selected( $options['ga_dash_tracking_type'], 'universal' ); ?>><?php _e("Universal Analytics", 'ga-dash');?></option>
400
+ </select></td>
401
+ </tr>
402
+ <tr>
403
+ <td colspan="2" class="title">
404
+ <div class="onoffswitch">
405
+ <input type="checkbox" name="options[ga_dash_anonim]" value="1" class="onoffswitch-checkbox" id="ga_dash_anonim" <?php checked( $options['ga_dash_anonim'], 1 ); ?>> <label class="onoffswitch-label" for="ga_dash_anonim">
406
+ <div class="onoffswitch-inner"></div>
407
+ <div class="onoffswitch-switch"></div>
408
+ </label>
409
+ </div>
410
+ <div class="switch-desc"><?php echo " ".__("anonymize IPs while tracking", 'ga-dash' );?></div>
411
+ </td>
412
+ </tr>
413
+ <tr>
414
+ <td colspan="2" class="title">
415
+ <div class="onoffswitch">
416
+ <input type="checkbox" name="options[ga_dash_remarketing]" value="1" class="onoffswitch-checkbox" id="ga_dash_remarketing" <?php checked( $options['ga_dash_remarketing'], 1 ); ?>> <label class="onoffswitch-label" for="ga_dash_remarketing">
417
+ <div class="onoffswitch-inner"></div>
418
+ <div class="onoffswitch-switch"></div>
419
+ </label>
420
+ </div>
421
+ <div class="switch-desc"><?php echo " ".__("enable remarketing, demographics and interests reports", 'ga-dash' );?></div>
422
+ </td>
423
+ </tr>
424
+ </table>
425
+ </div>
426
+ <div id="gadwp-events">
427
+ <table class="options">
428
+ <tr>
429
+ <td colspan="2"><?php echo "<h2>" . __( "Events Tracking", 'ga-dash' ) . "</h2>"; ?></td>
430
+ </tr>
431
+ <tr>
432
+ <td colspan="2" class="title">
433
+ <div class="onoffswitch">
434
+ <input type="checkbox" name="options[ga_event_tracking]" value="1" class="onoffswitch-checkbox" id="ga_event_tracking" <?php checked( $options['ga_event_tracking'], 1 ); ?>> <label class="onoffswitch-label" for="ga_event_tracking">
435
+ <div class="onoffswitch-inner"></div>
436
+ <div class="onoffswitch-switch"></div>
437
+ </label>
438
+ </div>
439
+ <div class="switch-desc"><?php echo " ".__("track downloads, mailto and outbound links", 'ga-dash' ); ?></div>
440
+ </td>
441
+ </tr>
442
+ <tr>
443
+ <td class="title"><label for="ga_event_downloads"><?php _e("Downloads Regex:", 'ga-dash'); ?></label></td>
444
+ <td><input type="text" id="ga_event_downloads" name="options[ga_event_downloads]" value="<?php echo esc_attr($options['ga_event_downloads']); ?>" size="50"></td>
445
+ </tr>
446
+ <tr>
447
+ <td colspan="2" class="title">
448
+ <div class="onoffswitch">
449
+ <input type="checkbox" name="options[ga_aff_tracking]" value="1" class="onoffswitch-checkbox" id="ga_aff_tracking" <?php checked( $options['ga_aff_tracking'], 1 ); ?>> <label class="onoffswitch-label" for="ga_aff_tracking">
450
+ <div class="onoffswitch-inner"></div>
451
+ <div class="onoffswitch-switch"></div>
452
+ </label>
453
+ </div>
454
+ <div class="switch-desc"><?php echo " ".__("track affiliate links matching this regex", 'ga-dash' ); ?></div>
455
+ </td>
456
+ </tr>
457
+ <tr>
458
+ <td class="title"><label for="ga_event_affiliates"><?php _e("Affiliates Regex:", 'ga-dash'); ?></label></td>
459
+ <td><input type="text" id="ga_event_affiliates" name="options[ga_event_affiliates]" value="<?php echo esc_attr($options['ga_event_affiliates']); ?>" size="50"></td>
460
+ </tr>
461
+ <tr>
462
+ <td colspan="2" class="title">
463
+ <div class="onoffswitch">
464
+ <input type="checkbox" name="options[ga_hash_tracking]" value="1" class="onoffswitch-checkbox" id="ga_hash_tracking" <?php checked( $options['ga_hash_tracking'], 1 ); ?>> <label class="onoffswitch-label" for="ga_hash_tracking">
465
+ <div class="onoffswitch-inner"></div>
466
+ <div class="onoffswitch-switch"></div>
467
+ </label>
468
+ </div>
469
+ <div class="switch-desc"><?php echo " ".__("track fragment identifiers, hashmarks (#) in URI links", 'ga-dash' ); ?></div>
470
+ </td>
471
+ </tr>
472
+ </table>
473
+ </div>
474
+ <div id="gadwp-custom">
475
+ <table class="options">
476
+ <tr>
477
+ <td colspan="2"><?php echo "<h2>" . __( "Custom Definitions", 'ga-dash' ) . "</h2>"; ?></td>
478
+ </tr>
479
+ <tr>
480
+ <td class="title"><label for="ga_author_dimindex"><?php _e("Authors:", 'ga-dash' ); ?></label></td>
481
+ <td><select id="ga_author_dimindex" name="options[ga_author_dimindex]">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  <?php for ($i=0;$i<21;$i++){?>
483
+ <option value="<?php echo $i;?>" <?php selected( $options['ga_author_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
484
+ <?php }?>
 
485
  </select></td>
486
+ </tr>
487
+ <tr>
488
+ <td class="title"><label for="ga_pubyear_dimindex"><?php _e("Publication Year:", 'ga-dash' ); ?></label></td>
489
+ <td><select id="ga_pubyear_dimindex" name="options[ga_pubyear_dimindex]">
 
490
  <?php for ($i=0;$i<21;$i++){?>
491
+ <option value="<?php echo $i;?>" <?php selected( $options['ga_pubyear_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
492
+ <?php }?>
 
493
  </select></td>
494
+ </tr>
495
+ <tr>
496
+ <td class="title"><label for="ga_category_dimindex"><?php _e("Categories:", 'ga-dash' ); ?></label></td>
497
+ <td><select id="ga_category_dimindex" name="options[ga_category_dimindex]">
 
498
  <?php for ($i=0;$i<21;$i++){?>
499
+ <option value="<?php echo $i;?>" <?php selected( $options['ga_category_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
500
+ <?php }?>
 
501
  </select></td>
502
+ </tr>
503
+ <tr>
504
+ <td class="title"><label for="ga_user_dimindex"><?php _e("User Type:", 'ga-dash' ); ?></label></td>
505
+ <td><select id="ga_user_dimindex" name="options[ga_user_dimindex]">
 
506
  <?php for ($i=0;$i<21;$i++){?>
507
+ <option value="<?php echo $i;?>" <?php selected( $options['ga_user_dimindex'], $i ); ?>><?php echo $i==0?'Disabled':'dimension '.$i; ?></option>
508
+ <?php }?>
 
509
  </select></td>
510
+ </tr>
511
+ </table>
512
+ </div>
513
+ <div id="gadwp-advanced">
514
+ <table class="options">
515
+ <tr>
516
+ <td colspan="2"><?php echo "<h2>" . __( "Advanced Tracking", 'ga-dash' ) . "</h2>"; ?></td>
517
+ </tr>
518
+ <tr>
519
+ <td class="title"><label for="ga_speed_samplerate"><?php _e("Page Speed SR:", 'ga-dash'); ?></label></td>
520
+ <td><input type="number" id="ga_speed_samplerate" name="options[ga_speed_samplerate]" value="<?php echo (int)($options['ga_speed_samplerate']); ?>" max="100" min="1"> %</td>
521
+ </tr>
522
+ <tr>
523
+ <td colspan="2" class="title">
524
+ <div class="onoffswitch">
525
+ <input type="checkbox" name="options[ga_event_bouncerate]" value="1" class="onoffswitch-checkbox" id="ga_event_bouncerate" <?php checked( $options['ga_event_bouncerate'], 1 ); ?>> <label class="onoffswitch-label" for="ga_event_bouncerate">
526
+ <div class="onoffswitch-inner"></div>
527
+ <div class="onoffswitch-switch"></div>
528
+ </label>
529
+ </div>
530
+ <div class="switch-desc"><?php echo " ".__("exclude events from bounce-rate calculation", 'ga-dash' );?></div>
531
+ </td>
532
+ </tr>
533
+ <tr>
534
+ <td colspan="2" class="title">
535
+ <div class="onoffswitch">
536
+ <input type="checkbox" name="options[ga_enhanced_links]" value="1" class="onoffswitch-checkbox" id="ga_enhanced_links" <?php checked( $options['ga_enhanced_links'], 1 ); ?>> <label class="onoffswitch-label" for="ga_enhanced_links">
537
+ <div class="onoffswitch-inner"></div>
538
+ <div class="onoffswitch-switch"></div>
539
+ </label>
540
+ </div>
541
+ <div class="switch-desc"><?php echo " ".__("enable enhanced link attribution", 'ga-dash' );?></div>
542
+ </td>
543
+ </tr>
544
+ <tr>
545
+ <td colspan="2" class="title">
546
+ <div class="onoffswitch">
547
+ <input type="checkbox" name="options[ga_dash_adsense]" value="1" class="onoffswitch-checkbox" id="ga_dash_adsense" <?php checked( $options['ga_dash_adsense'], 1 ); ?>> <label class="onoffswitch-label" for="ga_dash_adsense">
548
+ <div class="onoffswitch-inner"></div>
549
+ <div class="onoffswitch-switch"></div>
550
+ </label>
551
+ </div>
552
+ <div class="switch-desc"><?php echo " ".__("enable AdSense account linking", 'ga-dash' );?></div>
553
+ </td>
554
+ </tr>
555
+ <tr>
556
+ <td colspan="2" class="title">
557
+ <div class="onoffswitch">
558
+ <input type="checkbox" name="options[ga_crossdomain_tracking]" value="1" class="onoffswitch-checkbox" id="ga_crossdomain_tracking" <?php checked( $options['ga_crossdomain_tracking'], 1 ); ?>> <label class="onoffswitch-label" for="ga_crossdomain_tracking">
559
+ <div class="onoffswitch-inner"></div>
560
+ <div class="onoffswitch-switch"></div>
561
+ </label>
562
+ </div>
563
+ <div class="switch-desc"><?php echo " ".__("enable cross domain tracking", 'ga-dash' ); ?></div>
564
+ </td>
565
+ </tr>
566
+ <tr>
567
+ <td class="title"><label for="ga_crossdomain_list"><?php _e("Cross Domains:", 'ga-dash'); ?></label></td>
568
+ <td><input type="text" id="ga_crossdomain_list" name="options[ga_crossdomain_list]" value="<?php echo esc_attr($options['ga_crossdomain_list']); ?>" size="50"></td>
569
+ </tr>
570
+ </table>
571
+ </div>
572
+ <div id="gadwp-exclude">
573
+ <table class="options">
574
+ <tr>
575
+ <td colspan="2"><?php echo "<h2>" . __( "Exclude Tracking", 'ga-dash' ) . "</h2>"; ?></td>
576
+ </tr>
577
+ <tr>
578
+ <td class="roles title"><label for="ga_track_exclude"><?php _e("Exclude tracking for:", 'ga-dash' ); ?></label></td>
579
+ <td class="roles">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
580
  <?php
581
+ if (! isset($wp_roles)) {
582
+ $wp_roles = new WP_Roles();
583
+ }
584
+ $i = 0;
585
+ ?> <table>
586
+ <tr>
587
  <?php
588
+ foreach ($wp_roles->role_names as $role => $name) {
589
+ $i ++;
590
+ ?>
591
+ <td><label> <input type="checkbox" name="options[ga_track_exclude][]" value="<?php echo $role; ?>" <?php if (in_array($role,$options['ga_track_exclude'])) echo 'checked="checked"'; ?> />
 
 
 
592
  <?php echo $name; ?>
593
  </label></td>
594
  <?php
595
+ if ($i % 4 == 0) {
596
+ ?>
597
  </tr>
598
+ <tr>
599
  <?php
600
+ }
601
+ }
602
+ ?>
603
+
604
+
605
+
606
+
607
+ </table>
608
+ </td>
609
+ </tr>
610
+ </table>
611
+ </div>
612
+ <table class="options">
613
+ <tr>
614
+ <td colspan="2"><hr></td>
615
+ </tr>
616
+ <tr>
617
+ <td colspan="2" class="submit"><input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
618
+ </tr>
619
+ </table>
620
+ <input type="hidden" name="options[ga_dash_hidden]" value="Y">
621
+ <?php wp_nonce_field('gadash_form','gadash_security'); ?>
 
622
 
623
+ </form>
624
+ <?php
625
+ self::output_sidebar();
 
 
 
 
 
 
 
626
  }
627
+
628
+ public static function errors_debugging()
629
+ {
630
+ global $wp_version;
631
+
632
+ $gadwp = GADWP();
633
+
634
+ if (! current_user_can('manage_options')) {
635
+ return;
636
+ }
637
+
638
+ $anonim = $gadwp->config->options;
639
+ $anonim['wp_version'] = $wp_version;
640
+ $anonim['gadwp_version'] = GADWP_CURRENT_VERSION;
641
+ if ($anonim['ga_dash_token']) {
642
+ $anonim['ga_dash_token'] = 'HIDDEN';
643
+ }
644
+ if ($anonim['ga_dash_refresh_token']) {
645
+ $anonim['ga_dash_refresh_token'] = 'HIDDEN';
646
+ }
647
+ if ($anonim['ga_dash_clientid']) {
648
+ $anonim['ga_dash_clientid'] = 'HIDDEN';
649
+ }
650
+ if ($anonim['ga_dash_clientsecret']) {
651
+ $anonim['ga_dash_clientsecret'] = 'HIDDEN';
652
+ }
653
+ if ($anonim['ga_dash_apikey']) {
654
+ $anonim['ga_dash_apikey'] = 'HIDDEN';
655
+ }
656
+
657
+ $options = self::update_options('frontend');
658
+ if (! $gadwp->config->options['ga_dash_tableid_jail'] || ! $gadwp->config->options['ga_dash_token']) {
659
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
660
+ }
661
+ ?>
662
  <div class="wrap">
663
  <?php echo "<h2>" . __( "Google Analytics Errors & Debugging", 'ga-dash' ) . "</h2>"; ?>
664
  </div>
665
  <div id="poststuff">
666
+ <div id="post-body" class="metabox-holder columns-2">
667
+ <div id="post-body-content">
668
+ <div class="settings-wrapper">
669
+ <div class="inside">
670
  <?php if (isset($message)) echo $message; ?>
671
  <?php
672
+ $tabs = array(
673
+ 'errors' => __("Errors & Details", 'ga-dash'),
674
+ 'config' => __("Plugin Settings", 'ga-dash')
675
+ );
676
+ self::navigation_tabs($tabs);
677
+ ?>
678
  <div id="gadwp-errors">
679
+ <table class="options">
680
+ <tr>
681
+ <td>
682
+ <?php printf(__('For errors and/or other issues please check %s and related tutorials.', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=errors_screen&utm_campaign=gadwp', __('this documentation page', 'ga-dash')))?>
683
  </td>
684
+ </tr>
685
+ <tr>
686
+ <td>
687
+ <?php echo "<h2>" . __( "Last Error detected", 'ga-dash' ) . "</h2>"; ?>
688
+ </td>
689
+ </tr>
690
+ <tr>
691
+ <td>
692
  <?php
693
+ $errors = esc_html(print_r(get_transient('ga_dash_lasterror'), true)) ? esc_html(print_r(get_transient('ga_dash_lasterror'), true)) : __("None", 'ga-dash');
694
+ echo '<pre class="log_data">Last Error: ';
695
+ echo $errors;
696
+ ?></pre>
697
+ </td>
698
+ </tr>
699
+ <tr>
700
+ <td colspan="2"><hr><?php echo "<h2>" . __( "Error Details", 'ga-dash' ) . "</h2>"; ?></td>
701
+ </tr>
702
+ <tr>
703
+ <td>
704
  <?php
705
+ echo '<pre class="log_data">Error Details: ';
706
+ $error_details = esc_html(print_r(get_transient('ga_dash_gapi_errors'), true)) ? "\n" . esc_html(print_r(get_transient('ga_dash_gapi_errors'), true)) : __("None", 'ga-dash');
707
+ echo $error_details;
708
+ ?></pre><br />
709
+ <hr>
710
+ </td>
711
+
712
+
713
+ <tr>
714
+
715
+ </table>
716
+ </div>
717
+ <div id="gadwp-config">
718
+ <table class="options">
719
+ <tr>
720
+ <td><?php echo "<h2>" . __( "Plugin Configuration", 'ga-dash' ) . "</h2>"; ?></td>
721
+ </tr>
722
+ <tr>
723
+ <td><pre class="log_data"><?php echo esc_html(print_r($anonim, true));?></pre><br />
724
+ <hr></td>
725
+ </tr>
726
+ </table>
727
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
728
  <?php
729
+ self::output_sidebar();
 
 
 
 
 
 
 
 
 
730
  }
731
+
732
+ public static function general_settings()
733
+ {
734
+ $gadwp = GADWP();
735
+
736
+ global $wp_version;
737
+
738
+ if (! current_user_can('manage_options')) {
739
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
740
  }
741
+ $options = self::update_options('general');
742
+ printf('<div id="gapi-warning" class="updated"><p>%1$s <a href="https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=general_screen&utm_campaign=gadwp">%2$s</a></p></div>', __('Loading the required libraries. If this results in a blank screen or a fatal error, try this solution:', "ga-dash"), __('Library conflicts between WordPress plugins', "ga-dash"));
743
+ if (null === $gadwp->gapi_controller) {
744
+ $gadwp->gapi_controller = new GADWP_GAPI_Controller();
 
 
 
 
 
 
 
 
 
 
 
 
745
  }
746
+ echo '<script type="text/javascript">jQuery("#gapi-warning").hide()</script>';
747
+ if (isset($_POST['ga_dash_code'])) {
748
+ if (! stripos('x' . $_POST['ga_dash_code'], 'UA-', 1) == 1) {
749
+ try {
750
+ $gadwp->gapi_controller->client->authenticate($_POST['ga_dash_code']);
751
+ $gadwp->config->options['ga_dash_token'] = $gadwp->gapi_controller->client->getAccessToken();
752
+ $google_token = json_decode($gadwp->gapi_controller->client->getAccessToken());
753
+ $gadwp->config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
754
+ $gadwp->config->set_plugin_options();
755
+ $options = self::update_options('general');
756
+ $message = "<div class='updated'><p>" . __("Plugin authorization succeeded.", 'ga-dash') . "</p></div>";
757
+ delete_transient('ga_dash_gapi_errors');
758
+ delete_transient('ga_dash_lasterror');
759
+ } catch (Google_IO_Exception $e) {
760
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $gadwp->gapi_controller->error_timeout);
761
+ return false;
762
+ } catch (Google_Service_Exception $e) {
763
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $gadwp->gapi_controller->error_timeout);
764
+ set_transient('ga_dash_gapi_errors', $e->getErrors(), $gadwp->gapi_controller->error_timeout);
765
+ return $e->getCode();
766
+ } catch (Exception $e) {
767
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e) . "\nResponseHttpCode:" . $e->getCode(), $gadwp->gapi_controller->error_timeout);
768
+ $gadwp->gapi_controller->reset_token(false);
769
+ }
770
+ } else {
771
+ $message = "<div class='error'><p>" . __("The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> (UA-XXXXX-X). Try again, and use the red link to get your access code", 'ga-dash') . ".</p></div>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
772
  }
 
 
 
773
  }
774
+ if ($gadwp->config->options['ga_dash_token'] && $gadwp->gapi_controller->client->getAccessToken()) {
775
+ if ($gadwp->config->options['ga_dash_profile_list']) {
776
+ $profiles = $gadwp->config->options['ga_dash_profile_list'];
777
+ } else {
778
+ $profiles = $gadwp->gapi_controller->refresh_profiles();
779
+ }
780
+ if ($profiles) {
781
+ $gadwp->config->options['ga_dash_profile_list'] = $profiles;
782
+ if (! $gadwp->config->options['ga_dash_tableid_jail']) {
783
+ $profile = GADWP_Tools::guess_default_domain($profiles);
784
+ $gadwp->config->options['ga_dash_tableid_jail'] = $profile;
785
+ $gadwp->config->options['ga_dash_tableid'] = $profile;
786
+ }
787
+ $gadwp->config->set_plugin_options();
788
+ $options = self::update_options('general');
789
+ }
790
+ }
791
+ if (isset($_POST['Clear'])) {
792
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
793
+ GADWP_Tools::clear_cache();
794
+ $message = "<div class='updated'><p>" . __("Cleared Cache.", 'ga-dash') . "</p></div>";
795
+ } else {
796
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
797
+ }
798
+ }
799
+ if (isset($_POST['Reset'])) {
800
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
801
+ $gadwp->gapi_controller->reset_token(true);
802
+ GADWP_Tools::clear_cache();
803
+ $message = "<div class='updated'><p>" . __("Token Reseted and Revoked.", 'ga-dash') . "</p></div>";
804
+ $options = self::update_options('Reset');
805
+ } else {
806
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
807
+ }
808
+ }
809
+ if (isset($_POST['Reset_Err'])) {
810
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
811
+ delete_transient('ga_dash_lasterror');
812
+ delete_transient('ga_dash_gapi_errors');
813
+ $message = "<div class='updated'><p>" . __("All errors reseted.", 'ga-dash') . "</p></div>";
814
+ } else {
815
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
816
+ }
817
+ }
818
+ if (isset($_POST['options']['ga_dash_hidden']) && ! isset($_POST['Clear']) && ! isset($_POST['Reset']) && ! isset($_POST['Reset_Err'])) {
819
+ $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
820
+ if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
821
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
822
+ }
823
+ }
824
+ if (isset($_POST['Hide'])) {
825
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
826
+ $message = "<div class='updated'><p>" . __("All other domains/properties were removed.", 'ga-dash') . "</p></div>";
827
+ $lock_profile = GADWP_Tools::get_selected_profile($gadwp->config->options['ga_dash_profile_list'], $gadwp->config->options['ga_dash_tableid_jail']);
828
+ $gadwp->config->options['ga_dash_profile_list'] = array(
829
+ $lock_profile
830
+ );
831
+ $options = self::update_options('general');
832
+ } else {
833
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
834
+ }
835
  }
836
  ?>
837
+ <div class="wrap">
838
+ <?php echo "<h2>" . __( "Google Analytics Settings", 'ga-dash' ) . "</h2>"; ?>
839
+ <hr>
840
+ </div>
841
+ <div id="poststuff">
842
+ <div id="post-body" class="metabox-holder columns-2">
843
+ <div id="post-body-content">
844
+ <div class="settings-wrapper">
845
+ <div class="inside">
846
+ if ($gadwp->gapi_controller->gapi_errors_handler()) {
847
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
848
+ }
849
+ if (isset($_POST['Authorize'])) {
850
+ GADWP_Tools::clear_cache();
851
+ $gadwp->gapi_controller->token_request();
852
+ echo "<div class='updated'><p>" . __("Use the red link (see below) to generate and get your access code!", 'ga-dash') . "</p></div>";
853
+ } else {
854
+ if (isset($message))
855
+ echo $message;
856
+ ?>
857
+ <form name="ga_dash_form" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
858
+ <input type="hidden" name="options[ga_dash_hidden]" value="Y">
859
+ <?php wp_nonce_field('gadash_form','gadash_security'); ?>
860
+ <table class="options">
861
+ <tr>
862
+ <td colspan="2">
863
+ <?php echo "<h2>" . __( "Plugin Authorization", 'ga-dash' ) . "</h2>";?>
864
+ </td>
865
+ </tr>
866
+ <tr>
867
+ <td colspan="2" class="info">
868
+ <?php printf(__('You should watch the %1$s and read this %2$s before proceeding to authorization. This plugin requires a properly configured Google Analytics account!', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_video&utm_campaign=gadwp', __("video", 'ga-dash')), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_tutorial&utm_campaign=gadwp', __("tutorial", 'ga-dash')));?>
869
+ </td>
870
+ </tr>
871
+ <?php if (! $options['ga_dash_token'] || $options['ga_dash_userapi']) {?>
872
+ <tr>
873
+ <td colspan="2" class="info"><input name="options[ga_dash_userapi]" type="checkbox" id="ga_dash_userapi" value="1" <?php checked( $options['ga_dash_userapi'], 1 ); ?> onchange="this.form.submit()" <?php echo ($options['ga_dash_network'])?'disabled="disabled"':''; ?> /><?php echo " ".__("use your own API Project credentials", 'ga-dash' );?>
874
+ </td>
875
+ </tr>
876
  <?php } if ($options['ga_dash_userapi']) { ?>
877
+ <tr>
878
+ <td class="title"><label for="options[ga_dash_apikey]"><?php _e("API Key:", 'ga-dash'); ?></label></td>
879
+ <td><input type="text" name="options[ga_dash_apikey]" value="<?php echo esc_attr($options['ga_dash_apikey']); ?>" size="40" required="required"></td>
880
+ </tr>
881
+ <tr>
882
+ <td class="title"><label for="options[ga_dash_clientid]"><?php _e("Client ID:", 'ga-dash'); ?></label></td>
883
+ <td><input type="text" name="options[ga_dash_clientid]" value="<?php echo esc_attr($options['ga_dash_clientid']); ?>" size="40" required="required"></td>
884
+ </tr>
885
+ <tr>
886
+ <td class="title"><label for="options[ga_dash_clientsecret]"><?php _e("Client Secret:", 'ga-dash'); ?></label></td>
887
+ <td><input type="text" name="options[ga_dash_clientsecret]" value="<?php echo esc_attr($options['ga_dash_clientsecret']); ?>" size="40" required="required"> <input type="hidden" name="options[ga_dash_hidden]" value="Y">
888
+ <?php wp_nonce_field('gadash_form','gadash_security'); ?>
889
+ </td>
890
+ </tr>
891
+ <?php
892
+ }
893
+ if ($options['ga_dash_token']) {
894
+ ?>
895
+ <tr>
896
+ <td colspan="2"><input type="submit" name="Reset" class="button button-secondary" value="<?php _e( "Clear Authorization", 'ga-dash' ); ?>" <?php echo $options['ga_dash_network']?'disabled="disabled"':''; ?> /> <input type="submit" name="Clear" class="button button-secondary" value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /> <input type="submit" name="Reset_Err" class="button button-secondary" value="<?php _e( "Reset Errors", 'ga-dash' ); ?>" /></td>
897
+ </tr>
898
+ <tr>
899
+ <td colspan="2"><hr></td>
900
+ </tr>
901
+ <tr>
902
+ <td colspan="2"><?php echo "<h2>" . __( "General Settings", 'ga-dash' ) . "</h2>"; ?></td>
903
+ </tr>
904
+ <tr>
905
+ <td class="title"><label for="ga_dash_tableid_jail"><?php _e("Select Domain:", 'ga-dash' ); ?></label></td>
906
+ <td><select id="ga_dash_tableid_jail" <?php disabled(is_array($options['ga_dash_profile_list']), false); ?> name="options[ga_dash_tableid_jail]">
907
+ <?php
908
+ if (is_array($options['ga_dash_profile_list'])) {
909
+ foreach ($options['ga_dash_profile_list'] as $items) {
910
+ if ($items[3]) {
911
+ echo '<option value="' . esc_attr($items[1]) . '" ' . selected($items[1], $options['ga_dash_tableid_jail']);
912
+ echo ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($items[0]) . '">' . esc_html(GADWP_Tools::strip_protocol($items[3])) . ' &#8658; ' . esc_attr($items[0]) . '</option>';
913
+ }
914
+ }
915
+ } else {
916
+ echo '<option value="">' . __("Property not found", 'ga-dash') . '</option>';
917
+ }
918
+ ?>
919
+ </select>
920
  <?php
921
+ if (count($options['ga_dash_profile_list']) > 1) {
922
+ _e("and/or hide all other domains", 'ga-dash');
923
+ ?><input type="submit" name="Hide" class="button button-secondary" value="<?php _e( "Hide Now", 'ga-dash' ); ?>" /><?php
924
+ }
925
+ ?>
926
+ </td>
927
+ </tr>
928
  <?php
929
+ if ($options['ga_dash_tableid_jail']) {
930
+ ?>
931
  <tr>
932
+ <td class="title"></td>
933
+ <td><?php
934
+ $profile_info = GADWP_Tools::get_selected_profile($gadwp->config->options['ga_dash_profile_list'], $gadwp->config->options['ga_dash_tableid_jail']);
935
+ echo '<pre>' . __("View Name:", 'ga-dash') . "\t" . esc_html($profile_info[0]) . "<br />" . __("Tracking ID:", 'ga-dash') . "\t" . esc_html($profile_info[2]) . "<br />" . __("Default URL:", 'ga-dash') . "\t" . esc_html($profile_info[3]) . "<br />" . __("Time Zone:", 'ga-dash') . "\t" . esc_html($profile_info[5]) . '</pre>';
936
+ ?></td>
937
+ </tr>
938
  <?php
939
+ }
940
+ ?>
941
+ <td class="title"><label for="ga_dash_style"><?php _e("Theme Color:", 'ga-dash' ); ?></label></td>
942
+ <td><input type="text" id="ga_dash_style" class="ga_dash_style" name="options[ga_dash_style]" value="<?php echo esc_attr($options['ga_dash_style']); ?>" size="10"></td>
943
+ </tr>
944
+ <tr>
945
+ <td colspan="2"><hr></td>
946
+ </tr>
947
+ <?php if ( !is_multisite()) {?>
 
 
 
948
  <tr>
949
+ <td colspan="2"><?php echo "<h2>" . __( "Automatic Updates", 'ga-dash' ) . "</h2>"; ?></td>
950
+ </tr>
951
+ <tr>
952
+ <td colspan="2" class="title">
953
+ <div class="onoffswitch">
954
+ <input type="checkbox" name="options[automatic_updates_minorversion]" value="1" class="onoffswitch-checkbox" id="automatic_updates_minorversion" <?php checked( $options['automatic_updates_minorversion'], 1 ); ?>> <label class="onoffswitch-label" for="automatic_updates_minorversion">
955
+ <div class="onoffswitch-inner"></div>
956
+ <div class="onoffswitch-switch"></div>
957
+ </label>
958
+ </div>
959
+ <div class="switch-desc"><?php echo " ".__( "automatic updates for minor versions (security and maintenance releases only)", 'ga-dash' );?></div>
960
+ </td>
961
+ </tr>
962
  <tr>
963
+ <td colspan="2"><hr></td>
964
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
965
  <?php }?>
966
+ <tr>
967
+ <td colspan="2" class="submit"><input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
968
+ </tr>
969
+ <tr>
970
+ <td colspan="2"><hr></td>
971
+ </tr>
972
+ <tr>
973
+ <td colspan="2"><input type="submit" name="Authorize" class="button button-secondary" id="authorize" value="<?php _e( "Authorize Plugin", 'ga-dash' ); ?>" <?php echo $options['ga_dash_network']?'disabled="disabled"':''; ?> /> <input type="submit" name="Clear" class="button button-secondary" value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /></td>
974
+ </tr>
975
+ <tr>
976
+ <td colspan="2"><hr></td>
977
+ </tr>
978
+ </table>
979
+ </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
980
  <?php
981
+ self::output_sidebar();
982
+ return;
983
+ }
984
+ ?>
985
+ </form>
986
+ }
987
  self::output_sidebar();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
988
  }
989
+ // Network Settings
990
+ public static function general_settings_network()
991
+ {
992
+ $gadwp = GADWP();
993
+ global $wp_version;
994
+
995
+ if (! current_user_can('manage_network_options')) {
996
+ return;
997
+ }
998
+ $options = self::update_options('network');
999
+ /*
1000
+ * Include GAPI
1001
+ */
1002
+ echo '<div id="gapi-warning" class="updated"><p>' . __('Loading the required libraries. If this results in a blank screen or a fatal error, try this solution:', "ga-dash") . ' <a href="https://deconf.com/error-codes-in-google-analytics-dashboard-for-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=general_screen&utm_campaign=gadwp">Library conflicts between WordPress plugins</a></p></div>';
1003
+
1004
+ if (null === $gadwp->gapi_controller) {
1005
+ $gadwp->gapi_controller = new GADWP_GAPI_Controller();
1006
+ }
1007
+
1008
+ echo '<script type="text/javascript">jQuery("#gapi-warning").hide()</script>';
1009
+ if (isset($_POST['ga_dash_code'])) {
1010
+ if (! stripos('x' . $_POST['ga_dash_code'], 'UA-', 1) == 1) {
1011
+ try {
1012
+ $gadwp->gapi_controller->client->authenticate($_POST['ga_dash_code']);
1013
+ $gadwp->config->options['ga_dash_token'] = $gadwp->gapi_controller->client->getAccessToken();
1014
+ $google_token = json_decode($gadwp->gapi_controller->client->getAccessToken());
1015
+ $gadwp->config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
1016
+ $gadwp->config->set_plugin_options(true);
1017
+ $options = self::update_options('network');
1018
+ $message = "<div class='updated'><p>" . __("Plugin authorization succeeded.", 'ga-dash') . "</p></div>";
1019
+ if (is_multisite()) { // Cleanup errors on the entire network
1020
+ foreach (wp_get_sites(array(
1021
+ 'limit' => apply_filters('gadwp_sites_limit', 100)
1022
+ )) as $blog) {
1023
+ switch_to_blog($blog['blog_id']);
1024
+ delete_transient('ga_dash_gapi_errors');
1025
+ restore_current_blog();
1026
+ }
1027
+ } else {
1028
+ delete_transient('ga_dash_gapi_errors');
1029
+ }
1030
+ } catch (Google_IO_Exception $e) {
1031
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $gadwp->gapi_controller->error_timeout);
1032
+ return false;
1033
+ } catch (Google_Service_Exception $e) {
1034
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $gadwp->gapi_controller->error_timeout);
1035
+ set_transient('ga_dash_gapi_errors', $e->getErrors(), $gadwp->gapi_controller->error_timeout);
1036
+ return $e->getCode();
1037
+ } catch (Exception $e) {
1038
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e) . "\nResponseHttpCode:" . $e->getCode(), $gadwp->gapi_controller->error_timeout);
1039
+ $gadwp->gapi_controller->reset_token(false);
1040
+ }
1041
+ } else {
1042
+ $message = "<div class='error'><p>" . __("The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> (UA-XXXXX-X). Try again, and use the red link to get your access code", 'ga-dash') . ".</p></div>";
1043
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1044
  }
1045
+ if (isset($_POST['Refresh'])) {
1046
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1047
+ $gadwp->config->options['ga_dash_profile_list'] = '';
1048
+ $message = "<div class='updated'><p>" . __("Properties refreshed.", 'ga-dash') . "</p></div>";
1049
+ $options = self::update_options('network');
1050
+ } else {
1051
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1052
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1053
  }
1054
+ if ($gadwp->config->options['ga_dash_token'] && $gadwp->gapi_controller->client->getAccessToken()) {
1055
+ if ($gadwp->config->options['ga_dash_profile_list']) {
1056
+ $profiles = $gadwp->config->options['ga_dash_profile_list'];
1057
+ } else {
1058
+ $profiles = $gadwp->gapi_controller->refresh_profiles();
1059
+ }
1060
+ if ($profiles) {
1061
+ $gadwp->config->options['ga_dash_profile_list'] = $profiles;
1062
+ if (isset($gadwp->config->options['ga_dash_tableid_jail']) && ! $gadwp->config->options['ga_dash_tableid_jail']) {
1063
+ $profile = GADWP_Tools::guess_default_domain($profiles);
1064
+ $gadwp->config->options['ga_dash_tableid_jail'] = $profile;
1065
+ $gadwp->config->options['ga_dash_tableid'] = $profile;
1066
+ }
1067
+ $gadwp->config->set_plugin_options(true);
1068
+ $options = self::update_options('network');
1069
+ }
1070
+ }
1071
+ if (isset($_POST['Clear'])) {
1072
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1073
+ GADWP_Tools::clear_cache();
1074
+ $message = "<div class='updated'><p>" . __("Cleared Cache.", 'ga-dash') . "</p></div>";
1075
+ } else {
1076
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1077
+ }
1078
+ }
1079
+ if (isset($_POST['Reset'])) {
1080
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1081
+ $gadwp->gapi_controller->reset_token(true);
1082
+ GADWP_Tools::clear_cache();
1083
+ $message = "<div class='updated'><p>" . __("Token Reseted and Revoked.", 'ga-dash') . "</p></div>";
1084
+ $options = self::update_options('Reset');
1085
+ } else {
1086
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1087
+ }
1088
+ }
1089
+ if (isset($_POST['options']['ga_dash_hidden']) && ! isset($_POST['Clear']) && ! isset($_POST['Reset']) && ! isset($_POST['Refresh'])) {
1090
+ $message = "<div class='updated'><p>" . __("Settings saved.", 'ga-dash') . "</p></div>";
1091
+ if (! (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form'))) {
1092
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1093
+ }
1094
+ }
1095
+ if (isset($_POST['Hide'])) {
1096
+ if (isset($_POST['gadash_security']) && wp_verify_nonce($_POST['gadash_security'], 'gadash_form')) {
1097
+ $message = "<div class='updated'><p>" . __("All other domains/properties were removed.", 'ga-dash') . "</p></div>";
1098
+ $lock_profile = GADWP_Tools::get_selected_profile($gadwp->config->options['ga_dash_profile_list'], $gadwp->config->options['ga_dash_tableid_jail']);
1099
+ $gadwp->config->options['ga_dash_profile_list'] = array(
1100
+ $lock_profile
1101
+ );
1102
+ $options = self::update_options('network');
1103
+ } else {
1104
+ $message = "<div class='error'><p>" . __("Cheating Huh?", 'ga-dash') . "</p></div>";
1105
+ }
1106
+ }
1107
+ ?>
1108
  <div class="wrap">
1109
  <?php echo "<h2>" . __( "Google Analytics Settings", 'ga-dash' ) . "</h2>"; ?><hr>
1110
+ </div>
1111
+ <div id="poststuff">
1112
+ <div id="post-body" class="metabox-holder columns-2">
1113
+ <div id="post-body-content">
1114
+ <div class="settings-wrapper">
1115
+ <div class="inside">
1116
+ if ($gadwp->gapi_controller->gapi_errors_handler()) {
1117
+ $message = sprintf('<div class="error"><p>%s</p></div>', sprintf(__('Something went wrong, check %1$s or %2$s.', 'ga-dash'), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_errors_debugging', false), __('Errors & Debug', 'ga-dash')), sprintf('<a href="%1$s">%2$s</a>', menu_page_url('gadash_settings', false), __('authorize the plugin', 'ga-dash'))));
1118
+ }
1119
+ if (isset($_POST['Authorize'])) {
1120
+ GADWP_Tools::clear_cache();
1121
+ $gadwp->gapi_controller->token_request();
1122
+ echo "<div class='updated'><p>" . __("Use the red link (see below) to generate and get your access code!", 'ga-dash') . "</p></div>";
1123
+ } else {
1124
+ if (isset($message))
1125
+ echo $message;
1126
+ ?>
1127
+ <form name="ga_dash_form" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">
1128
+ <input type="hidden" name="options[ga_dash_hidden]" value="Y">
 
 
1129
  <?php wp_nonce_field('gadash_form','gadash_security'); ?>
1130
  <table class="options">
1131
+ <tr>
1132
+ <td colspan="2"><?php echo "<h2>" . __( "Network Setup", 'ga-dash' ) . "</h2>"; ?></td>
1133
+ </tr>
1134
+ <tr>
1135
+ <td colspan="2" class="title">
1136
+ <div class="onoffswitch">
1137
+ <input type="checkbox" name="options[ga_dash_network]" value="1" class="onoffswitch-checkbox" id="ga_dash_network" <?php checked( $options['ga_dash_network'], 1); ?> onchange="this.form.submit()"> <label class="onoffswitch-label" for="ga_dash_network">
1138
+ <div class="onoffswitch-inner"></div>
1139
+ <div class="onoffswitch-switch"></div>
1140
+ </label>
1141
+ </div>
1142
+ <div class="switch-desc"><?php echo " ".__("use a single Google Analytics account for the entire network", 'ga-dash' );?></div>
1143
+ </td>
1144
+ </tr>
 
 
 
 
 
1145
  <?php if ($options['ga_dash_network']){ //Network Mode check?>
1146
  <tr>
1147
+ <td colspan="2"><hr></td>
1148
+ </tr>
1149
+ <tr>
1150
+ <td colspan="2"><?php echo "<h2>" . __( "Plugin Authorization", 'ga-dash' ) . "</h2>"; ?></td>
1151
+ </tr>
1152
+ <tr>
1153
+ <td colspan="2" class="info">
1154
+ <?php printf(__('You should watch the %1$s and read this %2$s before proceeding to authorization. This plugin requires a properly configured Google Analytics account!', 'ga-dash'), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_video&utm_campaign=gadwp', __("video", 'ga-dash')), sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=top_tutorial&utm_campaign=gadwp', __("tutorial", 'ga-dash')));?>
1155
+ </td>
1156
+ </tr>
1157
  <?php
1158
+ if (! $options['ga_dash_token'] || $options['ga_dash_userapi']) {
1159
+ ?>
1160
+ <tr>
1161
+ <td colspan="2" class="info"><input name="options[ga_dash_userapi]" type="checkbox" id="ga_dash_userapi" value="1" <?php checked( $options['ga_dash_userapi'], 1 ); ?> onchange="this.form.submit()" /><?php echo " ".__("use your own API Project credentials", 'ga-dash' );?>
1162
+ </td>
1163
+ </tr>
1164
+ }
1165
+ if ($options['ga_dash_userapi']) {
1166
+ ?>
1167
+ <tr>
1168
+ <td class="title"><label for="options[ga_dash_apikey]"><?php _e("API Key:", 'ga-dash'); ?></label></td>
1169
+ <td><input type="text" name="options[ga_dash_apikey]" value="<?php echo esc_attr($options['ga_dash_apikey']); ?>" size="40" required="required"></td>
1170
+ </tr>
1171
+ <tr>
1172
+ <td class="title"><label for="options[ga_dash_clientid]"><?php _e("Client ID:", 'ga-dash'); ?></label></td>
1173
+ <td><input type="text" name="options[ga_dash_clientid]" value="<?php echo esc_attr($options['ga_dash_clientid']); ?>" size="40" required="required"></td>
1174
+ </tr>
1175
+ <tr>
1176
+ <td class="title"><label for="options[ga_dash_clientsecret]"><?php _e("Client Secret:", 'ga-dash'); ?></label></td>
1177
+ <td><input type="text" name="options[ga_dash_clientsecret]" value="<?php echo esc_attr($options['ga_dash_clientsecret']); ?>" size="40" required="required"> <input type="hidden" name="options[ga_dash_hidden]" value="Y">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1178
  <?php wp_nonce_field('gadash_form','gadash_security'); ?>
1179
  </td>
1180
+ </tr>
1181
  <?php
1182
+ }
1183
+ if ($options['ga_dash_token']) {
1184
+ ?>
 
 
1185
  <tr>
1186
+ <td colspan="2"><input type="submit" name="Reset" class="button button-secondary" value="<?php _e( "Clear Authorization", 'ga-dash' ); ?>" /> <input type="submit" name="Clear" class="button button-secondary" value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /> <input type="submit" name="Refresh" class="button button-secondary" value="<?php _e( "Refresh Properties", 'ga-dash' ); ?>" /></td>
1187
+ </tr>
1188
+ <tr>
1189
+ <td colspan="2"><hr></td>
1190
+ </tr>
1191
+ <tr>
1192
+ <td colspan="2"><?php echo "<h2>" . __( "Properties/Views Settings", 'ga-dash' ) . "</h2>"; ?></td>
1193
+ </tr>
 
 
 
 
 
 
 
 
1194
  <?php
1195
+ if (isset($options['ga_dash_tableid_network'])) {
1196
+ $options['ga_dash_tableid_network'] = json_decode(json_encode($options['ga_dash_tableid_network']), false);
1197
+ }
1198
+ foreach (wp_get_sites(array(
1199
+ 'limit' => apply_filters('gadwp_sites_limit', 100)
1200
+ )) as $blog) {
1201
+ ?>
1202
+ <tr>
1203
+ <td class="title-select"><label for="ga_dash_tableid_network"><?php echo '<strong>'.$blog['domain'].$blog['path'].'</strong>: ';?></label></td>
1204
+ <td><select id="ga_dash_tableid_network" <?php disabled(is_array($options['ga_dash_profile_list']),false);?> name="options[ga_dash_tableid_network][<?php echo $blog['blog_id'];?>]">
 
 
 
1205
  <?php
1206
+ if (is_array($options['ga_dash_profile_list'])) {
1207
+ foreach ($options['ga_dash_profile_list'] as $items) {
1208
+ if ($items[3]) {
1209
+ echo '<option value="' . esc_attr($items[1]) . '" ' . selected($items[1], isset($options['ga_dash_tableid_network']->$blog['blog_id']) ? $options['ga_dash_tableid_network']->$blog['blog_id'] : '');
1210
+ echo ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($items[0]) . '">' . esc_html(GADWP_Tools::strip_protocol($items[3])) . ' &#8658; ' . esc_attr($items[0]) . '</option>';
1211
+ }
1212
+ }
1213
+ } else {
1214
+ echo '<option value="">' . __("Property not found", 'ga-dash') . '</option>';
1215
+ }
1216
+ ?>
1217
+ </select> <br /></td>
1218
+ </tr>
1219
  <?php
1220
+ }
1221
+ ?>
1222
  <tr>
1223
+ <td colspan="2"><?php echo "<h2>" . __( "Automatic Updates", 'ga-dash' ) . "</h2>"; ?></td>
1224
+ </tr>
1225
+ <tr>
1226
+ <td colspan="2" class="title">
1227
+ <div class="onoffswitch">
1228
+ <input type="checkbox" name="options[automatic_updates_minorversion]" value="1" class="onoffswitch-checkbox" id="automatic_updates_minorversion" <?php checked( $options['automatic_updates_minorversion'], 1 ); ?>> <label class="onoffswitch-label" for="automatic_updates_minorversion">
1229
+ <div class="onoffswitch-inner"></div>
1230
+ <div class="onoffswitch-switch"></div>
1231
+ </label>
1232
+ </div>
1233
+ <div class="switch-desc"><?php echo " ".__( "automatic updates for minor versions (security and maintenance releases only)", 'ga-dash' );?></div>
1234
+ </td>
1235
+ </tr>
1236
+ <tr>
1237
+ <td colspan="2"><hr><?php echo "<h2>" . __( "Exclude Tracking", 'ga-dash' ) . "</h2>"; ?></td>
1238
+ </tr>
1239
+ <tr>
1240
+ <td colspan="2" class="title">
1241
+ <div class="onoffswitch">
1242
+ <input type="checkbox" name="options[ga_dash_excludesa]" value="1" class="onoffswitch-checkbox" id="ga_dash_excludesa"<?php checked( $options['ga_dash_excludesa'], 1); ?>"> <label class="onoffswitch-label" for="ga_dash_excludesa">
1243
+ <div class="onoffswitch-inner"></div>
1244
+ <div class="onoffswitch-switch"></div>
1245
+ </label>
1246
+ </div>
1247
+ <div class="switch-desc"><?php echo " ".__("exclude Super Admin tracking for the entire network", 'ga-dash' );?></div>
1248
+ </td>
1249
+ </tr>
1250
+ <tr>
1251
+ <td colspan="2"><hr></td>
1252
+ </tr>
1253
+ <tr>
1254
+ <td colspan="2" class="submit"><input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Changes', 'ga-dash' ) ?>" /></td>
1255
+ </tr>
1256
+ } else {
1257
+ ?>
1258
+ <td colspan="2"><hr></td>
1259
+ </tr>
1260
+ <tr>
1261
+ <td colspan="2"><input type="submit" name="Authorize" class="button button-secondary" id="authorize" value="<?php _e( "Authorize Plugin", 'ga-dash' ); ?>" /> <input type="submit" name="Clear" class="button button-secondary" value="<?php _e( "Clear Cache", 'ga-dash' ); ?>" /></td>
1262
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1263
  <?php } //Network Mode check?>
1264
+ <tr>
1265
+ <td colspan="2"><hr></td>
1266
+ </tr>
1267
+ </table>
1268
+ </form>
1269
  <?php
1270
+ self::output_sidebar();
1271
+ return;
1272
+ }
1273
+ ?>
1274
  </table>
1275
+ </form>
1276
  <?php
1277
+ }
1278
+ self::output_sidebar();
1279
  }
 
 
1280
 
1281
+ public static function output_sidebar()
1282
+ {
1283
+ $gadwp = GADWP();
1284
+ ?>
1285
+ </div>
1286
+ </div>
1287
+ </div>
1288
+ <div id="postbox-container-1" class="postbox-container">
1289
+ <div class="meta-box-sortables">
1290
+ <div class="postbox">
1291
+ <h3>
1292
+ <span><?php _e("Setup Tutorial & Demo",'ga-dash') ?></span>
1293
+ </h3>
1294
+ <div class="inside">
1295
+ <a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=video&utm_campaign=gadwp" target="_blank"><img src="<?php echo plugins_url( 'images/google-analytics-dashboard.png' , __FILE__ );?>" width="100%" alt="" /></a>
1296
+ </div>
1297
+ </div>
1298
+ <div class="postbox">
1299
+ <h3>
1300
+ <span><?php _e("Support & Reviews",'ga-dash')?></span>
1301
+ </h3>
1302
+ <div class="inside">
1303
+ <div class="gadash-title">
1304
+ <a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=support&utm_campaign=gadwp"><img src="<?php echo plugins_url( 'images/help.png' , __FILE__ ); ?>" /></a>
1305
+ </div>
1306
+ <div class="gadash-desc">
1307
+ <?php printf(__('Plugin documentation and support on %s', 'ga-dash'), '<a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=support&utm_campaign=gadwp">deconf.com</a>');?>
1308
+ </div>
1309
+ <br />
1310
+ <div class="gadash-title">
1311
+ <a href="http://wordpress.org/support/view/plugin-reviews/google-analytics-dashboard-for-wp#plugin-info"><img src="<?php echo plugins_url( 'images/star.png' , __FILE__ ); ?>" /></a>
1312
+ </div>
1313
+ <div class="gadash-desc">
1314
+ <?php printf(__('Your feedback and review are both important, %s!', 'ga-dash'), sprintf('<a href="http://wordpress.org/support/view/plugin-reviews/google-analytics-dashboard-for-wp#plugin-info">%s</a>', __('rate this plugin', 'ga-dash')));?>
1315
+ </div>
1316
+ </div>
1317
+ </div>
1318
+ <div class="postbox">
1319
+ <h3>
1320
+ <span><?php _e("Further Reading",'ga-dash')?></span>
1321
+ </h3>
1322
+ <div class="inside">
1323
+ <div class="gadash-title">
1324
+ <a href="https://deconf.com/move-website-https-ssl/?utm_source=gadwp_config&utm_medium=link&utm_content=ssl&utm_campaign=gadwp"><img src="<?php echo plugins_url( 'images/ssl.png' , __FILE__ ); ?>" /></a>
1325
+ </div>
1326
+ <div class="gadash-desc">
1327
+ <?php printf(__('%s by moving your website to HTTPS/SSL.', 'ga-dash'), sprintf('<a href="https://deconf.com/move-website-https-ssl/?utm_source=gadwp_config&utm_medium=link&utm_content=ssl&utm_campaign=gadwp">%s</a>', __('Improve search rankings', 'ga-dash')));?>
1328
+ </div>
1329
+ <br />
1330
+ <div class="gadash-title">
1331
+ <a href="https://deconf.com/wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=plugins&utm_campaign=gadwp"><img src="<?php echo plugins_url( 'images/wp.png' , __FILE__ ); ?>" /></a>
1332
+ </div>
1333
+ <div class="gadash-desc">
1334
+ <?php printf(__('Other %s written by the same author', 'ga-dash'), sprintf('<a href="https://deconf.com/wordpress/?utm_source=gadwp_config&utm_medium=link&utm_content=plugins&utm_campaign=gadwp">%s</a>', __('WordPress Plugins', 'ga-dash')));?>
1335
+ </div>
1336
+ </div>
1337
+ </div>
1338
+ <div class="postbox">
1339
+ <h3>
1340
+ <span><?php _e("Other Services",'ga-dash')?></span>
1341
+ </h3>
1342
+ <div class="inside">
1343
+ <div class="gadash-title">
1344
+ <a href="https://deconf.com/wordpress-cdn-speeds-up-your-site/"><img src="<?php echo plugins_url( 'images/mcdn.png' , __FILE__ ); ?>" /></a>
1345
+ </div>
1346
+ <div class="gadash-desc">
1347
+ <?php printf(__('Speed up your website and plug into a whole %s', 'ga-dash'), sprintf('<a href="https://deconf.com/wordpress-cdn-speeds-up-your-site/?utm_source=gadwp_config&utm_medium=link&utm_content=maxcdn&utm_campaign=gadwp">%s</a>.', __('new level of site speed', 'ga-dash')));?>
1348
+ </div>
1349
+ <br />
1350
+ <div class="gadash-title">
1351
+ <a href="https://deconf.com/clicky-web-analytics-review/?utm_source=gadwp_config&utm_medium=link&utm_content=clicky&utm_campaign=gadwp"><img src="<?php echo plugins_url( 'images/clicky.png' , __FILE__ ); ?>" /></a>
1352
+ </div>
1353
+ <div class="gadash-desc">
1354
+ <?php printf(__('%s service with users tracking at IP level.', 'ga-dash'), sprintf('<a href="https://deconf.com/clicky-web-analytics-review/?utm_source=gadwp_config&utm_medium=link&utm_content=clicky&utm_campaign=gadwp">%s</a>', __('Web Analytics', 'ga-dash')));?>
1355
+ </div>
1356
+ </div>
1357
+ </div>
1358
+ </div>
1359
+ </div>
1360
+ </div>
1361
+ </div>
1362
+ <?php }
 
 
 
 
 
1363
  }
admin/setup.php CHANGED
@@ -5,264 +5,268 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Back_Setup')) {
9
 
10
- final class GADASH_Back_Setup
11
- {
 
12
 
13
- function __construct()
14
- {
15
- global $GADASH_Config;
16
- // Styles & Scripts
17
- add_action('admin_enqueue_scripts', array(
18
- $this,
19
- 'load_styles_scripts'
20
- ));
21
- // Site Menu
22
- add_action('admin_menu', array(
23
- $this,
24
- 'site_menu'
25
- ));
26
- // Network Menu
27
- add_action('network_admin_menu', array(
28
- $this,
29
- 'network_menu'
30
- ));
31
- // Settings link
32
- add_filter("plugin_action_links_" . plugin_basename($GADASH_Config->plugin_path) . '/gadwp.php', array(
33
- $this,
34
- 'settings_link'
35
- ));
36
- // Error bubble
37
- add_action('admin_print_scripts', array(
38
- $this,
39
- 'draw_error_bubble'
40
- ), 10000);
41
- }
42
 
43
- /**
44
- * Error bubble for Errors & Debug
45
- */
46
- function draw_error_bubble()
47
  {
48
- $bubble_msg = '!';
49
- if (get_transient('ga_dash_gapi_errors')) {
50
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  <script type="text/javascript">
52
  jQuery(document).ready(function() {
53
  jQuery('#toplevel_page_gadash_settings li > a[href*="page=gadash_errors_debugging"]').append('&nbsp;<span class="awaiting-mod count-1"><span class="pending-count" style="padding:0 7px;"><?php echo $bubble_msg ?></span></span>');
54
  });
55
  </script>
56
  <?php
57
- }
58
- }
59
-
60
- /**
61
- * Add Site Menu
62
- */
63
- function site_menu()
64
- {
65
- global $GADASH_Config;
66
- global $wp_version;
67
- if (current_user_can('manage_options')) {
68
- include ($GADASH_Config->plugin_path . '/admin/settings.php');
69
- add_menu_page(__("Google Analytics", 'ga-dash'), 'Google Analytics', 'manage_options', 'gadash_settings', array(
70
- 'GADASH_Settings',
71
- 'general_settings'
72
- ), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : $GADASH_Config->plugin_url . '/admin/images/gadash-icon.png');
73
- add_submenu_page('gadash_settings', __("General Settings", 'ga-dash'), __("General Settings", 'ga-dash'), 'manage_options', 'gadash_settings', array(
74
- 'GADASH_Settings',
75
- 'general_settings'
76
- ));
77
- add_submenu_page('gadash_settings', __("Backend Settings", 'ga-dash'), __("Backend Settings", 'ga-dash'), 'manage_options', 'gadash_backend_settings', array(
78
- 'GADASH_Settings',
79
- 'backend_settings'
80
- ));
81
- add_submenu_page('gadash_settings', __("Frontend Settings", 'ga-dash'), __("Frontend Settings", 'ga-dash'), 'manage_options', 'gadash_frontend_settings', array(
82
- 'GADASH_Settings',
83
- 'frontend_settings'
84
- ));
85
- add_submenu_page('gadash_settings', __("Tracking Code", 'ga-dash'), __("Tracking Code", 'ga-dash'), 'manage_options', 'gadash_tracking_settings', array(
86
- 'GADASH_Settings',
87
- 'tracking_settings'
88
- ));
89
- add_submenu_page('gadash_settings', __("Errors & Debug", 'ga-dash'), __("Errors & Debug", 'ga-dash'), 'manage_options', 'gadash_errors_debugging', array(
90
- 'GADASH_Settings',
91
- 'errors_debugging'
92
- ));
93
- }
94
- }
95
-
96
- /**
97
- * Add Network Menu
98
- */
99
- function network_menu()
100
- {
101
- global $GADASH_Config;
102
- global $wp_version;
103
- if (current_user_can('manage_netwrok')) {
104
- include ($GADASH_Config->plugin_path . '/admin/settings.php');
105
- add_menu_page(__("Google Analytics", 'ga-dash'), __("Google Analytics", 'ga-dash'), 'manage_netwrok', 'gadash_settings', array(
106
- 'GADASH_Settings',
107
- 'general_settings_network'
108
- ), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : $GADASH_Config->plugin_url . '/admin/images/gadash-icon.png');
109
- add_submenu_page('gadash_settings', __("General Settings", 'ga-dash'), __("General Settings", 'ga-dash'), 'manage_netwrok', 'gadash_settings', array(
110
- 'GADASH_Settings',
111
- 'general_settings_network'
112
- ));
113
- add_submenu_page('gadash_settings', __("Errors & Debug", 'ga-dash'), __("Errors & Debug", 'ga-dash'), 'manage_network', 'gadash_errors_debugging', array(
114
- 'GADASH_Settings',
115
- 'errors_debugging'
116
- ));
117
- }
118
- }
119
-
120
- /**
121
- * Styles & Scripts conditional loading (based on current URI)
122
- *
123
- * @param
124
- * $hook
125
- */
126
- function load_styles_scripts($hook)
127
- {
128
- global $GADASH_Config;
129
- $tools = new GADASH_Tools();
130
- /*
131
- * GADWP main stylesheet
132
- */
133
- wp_enqueue_style('gadwp', $GADASH_Config->plugin_url . '/admin/css/gadwp.css', NULL, GADWP_CURRENT_VERSION);
134
- /*
135
- * Dashboard Widgets Styles & Scripts
136
- */
137
- $widgets_hooks = array(
138
- 'index.php'
139
- );
140
- if (in_array($hook, $widgets_hooks)) {
141
- wp_enqueue_style('gadwp-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.css', NULL, GADWP_CURRENT_VERSION);
142
- wp_enqueue_style('gadwp-admin-widgets', $GADASH_Config->plugin_url . '/admin/css/gadwp.css', NULL, GADWP_CURRENT_VERSION);
143
- wp_enqueue_script('gadwp-admin-widgets', plugins_url('js/widgets.js', __FILE__), array(
144
- 'jquery'
145
- ), GADWP_CURRENT_VERSION);
146
- if (! wp_script_is('googlejsapi')) {
147
- wp_register_script('googlejsapi', 'https://www.google.com/jsapi');
148
- wp_enqueue_script('googlejsapi');
149
  }
150
- wp_enqueue_script('gadwp-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.js', array(
151
- 'jquery'
152
- ), GADWP_CURRENT_VERSION);
153
- }
154
- /*
155
- * Posts/Pages List Styles & Scripts
156
- */
157
- $contentstats_hooks = array(
158
- 'edit.php'
159
- );
160
- if (in_array($hook, $contentstats_hooks)) {
161
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_back']) or 0 == $GADASH_Config->options['item_reports']) {
162
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
- wp_enqueue_style('gadwp-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.css', NULL, GADWP_CURRENT_VERSION);
165
- wp_enqueue_style('gadwp_itemreports', $GADASH_Config->plugin_url . '/admin/css/item-reports.css', NULL, GADWP_CURRENT_VERSION);
166
- $tools->getcountrycodes();
167
- if ($GADASH_Config->options['ga_target_geomap'] and isset($tools->country_codes[$GADASH_Config->options['ga_target_geomap']])) {
168
- $region = $GADASH_Config->options['ga_target_geomap'];
169
- } else {
170
- $region = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
172
- wp_enqueue_style("wp-jquery-ui-dialog");
173
- if (! wp_script_is('googlejsapi')) {
174
- wp_register_script('googlejsapi', 'https://www.google.com/jsapi');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  }
176
- wp_enqueue_script('gadwp-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.js', array(
177
- 'jquery'
178
- ), GADWP_CURRENT_VERSION);
179
- wp_enqueue_script('gadwp_itemreports', plugins_url('js/item-reports.js', __FILE__), array(
180
- 'gadwp-nprogress',
181
- 'googlejsapi',
182
- 'jquery',
183
- 'jquery-ui-dialog'
184
- ), GADWP_CURRENT_VERSION);
185
- wp_localize_script('gadwp_itemreports', 'gadwp_item_data',
186
- array(
187
- 'ajaxurl' => admin_url('admin-ajax.php'),
188
- 'security' => wp_create_nonce('gadwp_get_itemreports'),
189
- 'dateList' => array(
190
- 'today' => __("Today", 'ga-dash'),
191
- 'yesterday' => __("Yesterday", 'ga-dash'),
192
- '7daysAgo' => __("Last 7 Days", 'ga-dash'),
193
- '30daysAgo' => __("Last 30 Days", 'ga-dash'),
194
- '90daysAgo' => __("Last 90 Days", 'ga-dash')
195
- ),
196
- 'reportList' => array(
197
- 'uniquePageviews' => __("Unique Views", 'ga-dash'),
198
- 'users' => __("Users", 'ga-dash'),
199
- 'organicSearches' => __("Organic", 'ga-dash'),
200
- 'pageviews' => __("Page Views", 'ga-dash'),
201
- 'visitBounceRate' => __("Bounce Rate", 'ga-dash'),
202
- 'locations' => __("Location", 'ga-dash'),
203
- 'referrers' => __("Referrers", 'ga-dash'),
204
- 'searches' => __("Searches", 'ga-dash'),
205
- 'trafficdetails' => __("Traffic Details", 'ga-dash')
206
- ),
207
- 'i18n' => array(
208
- __("A JavaScript Error is blocking plugin resources!", 'ga-dash'),
209
- __("Traffic Mediums", 'ga-dash'),
210
- __("Visitor Type", 'ga-dash'),
211
- __("Social Networks", 'ga-dash'),
212
- __("Search Engines", 'ga-dash'),
213
- __("Unique Views", 'ga-dash'),
214
- __("Users", 'ga-dash'),
215
- __("Page Views", 'ga-dash'),
216
- __("Bounce Rate", 'ga-dash'),
217
- __("Organic Search", 'ga-dash'),
218
- __("Pages/Session", 'ga-dash'),
219
- __("Invalid response, more details in JavaScript Console (F12).", 'ga-dash'),
220
- __("Not enough data collected", 'ga-dash'),
221
- __("This report is unavailable", 'ga-dash'),
222
- __("report generated by", 'ga-dash')
223
- ),
224
- 'colorVariations' => $tools->variations($GADASH_Config->options['ga_dash_style']),
225
- 'region' => $region
226
- ));
227
- }
228
- /*
229
- * Settings Styles & Scripts
230
- */
231
- $settings_hooks = array(
232
- 'toplevel_page_gadash_settings',
233
- 'google-analytics_page_gadash_backend_settings',
234
- 'google-analytics_page_gadash_frontend_settings',
235
- 'google-analytics_page_gadash_tracking_settings',
236
- 'google-analytics_page_gadash_errors_debugging'
237
- );
238
-
239
- if (in_array($hook, $settings_hooks)) {
240
- wp_enqueue_style('wp-color-picker');
241
- wp_enqueue_script('wp-color-picker');
242
- wp_enqueue_script('wp-color-picker-script-handle', plugins_url('js/wp-color-picker-script.js', __FILE__), array(
243
- 'wp-color-picker'
244
- ), false, true);
245
- wp_enqueue_script('gadwp-settings', plugins_url('js/settings.js', __FILE__), array(
246
- 'jquery'
247
- ), GADWP_CURRENT_VERSION);
248
- }
249
- }
250
 
251
- /**
252
- * Add "Settings" link in Plugins List
253
- *
254
- * @param
255
- * $links
256
- * @return array
257
- */
258
- function settings_link($links)
259
- {
260
- $settings_link = '<a href="' . get_admin_url(null, 'admin.php?page=gadash_settings') . '">' . __("Settings", 'ga-dash') . '</a>';
261
- array_unshift($links, $settings_link);
262
- return $links;
 
263
  }
264
- }
265
- }
266
- if (is_admin()) {
267
- $GADASH_Back_Setup = new GADASH_Back_Setup();
268
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Backend_Setup')) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Backend_Setup
 
 
 
16
  {
17
+
18
+ private $gadwp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+
24
+ // Styles & Scripts
25
+ add_action('admin_enqueue_scripts', array(
26
+ $this,
27
+ 'load_styles_scripts'
28
+ ));
29
+ // Site Menu
30
+ add_action('admin_menu', array(
31
+ $this,
32
+ 'site_menu'
33
+ ));
34
+ // Network Menu
35
+ add_action('network_admin_menu', array(
36
+ $this,
37
+ 'network_menu'
38
+ ));
39
+ // Settings link
40
+ add_filter("plugin_action_links_" . plugin_basename(GADWP_DIR) . 'gadwp.php', array(
41
+ $this,
42
+ 'settings_link'
43
+ ));
44
+ // Error bubble
45
+ add_action('admin_print_scripts', array(
46
+ $this,
47
+ 'draw_error_bubble'
48
+ ), 10000);
49
+ }
50
+
51
+ /**
52
+ * Error bubble for Errors & Debug
53
+ */
54
+ public function draw_error_bubble()
55
+ {
56
+ $bubble_msg = '!';
57
+ if (get_transient('ga_dash_gapi_errors')) {
58
+ ?>
59
  <script type="text/javascript">
60
  jQuery(document).ready(function() {
61
  jQuery('#toplevel_page_gadash_settings li > a[href*="page=gadash_errors_debugging"]').append('&nbsp;<span class="awaiting-mod count-1"><span class="pending-count" style="padding:0 7px;"><?php echo $bubble_msg ?></span></span>');
62
  });
63
  </script>
64
  <?php
65
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  }
67
+
68
+ /**
69
+ * Add Site Menu
70
+ */
71
+ public function site_menu()
72
+ {
73
+ global $wp_version;
74
+ if (current_user_can('manage_options')) {
75
+ include (GADWP_DIR . 'admin/settings.php');
76
+ add_menu_page(__("Google Analytics", 'ga-dash'), 'Google Analytics', 'manage_options', 'gadash_settings', array(
77
+ 'GADWP_Settings',
78
+ 'general_settings'
79
+ ), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : GADWP_URL . 'admin/images/gadash-icon.png');
80
+ add_submenu_page('gadash_settings', __("General Settings", 'ga-dash'), __("General Settings", 'ga-dash'), 'manage_options', 'gadash_settings', array(
81
+ 'GADWP_Settings',
82
+ 'general_settings'
83
+ ));
84
+ add_submenu_page('gadash_settings', __("Backend Settings", 'ga-dash'), __("Backend Settings", 'ga-dash'), 'manage_options', 'gadash_backend_settings', array(
85
+ 'GADWP_Settings',
86
+ 'backend_settings'
87
+ ));
88
+ add_submenu_page('gadash_settings', __("Frontend Settings", 'ga-dash'), __("Frontend Settings", 'ga-dash'), 'manage_options', 'gadash_frontend_settings', array(
89
+ 'GADWP_Settings',
90
+ 'frontend_settings'
91
+ ));
92
+ add_submenu_page('gadash_settings', __("Tracking Code", 'ga-dash'), __("Tracking Code", 'ga-dash'), 'manage_options', 'gadash_tracking_settings', array(
93
+ 'GADWP_Settings',
94
+ 'tracking_settings'
95
+ ));
96
+ add_submenu_page('gadash_settings', __("Errors & Debug", 'ga-dash'), __("Errors & Debug", 'ga-dash'), 'manage_options', 'gadash_errors_debugging', array(
97
+ 'GADWP_Settings',
98
+ 'errors_debugging'
99
+ ));
100
+ }
101
  }
102
+
103
+ /**
104
+ * Add Network Menu
105
+ */
106
+ public function network_menu()
107
+ {
108
+ global $wp_version;
109
+ if (current_user_can('manage_netwrok')) {
110
+ include (GADWP_DIR . 'admin/settings.php');
111
+ add_menu_page(__("Google Analytics", 'ga-dash'), "Google Analytics", 'manage_netwrok', 'gadash_settings', array(
112
+ 'GADWP_Settings',
113
+ 'general_settings_network'
114
+ ), version_compare($wp_version, '3.8.0', '>=') ? 'dashicons-chart-area' : GADWP_URL . 'admin/images/gadash-icon.png');
115
+ add_submenu_page('gadash_settings', __("General Settings", 'ga-dash'), __("General Settings", 'ga-dash'), 'manage_netwrok', 'gadash_settings', array(
116
+ 'GADWP_Settings',
117
+ 'general_settings_network'
118
+ ));
119
+ add_submenu_page('gadash_settings', __("Errors & Debug", 'ga-dash'), __("Errors & Debug", 'ga-dash'), 'manage_network', 'gadash_errors_debugging', array(
120
+ 'GADWP_Settings',
121
+ 'errors_debugging'
122
+ ));
123
+ }
124
  }
125
+
126
+ /**
127
+ * Styles & Scripts conditional loading (based on current URI)
128
+ *
129
+ * @param
130
+ * $hook
131
+ */
132
+ public function load_styles_scripts($hook)
133
+ {
134
+
135
+ /*
136
+ * GADWP main stylesheet
137
+ */
138
+ wp_enqueue_style('gadwp', GADWP_URL . 'admin/css/gadwp.css', null, GADWP_CURRENT_VERSION);
139
+
140
+ /*
141
+ * Dashboard Widgets Styles & Scripts
142
+ */
143
+ $widgets_hooks = array(
144
+ 'index.php'
145
+ );
146
+ if (in_array($hook, $widgets_hooks)) {
147
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && $this->gadwp->config->options['dashboard_widget']) {
148
+ wp_enqueue_style('gadwp-nprogress', GADWP_URL . 'tools/nprogress/nprogress.css', null, GADWP_CURRENT_VERSION);
149
+ wp_enqueue_script('gadwp-admin-widgets', plugins_url('js/widgets.js', __FILE__), array(
150
+ 'jquery'
151
+ ), GADWP_CURRENT_VERSION);
152
+ if (! wp_script_is('googlejsapi')) {
153
+ wp_register_script('googlejsapi', 'https://www.google.com/jsapi');
154
+ wp_enqueue_script('googlejsapi');
155
+ }
156
+ wp_enqueue_script('gadwp-nprogress', GADWP_URL . 'tools/nprogress/nprogress.js', array(
157
+ 'jquery'
158
+ ), GADWP_CURRENT_VERSION);
159
+ }
160
+ }
161
+
162
+ /*
163
+ * Posts/Pages List Styles & Scripts
164
+ */
165
+ $contentstats_hooks = array(
166
+ 'edit.php'
167
+ );
168
+ if (in_array($hook, $contentstats_hooks)) {
169
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && $this->gadwp->config->options['item_reports']) {
170
+ wp_enqueue_style('gadwp-nprogress', GADWP_URL . 'tools/nprogress/nprogress.css', null, GADWP_CURRENT_VERSION);
171
+ wp_enqueue_style('gadwp_itemreports', GADWP_URL . 'admin/css/item-reports.css', null, GADWP_CURRENT_VERSION);
172
+ $country_codes = GADWP_Tools::get_countrycodes();
173
+ if ($this->gadwp->config->options['ga_target_geomap'] && isset($country_codes[$this->gadwp->config->options['ga_target_geomap']])) {
174
+ $region = $this->gadwp->config->options['ga_target_geomap'];
175
+ } else {
176
+ $region = false;
177
+ }
178
+ wp_enqueue_style("wp-jquery-ui-dialog");
179
+ if (! wp_script_is('googlejsapi')) {
180
+ wp_register_script('googlejsapi', 'https://www.google.com/jsapi');
181
+ }
182
+ wp_enqueue_script('gadwp-nprogress', GADWP_URL . 'tools/nprogress/nprogress.js', array(
183
+ 'jquery'
184
+ ), GADWP_CURRENT_VERSION);
185
+ wp_enqueue_script('gadwp_itemreports', plugins_url('js/item-reports.js', __FILE__), array(
186
+ 'gadwp-nprogress',
187
+ 'googlejsapi',
188
+ 'jquery',
189
+ 'jquery-ui-dialog'
190
+ ), GADWP_CURRENT_VERSION);
191
+ wp_localize_script('gadwp_itemreports', 'gadwp_item_data', array(
192
+ 'ajaxurl' => admin_url('admin-ajax.php'),
193
+ 'security' => wp_create_nonce('gadwp_get_itemreports'),
194
+ 'dateList' => array(
195
+ 'today' => __("Today", 'ga-dash'),
196
+ 'yesterday' => __("Yesterday", 'ga-dash'),
197
+ '7daysAgo' => __("Last 7 Days", 'ga-dash'),
198
+ '30daysAgo' => __("Last 30 Days", 'ga-dash'),
199
+ '90daysAgo' => __("Last 90 Days", 'ga-dash')
200
+ ),
201
+ 'reportList' => array(
202
+ 'uniquePageviews' => __("Unique Views", 'ga-dash'),
203
+ 'users' => __("Users", 'ga-dash'),
204
+ 'organicSearches' => __("Organic", 'ga-dash'),
205
+ 'pageviews' => __("Page Views", 'ga-dash'),
206
+ 'visitBounceRate' => __("Bounce Rate", 'ga-dash'),
207
+ 'locations' => __("Location", 'ga-dash'),
208
+ 'referrers' => __("Referrers", 'ga-dash'),
209
+ 'searches' => __("Searches", 'ga-dash'),
210
+ 'trafficdetails' => __("Traffic Details", 'ga-dash')
211
+ ),
212
+ 'i18n' => array(
213
+ __("A JavaScript Error is blocking plugin resources!", 'ga-dash'),
214
+ __("Traffic Mediums", 'ga-dash'),
215
+ __("Visitor Type", 'ga-dash'),
216
+ __("Social Networks", 'ga-dash'),
217
+ __("Search Engines", 'ga-dash'),
218
+ __("Unique Views", 'ga-dash'),
219
+ __("Users", 'ga-dash'),
220
+ __("Page Views", 'ga-dash'),
221
+ __("Bounce Rate", 'ga-dash'),
222
+ __("Organic Search", 'ga-dash'),
223
+ __("Pages/Session", 'ga-dash'),
224
+ __("Invalid response, more details in JavaScript Console (F12).", 'ga-dash'),
225
+ __("Not enough data collected", 'ga-dash'),
226
+ __("This report is unavailable", 'ga-dash'),
227
+ __("report generated by", 'ga-dash')
228
+ ),
229
+ 'colorVariations' => GADWP_Tools::variations($this->gadwp->config->options['ga_dash_style']),
230
+ 'region' => $region
231
+ ));
232
+ }
233
+ }
234
+
235
+ /*
236
+ * Settings Styles & Scripts
237
+ */
238
+ $settings_hooks = array(
239
+ 'toplevel_page_gadash_settings',
240
+ 'google-analytics_page_gadash_backend_settings',
241
+ 'google-analytics_page_gadash_frontend_settings',
242
+ 'google-analytics_page_gadash_tracking_settings',
243
+ 'google-analytics_page_gadash_errors_debugging'
244
+ );
245
+
246
+ if (in_array($hook, $settings_hooks)) {
247
+ wp_enqueue_style('wp-color-picker');
248
+ wp_enqueue_script('wp-color-picker');
249
+ wp_enqueue_script('wp-color-picker-script-handle', plugins_url('js/wp-color-picker-script.js', __FILE__), array(
250
+ 'wp-color-picker'
251
+ ), false, true);
252
+ wp_enqueue_script('gadwp-settings', plugins_url('js/settings.js', __FILE__), array(
253
+ 'jquery'
254
+ ), GADWP_CURRENT_VERSION);
255
+ }
256
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
 
258
+ /**
259
+ * Add "Settings" link in Plugins List
260
+ *
261
+ * @param
262
+ * $links
263
+ * @return array
264
+ */
265
+ public function settings_link($links)
266
+ {
267
+ $settings_link = '<a href="' . get_admin_url(null, 'admin.php?page=gadash_settings') . '">' . __("Settings", 'ga-dash') . '</a>';
268
+ array_unshift($links, $settings_link);
269
+ return $links;
270
+ }
271
  }
 
 
 
 
272
  }
admin/widgets.php CHANGED
@@ -5,270 +5,258 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Widgets')) {
9
 
10
- class GADASH_Widgets
11
- {
 
12
 
13
- function __construct()
14
- {
15
- global $GADASH_Config;
16
- add_action('wp_dashboard_setup', array(
17
- $this,
18
- 'add_widget'
19
- ));
20
- }
21
 
22
- function add_widget()
23
  {
24
- global $GADASH_Config;
25
- $tools = new GADASH_Tools();
26
- if ($tools->check_roles($GADASH_Config->options['ga_dash_access_back']) and 1 == $GADASH_Config->options['dashboard_widget']) {
27
- wp_add_dashboard_widget('gadash-widget', __("Google Analytics Dashboard", 'ga-dash'), array(
28
- $this,
29
- 'dashboard_widget'
30
- ), $control_callback = null);
31
- }
32
- }
33
 
34
- function dashboard_widget()
35
- {
36
- global $GADASH_Config;
37
- if (empty($GADASH_Config->options['ga_dash_token'])) {
38
- echo '<p>' . __("This plugin needs an authorization:", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Authorize Plugin", 'ga-dash'), 'secondary') . '</form>';
39
- return;
40
- }
41
- $tools = new GADASH_Tools();
42
- if (current_user_can('manage_options')) {
43
- if (isset($_REQUEST['ga_dash_profile_select'])) {
44
- $GADASH_Config->options['ga_dash_tableid'] = $_REQUEST['ga_dash_profile_select'];
45
  }
46
- $profiles = $GADASH_Config->options['ga_dash_profile_list'];
47
- $profile_switch = '';
48
- if (is_array($profiles)) {
49
- if (! $GADASH_Config->options['ga_dash_tableid']) {
50
- if ($GADASH_Config->options['ga_dash_tableid_jail']) {
51
- $GADASH_Config->options['ga_dash_tableid'] = $GADASH_Config->options['ga_dash_tableid_jail'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  } else {
53
- $GADASH_Config->options['ga_dash_tableid'] = $tools->guess_default_domain($profiles);
 
 
 
 
 
54
  }
55
- } else
56
- if ($GADASH_Config->options['switch_profile'] == 0 and $GADASH_Config->options['ga_dash_tableid_jail']) {
57
- $GADASH_Config->options['ga_dash_tableid'] = $GADASH_Config->options['ga_dash_tableid_jail'];
58
  }
59
- $profile_switch .= '<select id="ga_dash_profile_select" name="ga_dash_profile_select" onchange="this.form.submit()">';
60
- foreach ($profiles as $profile) {
61
- if (! $GADASH_Config->options['ga_dash_tableid']) {
62
- $GADASH_Config->options['ga_dash_tableid'] = $profile[1];
 
 
63
  }
64
- if (isset($profile[3])) {
65
- $profile_switch .= '<option value="' . esc_attr($profile[1]) . '" ';
66
- $profile_switch .= selected($profile[1], $GADASH_Config->options['ga_dash_tableid'], false);
67
- $profile_switch .= ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($profile[0]) . '">' . esc_attr($tools->strip_protocol($profile[3])) . '</option>';
 
 
68
  }
69
- }
70
- $profile_switch .= "</select>";
71
- } else {
72
- echo '<p>' . __("Something went wrong while retrieving profiles list.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("More details", 'ga-dash'), 'secondary') . '</form>';
73
- return;
74
- }
75
- }
76
- $GADASH_Config->set_plugin_options();
77
- ?>
78
- <form id="ga-dash" method="POST">
79
- <?php
80
- if (current_user_can('manage_options')) {
81
- if ($GADASH_Config->options['switch_profile'] == 0) {
82
- if ($GADASH_Config->options['ga_dash_tableid_jail']) {
83
- $projectId = $GADASH_Config->options['ga_dash_tableid_jail'];
84
- } else {
85
- echo '<p>' . __("An admin should asign a default Google Analytics Profile.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Select Domain", 'ga-dash'), 'secondary') . '</form>';
86
- return;
87
- }
88
- } else {
89
- echo $profile_switch;
90
- $projectId = $GADASH_Config->options['ga_dash_tableid'];
91
- }
92
- } else {
93
- if ($GADASH_Config->options['ga_dash_tableid_jail']) {
94
- $projectId = $GADASH_Config->options['ga_dash_tableid_jail'];
95
- } else {
96
- echo '<p>' . __("An admin should asign a default Google Analytics Profile.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Select Domain", 'ga-dash'), 'secondary') . '</form>';
97
- return;
98
- }
99
- }
100
- if (! ($projectId)) {
101
- echo '<p>' . __("Something went wrong while retrieving property data. You need to create and properly configure a Google Analytics account:", 'ga-dash') . '</p> <form action="https://deconf.com/how-to-set-up-google-analytics-on-your-website/" method="POST">' . get_submit_button(__("Find out more!", 'ga-dash'), 'secondary') . '</form>';
102
- return;
103
- }
104
- if (isset($_REQUEST['query'])) {
105
- $query = $_REQUEST['query'];
106
- $GADASH_Config->options['ga_dash_default_metric'] = $query;
107
- $GADASH_Config->set_plugin_options();
108
- } else {
109
- $query = isset($GADASH_Config->options['ga_dash_default_metric']) ? $GADASH_Config->options['ga_dash_default_metric'] : 'sessions';
110
- }
111
- if (isset($_REQUEST['period'])) {
112
- $period = $_REQUEST['period'];
113
- $GADASH_Config->options['ga_dash_default_dimension'] = $period;
114
- $GADASH_Config->set_plugin_options();
115
- } else {
116
- $period = isset($GADASH_Config->options['ga_dash_default_dimension']) ? $GADASH_Config->options['ga_dash_default_dimension'] : '30daysAgo';
117
- }
118
- ?>
119
 
120
  <select id="ga_dash_period" name="period" onchange="this.form.submit()">
121
- <option value="realtime"
122
- <?php selected ( "realtime", $period, true ); ?>><?php _e("Real-Time",'ga-dash'); ?></option>
123
- <option value="today" <?php selected ( "today", $period, true ); ?>><?php _e("Today",'ga-dash'); ?></option>
124
- <option value="yesterday"
125
- <?php selected ( "yesterday", $period, true ); ?>><?php _e("Yesterday",'ga-dash'); ?></option>
126
- <option value="7daysAgo"
127
- <?php selected ( "7daysAgo", $period, true ); ?>><?php _e("Last 7 Days",'ga-dash'); ?></option>
128
- <option value="14daysAgo"
129
- <?php selected ( "14daysAgo", $period, true ); ?>><?php _e("Last 14 Days",'ga-dash'); ?></option>
130
- <option value="30daysAgo"
131
- <?php selected ( "30daysAgo", $period, true ); ?>><?php _e("Last 30 Days",'ga-dash'); ?></option>
132
- <option value="90daysAgo"
133
- <?php selected ( "90daysAgo", $period, true ); ?>><?php _e("Last 90 Days",'ga-dash'); ?></option>
134
- </select>
135
  <?php if ($period != 'realtime') {?>
136
- <select id="ga_dash_query" name="query"
137
- onchange="this.form.submit()">
138
- <option value="sessions"
139
- <?php selected ( "sessions", $query, true ); ?>><?php _e("Sessions",'ga-dash'); ?></option>
140
- <option value="users" <?php selected ( "users", $query, true ); ?>><?php _e("Users",'ga-dash'); ?></option>
141
- <option value="organicSearches"
142
- <?php selected ( "organicSearches", $query, true ); ?>><?php _e("Organic",'ga-dash'); ?></option>
143
- <option value="pageviews"
144
- <?php selected ( "pageviews", $query, true ); ?>><?php _e("Page Views",'ga-dash'); ?></option>
145
- <option value="visitBounceRate"
146
- <?php selected ( "visitBounceRate", $query, true ); ?>><?php _e("Bounce Rate",'ga-dash'); ?></option>
147
- <option value="locations"
148
- <?php selected ( "locations", $query, true ); ?>><?php _e("Location",'ga-dash'); ?></option>
149
- <option value="contentpages"
150
- <?php selected ( "contentpages", $query, true ); ?>><?php _e("Pages",'ga-dash'); ?></option>
151
- <option value="referrers"
152
- <?php selected ( "referrers", $query, true ); ?>><?php _e("Referrers",'ga-dash'); ?></option>
153
- <option value="searches"
154
- <?php selected ( "searches", $query, true ); ?>><?php _e("Searches",'ga-dash'); ?></option>
155
- <option value="trafficdetails"
156
- <?php selected ( "trafficdetails", $query, true ); ?>><?php _e("Traffic Details",'ga-dash'); ?></option>
157
- </select>
158
  <?php }?>
159
  </form>
160
  <div id="gadash-progressbar"></div>
161
  <?php
162
- switch ($period) {
163
- case 'today':
164
- $from = 'today';
165
- $to = 'today';
166
- $haxis = 4;
167
- break;
168
- case 'yesterday':
169
- $from = 'yesterday';
170
- $to = 'yesterday';
171
- $haxis = 4;
172
- break;
173
- case '7daysAgo':
174
- $from = '7daysAgo';
175
- $to = 'yesterday';
176
- $haxis = 2;
177
- break;
178
- case '14daysAgo':
179
- $from = '14daysAgo';
180
- $to = 'yesterday';
181
- $haxis = 3;
182
- break;
183
- case '30daysAgo':
184
- $from = '30daysAgo';
185
- $to = 'yesterday';
186
- $haxis = 5;
187
- break;
188
- default:
189
- $from = '90daysAgo';
190
- $to = 'yesterday';
191
- $haxis = 16;
192
- break;
193
- }
194
- if ($query == 'visitBounceRate') {
195
- $formater = "var formatter = new google.visualization.NumberFormat({
196
  pattern: '#,##%',
197
  fractionDigits: 2
198
  });
199
 
200
  formatter.format(data, 1); ";
201
- } else {
202
- $formater = '';
203
- }
204
- $tools = new GADASH_Tools();
205
- if (isset($GADASH_Config->options['ga_dash_style'])) {
206
- $light_color = $tools->colourVariator($GADASH_Config->options['ga_dash_style'], 40);
207
- $dark_color = $tools->colourVariator($GADASH_Config->options['ga_dash_style'], - 20);
208
- $css = "colors:['" . $GADASH_Config->options['ga_dash_style'] . "','" . $tools->colourVariator($GADASH_Config->options['ga_dash_style'], - 20) . "'],";
209
- $color = $GADASH_Config->options['ga_dash_style'];
210
- } else {
211
- $css = "";
212
- $color = "#3366CC";
213
- }
214
- if ($period == 'realtime') {
215
- wp_register_style('jquery-ui-tooltip-html', $GADASH_Config->plugin_url . '/realtime/jquery/jquery.ui.tooltip.html.css');
216
- wp_enqueue_style('jquery-ui-tooltip-html');
217
- if (! wp_script_is('jquery')) {
218
- wp_enqueue_script('jquery');
219
- }
220
- if (! wp_script_is('jquery-ui-tooltip')) {
221
- wp_enqueue_script("jquery-ui-tooltip");
222
- }
223
- if (! wp_script_is('jquery-ui-core')) {
224
- wp_enqueue_script("jquery-ui-core");
225
- }
226
- if (! wp_script_is('jquery-ui-position')) {
227
- wp_enqueue_script("jquery-ui-position");
228
- }
229
- if (! wp_script_is('jquery-ui-position')) {
230
- wp_enqueue_script("jquery-ui-position");
231
- }
232
- wp_register_script("jquery-ui-tooltip-html", $GADASH_Config->plugin_url . '/realtime/jquery/jquery.ui.tooltip.html.js');
233
- wp_enqueue_script("jquery-ui-tooltip-html");
234
- }
235
- if ($period == 'realtime') {
236
- ?>
237
  <div class="realtime">
238
- <div class="gadash-rt-box">
239
- <div class='gadash-tdo-left'>
240
- <div class='gadash-online' id='gadash-online'>0</div>
241
- </div>
242
- <div class='gadash-tdo-right' id='gadash-tdo-right'>
243
- <div class="gadash-bigtext">
244
- <div class="gadash-bleft"><?php _e( "REFERRAL", 'ga-dash' );?></div>
245
- <div class="gadash-bright">0</div>
246
- </div>
247
- <div class="gadash-bigtext">
248
- <div class="gadash-bleft"><?php _e( "ORGANIC", 'ga-dash' );?></div>
249
- <div class="gadash-bright">0</div>
250
- </div>
251
- <div class="gadash-bigtext">
252
- <div class="gadash-bleft"><?php _e( "SOCIAL", 'ga-dash' );?></div>
253
- <div class="gadash-bright">0</div>
254
- </div>
255
- <div class="gadash-bigtext">
256
- <div class="gadash-bleft"><?php _e( "CAMPAIGN", 'ga-dash' );?></div>
257
- <div class="gadash-bright">0</div>
258
- </div>
259
- <div class="gadash-bigtext">
260
- <div class="gadash-bleft"><?php _e( "DIRECT", 'ga-dash' );?></div>
261
- <div class="gadash-bright">0</div>
262
- </div>
263
- <div class="gadash-bigtext">
264
- <div class="gadash-bleft"><?php _e( "NEW", 'ga-dash' );?></div>
265
- <div class="gadash-bright">0</div>
266
- </div>
267
- </div>
268
- </div>
269
- <div>
270
- <div id='gadash-pages' class='gadash-pages'>&nbsp;</div>
271
- </div>
272
  </div>
273
  <script type="text/javascript">
274
 
@@ -446,7 +434,7 @@ if (! class_exists('GADASH_Widgets')) {
446
 
447
  var pgstatstable = "";
448
  for ( var i = 0; i < upagepathstats.length; i = i + 1 ) {
449
- if (i < <?php echo $GADASH_Config->options['ga_realtime_pages']; ?>){
450
  pgstatstable += '<div class="gadash-pline"><div class="gadash-pleft"><a href="#" title="'+gadash_pagedetails(data, upagepathstats[i].pagepath)+'">'+upagepathstats[i].pagepath.substring(0,70)+'</a></div><div class="gadash-pright">'+upagepathstats[i].count+'</div></div>';
451
  }
452
  }
@@ -496,7 +484,7 @@ if (! class_exists('GADASH_Widgets')) {
496
  online_refresh();
497
  setInterval(online_refresh, 60000);
498
  </script>
499
- <?php } else if (array_search($query, array('referrers','contentpages','searches')) !== FALSE) {?>
500
  <div id="gadash-trafficchannels"></div>
501
  <div id="gadash-prs"></div>
502
  <script type="text/javascript">
@@ -588,12 +576,12 @@ if (! class_exists('GADASH_Widgets')) {
588
  <?php } else if ($query == 'trafficdetails') {?>
589
  <div id="gadash-trafficchannels"></div>
590
  <div class="gadash-floatwraper">
591
- <div id="gadash-trafficmediums"></div>
592
- <div id="gadash-traffictype"></div>
593
  </div>
594
  <div class="gadash-floatwraper">
595
- <div id="gadash-trafficorganic"></div>
596
- <div id="gadash-socialnetworks"></div>
597
  </div>
598
  <script type="text/javascript">
599
  google.load("visualization", "1", {packages:["corechart","orgchart"]});
@@ -722,7 +710,7 @@ if (! class_exists('GADASH_Widgets')) {
722
  legend: 'none',
723
  chartArea: {width: '99%',height: '80%'},
724
  title: '<?php _e( "Traffic Mediums", 'ga-dash' ); ?>',
725
- colors:['<?php echo esc_html($GADASH_Config->options ['ga_dash_style']); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 20 )); ?>']
726
  };
727
 
728
  var chart = new google.visualization.PieChart(document.getElementById('gadash-trafficmediums'));
@@ -738,7 +726,7 @@ if (! class_exists('GADASH_Widgets')) {
738
  legend: 'none',
739
  chartArea: {width: '99%',height: '80%'},
740
  title: '<?php _e( "Visitor Type", 'ga-dash' ); ?>',
741
- colors:['<?php echo esc_html($GADASH_Config->options ['ga_dash_style']); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 20 )); ?>']
742
  };
743
 
744
  var chart = new google.visualization.PieChart(document.getElementById('gadash-traffictype'));
@@ -754,7 +742,7 @@ if (! class_exists('GADASH_Widgets')) {
754
  legend: 'none',
755
  chartArea: {width: '99%',height: '80%'},
756
  title: '<?php _e( "Social Networks", 'ga-dash' ); ?>',
757
- colors:['<?php echo esc_html($GADASH_Config->options ['ga_dash_style']); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 20 )); ?>']
758
  };
759
 
760
  var chart = new google.visualization.PieChart(document.getElementById('gadash-socialnetworks'));
@@ -770,7 +758,7 @@ if (! class_exists('GADASH_Widgets')) {
770
  legend: 'none',
771
  chartArea: {width: '99%',height: '80%'},
772
  title: '<?php _e( "Search Engines", 'ga-dash' ); ?>',
773
- colors:['<?php echo esc_html($GADASH_Config->options ['ga_dash_style']); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html($tools->colourVariator ( $GADASH_Config->options ['ga_dash_style'], - 20 )); ?>']
774
  };
775
 
776
  var chart = new google.visualization.PieChart(document.getElementById('gadash-trafficorganic'));
@@ -847,11 +835,11 @@ if (! class_exists('GADASH_Widgets')) {
847
  chartArea: {width: '99%',height: '90%'},
848
  colors: ['<?php echo $light_color; ?>', '<?php echo $dark_color; ?>'],
849
  <?php
850
- $tools = new GADASH_Tools();
851
- $tools->getcountrycodes();
852
- if ($GADASH_Config->options['ga_target_geomap'] and isset($tools->country_codes[$GADASH_Config->options['ga_target_geomap']])) {
853
- ?>
854
- region : '<?php echo esc_html($GADASH_Config->options ['ga_target_geomap']); ?>',
855
  displayMode : 'markers',
856
  datalessRegionColor : 'EFEFEF'
857
  <?php } ?>
@@ -877,32 +865,32 @@ if (! class_exists('GADASH_Widgets')) {
877
  <?php } else {?>
878
  <div id="gadash-mainchart"></div>
879
  <div id="gadash-bottomstats" class="gadash-wrapper">
880
- <div class="inside">
881
- <div class="small-box">
882
- <h3><?php _e( "Sessions", 'ga-dash' );?></h3>
883
- <p id="gdsessions">&nbsp;</p>
884
- </div>
885
- <div class="small-box">
886
- <h3><?php _e( "Users", 'ga-dash' );?></h3>
887
- <p id="gdusers">&nbsp;</p>
888
- </div>
889
- <div class="small-box">
890
- <h3><?php _e( "Page Views", 'ga-dash' );?></h3>
891
- <p id="gdpageviews">&nbsp;</p>
892
- </div>
893
- <div class="small-box">
894
- <h3><?php _e( "Bounce Rate", 'ga-dash' );?></h3>
895
- <p id="gdbouncerate">&nbsp;</p>
896
- </div>
897
- <div class="small-box">
898
- <h3><?php _e( "Organic Search", 'ga-dash' );?></h3>
899
- <p id="gdorganicsearch">&nbsp;</p>
900
- </div>
901
- <div class="small-box">
902
- <h3><?php _e( "Pages/Session", 'ga-dash' );?></h3>
903
- <p id="gdpagespervisit">&nbsp;</p>
904
- </div>
905
- </div>
906
  </div>
907
  <script type="text/javascript">
908
 
@@ -995,10 +983,7 @@ if (! class_exists('GADASH_Widgets')) {
995
  };
996
  </script>
997
  <?php
998
- }
 
999
  }
1000
- }
1001
- }
1002
- if (is_admin()) {
1003
- $GADASH_Widgets = new GADASH_Widgets();
1004
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Backend_Widgets')) {
 
 
 
 
 
 
 
14
 
15
+ class GADWP_Backend_Widgets
16
  {
 
 
 
 
 
 
 
 
 
17
 
18
+ private $gawp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_back']) && (1 == $this->gadwp->config->options['dashboard_widget'])) {
24
+ add_action('wp_dashboard_setup', array(
25
+ $this,
26
+ 'add_widget'
27
+ ));
28
+ }
29
  }
30
+
31
+ public function add_widget()
32
+ {
33
+ wp_add_dashboard_widget('gadash-widget', __("Google Analytics Dashboard", 'ga-dash'), array(
34
+ $this,
35
+ 'dashboard_widget'
36
+ ), $control_callback = null);
37
+ }
38
+
39
+ public function dashboard_widget()
40
+ {
41
+ if (empty($this->gadwp->config->options['ga_dash_token'])) {
42
+ echo '<p>' . __("This plugin needs an authorization:", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Authorize Plugin", 'ga-dash'), 'secondary') . '</form>';
43
+ return;
44
+ }
45
+
46
+ if (current_user_can('manage_options')) {
47
+ if (isset($_REQUEST['ga_dash_profile_select'])) {
48
+ $this->gadwp->config->options['ga_dash_tableid'] = $_REQUEST['ga_dash_profile_select'];
49
+ }
50
+ $profiles = $this->gadwp->config->options['ga_dash_profile_list'];
51
+ $profile_switch = '';
52
+ if (is_array($profiles)) {
53
+ if (! $this->gadwp->config->options['ga_dash_tableid']) {
54
+ if ($this->gadwp->config->options['ga_dash_tableid_jail']) {
55
+ $this->gadwp->config->options['ga_dash_tableid'] = $this->gadwp->config->options['ga_dash_tableid_jail'];
56
+ } else {
57
+ $this->gadwp->config->options['ga_dash_tableid'] = GADWP_Tools::guess_default_domain($profiles);
58
+ }
59
+ } else
60
+ if ($this->gadwp->config->options['switch_profile'] == 0 && $this->gadwp->config->options['ga_dash_tableid_jail']) {
61
+ $this->gadwp->config->options['ga_dash_tableid'] = $this->gadwp->config->options['ga_dash_tableid_jail'];
62
+ }
63
+ $profile_switch .= '<select id="ga_dash_profile_select" name="ga_dash_profile_select" onchange="this.form.submit()">';
64
+ foreach ($profiles as $profile) {
65
+ if (! $this->gadwp->config->options['ga_dash_tableid']) {
66
+ $this->gadwp->config->options['ga_dash_tableid'] = $profile[1];
67
+ }
68
+ if (isset($profile[3])) {
69
+ $profile_switch .= '<option value="' . esc_attr($profile[1]) . '" ';
70
+ $profile_switch .= selected($profile[1], $this->gadwp->config->options['ga_dash_tableid'], false);
71
+ $profile_switch .= ' title="' . __("View Name:", 'ga-dash') . ' ' . esc_attr($profile[0]) . '">' . esc_attr(GADWP_Tools::strip_protocol($profile[3])) . '</option>';
72
+ }
73
+ }
74
+ $profile_switch .= "</select>";
75
+ } else {
76
+ echo '<p>' . __("Something went wrong while retrieving profiles list.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("More details", 'ga-dash'), 'secondary') . '</form>';
77
+ return;
78
+ }
79
+ }
80
+ $this->gadwp->config->set_plugin_options();
81
+ ?>
82
+ <form id="ga-dash" method="POST">
83
+ <?php
84
+ if (current_user_can('manage_options')) {
85
+ if ($this->gadwp->config->options['switch_profile'] == 0) {
86
+ if ($this->gadwp->config->options['ga_dash_tableid_jail']) {
87
+ $projectId = $this->gadwp->config->options['ga_dash_tableid_jail'];
88
+ } else {
89
+ echo '<p>' . __("An admin should asign a default Google Analytics Profile.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Select Domain", 'ga-dash'), 'secondary') . '</form>';
90
+ return;
91
+ }
92
+ } else {
93
+ echo $profile_switch;
94
+ $projectId = $this->gadwp->config->options['ga_dash_tableid'];
95
+ }
96
  } else {
97
+ if ($this->gadwp->config->options['ga_dash_tableid_jail']) {
98
+ $projectId = $this->gadwp->config->options['ga_dash_tableid_jail'];
99
+ } else {
100
+ echo '<p>' . __("An admin should asign a default Google Analytics Profile.", 'ga-dash') . '</p><form action="' . menu_page_url('gadash_settings', false) . '" method="POST">' . get_submit_button(__("Select Domain", 'ga-dash'), 'secondary') . '</form>';
101
+ return;
102
+ }
103
  }
104
+ if (! ($projectId)) {
105
+ echo '<p>' . __("Something went wrong while retrieving property data. You need to create and properly configure a Google Analytics account:", 'ga-dash') . '</p> <form action="https://deconf.com/how-to-set-up-google-analytics-on-your-website/" method="POST">' . get_submit_button(__("Find out more!", 'ga-dash'), 'secondary') . '</form>';
106
+ return;
107
  }
108
+ if (isset($_REQUEST['query'])) {
109
+ $query = $_REQUEST['query'];
110
+ $this->gadwp->config->options['ga_dash_default_metric'] = $query;
111
+ $this->gadwp->config->set_plugin_options();
112
+ } else {
113
+ $query = isset($this->gadwp->config->options['ga_dash_default_metric']) ? $this->gadwp->config->options['ga_dash_default_metric'] : 'sessions';
114
  }
115
+ if (isset($_REQUEST['period'])) {
116
+ $period = $_REQUEST['period'];
117
+ $this->gadwp->config->options['ga_dash_default_dimension'] = $period;
118
+ $this->gadwp->config->set_plugin_options();
119
+ } else {
120
+ $period = isset($this->gadwp->config->options['ga_dash_default_dimension']) ? $this->gadwp->config->options['ga_dash_default_dimension'] : '30daysAgo';
121
  }
122
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
  <select id="ga_dash_period" name="period" onchange="this.form.submit()">
125
+ <option value="realtime" <?php selected ( "realtime", $period, true ); ?>><?php _e("Real-Time",'ga-dash'); ?></option>
126
+ <option value="today" <?php selected ( "today", $period, true ); ?>><?php _e("Today",'ga-dash'); ?></option>
127
+ <option value="yesterday" <?php selected ( "yesterday", $period, true ); ?>><?php _e("Yesterday",'ga-dash'); ?></option>
128
+ <option value="7daysAgo" <?php selected ( "7daysAgo", $period, true ); ?>><?php _e("Last 7 Days",'ga-dash'); ?></option>
129
+ <option value="14daysAgo" <?php selected ( "14daysAgo", $period, true ); ?>><?php _e("Last 14 Days",'ga-dash'); ?></option>
130
+ <option value="30daysAgo" <?php selected ( "30daysAgo", $period, true ); ?>><?php _e("Last 30 Days",'ga-dash'); ?></option>
131
+ <option value="90daysAgo" <?php selected ( "90daysAgo", $period, true ); ?>><?php _e("Last 90 Days",'ga-dash'); ?></option>
132
+ </select>
 
 
 
 
 
 
133
  <?php if ($period != 'realtime') {?>
134
+ <select id="ga_dash_query" name="query" onchange="this.form.submit()">
135
+ <option value="sessions" <?php selected ( "sessions", $query, true ); ?>><?php _e("Sessions",'ga-dash'); ?></option>
136
+ <option value="users" <?php selected ( "users", $query, true ); ?>><?php _e("Users",'ga-dash'); ?></option>
137
+ <option value="organicSearches" <?php selected ( "organicSearches", $query, true ); ?>><?php _e("Organic",'ga-dash'); ?></option>
138
+ <option value="pageviews" <?php selected ( "pageviews", $query, true ); ?>><?php _e("Page Views",'ga-dash'); ?></option>
139
+ <option value="visitBounceRate" <?php selected ( "visitBounceRate", $query, true ); ?>><?php _e("Bounce Rate",'ga-dash'); ?></option>
140
+ <option value="locations" <?php selected ( "locations", $query, true ); ?>><?php _e("Location",'ga-dash'); ?></option>
141
+ <option value="contentpages" <?php selected ( "contentpages", $query, true ); ?>><?php _e("Pages",'ga-dash'); ?></option>
142
+ <option value="referrers" <?php selected ( "referrers", $query, true ); ?>><?php _e("Referrers",'ga-dash'); ?></option>
143
+ <option value="searches" <?php selected ( "searches", $query, true ); ?>><?php _e("Searches",'ga-dash'); ?></option>
144
+ <option value="trafficdetails" <?php selected ( "trafficdetails", $query, true ); ?>><?php _e("Traffic Details",'ga-dash'); ?></option>
145
+ </select>
 
 
 
 
 
 
 
 
 
 
146
  <?php }?>
147
  </form>
148
  <div id="gadash-progressbar"></div>
149
  <?php
150
+ switch ($period) {
151
+ case 'today':
152
+ $from = 'today';
153
+ $to = 'today';
154
+ $haxis = 4;
155
+ break;
156
+ case 'yesterday':
157
+ $from = 'yesterday';
158
+ $to = 'yesterday';
159
+ $haxis = 4;
160
+ break;
161
+ case '7daysAgo':
162
+ $from = '7daysAgo';
163
+ $to = 'yesterday';
164
+ $haxis = 2;
165
+ break;
166
+ case '14daysAgo':
167
+ $from = '14daysAgo';
168
+ $to = 'yesterday';
169
+ $haxis = 3;
170
+ break;
171
+ case '30daysAgo':
172
+ $from = '30daysAgo';
173
+ $to = 'yesterday';
174
+ $haxis = 5;
175
+ break;
176
+ default:
177
+ $from = '90daysAgo';
178
+ $to = 'yesterday';
179
+ $haxis = 16;
180
+ break;
181
+ }
182
+ if ($query == 'visitBounceRate') {
183
+ $formater = "var formatter = new google.visualization.NumberFormat({
184
  pattern: '#,##%',
185
  fractionDigits: 2
186
  });
187
 
188
  formatter.format(data, 1); ";
189
+ } else {
190
+ $formater = '';
191
+ }
192
+
193
+ if (isset($this->gadwp->config->options['ga_dash_style'])) {
194
+ $light_color = GADWP_Tools::colourVariator($this->gadwp->config->options['ga_dash_style'], 40);
195
+ $dark_color = GADWP_Tools::colourVariator($this->gadwp->config->options['ga_dash_style'], - 20);
196
+ $css = "colors:['" . $this->gadwp->config->options['ga_dash_style'] . "','" . GADWP_Tools::colourVariator($this->gadwp->config->options['ga_dash_style'], - 20) . "'],";
197
+ $color = $this->gadwp->config->options['ga_dash_style'];
198
+ } else {
199
+ $css = "";
200
+ $color = "#3366CC";
201
+ }
202
+ if ($period == 'realtime') {
203
+ wp_register_style('jquery-ui-tooltip-html', GADWP_URL . 'realtime/jquery/jquery.ui.tooltip.html.css');
204
+ wp_enqueue_style('jquery-ui-tooltip-html');
205
+ if (! wp_script_is('jquery')) {
206
+ wp_enqueue_script('jquery');
207
+ }
208
+ if (! wp_script_is('jquery-ui-tooltip')) {
209
+ wp_enqueue_script("jquery-ui-tooltip");
210
+ }
211
+ if (! wp_script_is('jquery-ui-core')) {
212
+ wp_enqueue_script("jquery-ui-core");
213
+ }
214
+ if (! wp_script_is('jquery-ui-position')) {
215
+ wp_enqueue_script("jquery-ui-position");
216
+ }
217
+ if (! wp_script_is('jquery-ui-position')) {
218
+ wp_enqueue_script("jquery-ui-position");
219
+ }
220
+ wp_register_script("jquery-ui-tooltip-html", GADWP_URL . 'realtime/jquery/jquery.ui.tooltip.html.js');
221
+ wp_enqueue_script("jquery-ui-tooltip-html");
222
+ }
223
+ if ($period == 'realtime') {
224
+ ?>
225
  <div class="realtime">
226
+ <div class="gadash-rt-box">
227
+ <div class='gadash-tdo-left'>
228
+ <div class='gadash-online' id='gadash-online'>0</div>
229
+ </div>
230
+ <div class='gadash-tdo-right' id='gadash-tdo-right'>
231
+ <div class="gadash-bigtext">
232
+ <div class="gadash-bleft"><?php _e( "REFERRAL", 'ga-dash' );?></div>
233
+ <div class="gadash-bright">0</div>
234
+ </div>
235
+ <div class="gadash-bigtext">
236
+ <div class="gadash-bleft"><?php _e( "ORGANIC", 'ga-dash' );?></div>
237
+ <div class="gadash-bright">0</div>
238
+ </div>
239
+ <div class="gadash-bigtext">
240
+ <div class="gadash-bleft"><?php _e( "SOCIAL", 'ga-dash' );?></div>
241
+ <div class="gadash-bright">0</div>
242
+ </div>
243
+ <div class="gadash-bigtext">
244
+ <div class="gadash-bleft"><?php _e( "CAMPAIGN", 'ga-dash' );?></div>
245
+ <div class="gadash-bright">0</div>
246
+ </div>
247
+ <div class="gadash-bigtext">
248
+ <div class="gadash-bleft"><?php _e( "DIRECT", 'ga-dash' );?></div>
249
+ <div class="gadash-bright">0</div>
250
+ </div>
251
+ <div class="gadash-bigtext">
252
+ <div class="gadash-bleft"><?php _e( "NEW", 'ga-dash' );?></div>
253
+ <div class="gadash-bright">0</div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ <div>
258
+ <div id='gadash-pages' class='gadash-pages'>&nbsp;</div>
259
+ </div>
260
  </div>
261
  <script type="text/javascript">
262
 
434
 
435
  var pgstatstable = "";
436
  for ( var i = 0; i < upagepathstats.length; i = i + 1 ) {
437
+ if (i < <?php echo $this->gadwp->config->options['ga_realtime_pages']; ?>){
438
  pgstatstable += '<div class="gadash-pline"><div class="gadash-pleft"><a href="#" title="'+gadash_pagedetails(data, upagepathstats[i].pagepath)+'">'+upagepathstats[i].pagepath.substring(0,70)+'</a></div><div class="gadash-pright">'+upagepathstats[i].count+'</div></div>';
439
  }
440
  }
484
  online_refresh();
485
  setInterval(online_refresh, 60000);
486
  </script>
487
+ <?php } else if (array_search($query, array('referrers','contentpages','searches')) !== false) {?>
488
  <div id="gadash-trafficchannels"></div>
489
  <div id="gadash-prs"></div>
490
  <script type="text/javascript">
576
  <?php } else if ($query == 'trafficdetails') {?>
577
  <div id="gadash-trafficchannels"></div>
578
  <div class="gadash-floatwraper">
579
+ <div id="gadash-trafficmediums"></div>
580
+ <div id="gadash-traffictype"></div>
581
  </div>
582
  <div class="gadash-floatwraper">
583
+ <div id="gadash-trafficorganic"></div>
584
+ <div id="gadash-socialnetworks"></div>
585
  </div>
586
  <script type="text/javascript">
587
  google.load("visualization", "1", {packages:["corechart","orgchart"]});
710
  legend: 'none',
711
  chartArea: {width: '99%',height: '80%'},
712
  title: '<?php _e( "Traffic Mediums", 'ga-dash' ); ?>',
713
+ colors:['<?php echo esc_html($this->gadwp->config->options ['ga_dash_style']); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 20 )); ?>']
714
  };
715
 
716
  var chart = new google.visualization.PieChart(document.getElementById('gadash-trafficmediums'));
726
  legend: 'none',
727
  chartArea: {width: '99%',height: '80%'},
728
  title: '<?php _e( "Visitor Type", 'ga-dash' ); ?>',
729
+ colors:['<?php echo esc_html($this->gadwp->config->options ['ga_dash_style']); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 20 )); ?>']
730
  };
731
 
732
  var chart = new google.visualization.PieChart(document.getElementById('gadash-traffictype'));
742
  legend: 'none',
743
  chartArea: {width: '99%',height: '80%'},
744
  title: '<?php _e( "Social Networks", 'ga-dash' ); ?>',
745
+ colors:['<?php echo esc_html($this->gadwp->config->options ['ga_dash_style']); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 20 )); ?>']
746
  };
747
 
748
  var chart = new google.visualization.PieChart(document.getElementById('gadash-socialnetworks'));
758
  legend: 'none',
759
  chartArea: {width: '99%',height: '80%'},
760
  title: '<?php _e( "Search Engines", 'ga-dash' ); ?>',
761
+ colors:['<?php echo esc_html($this->gadwp->config->options ['ga_dash_style']); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 20 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], + 10 )); ?>','<?php echo esc_html(GADWP_Tools::colourVariator ( $this->gadwp->config->options ['ga_dash_style'], - 20 )); ?>']
762
  };
763
 
764
  var chart = new google.visualization.PieChart(document.getElementById('gadash-trafficorganic'));
835
  chartArea: {width: '99%',height: '90%'},
836
  colors: ['<?php echo $light_color; ?>', '<?php echo $dark_color; ?>'],
837
  <?php
838
+
839
+ $country_codes = GADWP_Tools::get_countrycodes();
840
+ if ($this->gadwp->config->options['ga_target_geomap'] && isset($country_codes[$this->gadwp->config->options['ga_target_geomap']])) {
841
+ ?>
842
+ region : '<?php echo esc_html($this->gadwp->config->options ['ga_target_geomap']); ?>',
843
  displayMode : 'markers',
844
  datalessRegionColor : 'EFEFEF'
845
  <?php } ?>
865
  <?php } else {?>
866
  <div id="gadash-mainchart"></div>
867
  <div id="gadash-bottomstats" class="gadash-wrapper">
868
+ <div class="inside">
869
+ <div class="small-box">
870
+ <h3><?php _e( "Sessions", 'ga-dash' );?></h3>
871
+ <p id="gdsessions">&nbsp;</p>
872
+ </div>
873
+ <div class="small-box">
874
+ <h3><?php _e( "Users", 'ga-dash' );?></h3>
875
+ <p id="gdusers">&nbsp;</p>
876
+ </div>
877
+ <div class="small-box">
878
+ <h3><?php _e( "Page Views", 'ga-dash' );?></h3>
879
+ <p id="gdpageviews">&nbsp;</p>
880
+ </div>
881
+ <div class="small-box">
882
+ <h3><?php _e( "Bounce Rate", 'ga-dash' );?></h3>
883
+ <p id="gdbouncerate">&nbsp;</p>
884
+ </div>
885
+ <div class="small-box">
886
+ <h3><?php _e( "Organic Search", 'ga-dash' );?></h3>
887
+ <p id="gdorganicsearch">&nbsp;</p>
888
+ </div>
889
+ <div class="small-box">
890
+ <h3><?php _e( "Pages/Session", 'ga-dash' );?></h3>
891
+ <p id="gdpagespervisit">&nbsp;</p>
892
+ </div>
893
+ </div>
894
  </div>
895
  <script type="text/javascript">
896
 
983
  };
984
  </script>
985
  <?php
986
+ }
987
+ }
988
  }
 
 
 
 
989
  }
config.php CHANGED
@@ -5,328 +5,321 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Config')) {
9
 
10
- final class GADASH_Config
11
- {
12
- public $options;
13
- public $plugin_path, $plugin_url;
14
- public $access = array(
15
- '65556128781.apps.googleusercontent.com',
16
- 'Kc7888wgbc_JbeCpbFjnYpwE',
17
- 'AIzaSymApG7LlUoHc29ZeC_dsShVaBEX15SfRl_WY'
18
- );
19
 
20
- public function __construct()
21
- {
22
- $this->getPluginPath();
23
- // get plugin options
24
- $this->get_plugin_options();
25
- $this->access = array_map(array(
26
- $this,
27
- 'map'
28
- ), $this->access);
29
- add_filter('auto_update_plugin', array(
30
- $this,
31
- 'automatic_update'
32
- ), 10, 2);
33
- }
34
 
35
- function get_major_version($version)
36
  {
37
- $exploded_version = explode('.', $version);
38
- return $exploded_version[0] . '.' . $exploded_version[1];
39
- }
40
 
41
- function automatic_update($update, $item)
42
- {
43
- $item = (array) $item;
44
- if (is_multisite() && ! is_main_site()) {
45
- return;
46
- }
47
- if (! isset($item['new_version']) || ! isset($item['plugin']) || ! $this->options['automatic_updates_minorversion']) {
48
- return $update;
49
- }
50
- if (isset($item['slug']) and $item['slug'] == 'google-analytics-dashboard-for-wp') {
51
- // Only when a minor update is available
52
- return ($this->get_major_version(GADWP_CURRENT_VERSION) == $this->get_major_version($item['new_version']));
53
- }
54
- return $update;
55
- }
56
-
57
- // Validates data before storing
58
- private static function validate_data($options)
59
- {
60
- if (isset($options['ga_realtime_pages'])) {
61
- $options['ga_realtime_pages'] = (int) $options['ga_realtime_pages'];
62
- }
63
- if (isset($options['ga_crossdomain_tracking'])) {
64
- $options['ga_crossdomain_tracking'] = (int) $options['ga_crossdomain_tracking'];
65
- }
66
- if (isset($options['ga_crossdomain_list'])) {
67
- $options['ga_crossdomain_list'] = sanitize_text_field($options['ga_crossdomain_list']);
68
- }
69
- if (isset($options['ga_dash_apikey'])) {
70
- $options['ga_dash_apikey'] = sanitize_text_field($options['ga_dash_apikey']);
71
- }
72
- if (isset($options['ga_dash_clientid'])) {
73
- $options['ga_dash_clientid'] = sanitize_text_field($options['ga_dash_clientid']);
74
- }
75
- if (isset($options['ga_dash_clientsecret'])) {
76
- $options['ga_dash_clientsecret'] = sanitize_text_field($options['ga_dash_clientsecret']);
77
- }
78
- if (isset($options['ga_dash_style'])) {
79
- $options['ga_dash_style'] = sanitize_text_field($options['ga_dash_style']);
80
- }
81
- if (isset($options['ga_event_downloads'])) {
82
- if (empty($options['ga_event_downloads'])) {
83
- $options['ga_event_downloads'] = 'zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*';
84
- }
85
- $options['ga_event_downloads'] = sanitize_text_field($options['ga_event_downloads']);
86
- }
87
- if (isset($options['ga_speed_samplerate']) && ($options['ga_speed_samplerate'] < 1 || $options['ga_speed_samplerate'] > 100)) {
88
- $options['ga_speed_samplerate'] = 1;
89
- }
90
- if (isset($options['ga_target_geomap'])) {
91
- $options['ga_target_geomap'] = sanitize_text_field($options['ga_target_geomap']);
92
- }
93
- if (isset($options['ga_author_dimindex'])) {
94
- $options['ga_author_dimindex'] = (int) $options['ga_author_dimindex'];
95
- }
96
- if (isset($options['ga_category_dimindex'])) {
97
- $options['ga_category_dimindex'] = (int) $options['ga_category_dimindex'];
98
- }
99
- if (isset($options['ga_user_dimindex'])) {
100
- $options['ga_user_dimindex'] = (int) $options['ga_user_dimindex'];
101
- }
102
- if (isset($options['ga_pubyear_dimindex'])) {
103
- $options['ga_pubyear_dimindex'] = (int) $options['ga_pubyear_dimindex'];
104
- }
105
- if (isset($options['ga_aff_tracking'])) {
106
- $options['ga_aff_tracking'] = (int) $options['ga_aff_tracking'];
107
- }
108
- if (isset($options['ga_event_affiliates'])) {
109
- if (empty($options['ga_event_affiliates'])) {
110
- $options['ga_event_affiliates'] = '/out/';
111
  }
112
- $options['ga_event_affiliates'] = sanitize_text_field($options['ga_event_affiliates']);
113
- }
114
- return $options;
115
- }
116
 
117
- public function set_plugin_options($network_settings = false)
118
- {
119
- // Handle Network Mode
120
- $options = $this->options;
121
- $get_network_options = get_site_option('gadash_network_options');
122
- $old_network_options = (array) json_decode($get_network_options);
123
- if (is_multisite()) {
124
- if ($network_settings) { // Retrieve network options, clear blog options, store both to db
125
- $network_options['ga_dash_token'] = $this->options['ga_dash_token'];
126
- $options['ga_dash_token'] = '';
127
- $network_options['ga_dash_refresh_token'] = $this->options['ga_dash_refresh_token'];
128
- $options['ga_dash_refresh_token'] = '';
129
- if (is_network_admin()) {
130
- $network_options['ga_dash_profile_list'] = $this->options['ga_dash_profile_list'];
131
- $options['ga_dash_profile_list'] = array();
132
- $network_options['ga_dash_apikey'] = $this->options['ga_dash_apikey'];
133
- $options['ga_dash_apikey'] = '';
134
- $network_options['ga_dash_clientid'] = $this->options['ga_dash_clientid'];
135
- $options['ga_dash_clientid'] = '';
136
- $network_options['ga_dash_clientsecret'] = $this->options['ga_dash_clientsecret'];
137
- $options['ga_dash_clientsecret'] = '';
138
- $network_options['ga_dash_userapi'] = $this->options['ga_dash_userapi'];
139
- $options['ga_dash_userapi'] = 0;
140
- $network_options['ga_dash_network'] = $this->options['ga_dash_network'];
141
- $network_options['ga_dash_excludesa'] = $this->options['ga_dash_excludesa'];
142
- $network_options['automatic_updates_minorversion'] = $this->options['automatic_updates_minorversion'];
143
- unset($options['ga_dash_network']);
144
- if (isset($this->options['ga_dash_tableid_network'])) {
145
- $network_options['ga_dash_tableid_network'] = $this->options['ga_dash_tableid_network'];
146
- unset($options['ga_dash_tableid_network']);
147
- }
148
- }
149
- update_site_option('gadash_network_options', json_encode($this->validate_data(array_merge($old_network_options, $network_options))));
150
  }
151
- }
152
- update_option('gadash_options', json_encode($this->validate_data($options)));
153
- }
154
 
155
- public function getPluginPath()
156
- {
157
- /*
158
- * Set Plugin Path
159
- */
160
- $this->plugin_path = dirname(__FILE__);
161
- $this->plugin_url = plugins_url("", __FILE__);
162
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
 
164
- private function map($map)
165
- {
166
- return str_ireplace('map', chr(66), $map);
167
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
 
169
- private function get_plugin_options()
170
- {
171
- /*
172
- * Get plugin options
173
- */
174
- global $blog_id;
175
- $tools = new GADASH_Tools();
176
- if (! get_option('gadash_options')) {
177
- GADASH_Install::install();
178
- }
179
- $this->options = (array) json_decode(get_option('gadash_options'));
180
- // Maintain Compatibility
181
- $this->maintain_compatibility();
182
- // Handle Network Mode
183
- if (is_multisite()) {
184
- $get_network_options = get_site_option('gadash_network_options');
185
- $network_options = (array) json_decode($get_network_options);
186
- if (isset($network_options['ga_dash_network']) && ($network_options['ga_dash_network'])) {
187
- $network_options = (array) json_decode($get_network_options);
188
- if (! is_network_admin() && ! empty($network_options['ga_dash_profile_list'])) {
189
- $network_options['ga_dash_profile_list'] = array(
190
- 0 => $tools->get_selected_profile($network_options['ga_dash_profile_list'], $network_options['ga_dash_tableid_network']->$blog_id)
191
- );
192
- $network_options['ga_dash_tableid_jail'] = $network_options['ga_dash_profile_list'][0][1];
193
- }
194
- $this->options = array_merge($this->options, $network_options);
195
  }
196
- }
197
- }
198
 
199
- private function maintain_compatibility()
200
- {
201
- if (GADWP_CURRENT_VERSION != get_option('gadwp_version')) {
202
- $tools = new GADASH_Tools();
203
- $tools->clear_cache();
204
- delete_transient('ga_dash_lasterror');
205
- update_option('gadwp_version', GADWP_CURRENT_VERSION);
206
- if (is_multisite()) { // Cleanup errors on the entire network
207
- foreach (wp_get_sites(array(
208
- 'limit' => apply_filters('gadwp_sites_limit', 100)
209
- )) as $blog) {
210
- switch_to_blog($blog['blog_id']);
211
- delete_transient('ga_dash_gapi_errors');
212
- restore_current_blog();
213
- }
214
- } else {
215
- delete_transient('ga_dash_gapi_errors');
 
 
 
 
 
 
 
 
 
 
 
216
  }
217
- }
218
- $flag = false;
219
- if (! isset($this->options['ga_enhanced_links'])) {
220
- $this->options['ga_enhanced_links'] = 0;
221
- $flag = true;
222
- }
223
- if (! isset($this->options['ga_enhanced_network'])) {
224
- $this->options['ga_dash_network'] = 0;
225
- $flag = true;
226
- }
227
- if (! isset($this->options['ga_enhanced_excludesa'])) {
228
- $this->options['ga_dash_excludesa'] = 0;
229
- $flag = true;
230
- }
231
- if (! isset($this->options['ga_dash_remarketing'])) {
232
- $this->options['ga_dash_remarketing'] = 0;
233
- $flag = true;
234
- }
235
- if (! isset($this->options['ga_dash_adsense'])) {
236
- $this->options['ga_dash_adsense'] = 0;
237
- $flag = true;
238
- }
239
- if (! isset($this->options['ga_speed_samplerate'])) {
240
- $this->options['ga_speed_samplerate'] = 1;
241
- $flag = true;
242
- }
243
- if (! isset($this->options['automatic_updates_minorversion'])) {
244
- $this->options['automatic_updates_minorversion'] = 1;
245
- $flag = true;
246
- }
247
- if (! isset($this->options['ga_event_bouncerate'])) {
248
- $this->options['ga_event_bouncerate'] = 0;
249
- $flag = true;
250
- }
251
- if (! is_array($this->options['ga_dash_access_front']) or empty($this->options['ga_dash_access_front'])) {
252
- $this->options['ga_dash_access_front'] = array();
253
- $this->options['ga_dash_access_front'][] = 'administrator';
254
- $flag = true;
255
- }
256
- if (! is_array($this->options['ga_dash_access_back']) or empty($this->options['ga_dash_access_back'])) {
257
- $this->options['ga_dash_access_back'] = array();
258
- $this->options['ga_dash_access_back'][] = 'administrator';
259
- $flag = true;
260
- }
261
- if (! is_array($this->options['ga_track_exclude'])) {
262
- $this->options['ga_track_exclude'] = array();
263
- $flag = true;
264
- }
265
- if (! isset($this->options['ga_crossdomain_tracking'])) {
266
- $this->options['ga_crossdomain_tracking'] = 0;
267
- $flag = true;
268
- }
269
- if (! isset($this->options['ga_crossdomain_list'])) {
270
- $this->options['ga_crossdomain_list'] = '';
271
- $flag = true;
272
- }
273
- if (! isset($this->options['ga_author_dimindex'])) {
274
- $this->options['ga_author_dimindex'] = 0;
275
- $flag = true;
276
- }
277
- if (! isset($this->options['ga_category_dimindex'])) {
278
- $this->options['ga_category_dimindex'] = 0;
279
- $flag = true;
280
- }
281
- if (! isset($this->options['ga_user_dimindex'])) {
282
- $this->options['ga_user_dimindex'] = 0;
283
- $flag = true;
284
- }
285
- if (! isset($this->options['ga_pubyear_dimindex'])) {
286
- $this->options['ga_pubyear_dimindex'] = 0;
287
- $flag = true;
288
- }
289
- if (! isset($this->options['ga_event_affiliates'])) {
290
- $this->options['ga_event_affiliates'] = '/out/';
291
- $flag = true;
292
- }
293
- if (! isset($this->options['ga_aff_tracking'])) {
294
- $this->options['ga_aff_tracking'] = 0;
295
- $flag = true;
296
- }
297
- if (! isset($this->options['ga_hash_tracking'])) {
298
- $this->options['ga_hash_tracking'] = 0;
299
- $flag = true;
300
- }
301
- if (! isset($this->options['item_reports'])) {
302
- $this->options['item_reports'] = 1;
303
- $flag = true;
304
- }
305
- if (! isset($this->options['dashboard_widget'])) {
306
- $this->options['dashboard_widget'] = 1;
307
- $flag = true;
308
- }
309
- if (isset($this->options['ga_tracking_code'])) {
310
- unset($this->options['ga_tracking_code']);
311
- $flag = true;
312
- }
313
- if (isset($this->options['ga_dash_jailadmins'])) {
314
- if (isset($this->options['ga_dash_jailadmins'])) { // invert disable with enable and change option name
315
- $this->options['switch_profile'] = 0;
316
- unset($this->options['ga_dash_jailadmins']);
317
- $flag = true;
318
- } else {
319
- $this->options['switch_profile'] = 1;
320
- unset($this->options['ga_dash_jailadmins']);
321
- $flag = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  }
323
- }
324
- if ($flag) {
325
- $this->set_plugin_options(false);
326
- }
327
  }
328
- }
329
- }
330
- if (! isset($GLOBALS['GADASH_Config'])) {
331
- $GLOBALS['GADASH_Config'] = new GADASH_Config();
332
- }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
 
 
 
 
 
 
12
 
13
+ if (! class_exists('GADWP_Config')) {
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Config
16
  {
 
 
 
17
 
18
+ public $options;
19
+
20
+ public $access = array(
21
+ '65556128781.apps.googleusercontent.com',
22
+ 'Kc7888wgbc_JbeCpbFjnYpwE',
23
+ 'AIzaSymApG7LlUoHc29ZeC_dsShVaBEX15SfRl_WY'
24
+ );
25
+
26
+ public function __construct()
27
+ {
28
+ // get plugin options
29
+ $this->get_plugin_options();
30
+ $this->access = array_map(array(
31
+ $this,
32
+ 'map'
33
+ ), $this->access);
34
+ add_filter('auto_update_plugin', array(
35
+ $this,
36
+ 'automatic_update'
37
+ ), 10, 2);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
 
 
 
 
39
 
40
+ public function get_major_version($version)
41
+ {
42
+ $exploded_version = explode('.', $version);
43
+ return $exploded_version[0] . '.' . $exploded_version[1];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  }
 
 
 
45
 
46
+ public function automatic_update($update, $item)
47
+ {
48
+ $item = (array) $item;
49
+ if (is_multisite() && ! is_main_site()) {
50
+ return;
51
+ }
52
+ if (! isset($item['new_version']) || ! isset($item['plugin']) || ! $this->options['automatic_updates_minorversion']) {
53
+ return $update;
54
+ }
55
+ if (isset($item['slug']) && $item['slug'] == 'google-analytics-dashboard-for-wp') {
56
+ // Only when a minor update is available
57
+ return ($this->get_major_version(GADWP_CURRENT_VERSION) == $this->get_major_version($item['new_version']));
58
+ }
59
+ return $update;
60
+ }
61
+
62
+ // Validates data before storing
63
+ private static function validate_data($options)
64
+ {
65
+ if (isset($options['ga_realtime_pages'])) {
66
+ $options['ga_realtime_pages'] = (int) $options['ga_realtime_pages'];
67
+ }
68
+ if (isset($options['ga_crossdomain_tracking'])) {
69
+ $options['ga_crossdomain_tracking'] = (int) $options['ga_crossdomain_tracking'];
70
+ }
71
+ if (isset($options['ga_crossdomain_list'])) {
72
+ $options['ga_crossdomain_list'] = sanitize_text_field($options['ga_crossdomain_list']);
73
+ }
74
+ if (isset($options['ga_dash_apikey'])) {
75
+ $options['ga_dash_apikey'] = sanitize_text_field($options['ga_dash_apikey']);
76
+ }
77
+ if (isset($options['ga_dash_clientid'])) {
78
+ $options['ga_dash_clientid'] = sanitize_text_field($options['ga_dash_clientid']);
79
+ }
80
+ if (isset($options['ga_dash_clientsecret'])) {
81
+ $options['ga_dash_clientsecret'] = sanitize_text_field($options['ga_dash_clientsecret']);
82
+ }
83
+ if (isset($options['ga_dash_style'])) {
84
+ $options['ga_dash_style'] = sanitize_text_field($options['ga_dash_style']);
85
+ }
86
+ if (isset($options['ga_event_downloads'])) {
87
+ if (empty($options['ga_event_downloads'])) {
88
+ $options['ga_event_downloads'] = 'zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*';
89
+ }
90
+ $options['ga_event_downloads'] = sanitize_text_field($options['ga_event_downloads']);
91
+ }
92
+ if (isset($options['ga_speed_samplerate']) && ($options['ga_speed_samplerate'] < 1 || $options['ga_speed_samplerate'] > 100)) {
93
+ $options['ga_speed_samplerate'] = 1;
94
+ }
95
+ if (isset($options['ga_target_geomap'])) {
96
+ $options['ga_target_geomap'] = sanitize_text_field($options['ga_target_geomap']);
97
+ }
98
+ if (isset($options['ga_author_dimindex'])) {
99
+ $options['ga_author_dimindex'] = (int) $options['ga_author_dimindex'];
100
+ }
101
+ if (isset($options['ga_category_dimindex'])) {
102
+ $options['ga_category_dimindex'] = (int) $options['ga_category_dimindex'];
103
+ }
104
+ if (isset($options['ga_user_dimindex'])) {
105
+ $options['ga_user_dimindex'] = (int) $options['ga_user_dimindex'];
106
+ }
107
+ if (isset($options['ga_pubyear_dimindex'])) {
108
+ $options['ga_pubyear_dimindex'] = (int) $options['ga_pubyear_dimindex'];
109
+ }
110
+ if (isset($options['ga_aff_tracking'])) {
111
+ $options['ga_aff_tracking'] = (int) $options['ga_aff_tracking'];
112
+ }
113
+ if (isset($options['ga_event_affiliates'])) {
114
+ if (empty($options['ga_event_affiliates'])) {
115
+ $options['ga_event_affiliates'] = '/out/';
116
+ }
117
+ $options['ga_event_affiliates'] = sanitize_text_field($options['ga_event_affiliates']);
118
+ }
119
+ return $options;
120
+ }
121
 
122
+ public function set_plugin_options($network_settings = false)
123
+ {
124
+ // Handle Network Mode
125
+ $options = $this->options;
126
+ $get_network_options = get_site_option('gadash_network_options');
127
+ $old_network_options = (array) json_decode($get_network_options);
128
+ if (is_multisite()) {
129
+ if ($network_settings) { // Retrieve network options, clear blog options, store both to db
130
+ $network_options['ga_dash_token'] = $this->options['ga_dash_token'];
131
+ $options['ga_dash_token'] = '';
132
+ $network_options['ga_dash_refresh_token'] = $this->options['ga_dash_refresh_token'];
133
+ $options['ga_dash_refresh_token'] = '';
134
+ if (is_network_admin()) {
135
+ $network_options['ga_dash_profile_list'] = $this->options['ga_dash_profile_list'];
136
+ $options['ga_dash_profile_list'] = array();
137
+ $network_options['ga_dash_apikey'] = $this->options['ga_dash_apikey'];
138
+ $options['ga_dash_apikey'] = '';
139
+ $network_options['ga_dash_clientid'] = $this->options['ga_dash_clientid'];
140
+ $options['ga_dash_clientid'] = '';
141
+ $network_options['ga_dash_clientsecret'] = $this->options['ga_dash_clientsecret'];
142
+ $options['ga_dash_clientsecret'] = '';
143
+ $network_options['ga_dash_userapi'] = $this->options['ga_dash_userapi'];
144
+ $options['ga_dash_userapi'] = 0;
145
+ $network_options['ga_dash_network'] = $this->options['ga_dash_network'];
146
+ $network_options['ga_dash_excludesa'] = $this->options['ga_dash_excludesa'];
147
+ $network_options['automatic_updates_minorversion'] = $this->options['automatic_updates_minorversion'];
148
+ unset($options['ga_dash_network']);
149
+ if (isset($this->options['ga_dash_tableid_network'])) {
150
+ $network_options['ga_dash_tableid_network'] = $this->options['ga_dash_tableid_network'];
151
+ unset($options['ga_dash_tableid_network']);
152
+ }
153
+ }
154
+ update_site_option('gadash_network_options', json_encode($this->validate_data(array_merge($old_network_options, $network_options))));
155
+ }
156
+ }
157
+ update_option('gadash_options', json_encode($this->validate_data($options)));
158
+ }
159
 
160
+ private function map($map)
161
+ {
162
+ return str_ireplace('map', chr(66), $map);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
 
 
164
 
165
+ private function get_plugin_options()
166
+ {
167
+ /*
168
+ * Get plugin options
169
+ */
170
+ global $blog_id;
171
+
172
+ if (! get_option('gadash_options')) {
173
+ GADWP_Install::install();
174
+ }
175
+ $this->options = (array) json_decode(get_option('gadash_options'));
176
+ // Maintain Compatibility
177
+ $this->maintain_compatibility();
178
+ // Handle Network Mode
179
+ if (is_multisite()) {
180
+ $get_network_options = get_site_option('gadash_network_options');
181
+ $network_options = (array) json_decode($get_network_options);
182
+ if (isset($network_options['ga_dash_network']) && ($network_options['ga_dash_network'])) {
183
+ $network_options = (array) json_decode($get_network_options);
184
+ if (! is_network_admin() && ! empty($network_options['ga_dash_profile_list'])) {
185
+ $network_options['ga_dash_profile_list'] = array(
186
+ 0 => GADWP_Tools::get_selected_profile($network_options['ga_dash_profile_list'], $network_options['ga_dash_tableid_network']->$blog_id)
187
+ );
188
+ $network_options['ga_dash_tableid_jail'] = $network_options['ga_dash_profile_list'][0][1];
189
+ }
190
+ $this->options = array_merge($this->options, $network_options);
191
+ }
192
+ }
193
  }
194
+
195
+ private function maintain_compatibility()
196
+ {
197
+ if (GADWP_CURRENT_VERSION != get_option('gadwp_version')) {
198
+
199
+ GADWP_Tools::clear_cache();
200
+ delete_transient('ga_dash_lasterror');
201
+ update_option('gadwp_version', GADWP_CURRENT_VERSION);
202
+ if (is_multisite()) { // Cleanup errors on the entire network
203
+ foreach (wp_get_sites(array(
204
+ 'limit' => apply_filters('gadwp_sites_limit', 100)
205
+ )) as $blog) {
206
+ switch_to_blog($blog['blog_id']);
207
+ delete_transient('ga_dash_gapi_errors');
208
+ restore_current_blog();
209
+ }
210
+ } else {
211
+ delete_transient('ga_dash_gapi_errors');
212
+ }
213
+ }
214
+ $flag = false;
215
+ if (! isset($this->options['ga_enhanced_links'])) {
216
+ $this->options['ga_enhanced_links'] = 0;
217
+ $flag = true;
218
+ }
219
+ if (! isset($this->options['ga_enhanced_network'])) {
220
+ $this->options['ga_dash_network'] = 0;
221
+ $flag = true;
222
+ }
223
+ if (! isset($this->options['ga_enhanced_excludesa'])) {
224
+ $this->options['ga_dash_excludesa'] = 0;
225
+ $flag = true;
226
+ }
227
+ if (! isset($this->options['ga_dash_remarketing'])) {
228
+ $this->options['ga_dash_remarketing'] = 0;
229
+ $flag = true;
230
+ }
231
+ if (! isset($this->options['ga_dash_adsense'])) {
232
+ $this->options['ga_dash_adsense'] = 0;
233
+ $flag = true;
234
+ }
235
+ if (! isset($this->options['ga_speed_samplerate'])) {
236
+ $this->options['ga_speed_samplerate'] = 1;
237
+ $flag = true;
238
+ }
239
+ if (! isset($this->options['automatic_updates_minorversion'])) {
240
+ $this->options['automatic_updates_minorversion'] = 1;
241
+ $flag = true;
242
+ }
243
+ if (! isset($this->options['ga_event_bouncerate'])) {
244
+ $this->options['ga_event_bouncerate'] = 0;
245
+ $flag = true;
246
+ }
247
+ if (! is_array($this->options['ga_dash_access_front']) || empty($this->options['ga_dash_access_front'])) {
248
+ $this->options['ga_dash_access_front'] = array();
249
+ $this->options['ga_dash_access_front'][] = 'administrator';
250
+ $flag = true;
251
+ }
252
+ if (! is_array($this->options['ga_dash_access_back']) || empty($this->options['ga_dash_access_back'])) {
253
+ $this->options['ga_dash_access_back'] = array();
254
+ $this->options['ga_dash_access_back'][] = 'administrator';
255
+ $flag = true;
256
+ }
257
+ if (! is_array($this->options['ga_track_exclude'])) {
258
+ $this->options['ga_track_exclude'] = array();
259
+ $flag = true;
260
+ }
261
+ if (! isset($this->options['ga_crossdomain_tracking'])) {
262
+ $this->options['ga_crossdomain_tracking'] = 0;
263
+ $flag = true;
264
+ }
265
+ if (! isset($this->options['ga_crossdomain_list'])) {
266
+ $this->options['ga_crossdomain_list'] = '';
267
+ $flag = true;
268
+ }
269
+ if (! isset($this->options['ga_author_dimindex'])) {
270
+ $this->options['ga_author_dimindex'] = 0;
271
+ $flag = true;
272
+ }
273
+ if (! isset($this->options['ga_category_dimindex'])) {
274
+ $this->options['ga_category_dimindex'] = 0;
275
+ $flag = true;
276
+ }
277
+ if (! isset($this->options['ga_user_dimindex'])) {
278
+ $this->options['ga_user_dimindex'] = 0;
279
+ $flag = true;
280
+ }
281
+ if (! isset($this->options['ga_pubyear_dimindex'])) {
282
+ $this->options['ga_pubyear_dimindex'] = 0;
283
+ $flag = true;
284
+ }
285
+ if (! isset($this->options['ga_event_affiliates'])) {
286
+ $this->options['ga_event_affiliates'] = '/out/';
287
+ $flag = true;
288
+ }
289
+ if (! isset($this->options['ga_aff_tracking'])) {
290
+ $this->options['ga_aff_tracking'] = 0;
291
+ $flag = true;
292
+ }
293
+ if (! isset($this->options['ga_hash_tracking'])) {
294
+ $this->options['ga_hash_tracking'] = 0;
295
+ $flag = true;
296
+ }
297
+ if (! isset($this->options['item_reports'])) {
298
+ $this->options['item_reports'] = 1;
299
+ $flag = true;
300
+ }
301
+ if (! isset($this->options['dashboard_widget'])) {
302
+ $this->options['dashboard_widget'] = 1;
303
+ $flag = true;
304
+ }
305
+ if (isset($this->options['ga_tracking_code'])) {
306
+ unset($this->options['ga_tracking_code']);
307
+ $flag = true;
308
+ }
309
+ if (isset($this->options['ga_dash_jailadmins'])) {
310
+ if (isset($this->options['ga_dash_jailadmins'])) { // invert disable with enable and change option name
311
+ $this->options['switch_profile'] = 0;
312
+ unset($this->options['ga_dash_jailadmins']);
313
+ $flag = true;
314
+ } else {
315
+ $this->options['switch_profile'] = 1;
316
+ unset($this->options['ga_dash_jailadmins']);
317
+ $flag = true;
318
+ }
319
+ }
320
+ if ($flag) {
321
+ $this->set_plugin_options(false);
322
+ }
323
  }
 
 
 
 
324
  }
325
+ }
 
 
 
 
front/ajax-actions.php CHANGED
@@ -5,127 +5,136 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Frontend_Ajax')) {
9
 
10
- final class GADASH_Frontend_Ajax
11
- {
 
12
 
13
- function __construct()
14
- {
15
- // Frontend Reports/Page action
16
- add_action('wp_ajax_gadash_get_frontend_pagereports', array(
17
- $this,
18
- 'ajax_afterpost_reports'
19
- ));
20
- // Frontend Widget actions
21
- add_action('wp_ajax_gadash_get_frontendwidget_data', array(
22
- $this,
23
- 'ajax_frontend_widget'
24
- ));
25
- add_action('wp_ajax_nopriv_gadash_get_frontendwidget_data', array(
26
- $this,
27
- 'ajax_frontend_widget'
28
- ));
29
- }
30
 
31
- /**
32
- * Ajax handler for getting analytics data for frontend Views vs UniqueViews
33
- *
34
- * @return string|int
35
- */
36
- function ajax_afterpost_reports()
37
- {
38
- global $GADASH_Config;
39
- if (! isset($_REQUEST['gadash_security_pagereports']) or ! wp_verify_nonce($_REQUEST['gadash_security_pagereports'], 'gadash_get_frontend_pagereports')) {
40
- wp_die(- 30);
41
- }
42
- $page_url = esc_url($_REQUEST['gadash_pageurl']);
43
- $post_id = (int) $_REQUEST['gadash_postid'];
44
- $query = $_REQUEST['query'];
45
- if (ob_get_length()) {
46
- ob_clean();
47
- }
48
- $tools = new GADASH_Tools();
49
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_front']) or ! ($GADASH_Config->options['ga_dash_frontend_stats'] or $GADASH_Config->options['ga_dash_frontend_keywords'])) {
50
- wp_die(- 31);
51
- }
52
- if ($GADASH_Config->options['ga_dash_token'] and $GADASH_Config->options['ga_dash_tableid_jail']) {
53
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
54
- global $GADASH_GAPI;
55
- } else {
56
- wp_die(- 24);
57
- }
58
- if ($GADASH_Config->options['ga_dash_tableid_jail']) {
59
- $projectId = $GADASH_Config->options['ga_dash_tableid_jail'];
60
- } else {
61
- wp_die(- 25);
62
- }
63
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $projectId);
64
- if (isset($profile_info[4])) {
65
- $GADASH_GAPI->timeshift = $profile_info[4];
66
- } else {
67
- $GADASH_GAPI->timeshift = (int) current_time('timestamp') - time();
68
- }
69
- switch ($query) {
70
- case 'pageviews':
71
- wp_send_json($GADASH_GAPI->frontend_afterpost_pageviews($projectId, $page_url, $post_id));
72
- break;
73
- default:
74
- wp_send_json($GADASH_GAPI->frontend_afterpost_searches($projectId, $page_url, $post_id));
75
- break;
76
- }
77
- }
78
- // Frontend Widget Reports
79
- /**
80
- * Ajax handler for getting analytics data for frontend Widget
81
- *
82
- * @return string|int
83
- */
84
- function ajax_frontend_widget()
85
  {
86
- global $GADASH_Config;
87
- if (! isset($_REQUEST['gadash_number']) or ! isset($_REQUEST['gadash_optionname']) or ! is_active_widget(false, false, 'gadash_frontend_widget')) {
88
- wp_die(- 30);
89
- }
90
- $widget_index = $_REQUEST['gadash_number'];
91
- $option_name = $_REQUEST['gadash_optionname'];
92
- $options = get_option($option_name);
93
- if (isset($options[$widget_index])) {
94
- $instance = $options[$widget_index];
95
- } else {
96
- wp_die(- 32);
97
- }
98
- switch ($instance['period']) { // make sure we have a valid request
99
- case '7daysAgo':
100
- $period = '7daysAgo';
101
- break;
102
- case '14daysAgo':
103
- $period = '14daysAgo';
104
- break;
105
- default:
106
- $period = '30daysAgo';
107
- break;
108
- }
109
- if (ob_get_length()) {
110
- ob_clean();
111
- }
112
- if ($GADASH_Config->options['ga_dash_token'] and $GADASH_Config->options['ga_dash_tableid_jail']) {
113
- include_once ($GADASH_Config->plugin_path . '/tools/gapi.php');
114
- global $GADASH_GAPI;
115
-
116
- $tools = new GADASH_Tools();
117
- } else {
118
- wp_die(- 24);
119
- }
120
- $projectId = $GADASH_Config->options['ga_dash_tableid_jail'];
121
- $profile_info = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $projectId);
122
- if (isset($profile_info[4])) {
123
- $GADASH_GAPI->timeshift = $profile_info[4];
124
- } else {
125
- $GADASH_GAPI->timeshift = (int) current_time('timestamp') - time();
126
- }
127
- wp_send_json($GADASH_GAPI->frontend_widget_stats($projectId, $period, (int) $instance['anonim']));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  }
129
- }
130
  }
131
- $GADASH_Frontend_Ajax = new GADASH_Frontend_Ajax();
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Frontend_Ajax')) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Frontend_Ajax
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  {
17
+
18
+ private $gadwp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+
24
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_front']) && ($this->gadwp->config->options['ga_dash_frontend_stats'] || $this->gadwp->config->options['ga_dash_frontend_keywords'])) {
25
+ // Frontend Reports/Page action
26
+ add_action('wp_ajax_gadash_get_frontend_pagereports', array(
27
+ $this,
28
+ 'ajax_afterpost_reports'
29
+ ));
30
+ }
31
+
32
+ // Frontend Widget actions
33
+ add_action('wp_ajax_gadash_get_frontendwidget_data', array(
34
+ $this,
35
+ 'ajax_frontend_widget'
36
+ ));
37
+ add_action('wp_ajax_nopriv_gadash_get_frontendwidget_data', array(
38
+ $this,
39
+ 'ajax_frontend_widget'
40
+ ));
41
+ }
42
+
43
+ /**
44
+ * Ajax handler for getting analytics data for frontend Views vs UniqueViews
45
+ *
46
+ * @return string|int
47
+ */
48
+ public function ajax_afterpost_reports()
49
+ {
50
+ if (! isset($_REQUEST['gadash_security_pagereports']) || ! wp_verify_nonce($_REQUEST['gadash_security_pagereports'], 'gadash_get_frontend_pagereports')) {
51
+ wp_die(- 30);
52
+ }
53
+ $page_url = esc_url($_REQUEST['gadash_pageurl']);
54
+ $post_id = (int) $_REQUEST['gadash_postid'];
55
+ $query = $_REQUEST['query'];
56
+ if (ob_get_length()) {
57
+ ob_clean();
58
+ }
59
+
60
+ if (! GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_front']) || ! ($this->gadwp->config->options['ga_dash_frontend_stats'] || $this->gadwp->config->options['ga_dash_frontend_keywords'])) {
61
+ wp_die(- 31);
62
+ }
63
+ if ($this->gadwp->config->options['ga_dash_token'] && $this->gadwp->config->options['ga_dash_tableid_jail']) {
64
+ if (null === $this->gadwp->gapi_controller) {
65
+ $this->gadwp->gapi_controller = new GADWP_GAPI_Controller();
66
+ }
67
+ } else {
68
+ wp_die(- 24);
69
+ }
70
+ if ($this->gadwp->config->options['ga_dash_tableid_jail']) {
71
+ $projectId = $this->gadwp->config->options['ga_dash_tableid_jail'];
72
+ } else {
73
+ wp_die(- 25);
74
+ }
75
+ $profile_info = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $projectId);
76
+ if (isset($profile_info[4])) {
77
+ $this->gadwp->gapi_controller->timeshift = $profile_info[4];
78
+ } else {
79
+ $this->gadwp->gapi_controller->timeshift = (int) current_time('timestamp') - time();
80
+ }
81
+ switch ($query) {
82
+ case 'pageviews':
83
+ wp_send_json($this->gadwp->gapi_controller->frontend_afterpost_pageviews($projectId, $page_url, $post_id));
84
+ break;
85
+ default:
86
+ wp_send_json($this->gadwp->gapi_controller->frontend_afterpost_searches($projectId, $page_url, $post_id));
87
+ break;
88
+ }
89
+ }
90
+ // Frontend Widget Reports
91
+ /**
92
+ * Ajax handler for getting analytics data for frontend Widget
93
+ *
94
+ * @return string|int
95
+ */
96
+ public function ajax_frontend_widget()
97
+ {
98
+ if (! isset($_REQUEST['gadash_number']) || ! isset($_REQUEST['gadash_optionname']) || ! is_active_widget(false, false, 'gadash_frontend_widget')) {
99
+ wp_die(- 30);
100
+ }
101
+ $widget_index = $_REQUEST['gadash_number'];
102
+ $option_name = $_REQUEST['gadash_optionname'];
103
+ $options = get_option($option_name);
104
+ if (isset($options[$widget_index])) {
105
+ $instance = $options[$widget_index];
106
+ } else {
107
+ wp_die(- 32);
108
+ }
109
+ switch ($instance['period']) { // make sure we have a valid request
110
+ case '7daysAgo':
111
+ $period = '7daysAgo';
112
+ break;
113
+ case '14daysAgo':
114
+ $period = '14daysAgo';
115
+ break;
116
+ default:
117
+ $period = '30daysAgo';
118
+ break;
119
+ }
120
+ if (ob_get_length()) {
121
+ ob_clean();
122
+ }
123
+ if ($this->gadwp->config->options['ga_dash_token'] && $this->gadwp->config->options['ga_dash_tableid_jail']) {
124
+ if (null === $this->gadwp->gapi_controller) {
125
+ $this->gadwp->gapi_controller = new GADWP_GAPI_Controller();
126
+ }
127
+ } else {
128
+ wp_die(- 24);
129
+ }
130
+ $projectId = $this->gadwp->config->options['ga_dash_tableid_jail'];
131
+ $profile_info = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $projectId);
132
+ if (isset($profile_info[4])) {
133
+ $this->gadwp->gapi_controller->timeshift = $profile_info[4];
134
+ } else {
135
+ $this->gadwp->gapi_controller->timeshift = (int) current_time('timestamp') - time();
136
+ }
137
+ wp_send_json($this->gadwp->gapi_controller->frontend_widget_stats($projectId, $period, (int) $instance['anonim']));
138
+ }
139
  }
 
140
  }
 
front/item-reports.php CHANGED
@@ -5,56 +5,66 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Front_Stats')) {
9
 
10
- final class GADASH_Front_Stats
11
- {
 
12
 
13
- function __construct()
14
- {
15
- add_filter('the_content', array(
16
- $this,
17
- 'ga_dash_front_content'
18
- ));
19
- // Frontend Styles
20
- add_action('wp_enqueue_scripts', array(
21
- $this,
22
- 'ga_dash_front_enqueue_styles'
23
- ));
24
- }
25
 
26
- function ga_dash_front_enqueue_styles()
27
  {
28
- global $GADASH_Config;
29
- if ((! is_page() and ! is_single()) or is_preview() or ! is_user_logged_in()) {
30
- return;
31
- }
32
- wp_enqueue_style('ga_dash-front', $GADASH_Config->plugin_url . '/front/css/item-reports.css', NULL, GADWP_CURRENT_VERSION);
33
- wp_enqueue_style('ga_dash-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.css', NULL, GADWP_CURRENT_VERSION);
34
- wp_enqueue_script('ga_dash-front', $GADASH_Config->plugin_url . '/front/js/item-reports.js', array(
35
- 'jquery'
36
- ), GADWP_CURRENT_VERSION);
37
- wp_enqueue_script('ga_dash-nprogress', $GADASH_Config->plugin_url . '/tools/nprogress/nprogress.js', array(
38
- 'jquery'
39
- ), GADWP_CURRENT_VERSION);
40
- wp_enqueue_script('googlejsapi', 'https://www.google.com/jsapi');
41
- }
42
 
43
- function ga_dash_front_content($content)
44
- {
45
- global $post;
46
- global $GADASH_Config;
47
- $tools = new GADASH_Tools();
48
- if (! $tools->check_roles($GADASH_Config->options['ga_dash_access_front']) or ! ($GADASH_Config->options['ga_dash_frontend_stats'] or $GADASH_Config->options['ga_dash_frontend_keywords'])) {
49
- return $content;
50
- }
51
- if ((is_page() || is_single()) && ! is_preview()) {
52
- wp_enqueue_script('gadash-general-settings', plugins_url('admin/js/admin.js', dirname(__FILE__)), array(
53
- 'jquery'
54
- ));
55
- $page_url = $_SERVER["REQUEST_URI"]; // str_replace(site_url(), "", get_permalink());
56
- $post_id = $post->ID;
57
- $content .= '<script type="text/javascript">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  gadash_firstclick = true;
60
 
@@ -99,7 +109,7 @@ if (! class_exists('GADASH_Front_Stats')) {
99
  }else{
100
  jQuery("#gadwp-sessions").css({"background-color":"#F7F7F7","height":"auto","padding-top":"30px","padding-bottom":"30px","color":"#000","text-align":"center"});
101
  jQuery("#gadwp-sessions").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
102
- checknpcounter(1);
103
  }
104
  });
105
  }
@@ -118,7 +128,7 @@ if (! class_exists('GADASH_Front_Stats')) {
118
  }else{
119
  jQuery("#gadwp-searches").css({"background-color":"#F7F7F7","height":"auto","padding-top":"30px","padding-bottom":"30px","color":"#000","text-align":"center"});
120
  jQuery("#gadwp-searches").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
121
- checknpcounter(1);
122
  }
123
  });
124
  }
@@ -126,16 +136,16 @@ if (! class_exists('GADASH_Front_Stats')) {
126
  }
127
  });
128
  });';
129
- if ($GADASH_Config->options['ga_dash_frontend_stats']) {
130
- $title = __("Views vs UniqueViews", 'ga-dash');
131
- if (isset($GADASH_Config->options['ga_dash_style'])) {
132
- $css = "colors:['" . $GADASH_Config->options['ga_dash_style'] . "','" . $tools->colourVariator($GADASH_Config->options['ga_dash_style'], - 20) . "'],";
133
- $color = $GADASH_Config->options['ga_dash_style'];
134
- } else {
135
- $css = "";
136
- $color = "#3366CC";
137
- }
138
- $content .= '
139
  google.load("visualization", "1", {packages:["corechart"]});
140
  function ga_dash_drawpagesessions(gadash_pagesessions) {
141
 
@@ -152,11 +162,11 @@ if (! class_exists('GADASH_Front_Stats')) {
152
 
153
  var chart = new google.visualization.AreaChart(document.getElementById("gadwp-sessions"));
154
  chart.draw(data, options);
155
- checknpcounter(1);
156
  }';
157
- }
158
- if ($GADASH_Config->options['ga_dash_frontend_keywords']) {
159
- $content .= '
160
  google.load("visualization", "1", {packages:["table"]})
161
  function ga_dash_drawpagesearches(gadash_pagesearches) {
162
 
@@ -170,26 +180,23 @@ if (! class_exists('GADASH_Front_Stats')) {
170
 
171
  var chart = new google.visualization.Table(document.getElementById("gadwp-searches"));
172
  chart.draw(datas, options);
173
- checknpcounter(1);
174
  }';
175
- }
176
- $content .= "</script>";
177
- $content .= '<p>
178
  <div id="gadwp">
179
  <div id="gadwp-title">
180
  <a href="#gadwp">' . __('Google Analytics Reports', "ga-dash") . ' <span id="gadwp-arrow">&#x25BC;</span></a>
181
  </div>
182
  <div id="gadwp-progressbar"></div>
183
  <div id="gadwp-content">
184
- ' . ($GADASH_Config->options['ga_dash_frontend_stats'] ? '<div id="gadwp-sessions"></div>' : '') . ($GADASH_Config->options['ga_dash_frontend_keywords'] ? '<div id="gadwp-searches" class="gadwp-spinner"></div>' : '') . '
185
  </div>
186
  </div>
187
  </p>';
188
- }
189
- return $content;
 
190
  }
191
- }
192
- }
193
- if (! is_admin()) {
194
- $GADASH_Front_Stats = new GADASH_Front_Stats();
195
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Frontend_Item_Reports')) {
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ final class GADWP_Frontend_Item_Reports
16
  {
17
+ private $gadwp;
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
+ public function __construct()
20
+ {
21
+ $this->gadwp = GADWP();
22
+
23
+ add_filter('the_content', array(
24
+ $this,
25
+ 'add_content'
26
+ ));
27
+ // Frontend Styles
28
+ add_action('wp_enqueue_scripts', array(
29
+ $this,
30
+ 'load_styles_scripts'
31
+ ));
32
+ }
33
+
34
+ public function load_styles_scripts()
35
+ {
36
+ if ((! is_page() && ! is_single()) || is_preview() || ! is_user_logged_in()) {
37
+ return;
38
+ }
39
+ wp_enqueue_style('ga_dash-front', GADWP_URL . 'front/css/item-reports.css', null, GADWP_CURRENT_VERSION);
40
+ wp_enqueue_style('ga_dash-nprogress', GADWP_URL . 'tools/nprogress/nprogress.css', null, GADWP_CURRENT_VERSION);
41
+ wp_enqueue_script('ga_dash-front', GADWP_URL . 'front/js/item-reports.js', array(
42
+ 'jquery'
43
+ ), GADWP_CURRENT_VERSION);
44
+ wp_enqueue_script('ga_dash-nprogress', GADWP_URL . 'tools/nprogress/nprogress.js', array(
45
+ 'jquery'
46
+ ), GADWP_CURRENT_VERSION);
47
+ wp_enqueue_script('googlejsapi', 'https://www.google.com/jsapi');
48
+ }
49
+
50
+ public function add_content($content)
51
+ {
52
+ global $post;
53
+
54
+ if (! GADWP_Tools::check_roles($this->gadwp->config->options['ga_dash_access_front']) || ! ($this->gadwp->config->options['ga_dash_frontend_stats'] || $this->gadwp->config->options['ga_dash_frontend_keywords'])) {
55
+ return $content;
56
+ }
57
+
58
+ if (($this->gadwp->config->options['ga_dash_frontend_stats'] && $this->gadwp->config->options['ga_dash_frontend_keywords'])){
59
+ $npcounter = 1;
60
+ }else{
61
+ $npcounter = 0;
62
+ }
63
+
64
+ if ((is_page() || is_single()) && ! is_preview()) {
65
+ $page_url = $_SERVER["REQUEST_URI"]; // str_replace(site_url(), "", get_permalink());
66
+ $post_id = $post->ID;
67
+ $content .= '<script type="text/javascript">
68
 
69
  gadash_firstclick = true;
70
 
109
  }else{
110
  jQuery("#gadwp-sessions").css({"background-color":"#F7F7F7","height":"auto","padding-top":"30px","padding-bottom":"30px","color":"#000","text-align":"center"});
111
  jQuery("#gadwp-sessions").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
112
+ checknpcounter('.$npcounter.');
113
  }
114
  });
115
  }
128
  }else{
129
  jQuery("#gadwp-searches").css({"background-color":"#F7F7F7","height":"auto","padding-top":"30px","padding-bottom":"30px","color":"#000","text-align":"center"});
130
  jQuery("#gadwp-searches").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
131
+ checknpcounter('.$npcounter.');
132
  }
133
  });
134
  }
136
  }
137
  });
138
  });';
139
+ if ($this->gadwp->config->options['ga_dash_frontend_stats']) {
140
+ $title = __("Views vs UniqueViews", 'ga-dash');
141
+ if (isset($this->gadwp->config->options['ga_dash_style'])) {
142
+ $css = "colors:['" . $this->gadwp->config->options['ga_dash_style'] . "','" . GADWP_Tools::colourVariator($this->gadwp->config->options['ga_dash_style'], - 20) . "'],";
143
+ $color = $this->gadwp->config->options['ga_dash_style'];
144
+ } else {
145
+ $css = "";
146
+ $color = "#3366CC";
147
+ }
148
+ $content .= '
149
  google.load("visualization", "1", {packages:["corechart"]});
150
  function ga_dash_drawpagesessions(gadash_pagesessions) {
151
 
162
 
163
  var chart = new google.visualization.AreaChart(document.getElementById("gadwp-sessions"));
164
  chart.draw(data, options);
165
+ checknpcounter('.$npcounter.');
166
  }';
167
+ }
168
+ if ($this->gadwp->config->options['ga_dash_frontend_keywords']) {
169
+ $content .= '
170
  google.load("visualization", "1", {packages:["table"]})
171
  function ga_dash_drawpagesearches(gadash_pagesearches) {
172
 
180
 
181
  var chart = new google.visualization.Table(document.getElementById("gadwp-searches"));
182
  chart.draw(datas, options);
183
+ checknpcounter('.$npcounter.');
184
  }';
185
+ }
186
+ $content .= "</script>";
187
+ $content .= '<p>
188
  <div id="gadwp">
189
  <div id="gadwp-title">
190
  <a href="#gadwp">' . __('Google Analytics Reports', "ga-dash") . ' <span id="gadwp-arrow">&#x25BC;</span></a>
191
  </div>
192
  <div id="gadwp-progressbar"></div>
193
  <div id="gadwp-content">
194
+ ' . ($this->gadwp->config->options['ga_dash_frontend_stats'] ? '<div id="gadwp-sessions"></div>' : '') . ($this->gadwp->config->options['ga_dash_frontend_keywords'] ? '<div id="gadwp-searches" class="gadwp-spinner"></div>' : '') . '
195
  </div>
196
  </div>
197
  </p>';
198
+ }
199
+ return $content;
200
+ }
201
  }
 
 
 
 
202
  }
front/tracking.php CHANGED
@@ -5,63 +5,66 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_Tracking')) {
9
 
10
- class GADASH_Tracking
11
- {
 
12
 
13
- function __construct()
14
- {
15
- add_action('wp_head', array(
16
- $this,
17
- 'ga_dash_tracking'
18
- ));
19
- add_action('wp_enqueue_scripts', array(
20
- $this,
21
- 'ga_dash_enqueue_scripts'
22
- ));
23
- }
24
 
25
- function ga_dash_enqueue_scripts()
26
  {
27
- global $GADASH_Config;
28
- if ($GADASH_Config->options['ga_event_tracking'] and ! wp_script_is('jquery')) {
29
- wp_enqueue_script('jquery');
30
- }
31
- }
32
 
33
- function ga_dash_tracking()
34
- {
35
- global $GADASH_Config;
36
- $tools = new GADASH_Tools();
37
- if ($tools->check_roles($GADASH_Config->options['ga_track_exclude'], true) or ($GADASH_Config->options['ga_dash_excludesa'] and current_user_can('manage_network'))) {
38
- return;
39
- }
40
- $traking_mode = $GADASH_Config->options['ga_dash_tracking'];
41
- $traking_type = $GADASH_Config->options['ga_dash_tracking_type'];
42
- if ($traking_mode > 0) {
43
- if (! $GADASH_Config->options['ga_dash_tableid_jail']) {
44
- return;
 
 
45
  }
46
- if ($traking_type == "classic") {
47
- echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Classic Tracking - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
48
- if ($GADASH_Config->options['ga_event_tracking']) {
49
- require_once 'tracking/events-classic.php';
50
- }
51
- require_once 'tracking/code-classic.php';
52
- echo "\n<!-- END GADWP Classic Tracking -->\n\n";
53
- } else {
54
- echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Universal Tracking - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
55
- if ($GADASH_Config->options['ga_event_tracking'] or $GADASH_Config->options['ga_aff_tracking'] or $GADASH_Config->options['ga_hash_tracking']) {
56
- require_once 'tracking/events-universal.php';
57
- }
58
- require_once 'tracking/code-universal.php';
59
- echo "\n<!-- END GADWP Universal Tracking -->\n\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
- }
62
  }
63
- }
64
- }
65
- if (! is_admin()) {
66
- $GADASH_Tracking = new GADASH_Tracking();
67
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
 
13
+ if (! class_exists('GADWP_Tracking')) {
 
 
 
 
 
 
 
 
 
 
14
 
15
+ class GADWP_Tracking
16
  {
 
 
 
 
 
17
 
18
+ private $gadwp;
19
+
20
+ public function __construct()
21
+ {
22
+ $this->gadwp = GADWP();
23
+
24
+ add_action('wp_head', array(
25
+ $this,
26
+ 'tracking_code'
27
+ ), 99);
28
+ add_action('wp_enqueue_scripts', array(
29
+ $this,
30
+ 'load_scripts'
31
+ ));
32
  }
33
+
34
+ public function load_scripts()
35
+ {
36
+ if ($this->gadwp->config->options['ga_event_tracking'] && ! wp_script_is('jquery')) {
37
+ wp_enqueue_script('jquery');
38
+ }
39
+ }
40
+
41
+ public function tracking_code()
42
+ {
43
+ if (GADWP_Tools::check_roles($this->gadwp->config->options['ga_track_exclude'], true) || ($this->gadwp->config->options['ga_dash_excludesa'] && current_user_can('manage_network'))) {
44
+ return;
45
+ }
46
+ $traking_mode = $this->gadwp->config->options['ga_dash_tracking'];
47
+ $traking_type = $this->gadwp->config->options['ga_dash_tracking_type'];
48
+ if ($traking_mode > 0) {
49
+ if (! $this->gadwp->config->options['ga_dash_tableid_jail']) {
50
+ return;
51
+ }
52
+ if ($traking_type == "classic") {
53
+ echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Classic Tracking - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
54
+ if ($this->gadwp->config->options['ga_event_tracking']) {
55
+ require_once 'tracking/events-classic.php';
56
+ }
57
+ require_once 'tracking/code-classic.php';
58
+ echo "\n<!-- END GADWP Classic Tracking -->\n\n";
59
+ } else {
60
+ echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Universal Tracking - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
61
+ if ($this->gadwp->config->options['ga_event_tracking'] || $this->gadwp->config->options['ga_aff_tracking'] || $this->gadwp->config->options['ga_hash_tracking']) {
62
+ require_once 'tracking/events-universal.php';
63
+ }
64
+ require_once 'tracking/code-universal.php';
65
+ echo "\n<!-- END GADWP Universal Tracking -->\n\n";
66
+ }
67
+ }
68
  }
 
69
  }
 
 
 
 
70
  }
front/tracking/code-classic.php CHANGED
@@ -5,20 +5,25 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- $profile = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
 
 
 
 
 
9
  ?>
10
  <script type="text/javascript">
11
  var _gaq = _gaq || [];
12
- <?php if ($GADASH_Config->options ['ga_enhanced_links']) {?>
13
  var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
14
  _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
15
  <?php }?>
16
  _gaq.push(['_setAccount', '<?php echo esc_html($profile[2]); ?>']);
17
- _gaq.push(['_trackPageview']<?php if ($GADASH_Config->options ['ga_dash_anonim']) {?>, ['_gat._anonymizeIp']<?php }?>);
18
 
19
  (function() {
20
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
21
- <?php if ($GADASH_Config->options ['ga_dash_remarketing']) { ?>
22
  ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
23
  <?php }else{?>
24
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
+
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
+
13
+ $profile = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $this->gadwp->config->options['ga_dash_tableid_jail']);
14
  ?>
15
  <script type="text/javascript">
16
  var _gaq = _gaq || [];
17
+ <?php if ($this->gadwp->config->options ['ga_enhanced_links']) {?>
18
  var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
19
  _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
20
  <?php }?>
21
  _gaq.push(['_setAccount', '<?php echo esc_html($profile[2]); ?>']);
22
+ _gaq.push(['_trackPageview']<?php if ($this->gadwp->config->options ['ga_dash_anonim']) {?>, ['_gat._anonymizeIp']<?php }?>);
23
 
24
  (function() {
25
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
26
+ <?php if ($this->gadwp->config->options ['ga_dash_remarketing']) { ?>
27
  ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
28
  <?php }else{?>
29
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
front/tracking/code-universal.php CHANGED
@@ -5,7 +5,12 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- $profile = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile_list'], $GADASH_Config->options['ga_dash_tableid_jail']);
 
 
 
 
 
9
  ?>
10
  <script>
11
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@@ -14,80 +19,80 @@ $profile = $tools->get_selected_profile($GADASH_Config->options['ga_dash_profile
14
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
15
  <?php
16
  $create_options = '{';
17
- if ($GADASH_Config->options['ga_speed_samplerate'] != 1) {
18
- $create_options .= "'siteSpeedSampleRate' : " . (int) $GADASH_Config->options['ga_speed_samplerate'];
19
  }
20
- if ($GADASH_Config->options['ga_crossdomain_tracking'] and $GADASH_Config->options['ga_crossdomain_list'] != '') {
21
- if ($create_options != '{') {
22
- $create_options .= ', ';
23
- }
24
- $create_options .= "'allowLinker' : true";
25
  }
26
  $create_options .= '}';
27
  ?>
28
  ga('create', '<?php echo esc_html($profile[2]); ?>', 'auto'<?php if ($create_options != '{}') {?>, <?php echo $create_options; }?>);
29
- <?php if ($GADASH_Config->options ['ga_crossdomain_tracking'] AND $GADASH_Config->options ['ga_crossdomain_list']!='') {?>
30
  ga('require', 'linker');
31
  <?php
32
- $crossdomain_list = explode(',', $GADASH_Config->options['ga_crossdomain_list']);
33
- $crossdomain_list = array_map('trim', $crossdomain_list);
34
- $crossdomain_list = strip_tags(implode("','", $crossdomain_list));
35
- ?>
36
  ga('linker:autoLink', ['<?php echo ($crossdomain_list)?>'] );
37
  <?php
38
  }
39
- if ($GADASH_Config->options['ga_dash_remarketing']) {
40
- ?>
41
  ga('require', 'displayfeatures');
42
  <?php
43
  }
44
- if ($GADASH_Config->options['ga_enhanced_links']) {
45
- ?>
46
  ga('require', 'linkid', 'linkid.js');
47
  <?php
48
  }
49
- if ($GADASH_Config->options['ga_author_dimindex'] and (is_single() or is_page())) {
50
- global $post;
51
- $author_id = $post->post_author;
52
- $author_name = get_the_author_meta('display_name', $author_id);
53
- ?>
54
- ga('set', 'dimension<?php echo (int)$GADASH_Config->options ['ga_author_dimindex']; ?>', '<?php echo $author_name; ?>');
55
  <?php
56
  }
57
- if ($GADASH_Config->options['ga_pubyear_dimindex'] and is_single()) {
58
- global $post;
59
- $date = get_the_date('Y', $post->ID);
60
- ?>
61
- ga('set', 'dimension<?php echo (int)$GADASH_Config->options ['ga_pubyear_dimindex']; ?>', '<?php echo $date; ?>');
62
  <?php
63
  }
64
- if ($GADASH_Config->options['ga_category_dimindex'] and is_category()) {
65
- ?>
66
- ga('set', 'dimension<?php echo (int)$GADASH_Config->options ['ga_category_dimindex']; ?>', '<?php echo single_tag_title(); ?>');
67
  <?php
68
  }
69
- if ($GADASH_Config->options['ga_category_dimindex'] and is_single()) {
70
- global $post;
71
- $categories = get_the_category($post->ID);
72
- foreach ($categories as $category) {
73
- ?>
74
- ga('set', 'dimension<?php echo (int)$GADASH_Config->options ['ga_category_dimindex']; ?>', '<?php echo $category->name; ?>');
75
  <?php
76
- break;
77
- }
78
  }
79
- if ($GADASH_Config->options['ga_user_dimindex']) {
80
- ?>
81
- ga('set', 'dimension<?php echo (int)$GADASH_Config->options ['ga_user_dimindex']; ?>', '<?php echo is_user_logged_in()?'registered':'guest'; ?>');
82
  <?php
83
  }
84
  do_action('ga_dash_addtrackingcode');
85
- if ($GADASH_Config->options['ga_dash_anonim']) {
86
- ?> ga('send', 'pageview', {'anonymizeIp': true});<?php } else {?> ga('send', 'pageview');
87
  <?php
88
  }
89
- if ($GADASH_Config->options['ga_dash_adsense']) {
90
- ?>
91
 
92
  window.google_analytics_uacct = "<?php echo esc_html($profile[2]); ?>";
93
  <?php }?>
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
+
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
+
13
+ $profile = GADWP_Tools::get_selected_profile($this->gadwp->config->options['ga_dash_profile_list'], $this->gadwp->config->options['ga_dash_tableid_jail']);
14
  ?>
15
  <script>
16
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
19
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
20
  <?php
21
  $create_options = '{';
22
+ if ($this->gadwp->config->options['ga_speed_samplerate'] != 1) {
23
+ $create_options .= "'siteSpeedSampleRate' : " . (int) $this->gadwp->config->options['ga_speed_samplerate'];
24
  }
25
+ if ($this->gadwp->config->options['ga_crossdomain_tracking'] && $this->gadwp->config->options['ga_crossdomain_list'] != '') {
26
+ if ($create_options != '{') {
27
+ $create_options .= ', ';
28
+ }
29
+ $create_options .= "'allowLinker' : true";
30
  }
31
  $create_options .= '}';
32
  ?>
33
  ga('create', '<?php echo esc_html($profile[2]); ?>', 'auto'<?php if ($create_options != '{}') {?>, <?php echo $create_options; }?>);
34
+ <?php if ($this->gadwp->config->options ['ga_crossdomain_tracking'] && $this->gadwp->config->options ['ga_crossdomain_list']!='') {?>
35
  ga('require', 'linker');
36
  <?php
37
+ $crossdomain_list = explode(',', $this->gadwp->config->options['ga_crossdomain_list']);
38
+ $crossdomain_list = array_map('trim', $crossdomain_list);
39
+ $crossdomain_list = strip_tags(implode("','", $crossdomain_list));
40
+ ?>
41
  ga('linker:autoLink', ['<?php echo ($crossdomain_list)?>'] );
42
  <?php
43
  }
44
+ if ($this->gadwp->config->options['ga_dash_remarketing']) {
45
+ ?>
46
  ga('require', 'displayfeatures');
47
  <?php
48
  }
49
+ if ($this->gadwp->config->options['ga_enhanced_links']) {
50
+ ?>
51
  ga('require', 'linkid', 'linkid.js');
52
  <?php
53
  }
54
+ if ($this->gadwp->config->options['ga_author_dimindex'] && (is_single() || is_page())) {
55
+ global $post;
56
+ $author_id = $post->post_author;
57
+ $author_name = get_the_author_meta('display_name', $author_id);
58
+ ?>
59
+ ga('set', 'dimension<?php echo (int)$this->gadwp->config->options ['ga_author_dimindex']; ?>', '<?php echo $author_name; ?>');
60
  <?php
61
  }
62
+ if ($this->gadwp->config->options['ga_pubyear_dimindex'] && is_single()) {
63
+ global $post;
64
+ $date = get_the_date('Y', $post->ID);
65
+ ?>
66
+ ga('set', 'dimension<?php echo (int)$this->gadwp->config->options ['ga_pubyear_dimindex']; ?>', '<?php echo $date; ?>');
67
  <?php
68
  }
69
+ if ($this->gadwp->config->options['ga_category_dimindex'] && is_category()) {
70
+ ?>
71
+ ga('set', 'dimension<?php echo (int)$this->gadwp->config->options ['ga_category_dimindex']; ?>', '<?php echo single_tag_title(); ?>');
72
  <?php
73
  }
74
+ if ($this->gadwp->config->options['ga_category_dimindex'] && is_single()) {
75
+ global $post;
76
+ $categories = get_the_category($post->ID);
77
+ foreach ($categories as $category) {
78
+ ?>
79
+ ga('set', 'dimension<?php echo (int)$this->gadwp->config->options ['ga_category_dimindex']; ?>', '<?php echo $category->name; ?>');
80
  <?php
81
+ break;
82
+ }
83
  }
84
+ if ($this->gadwp->config->options['ga_user_dimindex']) {
85
+ ?>
86
+ ga('set', 'dimension<?php echo (int)$this->gadwp->config->options ['ga_user_dimindex']; ?>', '<?php echo is_user_logged_in()?'registered':'guest'; ?>');
87
  <?php
88
  }
89
  do_action('ga_dash_addtrackingcode');
90
+ if ($this->gadwp->config->options['ga_dash_anonim']) {
91
+ ?> ga('send', 'pageview', {'anonymizeIp': true});<?php } else {?> ga('send', 'pageview');
92
  <?php
93
  }
94
+ if ($this->gadwp->config->options['ga_dash_adsense']) {
95
+ ?>
96
 
97
  window.google_analytics_uacct = "<?php echo esc_html($profile[2]); ?>";
98
  <?php }?>
front/tracking/events-classic.php CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  <script type="text/javascript">
2
  (function($){
3
  $(window).load(function() {
@@ -15,7 +20,7 @@
15
  }
16
  };
17
  $('a').filter(function() {
18
- return this.href.match(/.*\.(<?php echo esc_js($GADASH_Config->options['ga_event_downloads']);?>)(\?.*)?$/);
19
  }).click(function(e) {
20
  ga_track(['_trackEvent', 'download', 'click', this.href]);
21
  });
1
+ <?php
2
+ // Exit if accessed directly
3
+ if (! defined('ABSPATH'))
4
+ exit();
5
+ ?>
6
  <script type="text/javascript">
7
  (function($){
8
  $(window).load(function() {
20
  }
21
  };
22
  $('a').filter(function() {
23
+ return this.href.match(/.*\.(<?php echo esc_js($this->gadwp->config->options['ga_event_downloads']);?>)(\?.*)?$/);
24
  }).click(function(e) {
25
  ga_track(['_trackEvent', 'download', 'click', this.href]);
26
  });
front/tracking/events-universal.php CHANGED
@@ -1,50 +1,56 @@
1
- <?php $domaindata = $tools->get_root_domain ( esc_html ( get_option ( 'siteurl' ) ) ); ?>
 
 
 
 
 
 
2
  <script type="text/javascript">
3
  (function($){
4
  $(window).load(function() {
5
- <?php if ($GADASH_Config->options['ga_event_tracking']){ ?>
6
 
7
  //Track Downloads
8
  $('a').filter(function() {
9
- return this.href.match(/.*\.(<?php echo esc_js($GADASH_Config->options['ga_event_downloads']);?>)(\?.*)?$/);
10
  }).click(function(e) {
11
- ga('send','event', 'download', 'click', this.href<?php if(isset($GADASH_Config->options['ga_event_bouncerate']) && $GADASH_Config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
12
  });
13
 
14
  //Track Mailto
15
  $('a[href^="mailto"]').click(function(e) {
16
- ga('send','event', 'email', 'send', this.href<?php if(isset($GADASH_Config->options['ga_event_bouncerate']) && $GADASH_Config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
17
  });
18
- <?php if (isset ( $domaindata ['domain'] ) and $domaindata ['domain']) { ?>
19
 
20
  //Track Outbound Links
21
  $('a[href^="http"]').filter(function() {
22
- if (!this.href.match(/.*\.(<?php echo esc_js($GADASH_Config->options['ga_event_downloads']);?>)(\?.*)?$/)){
23
  if (this.href.indexOf('<?php echo $domaindata['domain']; ?>') == -1) return this.href;
24
  }
25
  }).click(function(e) {
26
- ga('send','event', 'outbound', 'click', this.href<?php if(isset($GADASH_Config->options['ga_event_bouncerate']) && $GADASH_Config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
27
  });
28
  <?php } ?>
29
  <?php } ?>
30
- <?php if ($GADASH_Config->options['ga_event_affiliates'] AND $GADASH_Config->options['ga_aff_tracking']){ ?>
31
 
32
  //Track Affiliates
33
  $('a').filter(function() {
34
- if ('<?php echo esc_js($GADASH_Config->options['ga_event_affiliates']);?>'!=''){
35
- return this.href.match(/(<?php echo str_replace('/','\/',(esc_js($GADASH_Config->options['ga_event_affiliates'])));?>)/);
36
  }
37
  }).click(function(event) {
38
- ga('send','event', 'affiliates', 'click', this.href<?php if(isset($GADASH_Config->options['ga_event_bouncerate']) && $GADASH_Config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
39
  });
40
  <?php } ?>
41
- <?php if (isset ( $domaindata ['domain'] ) and $domaindata ['domain'] AND $GADASH_Config->options ['ga_hash_tracking']) { ?>
42
 
43
  //Track Hashmarks
44
  $('a').filter(function() {
45
  if (this.href.indexOf('<?php echo $domaindata['domain']; ?>') != -1 || this.href.indexOf('://') == -1) return this.hash;
46
  }).click(function(e) {
47
- ga('send','event', 'hashmark', 'click', this.href<?php if(isset($GADASH_Config->options['ga_event_bouncerate']) && $GADASH_Config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
48
  });
49
 
50
  <?php } ?>
1
+ <?php
2
+ // Exit if accessed directly
3
+ if (! defined('ABSPATH'))
4
+ exit();
5
+
6
+ $domaindata = GADWP_Tools::get_root_domain(esc_html(get_option('siteurl')));
7
+ ?>
8
  <script type="text/javascript">
9
  (function($){
10
  $(window).load(function() {
11
+ <?php if ($this->gadwp->config->options['ga_event_tracking']){ ?>
12
 
13
  //Track Downloads
14
  $('a').filter(function() {
15
+ return this.href.match(/.*\.(<?php echo esc_js($this->gadwp->config->options['ga_event_downloads']);?>)(\?.*)?$/);
16
  }).click(function(e) {
17
+ ga('send','event', 'download', 'click', this.href<?php if(isset($this->gadwp->config->options['ga_event_bouncerate']) && $this->gadwp->config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
18
  });
19
 
20
  //Track Mailto
21
  $('a[href^="mailto"]').click(function(e) {
22
+ ga('send','event', 'email', 'send', this.href<?php if(isset($this->gadwp->config->options['ga_event_bouncerate']) && $this->gadwp->config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
23
  });
24
+ <?php if (isset ( $domaindata ['domain'] ) && $domaindata ['domain']) { ?>
25
 
26
  //Track Outbound Links
27
  $('a[href^="http"]').filter(function() {
28
+ if (!this.href.match(/.*\.(<?php echo esc_js($this->gadwp->config->options['ga_event_downloads']);?>)(\?.*)?$/)){
29
  if (this.href.indexOf('<?php echo $domaindata['domain']; ?>') == -1) return this.href;
30
  }
31
  }).click(function(e) {
32
+ ga('send','event', 'outbound', 'click', this.href<?php if(isset($this->gadwp->config->options['ga_event_bouncerate']) && $this->gadwp->config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
33
  });
34
  <?php } ?>
35
  <?php } ?>
36
+ <?php if ($this->gadwp->config->options['ga_event_affiliates'] && $this->gadwp->config->options['ga_aff_tracking']){ ?>
37
 
38
  //Track Affiliates
39
  $('a').filter(function() {
40
+ if ('<?php echo esc_js($this->gadwp->config->options['ga_event_affiliates']);?>'!=''){
41
+ return this.href.match(/(<?php echo str_replace('/','\/',(esc_js($this->gadwp->config->options['ga_event_affiliates'])));?>)/);
42
  }
43
  }).click(function(event) {
44
+ ga('send','event', 'affiliates', 'click', this.href<?php if(isset($this->gadwp->config->options['ga_event_bouncerate']) && $this->gadwp->config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
45
  });
46
  <?php } ?>
47
+ <?php if (isset ( $domaindata ['domain'] ) && $domaindata ['domain'] && $this->gadwp->config->options ['ga_hash_tracking']) { ?>
48
 
49
  //Track Hashmarks
50
  $('a').filter(function() {
51
  if (this.href.indexOf('<?php echo $domaindata['domain']; ?>') != -1 || this.href.indexOf('://') == -1) return this.hash;
52
  }).click(function(e) {
53
+ ga('send','event', 'hashmark', 'click', this.href<?php if(isset($this->gadwp->config->options['ga_event_bouncerate']) && $this->gadwp->config->options['ga_event_bouncerate']){echo ", {'nonInteraction': 1}";}?>);
54
  });
55
 
56
  <?php } ?>
front/widgets.php CHANGED
@@ -6,89 +6,95 @@
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
- class GADSH_Frontend_Widget extends WP_Widget
10
- {
11
 
12
- final function __construct()
13
- {
14
- parent::__construct('gadash_frontend_widget', __('Google Analytics Dashboard', 'ga-dash'), array(
15
- 'description' => __("Will display your google analytics stats in a widget", 'ga-dash')
16
- ));
17
- // Frontend Styles
18
- if (is_active_widget(false, false, $this->id_base, true)) {
19
- add_action('wp_enqueue_scripts', array(
20
- $this,
21
- 'ga_dash_front_enqueue_styles'
22
- ));
23
- }
24
- }
25
 
26
- function ga_dash_front_enqueue_styles()
27
- {
28
- global $GADASH_Config;
29
- wp_enqueue_style('ga_dash-front', $GADASH_Config->plugin_url . '/front/css/item-reports.css', NULL, GADWP_CURRENT_VERSION);
30
- wp_enqueue_script('ga_dash-front', $GADASH_Config->plugin_url . '/front/js/item-reports.js', array(
31
- 'jquery'
32
- ), GADWP_CURRENT_VERSION);
33
- wp_enqueue_script('googlejsapi', 'https://www.google.com/jsapi');
34
- }
35
 
36
- public function widget($args, $instance)
37
- {
38
- global $GADASH_Config;
39
- $widget_title = apply_filters('widget_title', $instance['title']);
40
- $title = __("Sessions", 'ga-dash') . ($instance['anonim'] ? "' " . __("trend", 'ga-dash') : '');
41
- echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Widget - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
42
- echo $args['before_widget'];
43
- if (! empty($widget_title)) {
44
- echo $args['before_title'] . $widget_title . $args['after_title'];
 
 
 
 
 
45
  }
46
- $tools = new GADASH_Tools();
47
- if (isset($GADASH_Config->options['ga_dash_style'])) {
48
- $css = "colors:['" . $GADASH_Config->options['ga_dash_style'] . "','" . $tools->colourVariator($GADASH_Config->options['ga_dash_style'], - 20) . "'],";
49
- $color = $GADASH_Config->options['ga_dash_style'];
50
- } else {
51
- $css = "";
52
- $color = "#3366CC";
 
53
  }
54
- ob_start();
55
- if ($instance['anonim']) {
56
- $formater = "var formatter = new google.visualization.NumberFormat({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  suffix: '%',
58
  fractionDigits: 2
59
  });
60
 
61
  formatter.format(data, 1); ";
62
- } else {
63
- $formater = '';
64
- }
65
- $periodtext = "";
66
- switch ($instance['period']) {
67
- case '7daysAgo':
68
- $periodtext = __('Last 7 Days', 'ga-dash');
69
- break;
70
- case '14daysAgo':
71
- $periodtext = __('Last 14 Days', 'ga-dash');
72
- break;
73
- case '30daysAgo':
74
- $periodtext = __('Last 30 Days', 'ga-dash');
75
- break;
76
- default:
77
  $periodtext = "";
78
- break;
79
- }
80
- switch ($instance['display']) {
81
- case '1':
82
- echo '<div id="gadwp-widget"><div id="gadwp-widgetchart"></div><div id="gadwp-widgettotals"></div></div>';
83
- break;
84
- case '2':
85
- echo '<div id="gadwp-widget"><div id="gadwp-widgetchart"></div></div>';
86
- break;
87
- case '3':
88
- echo '<div id="gadwp-widget"><div id="gadwp-widgettotals"></div></div>';
89
- break;
90
- }
91
- echo '<script type="text/javascript">
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
  jQuery.post("' . admin_url('admin-ajax.php') . '", {action: "gadash_get_frontendwidget_data",gadash_number: "' . $this->number . '",gadash_optionname: "' . $this->option_name . '"}, function(response){
94
  if (!jQuery.isNumeric(response) && jQuery.isArray(response)){
@@ -104,7 +110,7 @@ class GADSH_Frontend_Widget extends WP_Widget
104
  jQuery("#gadwp-widgetchart").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
105
  }
106
  });';
107
- echo 'google.load("visualization", "1", {packages:["corechart"]});
108
  function ga_dash_drawfwidgetsessions(response) {
109
  var data = google.visualization.arrayToDataTable(response);
110
  var options = {
@@ -126,24 +132,24 @@ class GADSH_Frontend_Widget extends WP_Widget
126
  }
127
  jQuery("#gadwp-widgettotals").html("<div class=\"gadwp-left\">' . __("Period:", 'ga-dash') . '</div> <div class=\"gadwp-right\">' . $periodtext . '</div><div class=\"gadwp-left\">' . __("Sessions:", 'ga-dash') . '</div> <div class=\"gadwp-right\">"+response+"</div>");
128
  }';
129
- echo '</script>';
130
- if ($instance['give_credits'] == 1)
131
- echo '<div style="text-align:right;width:100%;font-size:0.8em;clear:both;margin-right:5px;">' . __('generated by', 'ga-dash') . ' <a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_report&utm_medium=link&utm_content=front_report&utm_campaign=gadwp" rel="nofollow" style="text-decoration:none;font-size:1em;">GADWP</a>&nbsp;</div>';
132
- $widget_content = ob_get_contents();
133
- ob_end_clean();
134
- echo apply_filters('widget_html_content', $widget_content);
135
- echo $args['after_widget'];
136
- echo "\n<!-- END GADWP Widget -->\n";
137
- }
138
 
139
- public function form($instance)
140
- {
141
- $widget_title = (isset($instance['title']) ? $instance['title'] : __("Google Analytics Stats", 'ga-dash'));
142
- $period = (isset($instance['period']) ? $instance['period'] : '7daysAgo');
143
- $display = (isset($instance['display']) ? $instance['display'] : 1);
144
- $give_credits = (isset($instance['give_credits']) ? $instance['give_credits'] : 1);
145
- $anonim = (isset($instance['anonim']) ? $instance['anonim'] : 0);
146
- ?>
147
  <p>
148
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( "Title:",'ga-dash' ); ?></label>
149
  <input class="widefat"
@@ -188,22 +194,16 @@ class GADSH_Frontend_Widget extends WP_Widget
188
 
189
 
190
  <?php
191
- }
192
-
193
- public function update($new_instance, $old_instance)
194
- {
195
- $instance = array();
196
- $instance['title'] = (! empty($new_instance['title'])) ? strip_tags($new_instance['title']) : 'Analytics Stats';
197
- $instance['period'] = (! empty($new_instance['period'])) ? strip_tags($new_instance['period']) : '7daysAgo';
198
- $instance['display'] = (! empty($new_instance['display'])) ? strip_tags($new_instance['display']) : 1;
199
- $instance['give_credits'] = (! empty($new_instance['give_credits'])) ? strip_tags($new_instance['give_credits']) : 0;
200
- $instance['anonim'] = (! empty($new_instance['anonim'])) ? strip_tags($new_instance['anonim']) : 0;
201
- return $instance;
202
- }
203
- }
204
 
205
- function register_GADSH_Frontend_Widget()
206
- {
207
- register_widget('GADSH_Frontend_Widget');
 
 
 
 
 
 
 
208
  }
209
- add_action('widgets_init', 'register_GADSH_Frontend_Widget');
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
 
 
9
 
10
+ // Exit if accessed directly
11
+ if (! defined('ABSPATH'))
12
+ exit();
 
 
 
 
 
 
 
 
 
 
13
 
14
+ final class GADWP_Frontend_Widget extends WP_Widget
15
+ {
16
+ private $gadwp;
 
 
 
 
 
 
17
 
18
+ public function __construct()
19
+ {
20
+ $this->gadwp = GADWP();
21
+
22
+ parent::__construct('gadash_frontend_widget', __('Google Analytics Dashboard', 'ga-dash'), array(
23
+ 'description' => __("Will display your google analytics stats in a widget", 'ga-dash')
24
+ ));
25
+ // Frontend Styles
26
+ if (is_active_widget(false, false, $this->id_base, true)) {
27
+ add_action('wp_enqueue_scripts', array(
28
+ $this,
29
+ 'load_styles_scripts'
30
+ ));
31
+ }
32
  }
33
+
34
+ public function load_styles_scripts()
35
+ {
36
+ wp_enqueue_style('ga_dash-front', GADWP_URL . 'front/css/item-reports.css', null, GADWP_CURRENT_VERSION);
37
+ wp_enqueue_script('ga_dash-front', GADWP_URL . 'front/js/item-reports.js', array(
38
+ 'jquery'
39
+ ), GADWP_CURRENT_VERSION);
40
+ wp_enqueue_script('googlejsapi', 'https://www.google.com/jsapi');
41
  }
42
+
43
+ public function widget($args, $instance)
44
+ {
45
+ $widget_title = apply_filters('widget_title', $instance['title']);
46
+ $title = __("Sessions", 'ga-dash') . ($instance['anonim'] ? "' " . __("trend", 'ga-dash') : '');
47
+ echo "\n<!-- BEGIN GADWP v" . GADWP_CURRENT_VERSION . " Widget - https://deconf.com/google-analytics-dashboard-wordpress/ -->\n";
48
+ echo $args['before_widget'];
49
+ if (! empty($widget_title)) {
50
+ echo $args['before_title'] . $widget_title . $args['after_title'];
51
+ }
52
+
53
+ if (isset($this->gadwp->config->options['ga_dash_style'])) {
54
+ $css = "colors:['" . $this->gadwp->config->options['ga_dash_style'] . "','" . GADWP_Tools::colourVariator($this->gadwp->config->options['ga_dash_style'], - 20) . "'],";
55
+ $color = $this->gadwp->config->options['ga_dash_style'];
56
+ } else {
57
+ $css = "";
58
+ $color = "#3366CC";
59
+ }
60
+ ob_start();
61
+ if ($instance['anonim']) {
62
+ $formater = "var formatter = new google.visualization.NumberFormat({
63
  suffix: '%',
64
  fractionDigits: 2
65
  });
66
 
67
  formatter.format(data, 1); ";
68
+ } else {
69
+ $formater = '';
70
+ }
 
 
 
 
 
 
 
 
 
 
 
 
71
  $periodtext = "";
72
+ switch ($instance['period']) {
73
+ case '7daysAgo':
74
+ $periodtext = __('Last 7 Days', 'ga-dash');
75
+ break;
76
+ case '14daysAgo':
77
+ $periodtext = __('Last 14 Days', 'ga-dash');
78
+ break;
79
+ case '30daysAgo':
80
+ $periodtext = __('Last 30 Days', 'ga-dash');
81
+ break;
82
+ default:
83
+ $periodtext = "";
84
+ break;
85
+ }
86
+ switch ($instance['display']) {
87
+ case '1':
88
+ echo '<div id="gadwp-widget"><div id="gadwp-widgetchart"></div><div id="gadwp-widgettotals"></div></div>';
89
+ break;
90
+ case '2':
91
+ echo '<div id="gadwp-widget"><div id="gadwp-widgetchart"></div></div>';
92
+ break;
93
+ case '3':
94
+ echo '<div id="gadwp-widget"><div id="gadwp-widgettotals"></div></div>';
95
+ break;
96
+ }
97
+ echo '<script type="text/javascript">
98
 
99
  jQuery.post("' . admin_url('admin-ajax.php') . '", {action: "gadash_get_frontendwidget_data",gadash_number: "' . $this->number . '",gadash_optionname: "' . $this->option_name . '"}, function(response){
100
  if (!jQuery.isNumeric(response) && jQuery.isArray(response)){
110
  jQuery("#gadwp-widgetchart").html("' . __("This report is unavailable", 'ga-dash') . ' ("+response+")");
111
  }
112
  });';
113
+ echo 'google.load("visualization", "1", {packages:["corechart"]});
114
  function ga_dash_drawfwidgetsessions(response) {
115
  var data = google.visualization.arrayToDataTable(response);
116
  var options = {
132
  }
133
  jQuery("#gadwp-widgettotals").html("<div class=\"gadwp-left\">' . __("Period:", 'ga-dash') . '</div> <div class=\"gadwp-right\">' . $periodtext . '</div><div class=\"gadwp-left\">' . __("Sessions:", 'ga-dash') . '</div> <div class=\"gadwp-right\">"+response+"</div>");
134
  }';
135
+ echo '</script>';
136
+ if ($instance['give_credits'] == 1)
137
+ echo '<div style="text-align:right;width:100%;font-size:0.8em;clear:both;margin-right:5px;">' . __('generated by', 'ga-dash') . ' <a href="https://deconf.com/google-analytics-dashboard-wordpress/?utm_source=gadwp_report&utm_medium=link&utm_content=front_widget&utm_campaign=gadwp" rel="nofollow" style="text-decoration:none;font-size:1em;">GADWP</a>&nbsp;</div>';
138
+ $widget_content = ob_get_contents();
139
+ ob_end_clean();
140
+ echo apply_filters('widget_html_content', $widget_content);
141
+ echo $args['after_widget'];
142
+ echo "\n<!-- END GADWP Widget -->\n";
143
+ }
144
 
145
+ public function form($instance)
146
+ {
147
+ $widget_title = (isset($instance['title']) ? $instance['title'] : __("Google Analytics Stats", 'ga-dash'));
148
+ $period = (isset($instance['period']) ? $instance['period'] : '7daysAgo');
149
+ $display = (isset($instance['display']) ? $instance['display'] : 1);
150
+ $give_credits = (isset($instance['give_credits']) ? $instance['give_credits'] : 1);
151
+ $anonim = (isset($instance['anonim']) ? $instance['anonim'] : 0);
152
+ ?>
153
  <p>
154
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( "Title:",'ga-dash' ); ?></label>
155
  <input class="widefat"
194
 
195
 
196
  <?php
197
+ }
 
 
 
 
 
 
 
 
 
 
 
 
198
 
199
+ public function update($new_instance, $old_instance)
200
+ {
201
+ $instance = array();
202
+ $instance['title'] = (! empty($new_instance['title'])) ? strip_tags($new_instance['title']) : 'Analytics Stats';
203
+ $instance['period'] = (! empty($new_instance['period'])) ? strip_tags($new_instance['period']) : '7daysAgo';
204
+ $instance['display'] = (! empty($new_instance['display'])) ? strip_tags($new_instance['display']) : 1;
205
+ $instance['give_credits'] = (! empty($new_instance['give_credits'])) ? strip_tags($new_instance['give_credits']) : 0;
206
+ $instance['anonim'] = (! empty($new_instance['anonim'])) ? strip_tags($new_instance['anonim']) : 0;
207
+ return $instance;
208
+ }
209
  }
 
gadwp.php CHANGED
@@ -4,87 +4,262 @@
4
  * Plugin URI: https://deconf.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: Alin Marcu
7
- * Version: 4.5.1
8
  * Author URI: https://deconf.com
9
  */
10
- define('GADWP_CURRENT_VERSION', '4.5.1');
11
- /*
12
- * Include Install
13
- */
14
- include_once (dirname(__FILE__) . '/install/install.php');
15
- register_activation_hook(__FILE__, array(
16
- 'GADASH_Install',
17
- 'install'
18
- ));
19
 
20
- /*
21
- * Include Uninstall
22
- */
23
- include_once (dirname(__FILE__) . '/install/uninstall.php');
24
- register_uninstall_hook(__FILE__, array(
25
- 'GADASH_Uninstall',
26
- 'uninstall'
27
- ));
28
 
29
- /*
30
- * Include Tools
31
- */
32
- include_once (dirname(__FILE__) . '/tools/tools.php');
33
 
34
- /*
35
- * Include Config
36
- */
37
- include_once (dirname(__FILE__) . '/config.php');
38
 
39
- /*
40
- * Add i18n support
41
- */
42
- add_action('plugins_loaded', 'ga_dash_load_i18n');
43
 
44
- function ga_dash_load_i18n()
45
- {
46
- load_plugin_textdomain('ga-dash', false, basename(dirname(__FILE__)) . '/languages');
47
- }
48
 
49
- add_action('plugins_loaded', 'gadash_init');
50
 
51
- function gadash_init()
52
- {
53
- global $GADASH_Config;
54
- $tools = new GADASH_Tools();
55
- if (is_admin()) {
56
- /*
57
- * Include backend resources
58
- */
59
- if ($tools->check_roles($GADASH_Config->options['ga_dash_access_back'])) {
60
- include_once (dirname(__FILE__) . '/admin/setup.php');
61
- include_once (dirname(__FILE__) . '/admin/widgets.php');
62
- include_once (dirname(__FILE__) . '/admin/item-reports.php');
63
- }
64
- } else {
65
- /*
66
- * Include frontend resources
67
- */
68
- if ($tools->check_roles($GADASH_Config->options['ga_dash_access_front']) and ($GADASH_Config->options['ga_dash_frontend_stats'] or $GADASH_Config->options['ga_dash_frontend_keywords'])) {
69
- include_once (dirname(__FILE__) . '/front/item-reports.php');
70
- }
71
- /*
72
- * Include tracking
73
- */
74
- if (! $tools->check_roles($GADASH_Config->options['ga_track_exclude'], true) and $GADASH_Config->options['ga_dash_tracking']) {
75
- include_once (dirname(__FILE__) . '/front/tracking.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
77
- }
78
- /*
79
- * Include frontend widget
80
- */
81
- include_once (dirname(__FILE__) . '/front/widgets.php');
82
- /*
83
- * Include Frontend Ajax actions
84
- */
85
- include_once ($GADASH_Config->plugin_path . '/front/ajax-actions.php');
86
- /*
87
- * Include Backend Ajax actions
88
- */
89
- include_once ($GADASH_Config->plugin_path . '/admin/ajax-actions.php');
90
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  * Plugin URI: https://deconf.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: Alin Marcu
7
+ * Version: 4.6
8
  * Author URI: https://deconf.com
9
  */
 
 
 
 
 
 
 
 
 
10
 
11
+ // Exit if accessed directly
12
+ if (! defined('ABSPATH'))
13
+ exit();
 
 
 
 
 
14
 
15
+ if (! class_exists('GADWP_Manager')) {
 
 
 
16
 
17
+ final class GADWP_Manager
18
+ {
 
 
19
 
20
+ private static $instance = null;
 
 
 
21
 
22
+ public $config = null;
 
 
 
23
 
24
+ public $frontend_actions = null;
25
 
26
+ public $backend_actions = null;
27
+
28
+ public $tracking = null;
29
+
30
+ public $frontend_item_reports = null;
31
+
32
+ public $backend_setup = null;
33
+
34
+ public $backend_widgets = null;
35
+
36
+ public $backend_item_reports = null;
37
+
38
+ public $gapi_controller = null;
39
+
40
+ /**
41
+ * Construct forbidden
42
+ */
43
+ private function __construct()
44
+ {
45
+ if (null !== self::$instance) {
46
+ _doing_it_wrong(__FUNCTION__, __("This is not allowed, read the documentation!", 'ga-dash'), '4.6');
47
+ }
48
+ }
49
+
50
+ /**
51
+ * Clone warning
52
+ */
53
+ private function __clone()
54
+ {
55
+ _doing_it_wrong(__FUNCTION__, __("This is not allowed, read the documentation!", 'ga-dash'), '4.6');
56
+ }
57
+
58
+ /**
59
+ * Wakeup warning
60
+ */
61
+ private function __wakeup()
62
+ {
63
+ _doing_it_wrong(__FUNCTION__, __("This is not allowed, read the documentation!", 'ga-dash'), '4.6');
64
+ }
65
+
66
+ /**
67
+ * Creates a single instance for GADWP and makes sure only one instance is present in memory.
68
+ *
69
+ * @return GADWP_Manager
70
+ */
71
+ public static function instance()
72
+ {
73
+ if (null === self::$instance) {
74
+ self::$instance = new self();
75
+ self::$instance->setup();
76
+ self::$instance->config = new GADWP_Config();
77
+ }
78
+ return self::$instance;
79
+ }
80
+
81
+ /**
82
+ * Defines constants and loads required resources
83
+ */
84
+ private function setup()
85
+ {
86
+
87
+ // Plugin Version
88
+ if (! defined('GADWP_CURRENT_VERSION')) {
89
+ define('GADWP_CURRENT_VERSION', '4.6');
90
+ }
91
+
92
+ // Plugin Path
93
+ if (! defined('GADWP_DIR')) {
94
+ define('GADWP_DIR', plugin_dir_path(__FILE__));
95
+ }
96
+
97
+ // Plugin URL
98
+ if (! defined('GADWP_URL')) {
99
+ define('GADWP_URL', plugin_dir_url(__FILE__));
100
+ }
101
+
102
+ // Plugin main File
103
+ if (! defined('GADWP_FILE')) {
104
+ define('GADWP_FILE', __FILE__);
105
+ }
106
+
107
+ /*
108
+ * Load Tools class
109
+ */
110
+ include_once (GADWP_DIR . 'tools/tools.php');
111
+
112
+ /*
113
+ * Load Config class
114
+ */
115
+ include_once (GADWP_DIR . 'config.php');
116
+
117
+ /*
118
+ * Load GAPI Controller class
119
+ */
120
+ include_once (GADWP_DIR . 'tools/gapi.php');
121
+
122
+ /*
123
+ * Plugin i18n
124
+ */
125
+ add_action('init', array(
126
+ self::$instance,
127
+ 'load_i18n'
128
+ ));
129
+
130
+ /*
131
+ * Plugin Init
132
+ */
133
+ add_action('init', array(
134
+ self::$instance,
135
+ 'load'
136
+ ));
137
+
138
+ if (! defined('DOING_AJAX') || (defined('DOING_AJAX') && ! DOING_AJAX)) { // Let's keep things lite!
139
+
140
+ /*
141
+ * Include Install
142
+ */
143
+ include_once (GADWP_DIR . 'install/install.php');
144
+ register_activation_hook(GADWP_FILE, array(
145
+ 'GADWP_Install',
146
+ 'install'
147
+ ));
148
+
149
+ /*
150
+ * Include Uninstall
151
+ */
152
+ include_once (GADWP_DIR . 'install/uninstall.php');
153
+ register_uninstall_hook(GADWP_FILE, array(
154
+ 'GADWP_Uninstall',
155
+ 'uninstall'
156
+ ));
157
+
158
+ /*
159
+ * Load Frontend Widgets
160
+ */
161
+ include_once (GADWP_DIR . 'front/widgets.php');
162
+
163
+ /*
164
+ * Add Frontend Widgets
165
+ */
166
+ add_action('widgets_init', array(
167
+ self::$instance,
168
+ 'add_frontend_widget'
169
+ ));
170
+ }
171
+ }
172
+
173
+ /**
174
+ * Load i18n
175
+ */
176
+ public function load_i18n()
177
+ {
178
+ load_plugin_textdomain('ga-dash', false, dirname(plugin_basename(__FILE__)) . '/languages');
179
+ }
180
+
181
+ /**
182
+ * Register Frontend Widgets
183
+ */
184
+ public function add_frontend_widget()
185
+ {
186
+ register_widget('GADWP_Frontend_Widget');
187
+ }
188
+
189
+ /**
190
+ * Conditional load
191
+ */
192
+ public function load()
193
+ {
194
+ if (is_admin()) {
195
+ if (defined('DOING_AJAX') && DOING_AJAX) {
196
+ if (GADWP_Tools::check_roles(self::$instance->config->options['ga_dash_access_back'])) {
197
+ /*
198
+ * Load Backend ajax actions
199
+ */
200
+ include_once (GADWP_DIR . 'admin/ajax-actions.php');
201
+ self::$instance->backend_actions = new GADWP_Backend_Ajax();
202
+ }
203
+
204
+ /*
205
+ * Load Frontend ajax actions
206
+ */
207
+ include_once (GADWP_DIR . 'front/ajax-actions.php');
208
+ self::$instance->frontend_actions = new GADWP_Frontend_Ajax();
209
+ } else
210
+ if (GADWP_Tools::check_roles(self::$instance->config->options['ga_dash_access_back'])) {
211
+ /*
212
+ * Load Backend Setup
213
+ */
214
+ include_once (GADWP_DIR . 'admin/setup.php');
215
+ self::$instance->backend_setup = new GADWP_Backend_Setup();
216
+
217
+ if (self::$instance->config->options['dashboard_widget']) {
218
+ /*
219
+ * Load Backend Widget
220
+ */
221
+ include_once (GADWP_DIR . 'admin/widgets.php');
222
+ self::$instance->backend_widgets = new GADWP_Backend_Widgets();
223
+ }
224
+
225
+ if (self::$instance->config->options['item_reports']) {
226
+ /*
227
+ * Load Backend Item Reports
228
+ */
229
+ include_once (GADWP_DIR . 'admin/item-reports.php');
230
+ self::$instance->backend_item_reports = new GADWP_Backend_Item_Reports();
231
+ }
232
+ }
233
+ } else {
234
+ if (GADWP_Tools::check_roles(self::$instance->config->options['ga_dash_access_front']) && (self::$instance->config->options['ga_dash_frontend_stats'] || self::$instance->config->options['ga_dash_frontend_keywords'])) {
235
+ /*
236
+ * Load Frontend Item Reports
237
+ */
238
+ include_once (GADWP_DIR . 'front/item-reports.php');
239
+ self::$instance->frontend_item_reports = new GADWP_Frontend_Item_Reports();
240
+ }
241
+
242
+ if (! GADWP_Tools::check_roles(self::$instance->config->options['ga_track_exclude'], true) && self::$instance->config->options['ga_dash_tracking']) {
243
+ /*
244
+ * Load tracking class
245
+ */
246
+ include_once (GADWP_DIR . 'front/tracking.php');
247
+ self::$instance->tracking = new GADWP_Tracking();
248
+ }
249
+ }
250
+ }
251
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  }
253
+
254
+ /**
255
+ * Returns a unique instance of GADWP
256
+ */
257
+ function GADWP()
258
+ {
259
+ return GADWP_Manager::instance();
260
+ }
261
+
262
+ /*
263
+ * Start GADWP
264
+ */
265
+ GADWP();
install/install.php CHANGED
@@ -6,134 +6,139 @@
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
- class GADASH_Install
 
 
 
 
 
10
  {
11
 
12
- static function install()
13
- {
14
- if (! get_option('ga_dash_token')) {
15
- $options = array();
16
- $options['ga_dash_apikey'] = '';
17
- $options['ga_dash_clientid'] = '';
18
- $options['ga_dash_clientsecret'] = '';
19
- $options['ga_dash_access_front'][] = 'administrator';
20
- $options['ga_dash_access_back'][] = 'administrator';
21
- $options['ga_dash_tableid_jail'] = '';
22
- $options['ga_dash_style'] = '#1e73be';
23
- $options['switch_profile'] = 0;
24
- $options['ga_dash_cachetime'] = 3600;
25
- $options['ga_dash_tracking'] = 1;
26
- $options['ga_dash_tracking_type'] = 'universal';
27
- $options['ga_dash_default_ua'] = '';
28
- $options['ga_dash_anonim'] = 0;
29
- $options['ga_dash_userapi'] = 0;
30
- $options['ga_event_tracking'] = 0;
31
- $options['ga_event_downloads'] = 'zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*';
32
- $options['ga_track_exclude'] = array();
33
- $options['ga_target_geomap'] = '';
34
- $options['ga_realtime_pages'] = 10;
35
- $options['ga_dash_token'] = '';
36
- $options['ga_dash_refresh_token'] = '';
37
- $options['ga_dash_profile_list'] = '';
38
- $options['ga_dash_tableid'] = '';
39
- $options['ga_dash_frontend_keywords'] = 0;
40
- $options['ga_tracking_code'] = '';
41
- $options['ga_enhanced_links'] = 0;
42
- $options['ga_dash_remarketing'] = 0;
43
- $options['ga_dash_default_metric'] = 'sessions';
44
- $options['ga_dash_default_dimension'] = '30daysAgo';
45
- $options['ga_dash_frontend_stats'] = 0;
46
- $options['ga_dash_network'] = 0;
47
- $options['ga_dash_adsense'] = 0;
48
- $options['ga_speed_samplerate'] = 1;
49
- $options['ga_event_bouncerate'] = 0;
50
- $options['ga_crossdomain_tracking'] = 0;
51
- $options['ga_crossdomain_list'] = '';
52
- $options['ga_author_dimindex'] = 0;
53
- $options['ga_category_dimindex'] = 0;
54
- $options['ga_user_dimindex'] = 0;
55
- $options['ga_pubyear_dimindex'] = 0;
56
- $options['ga_aff_tracking'] = 0;
57
- $options['ga_event_affiliates'] = '/out/';
58
- $options['automatic_updates_minorversion'] = 1;
59
- $options['item_reports'] = 1;
60
- $options['dashboard_widget'] = 1;
61
- } else {
62
- $options = array();
63
- $options['ga_dash_apikey'] = get_option('ga_dash_apikey');
64
- $options['ga_dash_clientid'] = get_option('ga_dash_clientid');
65
- $options['ga_dash_clientsecret'] = get_option('ga_dash_clientsecret');
66
- $options['ga_dash_access'] = get_option('ga_dash_access');
67
- $options['ga_dash_access_front'][] = 'administrator';
68
- $options['ga_dash_access_back'][] = 'administrator';
69
- $options['ga_dash_tableid_jail'] = get_option('ga_dash_tableid_jail');
70
- $options['ga_dash_frontend_stats'] = get_option('ga_dash_frontend');
71
- $options['ga_dash_style'] = '#1e73be';
72
- $options['switch_profile'] = get_option('ga_dash_jailadmins');
73
- $options['ga_dash_cachetime'] = get_option('ga_dash_cachetime');
74
- if (get_option('ga_dash_tracking') == 4) {
75
- $options['ga_dash_tracking'] = 0;
76
- } else {
77
- $options['ga_dash_tracking'] = 1;
78
- }
79
- $options['ga_dash_tracking_type'] = get_option('ga_dash_tracking_type');
80
- $options['ga_dash_default_ua'] = get_option('ga_dash_default_ua');
81
- $options['ga_dash_anonim'] = get_option('ga_dash_anonim');
82
- $options['ga_dash_userapi'] = get_option('ga_dash_userapi');
83
- $options['ga_event_tracking'] = get_option('ga_event_tracking');
84
- $options['ga_event_downloads'] = get_option('ga_event_downloads');
85
- $options['ga_track_exclude'] = array();
86
- $options['ga_target_geomap'] = get_option('ga_target_geomap');
87
- $options['ga_realtime_pages'] = get_option('ga_realtime_pages');
88
- $options['ga_dash_token'] = get_option('ga_dash_token');
89
- $options['ga_dash_refresh_token'] = get_option('ga_dash_refresh_token');
90
- $options['ga_dash_profile_list'] = get_option('ga_dash_profile_list');
91
- $options['ga_dash_tableid'] = get_option('ga_dash_tableid');
92
- $options['ga_dash_frontend_keywords'] = 0;
93
- $options['ga_enhanced_links'] = 0;
94
- $options['ga_dash_remarketing'] = 0;
95
- $options['ga_dash_default_metric'] = 'sessions';
96
- $options['ga_dash_default_dimension'] = '30daysAgo';
97
- $options['ga_dash_network'] = 0;
98
- $options['ga_event_bouncerate'] = 0;
99
- $options['ga_crossdomain_tracking'] = 0;
100
- $options['ga_crossdomain_list'] = '';
101
- $options['ga_author_dimindex'] = 0;
102
- $options['ga_category_dimindex'] = 0;
103
- $options['ga_user_dimindex'] = 0;
104
- $options['ga_pubyear_dimindex'] = 0;
105
- $options['ga_event_affiliates'] = '/out/';
106
- $options['ga_aff_tracking'] = 0;
107
- $options['automatic_updates_minorversion'] = 1;
108
- $options['item_reports'] = 1;
109
- $options['dashboard_widget'] = 1;
110
-
111
- delete_option('ga_dash_apikey');
112
- delete_option('ga_dash_clientid');
113
- delete_option('ga_dash_clientsecret');
114
- delete_option('ga_dash_access');
115
- delete_option('ga_dash_access_front');
116
- delete_option('ga_dash_access_back');
117
- delete_option('ga_dash_tableid_jail');
118
- delete_option('ga_dash_frontend');
119
- delete_option('ga_dash_style');
120
- delete_option('ga_dash_jailadmins');
121
- delete_option('ga_dash_cachetime');
122
- delete_option('ga_dash_tracking');
123
- delete_option('ga_dash_tracking_type');
124
- delete_option('ga_dash_default_ua');
125
- delete_option('ga_dash_anonim');
126
- delete_option('ga_dash_userapi');
127
- delete_option('ga_event_tracking');
128
- delete_option('ga_event_downloads');
129
- delete_option('ga_track_exclude');
130
- delete_option('ga_target_geomap');
131
- delete_option('ga_realtime_pages');
132
- delete_option('ga_dash_token');
133
- delete_option('ga_dash_refresh_token');
134
- delete_option('ga_dash_profile_list');
135
- delete_option('ga_dash_tableid');
 
 
136
  }
137
- add_option('gadash_options', json_encode($options));
138
- }
139
  }
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
+
10
+ // Exit if accessed directly
11
+ if (! defined('ABSPATH'))
12
+ exit();
13
+
14
+ class GADWP_Install
15
  {
16
 
17
+ public static function install()
18
+ {
19
+ if (! get_option('ga_dash_token')) {
20
+ $options = array();
21
+ $options['ga_dash_apikey'] = '';
22
+ $options['ga_dash_clientid'] = '';
23
+ $options['ga_dash_clientsecret'] = '';
24
+ $options['ga_dash_access_front'][] = 'administrator';
25
+ $options['ga_dash_access_back'][] = 'administrator';
26
+ $options['ga_dash_tableid_jail'] = '';
27
+ $options['ga_dash_style'] = '#1e73be';
28
+ $options['switch_profile'] = 0;
29
+ $options['ga_dash_cachetime'] = 3600;
30
+ $options['ga_dash_tracking'] = 1;
31
+ $options['ga_dash_tracking_type'] = 'universal';
32
+ $options['ga_dash_default_ua'] = '';
33
+ $options['ga_dash_anonim'] = 0;
34
+ $options['ga_dash_userapi'] = 0;
35
+ $options['ga_event_tracking'] = 0;
36
+ $options['ga_event_downloads'] = 'zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*';
37
+ $options['ga_track_exclude'] = array();
38
+ $options['ga_target_geomap'] = '';
39
+ $options['ga_realtime_pages'] = 10;
40
+ $options['ga_dash_token'] = '';
41
+ $options['ga_dash_refresh_token'] = '';
42
+ $options['ga_dash_profile_list'] = '';
43
+ $options['ga_dash_tableid'] = '';
44
+ $options['ga_dash_frontend_keywords'] = 0;
45
+ $options['ga_tracking_code'] = '';
46
+ $options['ga_enhanced_links'] = 0;
47
+ $options['ga_dash_remarketing'] = 0;
48
+ $options['ga_dash_default_metric'] = 'sessions';
49
+ $options['ga_dash_default_dimension'] = '30daysAgo';
50
+ $options['ga_dash_frontend_stats'] = 0;
51
+ $options['ga_dash_network'] = 0;
52
+ $options['ga_dash_adsense'] = 0;
53
+ $options['ga_speed_samplerate'] = 1;
54
+ $options['ga_event_bouncerate'] = 0;
55
+ $options['ga_crossdomain_tracking'] = 0;
56
+ $options['ga_crossdomain_list'] = '';
57
+ $options['ga_author_dimindex'] = 0;
58
+ $options['ga_category_dimindex'] = 0;
59
+ $options['ga_user_dimindex'] = 0;
60
+ $options['ga_pubyear_dimindex'] = 0;
61
+ $options['ga_aff_tracking'] = 0;
62
+ $options['ga_event_affiliates'] = '/out/';
63
+ $options['automatic_updates_minorversion'] = 1;
64
+ $options['item_reports'] = 1;
65
+ $options['dashboard_widget'] = 1;
66
+ } else {
67
+ $options = array();
68
+ $options['ga_dash_apikey'] = get_option('ga_dash_apikey');
69
+ $options['ga_dash_clientid'] = get_option('ga_dash_clientid');
70
+ $options['ga_dash_clientsecret'] = get_option('ga_dash_clientsecret');
71
+ $options['ga_dash_access'] = get_option('ga_dash_access');
72
+ $options['ga_dash_access_front'][] = 'administrator';
73
+ $options['ga_dash_access_back'][] = 'administrator';
74
+ $options['ga_dash_tableid_jail'] = get_option('ga_dash_tableid_jail');
75
+ $options['ga_dash_frontend_stats'] = get_option('ga_dash_frontend');
76
+ $options['ga_dash_style'] = '#1e73be';
77
+ $options['switch_profile'] = get_option('ga_dash_jailadmins');
78
+ $options['ga_dash_cachetime'] = get_option('ga_dash_cachetime');
79
+ if (get_option('ga_dash_tracking') == 4) {
80
+ $options['ga_dash_tracking'] = 0;
81
+ } else {
82
+ $options['ga_dash_tracking'] = 1;
83
+ }
84
+ $options['ga_dash_tracking_type'] = get_option('ga_dash_tracking_type');
85
+ $options['ga_dash_default_ua'] = get_option('ga_dash_default_ua');
86
+ $options['ga_dash_anonim'] = get_option('ga_dash_anonim');
87
+ $options['ga_dash_userapi'] = get_option('ga_dash_userapi');
88
+ $options['ga_event_tracking'] = get_option('ga_event_tracking');
89
+ $options['ga_event_downloads'] = get_option('ga_event_downloads');
90
+ $options['ga_track_exclude'] = array();
91
+ $options['ga_target_geomap'] = get_option('ga_target_geomap');
92
+ $options['ga_realtime_pages'] = get_option('ga_realtime_pages');
93
+ $options['ga_dash_token'] = get_option('ga_dash_token');
94
+ $options['ga_dash_refresh_token'] = get_option('ga_dash_refresh_token');
95
+ $options['ga_dash_profile_list'] = get_option('ga_dash_profile_list');
96
+ $options['ga_dash_tableid'] = get_option('ga_dash_tableid');
97
+ $options['ga_dash_frontend_keywords'] = 0;
98
+ $options['ga_enhanced_links'] = 0;
99
+ $options['ga_dash_remarketing'] = 0;
100
+ $options['ga_dash_default_metric'] = 'sessions';
101
+ $options['ga_dash_default_dimension'] = '30daysAgo';
102
+ $options['ga_dash_network'] = 0;
103
+ $options['ga_event_bouncerate'] = 0;
104
+ $options['ga_crossdomain_tracking'] = 0;
105
+ $options['ga_crossdomain_list'] = '';
106
+ $options['ga_author_dimindex'] = 0;
107
+ $options['ga_category_dimindex'] = 0;
108
+ $options['ga_user_dimindex'] = 0;
109
+ $options['ga_pubyear_dimindex'] = 0;
110
+ $options['ga_event_affiliates'] = '/out/';
111
+ $options['ga_aff_tracking'] = 0;
112
+ $options['automatic_updates_minorversion'] = 1;
113
+ $options['item_reports'] = 1;
114
+ $options['dashboard_widget'] = 1;
115
+
116
+ delete_option('ga_dash_apikey');
117
+ delete_option('ga_dash_clientid');
118
+ delete_option('ga_dash_clientsecret');
119
+ delete_option('ga_dash_access');
120
+ delete_option('ga_dash_access_front');
121
+ delete_option('ga_dash_access_back');
122
+ delete_option('ga_dash_tableid_jail');
123
+ delete_option('ga_dash_frontend');
124
+ delete_option('ga_dash_style');
125
+ delete_option('ga_dash_jailadmins');
126
+ delete_option('ga_dash_cachetime');
127
+ delete_option('ga_dash_tracking');
128
+ delete_option('ga_dash_tracking_type');
129
+ delete_option('ga_dash_default_ua');
130
+ delete_option('ga_dash_anonim');
131
+ delete_option('ga_dash_userapi');
132
+ delete_option('ga_event_tracking');
133
+ delete_option('ga_event_downloads');
134
+ delete_option('ga_track_exclude');
135
+ delete_option('ga_target_geomap');
136
+ delete_option('ga_realtime_pages');
137
+ delete_option('ga_dash_token');
138
+ delete_option('ga_dash_refresh_token');
139
+ delete_option('ga_dash_profile_list');
140
+ delete_option('ga_dash_tableid');
141
+ }
142
+ add_option('gadash_options', json_encode($options));
143
  }
 
 
144
  }
install/uninstall.php CHANGED
@@ -6,38 +6,43 @@
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
- class GADASH_Uninstall
 
 
 
 
 
10
  {
11
 
12
- static function uninstall()
13
- {
14
- global $wpdb;
15
- if (is_multisite()) { // Cleanup Network install
16
- foreach (wp_get_sites(array(
17
- 'limit' => apply_filters('gadwp_sites_limit', 100)
18
- )) as $blog) {
19
- switch_to_blog($blog['blog_id']);
20
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_gadash%%'");
21
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_gadash%%'");
22
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_ga_dash%%'");
23
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_ga_dash%%'");
24
- delete_option('gadash_options');
25
- delete_transient('ga_dash_lasterror');
26
- delete_transient('ga_dash_refresh_token');
27
- delete_transient('ga_dash_gapi_errors');
28
- restore_current_blog();
29
- }
30
- delete_site_option('gadash_network_options');
31
- delete_site_transient('ga_dash_refresh_token');
32
- } else { // Cleanup Single install
33
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_gadash%%'");
34
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_gadash%%'");
35
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_ga_dash%%'");
36
- $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_ga_dash%%'");
37
- delete_option('gadash_options');
38
- delete_transient('ga_dash_lasterror');
39
- delete_transient('ga_dash_refresh_token');
40
- delete_transient('ga_dash_gapi_errors');
 
41
  }
42
- }
43
  }
6
  * License: GPLv2 or later
7
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  */
9
+
10
+ // Exit if accessed directly
11
+ if (! defined('ABSPATH'))
12
+ exit();
13
+
14
+ class GADWP_Uninstall
15
  {
16
 
17
+ public static function uninstall()
18
+ {
19
+ global $wpdb;
20
+ if (is_multisite()) { // Cleanup Network install
21
+ foreach (wp_get_sites(array(
22
+ 'limit' => apply_filters('gadwp_sites_limit', 100)
23
+ )) as $blog) {
24
+ switch_to_blog($blog['blog_id']);
25
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_gadash%%'");
26
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_gadash%%'");
27
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_ga_dash%%'");
28
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_ga_dash%%'");
29
+ delete_option('gadash_options');
30
+ delete_transient('ga_dash_lasterror');
31
+ delete_transient('ga_dash_refresh_token');
32
+ delete_transient('ga_dash_gapi_errors');
33
+ restore_current_blog();
34
+ }
35
+ delete_site_option('gadash_network_options');
36
+ delete_site_transient('ga_dash_refresh_token');
37
+ } else { // Cleanup Single install
38
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_gadash%%'");
39
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_gadash%%'");
40
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_ga_dash%%'");
41
+ $sqlquery = $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '_transient_timeout_ga_dash%%'");
42
+ delete_option('gadash_options');
43
+ delete_transient('ga_dash_lasterror');
44
+ delete_transient('ga_dash_refresh_token');
45
+ delete_transient('ga_dash_gapi_errors');
46
+ }
47
  }
 
48
  }
languages/ga-dash-ar.mo DELETED
Binary file
languages/ga-dash-ar.po CHANGED
@@ -1,15 +1,17 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:15+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:15+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
  "Language-Team: Ahmed Majed <admin@almobdaa.com>\n"
8
  "Language: ar\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -17,717 +19,705 @@ msgstr ""
17
  "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
18
  "X-Poedit-SearchPath-0: ../.\n"
19
 
20
- #: .././admin/item-reports.php:56
21
  msgid "Analytics"
22
  msgstr ""
23
 
24
- #: .././admin/settings.php:86 .././admin/settings.php:205
25
- #: .././admin/settings.php:372 .././admin/settings.php:916
26
- #: .././admin/settings.php:1234
27
  msgid "Settings saved."
28
  msgstr ""
29
 
30
- #: .././admin/settings.php:88 .././admin/settings.php:207
31
- #: .././admin/settings.php:374 .././admin/settings.php:893
32
- #: .././admin/settings.php:903 .././admin/settings.php:912
33
- #: .././admin/settings.php:918 .././admin/settings.php:930
34
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
35
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
36
- #: .././admin/settings.php:1248
37
  msgid "Cheating Huh?"
38
  msgstr "تغش ها؟"
39
 
40
- #: .././admin/settings.php:92 .././admin/settings.php:211
41
- #: .././admin/settings.php:378 .././admin/settings.php:737
42
- #: .././admin/settings.php:943 .././admin/settings.php:1261
43
- msgid "Something went wrong, check"
 
44
  msgstr ""
45
 
46
- #: .././admin/settings.php:92 .././admin/settings.php:211
47
- #: .././admin/settings.php:378 .././admin/settings.php:737
48
- #: .././admin/settings.php:943 .././admin/settings.php:1261
49
- #: .././admin/setup.php:89 .././admin/setup.php:113
50
  msgid "Errors & Debug"
51
  msgstr ""
52
 
53
- #: .././admin/settings.php:92 .././admin/settings.php:211
54
- #: .././admin/settings.php:378 .././admin/settings.php:737
55
- #: .././admin/settings.php:943 .././admin/settings.php:1261
56
- msgid "or"
57
- msgstr ""
58
-
59
- #: .././admin/settings.php:92 .././admin/settings.php:211
60
- #: .././admin/settings.php:378 .././admin/settings.php:737
61
- #: .././admin/settings.php:943 .././admin/settings.php:1261
62
  msgid "authorize the plugin"
63
  msgstr "صرح بالدخول للأضافة"
64
 
65
- #: .././admin/settings.php:98
66
  msgid "Google Analytics Frontend Settings"
67
  msgstr "اعدادات الظهور الامامي لأحصائيات كوكل"
68
 
69
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
70
  msgid "Permissions"
71
  msgstr ""
72
 
73
- #: .././admin/settings.php:111 .././admin/settings.php:230
74
  msgid "Show stats to:"
75
  msgstr ""
76
 
77
- #: .././admin/settings.php:159
78
- msgid " show page sessions and users in frontend (after each article)"
79
  msgstr ""
80
 
81
- #: .././admin/settings.php:175
82
- msgid " show page searches (after each article)"
83
- msgstr "اظهر بحوث الصفحة (بعد كل مقالة)"
84
 
85
- #: .././admin/settings.php:184 .././admin/settings.php:350
86
- #: .././admin/settings.php:715 .././admin/settings.php:1106
87
- #: .././admin/settings.php:1428
88
  msgid "Save Changes"
89
  msgstr ""
90
 
91
- #: .././admin/settings.php:217
92
  msgid "Google Analytics Backend Settings"
93
  msgstr ""
94
 
95
- #: .././admin/settings.php:279
96
- msgid "disable Switch Profile/View functionality"
97
- msgstr "عطل امكانية تغيير اعدادات الحساب/المشاهدة"
 
98
 
99
- #: .././admin/settings.php:294
100
- msgid "disable stats on Posts List and Pages List"
101
  msgstr ""
102
 
103
- #: .././admin/settings.php:309
104
- msgid "disable the main Dashboard Widget"
105
  msgstr ""
106
 
107
- #: .././admin/settings.php:313
 
 
 
 
108
  msgid "Real-Time Settings"
109
  msgstr "اعدادات الوقت الحقيقي"
110
 
111
- #: .././admin/settings.php:316
112
  msgid "Maximum number of pages to display on real-time tab:"
113
  msgstr "اكثر عدد صفحات يتم اظهارها في قسم الوقت الحقيقي:"
114
 
115
- #: .././admin/settings.php:321 .././admin/settings.php:337
116
- msgid "find out more"
117
- msgstr ""
118
-
119
- #: .././admin/settings.php:323 .././admin/settings.php:340
120
- msgid "about this feature"
121
- msgstr "حول هذه الميزة"
122
-
123
- #: .././admin/settings.php:328
124
  msgid "Location Settings"
125
  msgstr ""
126
 
127
- #: .././admin/settings.php:332
128
  msgid "Target Geo Map to country:"
129
  msgstr ""
130
 
131
- #: .././admin/settings.php:381
132
- msgid "The tracking component is disabled. You should set"
133
- msgstr ""
134
-
135
- #: .././admin/settings.php:381
136
- msgid "Tracking Options"
137
- msgstr ""
138
-
139
- #: .././admin/settings.php:381
140
- msgid "to"
141
  msgstr ""
142
 
143
- #: .././admin/settings.php:381 .././admin/settings.php:417
144
- msgid "Enabled"
145
- msgstr "تفعيل"
146
-
147
- #: .././admin/settings.php:387
148
  msgid "Google Analytics Tracking Code"
149
  msgstr "كود تعقب احصائيات كوكل"
150
 
151
- #: .././admin/settings.php:396
152
  msgid "Basic Settings"
153
  msgstr ""
154
 
155
- #: .././admin/settings.php:397 .././admin/settings.php:476
156
  msgid "Events Tracking"
157
  msgstr "تعقب الافعال"
158
 
159
- #: .././admin/settings.php:398 .././admin/settings.php:540
160
  msgid "Custom Definitions"
161
  msgstr "تعاريف مخصصة"
162
 
163
- #: .././admin/settings.php:399 .././admin/settings.php:668
164
- #: .././admin/settings.php:1405
165
  msgid "Exclude Tracking"
166
  msgstr "لا تتبع"
167
 
168
- #: .././admin/settings.php:400
169
  msgid "Advanced Settings"
170
  msgstr ""
171
 
172
- #: .././admin/settings.php:408
 
 
 
 
 
173
  msgid "Tracking Settings"
174
  msgstr "اعدادات التعقب"
175
 
176
- #: .././admin/settings.php:411
177
  msgid "Tracking Options:"
178
  msgstr ""
179
 
180
- #: .././admin/settings.php:415
181
  msgid "Disabled"
182
  msgstr "تعطيل"
183
 
184
- #: .././admin/settings.php:425 .././admin/settings.php:1040
185
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
186
- #: .././admin/widgets.php:67
 
 
 
 
187
  msgid "View Name:"
188
  msgstr "شاهد الاسم:"
189
 
190
- #: .././admin/settings.php:425 .././admin/settings.php:1065
191
  msgid "Tracking ID:"
192
  msgstr "معرف التعقب:"
193
 
194
- #: .././admin/settings.php:425 .././admin/settings.php:1065
195
  msgid "Default URL:"
196
  msgstr "الرابط الرئيسي:"
197
 
198
- #: .././admin/settings.php:425 .././admin/settings.php:1065
199
  msgid "Time Zone:"
200
  msgstr "المنطقة الزمنية:"
201
 
202
- #: .././admin/settings.php:430
203
  msgid "Basic Tracking"
204
  msgstr "التعقب الاساسي"
205
 
206
- #: .././admin/settings.php:433
207
  msgid "Tracking Type:"
208
  msgstr ""
209
 
210
- #: .././admin/settings.php:437
211
  msgid "Classic Analytics"
212
  msgstr "الاحصائيات الكلاسيكية"
213
 
214
- #: .././admin/settings.php:439
215
  msgid "Universal Analytics"
216
  msgstr "الاحصائيات العالمية"
217
 
218
- #: .././admin/settings.php:453
219
- msgid " anonymize IPs while tracking"
220
- msgstr "تجاهل الاي بي عند التعقب"
221
 
222
- #: .././admin/settings.php:468
223
- msgid " enable remarketing, demographics and interests reports"
224
- msgstr "فعل تقارير اعادة التسويق, الديمغرافي والاهتمام"
225
 
226
- #: .././admin/settings.php:490
227
- msgid " track downloads, mailto and outbound links"
228
- msgstr "تعقب التحميلات, ارسل الى والروابط الخارجية"
229
 
230
- #: .././admin/settings.php:494
231
  msgid "Downloads Regex:"
232
  msgstr "حمل التقارير"
233
 
234
- #: .././admin/settings.php:511
235
- msgid " track affiliate links matching this regex"
236
- msgstr "تتبع روابط الداعمين التي تطابق هذا الجزء"
237
 
238
- #: .././admin/settings.php:515
239
  msgid "Affiliates Regex:"
240
  msgstr "روابط الداعمين:"
241
 
242
- #: .././admin/settings.php:532
243
- msgid " track fragment identifiers, hashmarks (#) in URI links"
244
  msgstr ""
245
 
246
- #: .././admin/settings.php:543
247
  msgid "Authors:"
248
  msgstr ""
249
 
250
- #: .././admin/settings.php:553
251
  msgid "Publication Year:"
252
  msgstr ""
253
 
254
- #: .././admin/settings.php:563
255
  msgid "Categories:"
256
  msgstr ""
257
 
258
- #: .././admin/settings.php:573
259
  msgid "User Type:"
260
  msgstr ""
261
 
262
- #: .././admin/settings.php:587
263
  msgid "Advanced Tracking"
264
  msgstr "تتبع متطور"
265
 
266
- #: .././admin/settings.php:590
267
  msgid "Page Speed SR:"
268
  msgstr "سرعة الصفحة:"
269
 
270
- #: .././admin/settings.php:608
271
- msgid " exclude events from bounce-rate calculation"
272
- msgstr "لا تحسب الافعال من حسابات نسبة القفز"
273
 
274
- #: .././admin/settings.php:623
275
- msgid " enable enhanced link attribution"
276
- msgstr "فعل تعديل الرابط المحسن"
277
 
278
- #: .././admin/settings.php:637
279
- msgid " enable AdSense account linking"
280
- msgstr "فعل ربط حساب ادسينس"
281
 
282
- #: .././admin/settings.php:653
283
- msgid " enable cross domain tracking"
284
- msgstr "فعل التتبع عبر الروابط"
285
 
286
- #: .././admin/settings.php:657
287
  msgid "Cross Domains:"
288
  msgstr "عبر الروابط التالية:"
289
 
290
- #: .././admin/settings.php:671
291
  msgid "Exclude tracking for:"
292
  msgstr ""
293
 
294
- #: .././admin/settings.php:741
295
  msgid "Google Analytics Errors & Debugging"
296
  msgstr ""
297
 
298
- #: .././admin/settings.php:751
299
  msgid "Errors & Details"
300
  msgstr ""
301
 
302
- #: .././admin/settings.php:752
303
  msgid "Plugin Settings"
304
  msgstr ""
305
 
306
- #: .././admin/settings.php:760
307
- msgid "For errors and/or other issues please check"
308
- msgstr ""
309
-
310
- #: .././admin/settings.php:760
311
- msgid "this documentation page"
312
- msgstr ""
313
-
314
- #: .././admin/settings.php:760
315
- msgid "and related tutorials"
316
  msgstr ""
317
 
318
- #: .././admin/settings.php:764
319
  msgid "Last Error detected"
320
  msgstr ""
321
 
322
- #: .././admin/settings.php:769 .././admin/settings.php:782
323
  msgid "None"
324
  msgstr ""
325
 
326
- #: .././admin/settings.php:776
327
  msgid "Error Details"
328
  msgstr ""
329
 
330
- #: .././admin/settings.php:796
331
  msgid "Plugin Configuration"
332
  msgstr ""
333
 
334
- #: .././admin/settings.php:840 .././admin/settings.php:1149
335
  msgid ""
336
  "Loading the required libraries. If this results in a blank screen or a fatal "
337
  "error, try this solution:"
338
  msgstr ""
339
 
340
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
341
  msgid "Plugin authorization succeeded."
342
  msgstr "تم تفعيل تصريح الاضافة بنجاح."
343
 
344
- #: .././admin/settings.php:868 .././admin/settings.php:1186
345
  msgid ""
346
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
347
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
348
  msgstr ""
349
 
350
- #: .././admin/settings.php:891 .././admin/settings.php:1218
351
  msgid "Cleared Cache."
352
  msgstr "الخزن المزال."
353
 
354
- #: .././admin/settings.php:900 .././admin/settings.php:1227
355
  msgid "Token Reseted and Revoked."
356
  msgstr "الجزء المراح والمعدل."
357
 
358
- #: .././admin/settings.php:910
359
  msgid "All errors reseted."
360
  msgstr ""
361
 
362
- #: .././admin/settings.php:923 .././admin/settings.php:1241
363
  msgid "All other domains/properties were removed."
364
  msgstr "كل الروابط/والخصائص تم إزالتها."
365
 
366
- #: .././admin/settings.php:935 .././admin/settings.php:1253
367
  msgid "Google Analytics Settings"
368
  msgstr "إعدادات احصائيات كوكل"
369
 
370
- #: .././admin/settings.php:948 .././admin/settings.php:1266
371
  msgid "Use the red link (see below) to generate and get your access code!"
372
  msgstr ""
373
 
374
- #: .././admin/settings.php:959 .././admin/settings.php:1301
375
  msgid "Plugin Authorization"
376
  msgstr "تصريح الأضافة"
377
 
378
- #: .././admin/settings.php:963 .././admin/settings.php:1305
379
- msgid "You should watch the"
380
- msgstr "يجب ان تشاهد هذا"
 
 
 
 
381
 
382
- #: .././admin/settings.php:963 .././admin/settings.php:1305
383
  msgid "video"
384
  msgstr "الڤيديو"
385
 
386
- #: .././admin/settings.php:963 .././admin/settings.php:1305
387
- msgid "and read this"
388
- msgstr "وأقرأ هذا"
389
-
390
- #: .././admin/settings.php:963 .././admin/settings.php:1305
391
  msgid "tutorial"
392
  msgstr "الدرس"
393
 
394
- #: .././admin/settings.php:963 .././admin/settings.php:1305
395
- msgid ""
396
- "before proceeding to authorization. This plugin requires a properly "
397
- "configured Google Analytics account"
398
  msgstr ""
399
- "قبل ان تباشر التصريح. هذه الاضافة تتطلب حساب احصائيات كوكل معد بصورة صحيحة"
400
 
401
- #: .././admin/settings.php:975 .././admin/settings.php:1316
402
- msgid " use your own API Project credentials"
403
- msgstr "أستخدام معرفات مشروع API خاصتك"
404
-
405
- #: .././admin/settings.php:982 .././admin/settings.php:1323
406
  msgid "API Key:"
407
  msgstr "مفتاح API:"
408
 
409
- #: .././admin/settings.php:989 .././admin/settings.php:1331
410
  msgid "Client ID:"
411
  msgstr "معرف الزيون:"
412
 
413
- #: .././admin/settings.php:997 .././admin/settings.php:1340
414
  msgid "Client Secret:"
415
  msgstr "سر الزبون:"
416
 
417
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
418
  msgid "Clear Authorization"
419
  msgstr "أزل التصريحات"
420
 
421
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
422
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
423
  msgid "Clear Cache"
424
  msgstr "أزل الخزن"
425
 
426
- #: .././admin/settings.php:1022
427
  msgid "Reset Errors"
428
  msgstr ""
429
 
430
- #: .././admin/settings.php:1028 .././admin/setup.php:73
431
- #: .././admin/setup.php:109
432
  msgid "General Settings"
433
  msgstr "الأعدادات العامة"
434
 
435
- #: .././admin/settings.php:1031
436
  msgid "Select Domain:"
437
  msgstr ""
438
 
439
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
440
  msgid "Property not found"
441
  msgstr ""
442
 
443
- #: .././admin/settings.php:1049
444
  msgid "and/or hide all other domains"
445
  msgstr "و/أو أخفي كل الروابط الأخرى"
446
 
447
- #: .././admin/settings.php:1052
448
  msgid "Hide Now"
449
  msgstr "أخفي الأن"
450
 
451
- #: .././admin/settings.php:1071
452
  msgid "Theme Color:"
453
  msgstr ""
454
 
455
- #: .././admin/settings.php:1081
456
  msgid "Automatic Updates"
457
  msgstr ""
458
 
459
- #: .././admin/settings.php:1097
460
  msgid ""
461
- "automatic updates for minor versions (security and maintainance releases "
462
- "only)"
463
  msgstr ""
464
 
465
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
466
- #: .././admin/widgets.php:38
467
  msgid "Authorize Plugin"
468
  msgstr "صرح الأضافة "
469
 
470
- #: .././admin/settings.php:1192
471
  msgid "Properties refreshed."
472
  msgstr "تم تحديث الخصائص."
473
 
474
- #: .././admin/settings.php:1278
475
  msgid "Network Setup"
476
  msgstr "اعدادات الشبكة"
477
 
478
- #: .././admin/settings.php:1293
479
- msgid " use a single Google Analytics account for the entire network"
480
- msgstr "أستخدم حساب أحصائيات كوكل واحد للشبكة كلها"
481
 
482
- #: .././admin/settings.php:1365
483
  msgid "Refresh Properties"
484
  msgstr "حدث الخصائص"
485
 
486
- #: .././admin/settings.php:1371
487
  msgid "Properties/Views Settings"
488
  msgstr "اعدادات الخصائص/المشاهدة"
489
 
490
- #: .././admin/settings.php:1419
491
- msgid " exclude Super Admin tracking for the entire network"
492
  msgstr ""
493
 
494
- #: .././admin/settings.php:1471
495
  msgid "Setup Tutorial & Demo"
496
  msgstr "درس التنصيب"
497
 
498
- #: .././admin/settings.php:1483
499
  msgid "Support & Reviews"
500
  msgstr "الدعم والتقييم"
501
 
502
- #: .././admin/settings.php:1491
503
- msgid "Plugin documentation and support on"
 
504
  msgstr ""
505
 
506
- #: .././admin/settings.php:1498
507
- msgid "Your feedback and review are both important,"
508
- msgstr "رأيك وتقييمك كلاهما مهمان,"
 
509
 
510
- #: .././admin/settings.php:1498
511
  msgid "rate this plugin"
512
  msgstr "قيم هذه الاضافة"
513
 
514
- #: .././admin/settings.php:1503
515
  msgid "Further Reading"
516
  msgstr "أكمل القراءة"
517
 
518
- #: .././admin/settings.php:1511
 
 
 
 
 
519
  msgid "Improve search rankings"
520
  msgstr "حسن ترتيب البحث"
521
 
522
- #: .././admin/settings.php:1511
523
- msgid "by moving your website to HTTPS/SSL."
524
- msgstr "حول موقعك الى بروتوكول HTTPs/SSl"
525
-
526
- #: .././admin/settings.php:1518
527
- msgid "Other"
528
- msgstr "اخرى"
529
 
530
- #: .././admin/settings.php:1518
531
  msgid "WordPress Plugins"
532
  msgstr "اضافات وردبريس"
533
 
534
- #: .././admin/settings.php:1518
535
- msgid "written by the same author"
536
- msgstr "كتبت من قبل نفس صاحب الاضافة"
537
-
538
- #: .././admin/settings.php:1523
539
  msgid "Other Services"
540
  msgstr ""
541
 
542
- #: .././admin/settings.php:1531
543
- msgid "Speed up your website and plug into a whole"
 
544
  msgstr ""
545
 
546
- #: .././admin/settings.php:1531
547
  msgid "new level of site speed"
548
  msgstr ""
549
 
550
- #: .././admin/settings.php:1538
 
 
 
 
 
551
  msgid "Web Analytics"
552
  msgstr "احصائيات الويب"
553
 
554
- #: .././admin/settings.php:1538
555
- msgid "service with users tracking at IP level."
556
- msgstr ""
557
-
558
- #: .././admin/setup.php:69 .././admin/setup.php:105
559
  msgid "Google Analytics"
560
  msgstr "أحصائيات كوكل"
561
 
562
- #: .././admin/setup.php:77
563
  msgid "Backend Settings"
564
  msgstr "أعدادات العمل"
565
 
566
- #: .././admin/setup.php:81
567
  msgid "Frontend Settings"
568
  msgstr "اعدادات الظهور"
569
 
570
- #: .././admin/setup.php:85
571
  msgid "Tracking Code"
572
  msgstr "كود التعقب"
573
 
574
- #: .././admin/setup.php:190 .././admin/widgets.php:123
575
  msgid "Today"
576
  msgstr "اليوم"
577
 
578
- #: .././admin/setup.php:191 .././admin/widgets.php:125
579
  msgid "Yesterday"
580
  msgstr "البارحة"
581
 
582
- #: .././admin/setup.php:192 .././admin/widgets.php:127
583
- #: .././front/widgets.php:68 .././front/widgets.php:176
584
  msgid "Last 7 Days"
585
  msgstr "اخر ٧ ايام"
586
 
587
- #: .././admin/setup.php:193 .././admin/widgets.php:131
588
- #: .././front/widgets.php:74 .././front/widgets.php:178
589
  msgid "Last 30 Days"
590
  msgstr "اخر ٣٠ يوم"
591
 
592
- #: .././admin/setup.php:194 .././admin/widgets.php:133
593
  msgid "Last 90 Days"
594
  msgstr "أخر ٩٠ يوم"
595
 
596
- #: .././admin/setup.php:197 .././admin/setup.php:213
597
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
598
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
599
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
600
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
601
- msgid "Sessions"
602
  msgstr ""
603
 
604
- #: .././admin/setup.php:198 .././admin/setup.php:214
605
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
606
- #: .././tools/gapi.php:372
607
  msgid "Users"
608
  msgstr ""
609
 
610
- #: .././admin/setup.php:199 .././admin/widgets.php:142
611
  msgid "Organic"
612
  msgstr "عضوي"
613
 
614
- #: .././admin/setup.php:200 .././admin/setup.php:215
615
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
616
- #: .././tools/gapi.php:375
617
  msgid "Page Views"
618
  msgstr "مشاهدات الصفحة"
619
 
620
- #: .././admin/setup.php:201 .././admin/setup.php:216
621
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
622
- #: .././tools/gapi.php:378
623
  msgid "Bounce Rate"
624
  msgstr "نسبة القفز"
625
 
626
- #: .././admin/setup.php:202 .././admin/widgets.php:148
627
  msgid "Location"
628
  msgstr ""
629
 
630
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
631
  msgid "Referrers"
632
  msgstr ""
633
 
634
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
635
- #: .././tools/gapi.php:898
636
  msgid "Searches"
637
  msgstr ""
638
 
639
- #: .././admin/setup.php:205 .././admin/widgets.php:156
640
  msgid "Traffic Details"
641
  msgstr ""
642
 
643
- #: .././admin/setup.php:208 .././admin/widgets.php:522
644
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
645
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
646
  msgid "A JavaScript Error is blocking plugin resources!"
647
  msgstr ""
648
 
649
- #: .././admin/setup.php:209 .././admin/widgets.php:724
650
  msgid "Traffic Mediums"
651
  msgstr ""
652
 
653
- #: .././admin/setup.php:210 .././admin/widgets.php:740
654
  msgid "Visitor Type"
655
  msgstr ""
656
 
657
- #: .././admin/setup.php:211 .././admin/widgets.php:756
658
  msgid "Social Networks"
659
  msgstr ""
660
 
661
- #: .././admin/setup.php:212 .././admin/widgets.php:772
662
  msgid "Search Engines"
663
  msgstr ""
664
 
665
- #: .././admin/setup.php:217 .././admin/widgets.php:897
666
  msgid "Organic Search"
667
  msgstr ""
668
 
669
- #: .././admin/setup.php:218 .././admin/widgets.php:901
670
  msgid "Pages/Session"
671
  msgstr ""
672
 
673
- #: .././admin/setup.php:219 .././admin/widgets.php:535
674
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
675
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
676
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
677
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
678
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
679
- #: .././front/item-reports.php:115
680
  msgid "Invalid response, more details in JavaScript Console (F12)."
681
  msgstr ""
682
 
683
- #: .././admin/setup.php:220
684
  msgid "Not enough data collected"
685
  msgstr ""
686
 
687
- #: .././admin/setup.php:221 .././admin/widgets.php:540
688
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
689
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
690
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
691
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
692
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
693
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
694
- #: .././front/widgets.php:104
695
  msgid "This report is unavailable"
696
  msgstr ""
697
 
698
- #: .././admin/setup.php:222
699
  msgid "report generated by"
700
  msgstr ""
701
 
702
- #: .././admin/setup.php:260
703
  msgid "Settings"
704
  msgstr "الاعدادات"
705
 
706
- #: .././admin/widgets.php:27 .././front/widgets.php:14
707
  msgid "Google Analytics Dashboard"
708
  msgstr "لوحة أحصائيات كوكل"
709
 
710
- #: .././admin/widgets.php:38
711
  msgid "This plugin needs an authorization:"
712
  msgstr "هذه الاضافة تحتاج الى تصريح:"
713
 
714
- #: .././admin/widgets.php:72
715
  msgid "Something went wrong while retrieving profiles list."
716
  msgstr "حدث خطأ ما اثناء استرجاع قائمة البروفايلات."
717
 
718
- #: .././admin/widgets.php:72
719
  msgid "More details"
720
  msgstr "المزيد من التفاصيل"
721
 
722
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
723
  msgid "An admin should asign a default Google Analytics Profile."
724
  msgstr "المدير يجب ان يحصل على حساب احصائيات كوكل رئيسي."
725
 
726
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
727
  msgid "Select Domain"
728
  msgstr "حدد النطاق"
729
 
730
- #: .././admin/widgets.php:101
731
  msgid ""
732
  "Something went wrong while retrieving property data. You need to create and "
733
  "properly configure a Google Analytics account:"
@@ -735,178 +725,256 @@ msgstr ""
735
  "حدث خطأ ما اثناء استرجاع بيانات الملكية. تحتاج الى انشاء واعداد حساب كوكل "
736
  "للأحصائيات بصورة صحيحة:"
737
 
738
- #: .././admin/widgets.php:101
739
  msgid "Find out more!"
740
  msgstr "اعرف أكثر!"
741
 
742
- #: .././admin/widgets.php:122
743
  msgid "Real-Time"
744
  msgstr "الوقت الحقيقي"
745
 
746
- #: .././admin/widgets.php:129 .././front/widgets.php:71
747
- #: .././front/widgets.php:177
748
  msgid "Last 14 Days"
749
  msgstr "أخر ١٤ يوم"
750
 
751
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
752
  msgid "Pages"
753
  msgstr ""
754
 
755
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
756
  msgid "REFERRAL"
757
  msgstr "المصدر"
758
 
759
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
760
  msgid "ORGANIC"
761
  msgstr "عضوي"
762
 
763
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
764
- #: .././admin/widgets.php:486
765
  msgid "SOCIAL"
766
  msgstr "اجتماعي"
767
 
768
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
769
- #: .././admin/widgets.php:487
770
  msgid "CAMPAIGN"
771
  msgstr ""
772
 
773
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
774
- #: .././admin/widgets.php:490
775
  msgid "DIRECT"
776
  msgstr "مباشر"
777
 
778
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
779
  msgid "NEW"
780
  msgstr "جديد"
781
 
782
- #: .././admin/widgets.php:366
783
  msgid "REFERRALS"
784
  msgstr "المصادر"
785
 
786
- #: .././admin/widgets.php:369
787
  msgid "KEYWORDS"
788
  msgstr "الكلمات المفتاحية"
789
 
790
- #: .././front/item-reports.php:130
791
  msgid "Views vs UniqueViews"
792
  msgstr "المشاهدات ضد المشاهدات الحقيقية"
793
 
794
- #: .././front/item-reports.php:180
795
  msgid "Google Analytics Reports"
796
  msgstr ""
797
 
798
- #: .././front/widgets.php:15
799
  msgid "Will display your google analytics stats in a widget"
800
  msgstr "ستظهر احصائيات حسابك في مربع جانبي"
801
 
802
- #: .././front/widgets.php:40 .././tools/gapi.php:803
803
  msgid "trend"
804
  msgstr ""
805
 
806
- #: .././front/widgets.php:127
807
  msgid "Period:"
808
  msgstr "الفترة:"
809
 
810
- #: .././front/widgets.php:127
811
  msgid "Sessions:"
812
  msgstr ""
813
 
814
- #: .././front/widgets.php:131
815
  msgid "generated by"
816
  msgstr "اظهرت بواسطة"
817
 
818
- #: .././front/widgets.php:141
819
  msgid "Google Analytics Stats"
820
  msgstr "احصائيات كوكل"
821
 
822
- #: .././front/widgets.php:148
823
  msgid "Title:"
824
  msgstr "العنوان:"
825
 
826
- #: .././front/widgets.php:155
827
  msgid "Display:"
828
  msgstr "اظهر:"
829
 
830
- #: .././front/widgets.php:159
831
  msgid "Chart & Totals"
832
  msgstr "الاحصائيات والكل"
833
 
834
- #: .././front/widgets.php:160
835
  msgid "Chart"
836
  msgstr "الاحصائيات"
837
 
838
- #: .././front/widgets.php:161
839
  msgid "Totals"
840
  msgstr "الكل"
841
 
842
- #: .././front/widgets.php:165
843
  msgid "Anonymize stats:"
844
  msgstr ""
845
 
846
- #: .././front/widgets.php:172
847
  msgid "Stats for:"
848
  msgstr "الاحصائيات لـ:"
849
 
850
- #: .././front/widgets.php:182
851
  msgid "Give credits:"
852
  msgstr "أعطي الفضل:"
853
 
854
- #: .././tools/gapi.php:128
 
 
 
 
855
  msgid "Use this link to get your access code:"
856
  msgstr "أستخدم هذا الرابط للحصول على كود التعقب الخاص بك:"
857
 
858
- #: .././tools/gapi.php:128
859
  msgid "Get Access Code"
860
  msgstr "احصل على كود الدخول"
861
 
862
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
863
  msgid "Use the red link to get your access code!"
864
  msgstr ""
865
 
866
- #: .././tools/gapi.php:133
867
  msgid "Access Code:"
868
  msgstr "كود الدخول:"
869
 
870
- #: .././tools/gapi.php:145
871
  msgid "Save Access Code"
872
  msgstr "أحفظ كود الدخول"
873
 
874
- #: .././tools/gapi.php:381
875
  msgid "Organic Searches"
876
  msgstr "البحث العضوي"
877
 
878
- #: .././tools/gapi.php:389
 
 
 
 
879
  msgid "Hour"
880
  msgstr "الساعة"
881
 
882
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
883
  msgid "Date"
884
  msgstr "التاريخ"
885
 
886
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
887
  msgid "Views"
888
  msgstr "المشاهدات"
889
 
890
- #: .././tools/gapi.php:617
891
  msgid "Countries"
892
  msgstr ""
893
 
894
- #: .././tools/gapi.php:626
895
  msgid "Cities from"
896
  msgstr ""
897
 
898
- #: .././tools/gapi.php:698
899
  msgid "Channels"
900
  msgstr ""
901
 
902
- #: .././tools/gapi.php:761
903
  msgid "Type"
904
  msgstr "النوع"
905
 
906
- #: .././tools/gapi.php:856
907
  msgid "UniqueViews"
908
  msgstr "المشاهدات الخاصة"
909
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
910
  #~ msgid "Google Analytics Dashboard Settings"
911
  #~ msgstr "اعدادات الاضافة"
912
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
  "Language-Team: Ahmed Majed <admin@almobdaa.com>\n"
10
  "Language: ar\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
20
  "X-Poedit-SearchPath-0: ../.\n"
21
 
22
+ #: .././admin/item-reports.php:66
23
  msgid "Analytics"
24
  msgstr ""
25
 
26
+ #: .././admin/settings.php:94 .././admin/settings.php:202
27
+ #: .././admin/settings.php:338 .././admin/settings.php:819
28
+ #: .././admin/settings.php:1088
29
  msgid "Settings saved."
30
  msgstr ""
31
 
32
+ #: .././admin/settings.php:96 .././admin/settings.php:204
33
+ #: .././admin/settings.php:340 .././admin/settings.php:796
34
+ #: .././admin/settings.php:806 .././admin/settings.php:815
35
+ #: .././admin/settings.php:821 .././admin/settings.php:833
36
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
37
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
38
+ #: .././admin/settings.php:1102
39
  msgid "Cheating Huh?"
40
  msgstr "تغش ها؟"
41
 
42
+ #: .././admin/settings.php:100 .././admin/settings.php:208
43
+ #: .././admin/settings.php:344 .././admin/settings.php:659
44
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
45
+ #, php-format
46
+ msgid "Something went wrong, check %1$s or %2$s."
47
  msgstr ""
48
 
49
+ #: .././admin/settings.php:100 .././admin/settings.php:208
50
+ #: .././admin/settings.php:344 .././admin/settings.php:659
51
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
52
+ #: .././admin/setup.php:96 .././admin/setup.php:119
53
  msgid "Errors & Debug"
54
  msgstr ""
55
 
56
+ #: .././admin/settings.php:100 .././admin/settings.php:208
57
+ #: .././admin/settings.php:344 .././admin/settings.php:659
58
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
59
  msgid "authorize the plugin"
60
  msgstr "صرح بالدخول للأضافة"
61
 
62
+ #: .././admin/settings.php:105
63
  msgid "Google Analytics Frontend Settings"
64
  msgstr "اعدادات الظهور الامامي لأحصائيات كوكل"
65
 
66
+ #: .././admin/settings.php:116
67
+ #, php-format
68
+ msgid "Read %s for more information about Frontend Features and Options."
69
+ msgstr ""
70
+
71
+ #: .././admin/settings.php:116 .././admin/settings.php:224
72
+ #: .././admin/settings.php:369 .././admin/settings.php:682
73
+ msgid "this documentation page"
74
+ msgstr ""
75
+
76
+ #: .././admin/settings.php:120 .././admin/settings.php:228
77
  msgid "Permissions"
78
  msgstr ""
79
 
80
+ #: .././admin/settings.php:123 .././admin/settings.php:231
81
  msgid "Show stats to:"
82
  msgstr ""
83
 
84
+ #: .././admin/settings.php:162
85
+ msgid "show page sessions and users in frontend (after each article)"
86
  msgstr ""
87
 
88
+ #: .././admin/settings.php:173
89
+ msgid "show page searches (after each article)"
90
+ msgstr ""
91
 
92
+ #: .././admin/settings.php:180 .././admin/settings.php:318
93
+ #: .././admin/settings.php:617 .././admin/settings.php:965
94
+ #: .././admin/settings.php:1252
95
  msgid "Save Changes"
96
  msgstr ""
97
 
98
+ #: .././admin/settings.php:213
99
  msgid "Google Analytics Backend Settings"
100
  msgstr ""
101
 
102
+ #: .././admin/settings.php:224
103
+ #, php-format
104
+ msgid "Read %s for more information about Backend Features and Options."
105
+ msgstr ""
106
 
107
+ #: .././admin/settings.php:272
108
+ msgid "enable Switch Profile/View functionality"
109
  msgstr ""
110
 
111
+ #: .././admin/settings.php:283
112
+ msgid "enable reports on Posts List and Pages List"
113
  msgstr ""
114
 
115
+ #: .././admin/settings.php:294
116
+ msgid "enable the main Dashboard Widget"
117
+ msgstr ""
118
+
119
+ #: .././admin/settings.php:298
120
  msgid "Real-Time Settings"
121
  msgstr "اعدادات الوقت الحقيقي"
122
 
123
+ #: .././admin/settings.php:301
124
  msgid "Maximum number of pages to display on real-time tab:"
125
  msgstr "اكثر عدد صفحات يتم اظهارها في قسم الوقت الحقيقي:"
126
 
127
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
128
  msgid "Location Settings"
129
  msgstr ""
130
 
131
+ #: .././admin/settings.php:310
132
  msgid "Target Geo Map to country:"
133
  msgstr ""
134
 
135
+ #: .././admin/settings.php:347
136
+ msgid ""
137
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
138
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
139
  msgstr ""
140
 
141
+ #: .././admin/settings.php:352
 
 
 
 
142
  msgid "Google Analytics Tracking Code"
143
  msgstr "كود تعقب احصائيات كوكل"
144
 
145
+ #: .././admin/settings.php:361
146
  msgid "Basic Settings"
147
  msgstr ""
148
 
149
+ #: .././admin/settings.php:362 .././admin/settings.php:429
150
  msgid "Events Tracking"
151
  msgstr "تعقب الافعال"
152
 
153
+ #: .././admin/settings.php:363 .././admin/settings.php:477
154
  msgid "Custom Definitions"
155
  msgstr "تعاريف مخصصة"
156
 
157
+ #: .././admin/settings.php:364 .././admin/settings.php:575
158
+ #: .././admin/settings.php:1235
159
  msgid "Exclude Tracking"
160
  msgstr "لا تتبع"
161
 
162
+ #: .././admin/settings.php:365
163
  msgid "Advanced Settings"
164
  msgstr ""
165
 
166
+ #: .././admin/settings.php:369
167
+ #, php-format
168
+ msgid "For more information about Tracking Options read %s."
169
+ msgstr ""
170
+
171
+ #: .././admin/settings.php:374
172
  msgid "Tracking Settings"
173
  msgstr "اعدادات التعقب"
174
 
175
+ #: .././admin/settings.php:377
176
  msgid "Tracking Options:"
177
  msgstr ""
178
 
179
+ #: .././admin/settings.php:379
180
  msgid "Disabled"
181
  msgstr "تعطيل"
182
 
183
+ #: .././admin/settings.php:380
184
+ msgid "Enabled"
185
+ msgstr "تفعيل"
186
+
187
+ #: .././admin/settings.php:388 .././admin/settings.php:911
188
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
189
+ #: .././admin/widgets.php:72
190
  msgid "View Name:"
191
  msgstr "شاهد الاسم:"
192
 
193
+ #: .././admin/settings.php:388 .././admin/settings.php:933
194
  msgid "Tracking ID:"
195
  msgstr "معرف التعقب:"
196
 
197
+ #: .././admin/settings.php:388 .././admin/settings.php:933
198
  msgid "Default URL:"
199
  msgstr "الرابط الرئيسي:"
200
 
201
+ #: .././admin/settings.php:388 .././admin/settings.php:933
202
  msgid "Time Zone:"
203
  msgstr "المنطقة الزمنية:"
204
 
205
+ #: .././admin/settings.php:393
206
  msgid "Basic Tracking"
207
  msgstr "التعقب الاساسي"
208
 
209
+ #: .././admin/settings.php:396
210
  msgid "Tracking Type:"
211
  msgstr ""
212
 
213
+ #: .././admin/settings.php:398
214
  msgid "Classic Analytics"
215
  msgstr "الاحصائيات الكلاسيكية"
216
 
217
+ #: .././admin/settings.php:399
218
  msgid "Universal Analytics"
219
  msgstr "الاحصائيات العالمية"
220
 
221
+ #: .././admin/settings.php:410
222
+ msgid "anonymize IPs while tracking"
223
+ msgstr ""
224
 
225
+ #: .././admin/settings.php:421
226
+ msgid "enable remarketing, demographics and interests reports"
227
+ msgstr ""
228
 
229
+ #: .././admin/settings.php:439
230
+ msgid "track downloads, mailto and outbound links"
231
+ msgstr ""
232
 
233
+ #: .././admin/settings.php:443
234
  msgid "Downloads Regex:"
235
  msgstr "حمل التقارير"
236
 
237
+ #: .././admin/settings.php:454
238
+ msgid "track affiliate links matching this regex"
239
+ msgstr ""
240
 
241
+ #: .././admin/settings.php:458
242
  msgid "Affiliates Regex:"
243
  msgstr "روابط الداعمين:"
244
 
245
+ #: .././admin/settings.php:469
246
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
247
  msgstr ""
248
 
249
+ #: .././admin/settings.php:480
250
  msgid "Authors:"
251
  msgstr ""
252
 
253
+ #: .././admin/settings.php:488
254
  msgid "Publication Year:"
255
  msgstr ""
256
 
257
+ #: .././admin/settings.php:496
258
  msgid "Categories:"
259
  msgstr ""
260
 
261
+ #: .././admin/settings.php:504
262
  msgid "User Type:"
263
  msgstr ""
264
 
265
+ #: .././admin/settings.php:516
266
  msgid "Advanced Tracking"
267
  msgstr "تتبع متطور"
268
 
269
+ #: .././admin/settings.php:519
270
  msgid "Page Speed SR:"
271
  msgstr "سرعة الصفحة:"
272
 
273
+ #: .././admin/settings.php:530
274
+ msgid "exclude events from bounce-rate calculation"
275
+ msgstr ""
276
 
277
+ #: .././admin/settings.php:541
278
+ msgid "enable enhanced link attribution"
279
+ msgstr ""
280
 
281
+ #: .././admin/settings.php:552
282
+ msgid "enable AdSense account linking"
283
+ msgstr ""
284
 
285
+ #: .././admin/settings.php:563
286
+ msgid "enable cross domain tracking"
287
+ msgstr ""
288
 
289
+ #: .././admin/settings.php:567
290
  msgid "Cross Domains:"
291
  msgstr "عبر الروابط التالية:"
292
 
293
+ #: .././admin/settings.php:578
294
  msgid "Exclude tracking for:"
295
  msgstr ""
296
 
297
+ #: .././admin/settings.php:663
298
  msgid "Google Analytics Errors & Debugging"
299
  msgstr ""
300
 
301
+ #: .././admin/settings.php:673
302
  msgid "Errors & Details"
303
  msgstr ""
304
 
305
+ #: .././admin/settings.php:674
306
  msgid "Plugin Settings"
307
  msgstr ""
308
 
309
+ #: .././admin/settings.php:682
310
+ #, php-format
311
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
312
  msgstr ""
313
 
314
+ #: .././admin/settings.php:687
315
  msgid "Last Error detected"
316
  msgstr ""
317
 
318
+ #: .././admin/settings.php:693 .././admin/settings.php:706
319
  msgid "None"
320
  msgstr ""
321
 
322
+ #: .././admin/settings.php:700
323
  msgid "Error Details"
324
  msgstr ""
325
 
326
+ #: .././admin/settings.php:720
327
  msgid "Plugin Configuration"
328
  msgstr ""
329
 
330
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
331
  msgid ""
332
  "Loading the required libraries. If this results in a blank screen or a fatal "
333
  "error, try this solution:"
334
  msgstr ""
335
 
336
+ #: .././admin/settings.php:742
337
+ msgid "Library conflicts between WordPress plugins"
338
+ msgstr ""
339
+
340
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
341
  msgid "Plugin authorization succeeded."
342
  msgstr "تم تفعيل تصريح الاضافة بنجاح."
343
 
344
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
345
  msgid ""
346
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
347
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
348
  msgstr ""
349
 
350
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
351
  msgid "Cleared Cache."
352
  msgstr "الخزن المزال."
353
 
354
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
355
  msgid "Token Reseted and Revoked."
356
  msgstr "الجزء المراح والمعدل."
357
 
358
+ #: .././admin/settings.php:813
359
  msgid "All errors reseted."
360
  msgstr ""
361
 
362
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
363
  msgid "All other domains/properties were removed."
364
  msgstr "كل الروابط/والخصائص تم إزالتها."
365
 
366
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
367
  msgid "Google Analytics Settings"
368
  msgstr "إعدادات احصائيات كوكل"
369
 
370
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
371
  msgid "Use the red link (see below) to generate and get your access code!"
372
  msgstr ""
373
 
374
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
375
  msgid "Plugin Authorization"
376
  msgstr "تصريح الأضافة"
377
 
378
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
379
+ #, php-format
380
+ msgid ""
381
+ "You should watch the %1$s and read this %2$s before proceeding to "
382
+ "authorization. This plugin requires a properly configured Google Analytics "
383
+ "account!"
384
+ msgstr ""
385
 
386
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
387
  msgid "video"
388
  msgstr "الڤيديو"
389
 
390
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
391
  msgid "tutorial"
392
  msgstr "الدرس"
393
 
394
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
395
+ msgid "use your own API Project credentials"
 
 
396
  msgstr ""
 
397
 
398
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
 
 
 
 
399
  msgid "API Key:"
400
  msgstr "مفتاح API:"
401
 
402
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
403
  msgid "Client ID:"
404
  msgstr "معرف الزيون:"
405
 
406
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
407
  msgid "Client Secret:"
408
  msgstr "سر الزبون:"
409
 
410
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
411
  msgid "Clear Authorization"
412
  msgstr "أزل التصريحات"
413
 
414
+ #: .././admin/settings.php:895 .././admin/settings.php:971
415
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
416
  msgid "Clear Cache"
417
  msgstr "أزل الخزن"
418
 
419
+ #: .././admin/settings.php:895
420
  msgid "Reset Errors"
421
  msgstr ""
422
 
423
+ #: .././admin/settings.php:901 .././admin/setup.php:80
424
+ #: .././admin/setup.php:115
425
  msgid "General Settings"
426
  msgstr "الأعدادات العامة"
427
 
428
+ #: .././admin/settings.php:904
429
  msgid "Select Domain:"
430
  msgstr ""
431
 
432
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
433
  msgid "Property not found"
434
  msgstr ""
435
 
436
+ #: .././admin/settings.php:920
437
  msgid "and/or hide all other domains"
438
  msgstr "و/أو أخفي كل الروابط الأخرى"
439
 
440
+ #: .././admin/settings.php:921
441
  msgid "Hide Now"
442
  msgstr "أخفي الأن"
443
 
444
+ #: .././admin/settings.php:939
445
  msgid "Theme Color:"
446
  msgstr ""
447
 
448
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
449
  msgid "Automatic Updates"
450
  msgstr ""
451
 
452
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
453
  msgid ""
454
+ "automatic updates for minor versions (security and maintenance releases only)"
 
455
  msgstr ""
456
 
457
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
458
+ #: .././admin/widgets.php:43
459
  msgid "Authorize Plugin"
460
  msgstr "صرح الأضافة "
461
 
462
+ #: .././admin/settings.php:1046
463
  msgid "Properties refreshed."
464
  msgstr "تم تحديث الخصائص."
465
 
466
+ #: .././admin/settings.php:1130
467
  msgid "Network Setup"
468
  msgstr "اعدادات الشبكة"
469
 
470
+ #: .././admin/settings.php:1140
471
+ msgid "use a single Google Analytics account for the entire network"
472
+ msgstr ""
473
 
474
+ #: .././admin/settings.php:1184
475
  msgid "Refresh Properties"
476
  msgstr "حدث الخصائص"
477
 
478
+ #: .././admin/settings.php:1190
479
  msgid "Properties/Views Settings"
480
  msgstr "اعدادات الخصائص/المشاهدة"
481
 
482
+ #: .././admin/settings.php:1245
483
+ msgid "exclude Super Admin tracking for the entire network"
484
  msgstr ""
485
 
486
+ #: .././admin/settings.php:1290
487
  msgid "Setup Tutorial & Demo"
488
  msgstr "درس التنصيب"
489
 
490
+ #: .././admin/settings.php:1298
491
  msgid "Support & Reviews"
492
  msgstr "الدعم والتقييم"
493
 
494
+ #: .././admin/settings.php:1305
495
+ #, php-format
496
+ msgid "Plugin documentation and support on %s"
497
  msgstr ""
498
 
499
+ #: .././admin/settings.php:1312
500
+ #, php-format
501
+ msgid "Your feedback and review are both important, %s!"
502
+ msgstr ""
503
 
504
+ #: .././admin/settings.php:1312
505
  msgid "rate this plugin"
506
  msgstr "قيم هذه الاضافة"
507
 
508
+ #: .././admin/settings.php:1318
509
  msgid "Further Reading"
510
  msgstr "أكمل القراءة"
511
 
512
+ #: .././admin/settings.php:1325
513
+ #, php-format
514
+ msgid "%s by moving your website to HTTPS/SSL."
515
+ msgstr ""
516
+
517
+ #: .././admin/settings.php:1325
518
  msgid "Improve search rankings"
519
  msgstr "حسن ترتيب البحث"
520
 
521
+ #: .././admin/settings.php:1332
522
+ #, php-format
523
+ msgid "Other %s written by the same author"
524
+ msgstr ""
 
 
 
525
 
526
+ #: .././admin/settings.php:1332
527
  msgid "WordPress Plugins"
528
  msgstr "اضافات وردبريس"
529
 
530
+ #: .././admin/settings.php:1338
 
 
 
 
531
  msgid "Other Services"
532
  msgstr ""
533
 
534
+ #: .././admin/settings.php:1345
535
+ #, php-format
536
+ msgid "Speed up your website and plug into a whole %s"
537
  msgstr ""
538
 
539
+ #: .././admin/settings.php:1345
540
  msgid "new level of site speed"
541
  msgstr ""
542
 
543
+ #: .././admin/settings.php:1352
544
+ #, php-format
545
+ msgid "%s service with users tracking at IP level."
546
+ msgstr ""
547
+
548
+ #: .././admin/settings.php:1352
549
  msgid "Web Analytics"
550
  msgstr "احصائيات الويب"
551
 
552
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
553
  msgid "Google Analytics"
554
  msgstr "أحصائيات كوكل"
555
 
556
+ #: .././admin/setup.php:84
557
  msgid "Backend Settings"
558
  msgstr "أعدادات العمل"
559
 
560
+ #: .././admin/setup.php:88
561
  msgid "Frontend Settings"
562
  msgstr "اعدادات الظهور"
563
 
564
+ #: .././admin/setup.php:92
565
  msgid "Tracking Code"
566
  msgstr "كود التعقب"
567
 
568
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
569
  msgid "Today"
570
  msgstr "اليوم"
571
 
572
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
573
  msgid "Yesterday"
574
  msgstr "البارحة"
575
 
576
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
577
+ #: .././front/widgets.php:74 .././front/widgets.php:182
578
  msgid "Last 7 Days"
579
  msgstr "اخر ٧ ايام"
580
 
581
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
582
+ #: .././front/widgets.php:80 .././front/widgets.php:184
583
  msgid "Last 30 Days"
584
  msgstr "اخر ٣٠ يوم"
585
 
586
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
587
  msgid "Last 90 Days"
588
  msgstr "أخر ٩٠ يوم"
589
 
590
+ #: .././admin/setup.php:203 .././admin/setup.php:219
591
+ msgid "Unique Views"
 
 
 
 
592
  msgstr ""
593
 
594
+ #: .././admin/setup.php:204 .././admin/setup.php:220
595
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
596
+ #: .././tools/gapi.php:382
597
  msgid "Users"
598
  msgstr ""
599
 
600
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
601
  msgid "Organic"
602
  msgstr "عضوي"
603
 
604
+ #: .././admin/setup.php:206 .././admin/setup.php:221
605
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
606
+ #: .././tools/gapi.php:385
607
  msgid "Page Views"
608
  msgstr "مشاهدات الصفحة"
609
 
610
+ #: .././admin/setup.php:207 .././admin/setup.php:222
611
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
612
+ #: .././tools/gapi.php:388
613
  msgid "Bounce Rate"
614
  msgstr "نسبة القفز"
615
 
616
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
617
  msgid "Location"
618
  msgstr ""
619
 
620
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
621
  msgid "Referrers"
622
  msgstr ""
623
 
624
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
625
+ #: .././tools/gapi.php:913
626
  msgid "Searches"
627
  msgstr ""
628
 
629
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
630
  msgid "Traffic Details"
631
  msgstr ""
632
 
633
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
634
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
635
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
636
  msgid "A JavaScript Error is blocking plugin resources!"
637
  msgstr ""
638
 
639
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
640
  msgid "Traffic Mediums"
641
  msgstr ""
642
 
643
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
644
  msgid "Visitor Type"
645
  msgstr ""
646
 
647
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
648
  msgid "Social Networks"
649
  msgstr ""
650
 
651
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
652
  msgid "Search Engines"
653
  msgstr ""
654
 
655
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
656
  msgid "Organic Search"
657
  msgstr ""
658
 
659
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
660
  msgid "Pages/Session"
661
  msgstr ""
662
 
663
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
664
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
665
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
666
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
667
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
668
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
669
+ #: .././front/item-reports.php:118
670
  msgid "Invalid response, more details in JavaScript Console (F12)."
671
  msgstr ""
672
 
673
+ #: .././admin/setup.php:226
674
  msgid "Not enough data collected"
675
  msgstr ""
676
 
677
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
678
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
679
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
680
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
681
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
682
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
683
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
684
+ #: .././front/widgets.php:110
685
  msgid "This report is unavailable"
686
  msgstr ""
687
 
688
+ #: .././admin/setup.php:228
689
  msgid "report generated by"
690
  msgstr ""
691
 
692
+ #: .././admin/setup.php:268
693
  msgid "Settings"
694
  msgstr "الاعدادات"
695
 
696
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
697
  msgid "Google Analytics Dashboard"
698
  msgstr "لوحة أحصائيات كوكل"
699
 
700
+ #: .././admin/widgets.php:43
701
  msgid "This plugin needs an authorization:"
702
  msgstr "هذه الاضافة تحتاج الى تصريح:"
703
 
704
+ #: .././admin/widgets.php:77
705
  msgid "Something went wrong while retrieving profiles list."
706
  msgstr "حدث خطأ ما اثناء استرجاع قائمة البروفايلات."
707
 
708
+ #: .././admin/widgets.php:77
709
  msgid "More details"
710
  msgstr "المزيد من التفاصيل"
711
 
712
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
713
  msgid "An admin should asign a default Google Analytics Profile."
714
  msgstr "المدير يجب ان يحصل على حساب احصائيات كوكل رئيسي."
715
 
716
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
717
  msgid "Select Domain"
718
  msgstr "حدد النطاق"
719
 
720
+ #: .././admin/widgets.php:106
721
  msgid ""
722
  "Something went wrong while retrieving property data. You need to create and "
723
  "properly configure a Google Analytics account:"
725
  "حدث خطأ ما اثناء استرجاع بيانات الملكية. تحتاج الى انشاء واعداد حساب كوكل "
726
  "للأحصائيات بصورة صحيحة:"
727
 
728
+ #: .././admin/widgets.php:106
729
  msgid "Find out more!"
730
  msgstr "اعرف أكثر!"
731
 
732
+ #: .././admin/widgets.php:127
733
  msgid "Real-Time"
734
  msgstr "الوقت الحقيقي"
735
 
736
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
737
+ #: .././front/widgets.php:183
738
  msgid "Last 14 Days"
739
  msgstr "أخر ١٤ يوم"
740
 
741
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
742
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
743
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
744
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
745
+ msgid "Sessions"
746
+ msgstr ""
747
+
748
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
749
  msgid "Pages"
750
  msgstr ""
751
 
752
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
753
  msgid "REFERRAL"
754
  msgstr "المصدر"
755
 
756
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
757
  msgid "ORGANIC"
758
  msgstr "عضوي"
759
 
760
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
761
+ #: .././admin/widgets.php:491
762
  msgid "SOCIAL"
763
  msgstr "اجتماعي"
764
 
765
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
766
+ #: .././admin/widgets.php:492
767
  msgid "CAMPAIGN"
768
  msgstr ""
769
 
770
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
771
+ #: .././admin/widgets.php:495
772
  msgid "DIRECT"
773
  msgstr "مباشر"
774
 
775
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
776
  msgid "NEW"
777
  msgstr "جديد"
778
 
779
+ #: .././admin/widgets.php:371
780
  msgid "REFERRALS"
781
  msgstr "المصادر"
782
 
783
+ #: .././admin/widgets.php:374
784
  msgid "KEYWORDS"
785
  msgstr "الكلمات المفتاحية"
786
 
787
+ #: .././front/item-reports.php:133
788
  msgid "Views vs UniqueViews"
789
  msgstr "المشاهدات ضد المشاهدات الحقيقية"
790
 
791
+ #: .././front/item-reports.php:183
792
  msgid "Google Analytics Reports"
793
  msgstr ""
794
 
795
+ #: .././front/widgets.php:23
796
  msgid "Will display your google analytics stats in a widget"
797
  msgstr "ستظهر احصائيات حسابك في مربع جانبي"
798
 
799
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
800
  msgid "trend"
801
  msgstr ""
802
 
803
+ #: .././front/widgets.php:133
804
  msgid "Period:"
805
  msgstr "الفترة:"
806
 
807
+ #: .././front/widgets.php:133
808
  msgid "Sessions:"
809
  msgstr ""
810
 
811
+ #: .././front/widgets.php:137
812
  msgid "generated by"
813
  msgstr "اظهرت بواسطة"
814
 
815
+ #: .././front/widgets.php:147
816
  msgid "Google Analytics Stats"
817
  msgstr "احصائيات كوكل"
818
 
819
+ #: .././front/widgets.php:154
820
  msgid "Title:"
821
  msgstr "العنوان:"
822
 
823
+ #: .././front/widgets.php:161
824
  msgid "Display:"
825
  msgstr "اظهر:"
826
 
827
+ #: .././front/widgets.php:165
828
  msgid "Chart & Totals"
829
  msgstr "الاحصائيات والكل"
830
 
831
+ #: .././front/widgets.php:166
832
  msgid "Chart"
833
  msgstr "الاحصائيات"
834
 
835
+ #: .././front/widgets.php:167
836
  msgid "Totals"
837
  msgstr "الكل"
838
 
839
+ #: .././front/widgets.php:171
840
  msgid "Anonymize stats:"
841
  msgstr ""
842
 
843
+ #: .././front/widgets.php:178
844
  msgid "Stats for:"
845
  msgstr "الاحصائيات لـ:"
846
 
847
+ #: .././front/widgets.php:188
848
  msgid "Give credits:"
849
  msgstr "أعطي الفضل:"
850
 
851
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
852
+ msgid "This is not allowed, read the documentation!"
853
+ msgstr ""
854
+
855
+ #: .././tools/gapi.php:141
856
  msgid "Use this link to get your access code:"
857
  msgstr "أستخدم هذا الرابط للحصول على كود التعقب الخاص بك:"
858
 
859
+ #: .././tools/gapi.php:141
860
  msgid "Get Access Code"
861
  msgstr "احصل على كود الدخول"
862
 
863
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
864
  msgid "Use the red link to get your access code!"
865
  msgstr ""
866
 
867
+ #: .././tools/gapi.php:146
868
  msgid "Access Code:"
869
  msgstr "كود الدخول:"
870
 
871
+ #: .././tools/gapi.php:158
872
  msgid "Save Access Code"
873
  msgstr "أحفظ كود الدخول"
874
 
875
+ #: .././tools/gapi.php:391
876
  msgid "Organic Searches"
877
  msgstr "البحث العضوي"
878
 
879
+ #: .././tools/gapi.php:394
880
+ msgid "Unique Page Views"
881
+ msgstr ""
882
+
883
+ #: .././tools/gapi.php:402
884
  msgid "Hour"
885
  msgstr "الساعة"
886
 
887
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
888
  msgid "Date"
889
  msgstr "التاريخ"
890
 
891
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
892
  msgid "Views"
893
  msgstr "المشاهدات"
894
 
895
+ #: .././tools/gapi.php:631
896
  msgid "Countries"
897
  msgstr ""
898
 
899
+ #: .././tools/gapi.php:641
900
  msgid "Cities from"
901
  msgstr ""
902
 
903
+ #: .././tools/gapi.php:713
904
  msgid "Channels"
905
  msgstr ""
906
 
907
+ #: .././tools/gapi.php:776
908
  msgid "Type"
909
  msgstr "النوع"
910
 
911
+ #: .././tools/gapi.php:871
912
  msgid "UniqueViews"
913
  msgstr "المشاهدات الخاصة"
914
 
915
+ #~ msgid "about this feature"
916
+ #~ msgstr "حول هذه الميزة"
917
+
918
+ #~ msgid " show page searches (after each article)"
919
+ #~ msgstr "اظهر بحوث الصفحة (بعد كل مقالة)"
920
+
921
+ #~ msgid " anonymize IPs while tracking"
922
+ #~ msgstr "تجاهل الاي بي عند التعقب"
923
+
924
+ #~ msgid " enable remarketing, demographics and interests reports"
925
+ #~ msgstr "فعل تقارير اعادة التسويق, الديمغرافي والاهتمام"
926
+
927
+ #~ msgid " track downloads, mailto and outbound links"
928
+ #~ msgstr "تعقب التحميلات, ارسل الى والروابط الخارجية"
929
+
930
+ #~ msgid " track affiliate links matching this regex"
931
+ #~ msgstr "تتبع روابط الداعمين التي تطابق هذا الجزء"
932
+
933
+ #~ msgid " exclude events from bounce-rate calculation"
934
+ #~ msgstr "لا تحسب الافعال من حسابات نسبة القفز"
935
+
936
+ #~ msgid " enable enhanced link attribution"
937
+ #~ msgstr "فعل تعديل الرابط المحسن"
938
+
939
+ #~ msgid " enable AdSense account linking"
940
+ #~ msgstr "فعل ربط حساب ادسينس"
941
+
942
+ #~ msgid " enable cross domain tracking"
943
+ #~ msgstr "فعل التتبع عبر الروابط"
944
+
945
+ #~ msgid " use your own API Project credentials"
946
+ #~ msgstr "أستخدام معرفات مشروع API خاصتك"
947
+
948
+ #~ msgid " use a single Google Analytics account for the entire network"
949
+ #~ msgstr "أستخدم حساب أحصائيات كوكل واحد للشبكة كلها"
950
+
951
+ #~ msgid "disable Switch Profile/View functionality"
952
+ #~ msgstr "عطل امكانية تغيير اعدادات الحساب/المشاهدة"
953
+
954
+ #~ msgid "You should watch the"
955
+ #~ msgstr "يجب ان تشاهد هذا"
956
+
957
+ #~ msgid "and read this"
958
+ #~ msgstr "وأقرأ هذا"
959
+
960
+ #~ msgid ""
961
+ #~ "before proceeding to authorization. This plugin requires a properly "
962
+ #~ "configured Google Analytics account"
963
+ #~ msgstr ""
964
+ #~ "قبل ان تباشر التصريح. هذه الاضافة تتطلب حساب احصائيات كوكل معد بصورة صحيحة"
965
+
966
+ #~ msgid "Your feedback and review are both important,"
967
+ #~ msgstr "رأيك وتقييمك كلاهما مهمان,"
968
+
969
+ #~ msgid "by moving your website to HTTPS/SSL."
970
+ #~ msgstr "حول موقعك الى بروتوكول HTTPs/SSl"
971
+
972
+ #~ msgid "Other"
973
+ #~ msgstr "اخرى"
974
+
975
+ #~ msgid "written by the same author"
976
+ #~ msgstr "كتبت من قبل نفس صاحب الاضافة"
977
+
978
  #~ msgid "Google Analytics Dashboard Settings"
979
  #~ msgstr "اعدادات الاضافة"
980
 
languages/ga-dash-de_DE.mo DELETED
Binary file
languages/ga-dash-de_DE.po CHANGED
@@ -1,736 +1,725 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:15+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:15+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
- "Language: pt_BR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr ""
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
 
43
  msgstr ""
44
 
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
49
  msgid "Errors & Debug"
50
  msgstr ""
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "das Plugin autorisieren"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Google Analytics Frontend Einstellungen"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
- msgstr "Suchen (nach jedem Artikel)"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
  msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "Deaktiviere bzw. ändere das Profil/Zeige die Funktionalität"
 
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
 
 
 
 
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
107
  msgid "Real-Time Settings"
108
  msgstr "Echtzeit Einstellungen"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr ""
113
  "Maximale Anzahl der Seiten, die in einem Echtzeit-Tab angezeigt werden "
114
  "sollen:"
115
 
116
- #: .././admin/settings.php:321 .././admin/settings.php:337
117
- msgid "find out more"
118
- msgstr ""
119
-
120
- #: .././admin/settings.php:323 .././admin/settings.php:340
121
- msgid "about this feature"
122
- msgstr "über diese Funktion"
123
-
124
- #: .././admin/settings.php:328
125
  msgid "Location Settings"
126
  msgstr ""
127
 
128
- #: .././admin/settings.php:332
129
  msgid "Target Geo Map to country:"
130
  msgstr ""
131
 
132
- #: .././admin/settings.php:381
133
- msgid "The tracking component is disabled. You should set"
134
- msgstr ""
135
-
136
- #: .././admin/settings.php:381
137
- msgid "Tracking Options"
138
- msgstr ""
139
-
140
- #: .././admin/settings.php:381
141
- msgid "to"
142
  msgstr ""
143
 
144
- #: .././admin/settings.php:381 .././admin/settings.php:417
145
- msgid "Enabled"
146
- msgstr "Aktiviert"
147
-
148
- #: .././admin/settings.php:387
149
  msgid "Google Analytics Tracking Code"
150
  msgstr "Google Analytics Tracking Code"
151
 
152
- #: .././admin/settings.php:396
153
  msgid "Basic Settings"
154
  msgstr ""
155
 
156
- #: .././admin/settings.php:397 .././admin/settings.php:476
157
  msgid "Events Tracking"
158
  msgstr "Event Tracking"
159
 
160
- #: .././admin/settings.php:398 .././admin/settings.php:540
161
  msgid "Custom Definitions"
162
  msgstr ""
163
 
164
- #: .././admin/settings.php:399 .././admin/settings.php:668
165
- #: .././admin/settings.php:1405
166
  msgid "Exclude Tracking"
167
  msgstr "Exkludiere Tracking"
168
 
169
- #: .././admin/settings.php:400
170
  msgid "Advanced Settings"
171
  msgstr ""
172
 
173
- #: .././admin/settings.php:408
 
 
 
 
 
174
  msgid "Tracking Settings"
175
  msgstr "Tracking Einstellungen"
176
 
177
- #: .././admin/settings.php:411
178
  msgid "Tracking Options:"
179
  msgstr ""
180
 
181
- #: .././admin/settings.php:415
182
  msgid "Disabled"
183
  msgstr "Deaktiviert"
184
 
185
- #: .././admin/settings.php:425 .././admin/settings.php:1040
186
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
187
- #: .././admin/widgets.php:67
 
 
 
 
188
  msgid "View Name:"
189
  msgstr "Anzeigename:"
190
 
191
- #: .././admin/settings.php:425 .././admin/settings.php:1065
192
  msgid "Tracking ID:"
193
  msgstr "Tracking ID:"
194
 
195
- #: .././admin/settings.php:425 .././admin/settings.php:1065
196
  msgid "Default URL:"
197
  msgstr "Standard URL:"
198
 
199
- #: .././admin/settings.php:425 .././admin/settings.php:1065
200
  msgid "Time Zone:"
201
  msgstr "Zeitzone"
202
 
203
- #: .././admin/settings.php:430
204
  msgid "Basic Tracking"
205
  msgstr "Basic Tracking"
206
 
207
- #: .././admin/settings.php:433
208
  msgid "Tracking Type:"
209
  msgstr ""
210
 
211
- #: .././admin/settings.php:437
212
  msgid "Classic Analytics"
213
  msgstr "Klassische Analyse"
214
 
215
- #: .././admin/settings.php:439
216
  msgid "Universal Analytics"
217
  msgstr "Universelle Analyse"
218
 
219
- #: .././admin/settings.php:453
220
- msgid " anonymize IPs while tracking"
221
- msgstr "Anonymisiere die IPs während des Trackings"
222
 
223
- #: .././admin/settings.php:468
224
- msgid " enable remarketing, demographics and interests reports"
225
- msgstr "Aktiviere remarketing, demografische und interessen berichte"
226
 
227
- #: .././admin/settings.php:490
228
- msgid " track downloads, mailto and outbound links"
229
- msgstr "Tracke Downlaods, mailtos und ausgehende Links"
230
 
231
- #: .././admin/settings.php:494
232
  msgid "Downloads Regex:"
233
  msgstr "Download Filter:"
234
 
235
- #: .././admin/settings.php:511
236
- msgid " track affiliate links matching this regex"
237
  msgstr ""
238
 
239
- #: .././admin/settings.php:515
240
  msgid "Affiliates Regex:"
241
  msgstr ""
242
 
243
- #: .././admin/settings.php:532
244
- msgid " track fragment identifiers, hashmarks (#) in URI links"
245
  msgstr ""
246
 
247
- #: .././admin/settings.php:543
248
  msgid "Authors:"
249
  msgstr ""
250
 
251
- #: .././admin/settings.php:553
252
  msgid "Publication Year:"
253
  msgstr ""
254
 
255
- #: .././admin/settings.php:563
256
  msgid "Categories:"
257
  msgstr ""
258
 
259
- #: .././admin/settings.php:573
260
  msgid "User Type:"
261
  msgstr ""
262
 
263
- #: .././admin/settings.php:587
264
  msgid "Advanced Tracking"
265
  msgstr "Advanced Tracking"
266
 
267
- #: .././admin/settings.php:590
268
  msgid "Page Speed SR:"
269
  msgstr "Seiten pro Besuch:"
270
 
271
- #: .././admin/settings.php:608
272
- msgid " exclude events from bounce-rate calculation"
273
  msgstr ""
274
 
275
- #: .././admin/settings.php:623
276
- msgid " enable enhanced link attribution"
277
- msgstr "Aktiviere die erweiterte Linkzuordnung"
278
 
279
- #: .././admin/settings.php:637
280
- msgid " enable AdSense account linking"
281
  msgstr ""
282
 
283
- #: .././admin/settings.php:653
284
- msgid " enable cross domain tracking"
285
  msgstr ""
286
 
287
- #: .././admin/settings.php:657
288
  msgid "Cross Domains:"
289
  msgstr ""
290
 
291
- #: .././admin/settings.php:671
292
  msgid "Exclude tracking for:"
293
  msgstr ""
294
 
295
- #: .././admin/settings.php:741
296
  msgid "Google Analytics Errors & Debugging"
297
  msgstr ""
298
 
299
- #: .././admin/settings.php:751
300
  msgid "Errors & Details"
301
  msgstr ""
302
 
303
- #: .././admin/settings.php:752
304
  msgid "Plugin Settings"
305
  msgstr ""
306
 
307
- #: .././admin/settings.php:760
308
- msgid "For errors and/or other issues please check"
309
- msgstr ""
310
-
311
- #: .././admin/settings.php:760
312
- msgid "this documentation page"
313
- msgstr ""
314
-
315
- #: .././admin/settings.php:760
316
- msgid "and related tutorials"
317
  msgstr ""
318
 
319
- #: .././admin/settings.php:764
320
  msgid "Last Error detected"
321
  msgstr ""
322
 
323
- #: .././admin/settings.php:769 .././admin/settings.php:782
324
  msgid "None"
325
  msgstr ""
326
 
327
- #: .././admin/settings.php:776
328
  msgid "Error Details"
329
  msgstr ""
330
 
331
- #: .././admin/settings.php:796
332
  msgid "Plugin Configuration"
333
  msgstr ""
334
 
335
- #: .././admin/settings.php:840 .././admin/settings.php:1149
336
  msgid ""
337
  "Loading the required libraries. If this results in a blank screen or a fatal "
338
  "error, try this solution:"
339
  msgstr ""
340
 
341
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
342
  msgid "Plugin authorization succeeded."
343
  msgstr "Plugin Autorisierung erfolgreich."
344
 
345
- #: .././admin/settings.php:868 .././admin/settings.php:1186
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
349
  msgstr ""
350
 
351
- #: .././admin/settings.php:891 .././admin/settings.php:1218
352
  msgid "Cleared Cache."
353
  msgstr "Cache geleert."
354
 
355
- #: .././admin/settings.php:900 .././admin/settings.php:1227
356
  msgid "Token Reseted and Revoked."
357
  msgstr "Token zurückgesetzt und entzogen."
358
 
359
- #: .././admin/settings.php:910
360
  msgid "All errors reseted."
361
  msgstr ""
362
 
363
- #: .././admin/settings.php:923 .././admin/settings.php:1241
364
  msgid "All other domains/properties were removed."
365
  msgstr "Alle anderen Domains/Einstellungen wurden entfernt."
366
 
367
- #: .././admin/settings.php:935 .././admin/settings.php:1253
368
  msgid "Google Analytics Settings"
369
  msgstr "Google Analytics Einstellungen"
370
 
371
- #: .././admin/settings.php:948 .././admin/settings.php:1266
372
  msgid "Use the red link (see below) to generate and get your access code!"
373
  msgstr ""
374
 
375
- #: .././admin/settings.php:959 .././admin/settings.php:1301
376
  msgid "Plugin Authorization"
377
  msgstr "Plugin Autorisierung"
378
 
379
- #: .././admin/settings.php:963 .././admin/settings.php:1305
380
- msgid "You should watch the"
381
- msgstr "Du solltest dir das folgende"
 
 
 
 
382
 
383
- #: .././admin/settings.php:963 .././admin/settings.php:1305
384
  msgid "video"
385
  msgstr "Video ansehen"
386
 
387
- #: .././admin/settings.php:963 .././admin/settings.php:1305
388
- msgid "and read this"
389
- msgstr "und dieses"
390
-
391
- #: .././admin/settings.php:963 .././admin/settings.php:1305
392
  msgid "tutorial"
393
  msgstr "Tutorial lesen"
394
 
395
- #: .././admin/settings.php:963 .././admin/settings.php:1305
396
- msgid ""
397
- "before proceeding to authorization. This plugin requires a properly "
398
- "configured Google Analytics account"
399
  msgstr ""
400
- "bevor du die Autorisierung fortsetzt. Hinweis: Dieses Plugin benötigt einen "
401
- "fertig konfigurierten Google Analytics Account"
402
-
403
- #: .././admin/settings.php:975 .././admin/settings.php:1316
404
- msgid " use your own API Project credentials"
405
- msgstr "Nutze deinen eigenen API Projekt Berechtigungsnachweis"
406
 
407
- #: .././admin/settings.php:982 .././admin/settings.php:1323
408
  msgid "API Key:"
409
  msgstr "API Key:"
410
 
411
- #: .././admin/settings.php:989 .././admin/settings.php:1331
412
  msgid "Client ID:"
413
  msgstr "Client ID:"
414
 
415
- #: .././admin/settings.php:997 .././admin/settings.php:1340
416
  msgid "Client Secret:"
417
  msgstr "Client Secret:"
418
 
419
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
420
  msgid "Clear Authorization"
421
  msgstr "Entferne die Autorisierung"
422
 
423
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
424
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
425
  msgid "Clear Cache"
426
  msgstr "Cache leeren"
427
 
428
- #: .././admin/settings.php:1022
429
  msgid "Reset Errors"
430
  msgstr ""
431
 
432
- #: .././admin/settings.php:1028 .././admin/setup.php:73
433
- #: .././admin/setup.php:109
434
  msgid "General Settings"
435
  msgstr "Allgemeine Einstellungen"
436
 
437
- #: .././admin/settings.php:1031
438
  msgid "Select Domain:"
439
  msgstr ""
440
 
441
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
442
  msgid "Property not found"
443
  msgstr ""
444
 
445
- #: .././admin/settings.php:1049
446
  msgid "and/or hide all other domains"
447
  msgstr "und/oder verberge alle anderen Domains"
448
 
449
- #: .././admin/settings.php:1052
450
  msgid "Hide Now"
451
  msgstr "Jetzt verbergen"
452
 
453
- #: .././admin/settings.php:1071
454
  msgid "Theme Color:"
455
  msgstr ""
456
 
457
- #: .././admin/settings.php:1081
458
  msgid "Automatic Updates"
459
  msgstr ""
460
 
461
- #: .././admin/settings.php:1097
462
  msgid ""
463
- "automatic updates for minor versions (security and maintainance releases "
464
- "only)"
465
  msgstr ""
466
 
467
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
468
- #: .././admin/widgets.php:38
469
  msgid "Authorize Plugin"
470
  msgstr "Plugin autorisieren"
471
 
472
- #: .././admin/settings.php:1192
473
  msgid "Properties refreshed."
474
  msgstr ""
475
 
476
- #: .././admin/settings.php:1278
477
  msgid "Network Setup"
478
  msgstr ""
479
 
480
- #: .././admin/settings.php:1293
481
- msgid " use a single Google Analytics account for the entire network"
482
  msgstr ""
483
 
484
- #: .././admin/settings.php:1365
485
  msgid "Refresh Properties"
486
  msgstr ""
487
 
488
- #: .././admin/settings.php:1371
489
  msgid "Properties/Views Settings"
490
  msgstr "Frontend Einstellungen"
491
 
492
- #: .././admin/settings.php:1419
493
- msgid " exclude Super Admin tracking for the entire network"
494
  msgstr ""
495
 
496
- #: .././admin/settings.php:1471
497
  msgid "Setup Tutorial & Demo"
498
  msgstr "Setup Tutorial & Demo"
499
 
500
- #: .././admin/settings.php:1483
501
  msgid "Support & Reviews"
502
  msgstr "Support & Bewertungen"
503
 
504
- #: .././admin/settings.php:1491
505
- msgid "Plugin documentation and support on"
 
506
  msgstr ""
507
 
508
- #: .././admin/settings.php:1498
509
- msgid "Your feedback and review are both important,"
510
- msgstr "Deine Feedbacks und Bewertungen sind wichtig,"
 
511
 
512
- #: .././admin/settings.php:1498
513
  msgid "rate this plugin"
514
  msgstr "Bewerte dieses Plugin"
515
 
516
- #: .././admin/settings.php:1503
517
  msgid "Further Reading"
518
  msgstr "Mehr erfahren"
519
 
520
- #: .././admin/settings.php:1511
521
- msgid "Improve search rankings"
 
522
  msgstr ""
523
 
524
- #: .././admin/settings.php:1511
525
- msgid "by moving your website to HTTPS/SSL."
526
  msgstr ""
527
 
528
- #: .././admin/settings.php:1518
529
- msgid "Other"
530
- msgstr "Andere"
 
531
 
532
- #: .././admin/settings.php:1518
533
  msgid "WordPress Plugins"
534
  msgstr "WordPress Plugins"
535
 
536
- #: .././admin/settings.php:1518
537
- msgid "written by the same author"
538
- msgstr "vom selben Autor"
539
-
540
- #: .././admin/settings.php:1523
541
  msgid "Other Services"
542
  msgstr ""
543
 
544
- #: .././admin/settings.php:1531
545
- msgid "Speed up your website and plug into a whole"
 
546
  msgstr ""
547
 
548
- #: .././admin/settings.php:1531
549
  msgid "new level of site speed"
550
  msgstr ""
551
 
552
- #: .././admin/settings.php:1538
 
 
 
 
 
553
  msgid "Web Analytics"
554
  msgstr "Web Analyse"
555
 
556
- #: .././admin/settings.php:1538
557
- msgid "service with users tracking at IP level."
558
- msgstr ""
559
-
560
- #: .././admin/setup.php:69 .././admin/setup.php:105
561
  msgid "Google Analytics"
562
  msgstr "Google Analytics"
563
 
564
- #: .././admin/setup.php:77
565
  msgid "Backend Settings"
566
  msgstr "Backend Einstellungen"
567
 
568
- #: .././admin/setup.php:81
569
  msgid "Frontend Settings"
570
  msgstr "Frontend Einstellungen"
571
 
572
- #: .././admin/setup.php:85
573
  msgid "Tracking Code"
574
  msgstr "Tracking Code"
575
 
576
- #: .././admin/setup.php:190 .././admin/widgets.php:123
577
  msgid "Today"
578
  msgstr "Heute"
579
 
580
- #: .././admin/setup.php:191 .././admin/widgets.php:125
581
  msgid "Yesterday"
582
  msgstr "Gestern"
583
 
584
- #: .././admin/setup.php:192 .././admin/widgets.php:127
585
- #: .././front/widgets.php:68 .././front/widgets.php:176
586
  msgid "Last 7 Days"
587
  msgstr "Letzten 7 Tage"
588
 
589
- #: .././admin/setup.php:193 .././admin/widgets.php:131
590
- #: .././front/widgets.php:74 .././front/widgets.php:178
591
  msgid "Last 30 Days"
592
  msgstr "Letzten 30Tage"
593
 
594
- #: .././admin/setup.php:194 .././admin/widgets.php:133
595
  msgid "Last 90 Days"
596
  msgstr "Letzten 90Tage"
597
 
598
- #: .././admin/setup.php:197 .././admin/setup.php:213
599
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
600
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
601
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
602
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
603
- msgid "Sessions"
604
  msgstr ""
605
 
606
- #: .././admin/setup.php:198 .././admin/setup.php:214
607
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
608
- #: .././tools/gapi.php:372
609
  msgid "Users"
610
  msgstr ""
611
 
612
- #: .././admin/setup.php:199 .././admin/widgets.php:142
613
  msgid "Organic"
614
  msgstr "Organisch"
615
 
616
- #: .././admin/setup.php:200 .././admin/setup.php:215
617
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
618
- #: .././tools/gapi.php:375
619
  msgid "Page Views"
620
  msgstr "Seitenaufrufe"
621
 
622
- #: .././admin/setup.php:201 .././admin/setup.php:216
623
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
624
- #: .././tools/gapi.php:378
625
  msgid "Bounce Rate"
626
  msgstr "Absprungrate"
627
 
628
- #: .././admin/setup.php:202 .././admin/widgets.php:148
629
  msgid "Location"
630
  msgstr ""
631
 
632
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
633
  msgid "Referrers"
634
  msgstr ""
635
 
636
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
637
- #: .././tools/gapi.php:898
638
  msgid "Searches"
639
  msgstr ""
640
 
641
- #: .././admin/setup.php:205 .././admin/widgets.php:156
642
  msgid "Traffic Details"
643
  msgstr ""
644
 
645
- #: .././admin/setup.php:208 .././admin/widgets.php:522
646
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
647
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
648
  msgid "A JavaScript Error is blocking plugin resources!"
649
  msgstr ""
650
 
651
- #: .././admin/setup.php:209 .././admin/widgets.php:724
652
  msgid "Traffic Mediums"
653
  msgstr ""
654
 
655
- #: .././admin/setup.php:210 .././admin/widgets.php:740
656
  msgid "Visitor Type"
657
  msgstr ""
658
 
659
- #: .././admin/setup.php:211 .././admin/widgets.php:756
660
  msgid "Social Networks"
661
  msgstr ""
662
 
663
- #: .././admin/setup.php:212 .././admin/widgets.php:772
664
  msgid "Search Engines"
665
  msgstr ""
666
 
667
- #: .././admin/setup.php:217 .././admin/widgets.php:897
668
  msgid "Organic Search"
669
  msgstr ""
670
 
671
- #: .././admin/setup.php:218 .././admin/widgets.php:901
672
  msgid "Pages/Session"
673
  msgstr ""
674
 
675
- #: .././admin/setup.php:219 .././admin/widgets.php:535
676
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
677
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
678
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
679
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
680
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
681
- #: .././front/item-reports.php:115
682
  msgid "Invalid response, more details in JavaScript Console (F12)."
683
  msgstr ""
684
 
685
- #: .././admin/setup.php:220
686
  msgid "Not enough data collected"
687
  msgstr ""
688
 
689
- #: .././admin/setup.php:221 .././admin/widgets.php:540
690
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
691
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
692
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
693
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
694
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
695
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
696
- #: .././front/widgets.php:104
697
  msgid "This report is unavailable"
698
  msgstr ""
699
 
700
- #: .././admin/setup.php:222
701
  msgid "report generated by"
702
  msgstr ""
703
 
704
- #: .././admin/setup.php:260
705
  msgid "Settings"
706
  msgstr "Einstellungen"
707
 
708
- #: .././admin/widgets.php:27 .././front/widgets.php:14
709
  msgid "Google Analytics Dashboard"
710
  msgstr "Google Analytics Dashboard"
711
 
712
- #: .././admin/widgets.php:38
713
  msgid "This plugin needs an authorization:"
714
  msgstr "Diese Plugin benötigt eine Autorisierung:"
715
 
716
- #: .././admin/widgets.php:72
717
  msgid "Something went wrong while retrieving profiles list."
718
  msgstr ""
719
  "Ein Fehler ist aufgetreten. Die Profilliste konnte nicht abgerufen werden."
720
 
721
- #: .././admin/widgets.php:72
722
  msgid "More details"
723
  msgstr "Mehr Details"
724
 
725
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
726
  msgid "An admin should asign a default Google Analytics Profile."
727
  msgstr "Ein Admin sollte ein Standardprofil festlegen."
728
 
729
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
730
  msgid "Select Domain"
731
  msgstr "Wähle eine Domain aus."
732
 
733
- #: .././admin/widgets.php:101
734
  msgid ""
735
  "Something went wrong while retrieving property data. You need to create and "
736
  "properly configure a Google Analytics account:"
@@ -738,178 +727,239 @@ msgstr ""
738
  "Ein Fehler ist aufgetreten. Dein Google Analytics Account muss erstellt und "
739
  "fertig konfiguriert sein:"
740
 
741
- #: .././admin/widgets.php:101
742
  msgid "Find out more!"
743
  msgstr "Erfahre mehr!"
744
 
745
- #: .././admin/widgets.php:122
746
  msgid "Real-Time"
747
  msgstr "Echtzeit"
748
 
749
- #: .././admin/widgets.php:129 .././front/widgets.php:71
750
- #: .././front/widgets.php:177
751
  msgid "Last 14 Days"
752
  msgstr "Letzten 14 Tage"
753
 
754
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
755
  msgid "Pages"
756
  msgstr ""
757
 
758
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
759
  msgid "REFERRAL"
760
  msgstr "VERWEISUNG"
761
 
762
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
763
  msgid "ORGANIC"
764
  msgstr "ORGANISCH"
765
 
766
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
767
- #: .././admin/widgets.php:486
768
  msgid "SOCIAL"
769
  msgstr "SOZIAL"
770
 
771
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
772
- #: .././admin/widgets.php:487
773
  msgid "CAMPAIGN"
774
  msgstr ""
775
 
776
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
777
- #: .././admin/widgets.php:490
778
  msgid "DIRECT"
779
  msgstr "DIREKT"
780
 
781
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
782
  msgid "NEW"
783
  msgstr "NEUE"
784
 
785
- #: .././admin/widgets.php:366
786
  msgid "REFERRALS"
787
  msgstr "VERWEISUNGEN"
788
 
789
- #: .././admin/widgets.php:369
790
  msgid "KEYWORDS"
791
  msgstr "STICHWORTE"
792
 
793
- #: .././front/item-reports.php:130
794
  msgid "Views vs UniqueViews"
795
  msgstr "Aufrufe vs. Einmalige Aufrufe"
796
 
797
- #: .././front/item-reports.php:180
798
  msgid "Google Analytics Reports"
799
  msgstr ""
800
 
801
- #: .././front/widgets.php:15
802
  msgid "Will display your google analytics stats in a widget"
803
  msgstr "Zeigt deine Google Analytics Statistik in einem Widget an"
804
 
805
- #: .././front/widgets.php:40 .././tools/gapi.php:803
806
  msgid "trend"
807
  msgstr ""
808
 
809
- #: .././front/widgets.php:127
810
  msgid "Period:"
811
  msgstr "Dauer:"
812
 
813
- #: .././front/widgets.php:127
814
  msgid "Sessions:"
815
  msgstr ""
816
 
817
- #: .././front/widgets.php:131
818
  msgid "generated by"
819
  msgstr "Generiert von"
820
 
821
- #: .././front/widgets.php:141
822
  msgid "Google Analytics Stats"
823
  msgstr "Google Analytics Statistik"
824
 
825
- #: .././front/widgets.php:148
826
  msgid "Title:"
827
  msgstr "Titel"
828
 
829
- #: .././front/widgets.php:155
830
  msgid "Display:"
831
  msgstr "Anzeige"
832
 
833
- #: .././front/widgets.php:159
834
  msgid "Chart & Totals"
835
  msgstr "Diagramm & Bilanz"
836
 
837
- #: .././front/widgets.php:160
838
  msgid "Chart"
839
  msgstr "Diagramm"
840
 
841
- #: .././front/widgets.php:161
842
  msgid "Totals"
843
  msgstr "Bilanz"
844
 
845
- #: .././front/widgets.php:165
846
  msgid "Anonymize stats:"
847
  msgstr ""
848
 
849
- #: .././front/widgets.php:172
850
  msgid "Stats for:"
851
  msgstr "Statistiken für:"
852
 
853
- #: .././front/widgets.php:182
854
  msgid "Give credits:"
855
  msgstr "Verweise auf:"
856
 
857
- #: .././tools/gapi.php:128
 
 
 
 
858
  msgid "Use this link to get your access code:"
859
  msgstr "Nutze diesen Link, um deinen Zugriffscode zu erhalten:"
860
 
861
- #: .././tools/gapi.php:128
862
  msgid "Get Access Code"
863
  msgstr "Erhalte den Zugriffscode"
864
 
865
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
866
  msgid "Use the red link to get your access code!"
867
  msgstr ""
868
 
869
- #: .././tools/gapi.php:133
870
  msgid "Access Code:"
871
  msgstr "Zugriffscode:"
872
 
873
- #: .././tools/gapi.php:145
874
  msgid "Save Access Code"
875
  msgstr "Zugriffscode speichern"
876
 
877
- #: .././tools/gapi.php:381
878
  msgid "Organic Searches"
879
  msgstr "Organische Suche"
880
 
881
- #: .././tools/gapi.php:389
 
 
 
 
882
  msgid "Hour"
883
  msgstr "Stunde"
884
 
885
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
886
  msgid "Date"
887
  msgstr "Datum"
888
 
889
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
890
  msgid "Views"
891
  msgstr "Aufrufe"
892
 
893
- #: .././tools/gapi.php:617
894
  msgid "Countries"
895
  msgstr ""
896
 
897
- #: .././tools/gapi.php:626
898
  msgid "Cities from"
899
  msgstr ""
900
 
901
- #: .././tools/gapi.php:698
902
  msgid "Channels"
903
  msgstr ""
904
 
905
- #: .././tools/gapi.php:761
906
  msgid "Type"
907
  msgstr "Typ"
908
 
909
- #: .././tools/gapi.php:856
910
  msgid "UniqueViews"
911
  msgstr "Einmalige Aufrufe"
912
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
913
  #~ msgid "Google Analytics Dashboard Settings"
914
  #~ msgstr "Google Analytics Dashboard Einstellungen"
915
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
+ "Language-Team: Alin Marcu\n"
10
+ "Language: de\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
  msgstr ""
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
  msgstr ""
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
  msgstr ""
40
 
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
  msgstr ""
47
 
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr ""
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
  msgstr "das Plugin autorisieren"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
  msgstr "Google Analytics Frontend Einstellungen"
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
+ msgstr ""
69
+
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr ""
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
  msgid "Permissions"
77
  msgstr ""
78
 
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
  msgstr ""
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
  msgstr ""
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
+ msgstr ""
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr ""
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
  msgstr ""
100
 
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
104
+ msgstr ""
105
 
106
+ #: .././admin/settings.php:272
107
+ msgid "enable Switch Profile/View functionality"
108
  msgstr ""
109
 
110
+ #: .././admin/settings.php:283
111
+ msgid "enable reports on Posts List and Pages List"
112
+ msgstr ""
113
+
114
+ #: .././admin/settings.php:294
115
+ msgid "enable the main Dashboard Widget"
116
  msgstr ""
117
 
118
+ #: .././admin/settings.php:298
119
  msgid "Real-Time Settings"
120
  msgstr "Echtzeit Einstellungen"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr ""
125
  "Maximale Anzahl der Seiten, die in einem Echtzeit-Tab angezeigt werden "
126
  "sollen:"
127
 
128
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
129
  msgid "Location Settings"
130
  msgstr ""
131
 
132
+ #: .././admin/settings.php:310
133
  msgid "Target Geo Map to country:"
134
  msgstr ""
135
 
136
+ #: .././admin/settings.php:347
137
+ msgid ""
138
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
139
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
140
  msgstr ""
141
 
142
+ #: .././admin/settings.php:352
 
 
 
 
143
  msgid "Google Analytics Tracking Code"
144
  msgstr "Google Analytics Tracking Code"
145
 
146
+ #: .././admin/settings.php:361
147
  msgid "Basic Settings"
148
  msgstr ""
149
 
150
+ #: .././admin/settings.php:362 .././admin/settings.php:429
151
  msgid "Events Tracking"
152
  msgstr "Event Tracking"
153
 
154
+ #: .././admin/settings.php:363 .././admin/settings.php:477
155
  msgid "Custom Definitions"
156
  msgstr ""
157
 
158
+ #: .././admin/settings.php:364 .././admin/settings.php:575
159
+ #: .././admin/settings.php:1235
160
  msgid "Exclude Tracking"
161
  msgstr "Exkludiere Tracking"
162
 
163
+ #: .././admin/settings.php:365
164
  msgid "Advanced Settings"
165
  msgstr ""
166
 
167
+ #: .././admin/settings.php:369
168
+ #, php-format
169
+ msgid "For more information about Tracking Options read %s."
170
+ msgstr ""
171
+
172
+ #: .././admin/settings.php:374
173
  msgid "Tracking Settings"
174
  msgstr "Tracking Einstellungen"
175
 
176
+ #: .././admin/settings.php:377
177
  msgid "Tracking Options:"
178
  msgstr ""
179
 
180
+ #: .././admin/settings.php:379
181
  msgid "Disabled"
182
  msgstr "Deaktiviert"
183
 
184
+ #: .././admin/settings.php:380
185
+ msgid "Enabled"
186
+ msgstr "Aktiviert"
187
+
188
+ #: .././admin/settings.php:388 .././admin/settings.php:911
189
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
190
+ #: .././admin/widgets.php:72
191
  msgid "View Name:"
192
  msgstr "Anzeigename:"
193
 
194
+ #: .././admin/settings.php:388 .././admin/settings.php:933
195
  msgid "Tracking ID:"
196
  msgstr "Tracking ID:"
197
 
198
+ #: .././admin/settings.php:388 .././admin/settings.php:933
199
  msgid "Default URL:"
200
  msgstr "Standard URL:"
201
 
202
+ #: .././admin/settings.php:388 .././admin/settings.php:933
203
  msgid "Time Zone:"
204
  msgstr "Zeitzone"
205
 
206
+ #: .././admin/settings.php:393
207
  msgid "Basic Tracking"
208
  msgstr "Basic Tracking"
209
 
210
+ #: .././admin/settings.php:396
211
  msgid "Tracking Type:"
212
  msgstr ""
213
 
214
+ #: .././admin/settings.php:398
215
  msgid "Classic Analytics"
216
  msgstr "Klassische Analyse"
217
 
218
+ #: .././admin/settings.php:399
219
  msgid "Universal Analytics"
220
  msgstr "Universelle Analyse"
221
 
222
+ #: .././admin/settings.php:410
223
+ msgid "anonymize IPs while tracking"
224
+ msgstr ""
225
 
226
+ #: .././admin/settings.php:421
227
+ msgid "enable remarketing, demographics and interests reports"
228
+ msgstr ""
229
 
230
+ #: .././admin/settings.php:439
231
+ msgid "track downloads, mailto and outbound links"
232
+ msgstr ""
233
 
234
+ #: .././admin/settings.php:443
235
  msgid "Downloads Regex:"
236
  msgstr "Download Filter:"
237
 
238
+ #: .././admin/settings.php:454
239
+ msgid "track affiliate links matching this regex"
240
  msgstr ""
241
 
242
+ #: .././admin/settings.php:458
243
  msgid "Affiliates Regex:"
244
  msgstr ""
245
 
246
+ #: .././admin/settings.php:469
247
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
248
  msgstr ""
249
 
250
+ #: .././admin/settings.php:480
251
  msgid "Authors:"
252
  msgstr ""
253
 
254
+ #: .././admin/settings.php:488
255
  msgid "Publication Year:"
256
  msgstr ""
257
 
258
+ #: .././admin/settings.php:496
259
  msgid "Categories:"
260
  msgstr ""
261
 
262
+ #: .././admin/settings.php:504
263
  msgid "User Type:"
264
  msgstr ""
265
 
266
+ #: .././admin/settings.php:516
267
  msgid "Advanced Tracking"
268
  msgstr "Advanced Tracking"
269
 
270
+ #: .././admin/settings.php:519
271
  msgid "Page Speed SR:"
272
  msgstr "Seiten pro Besuch:"
273
 
274
+ #: .././admin/settings.php:530
275
+ msgid "exclude events from bounce-rate calculation"
276
  msgstr ""
277
 
278
+ #: .././admin/settings.php:541
279
+ msgid "enable enhanced link attribution"
280
+ msgstr ""
281
 
282
+ #: .././admin/settings.php:552
283
+ msgid "enable AdSense account linking"
284
  msgstr ""
285
 
286
+ #: .././admin/settings.php:563
287
+ msgid "enable cross domain tracking"
288
  msgstr ""
289
 
290
+ #: .././admin/settings.php:567
291
  msgid "Cross Domains:"
292
  msgstr ""
293
 
294
+ #: .././admin/settings.php:578
295
  msgid "Exclude tracking for:"
296
  msgstr ""
297
 
298
+ #: .././admin/settings.php:663
299
  msgid "Google Analytics Errors & Debugging"
300
  msgstr ""
301
 
302
+ #: .././admin/settings.php:673
303
  msgid "Errors & Details"
304
  msgstr ""
305
 
306
+ #: .././admin/settings.php:674
307
  msgid "Plugin Settings"
308
  msgstr ""
309
 
310
+ #: .././admin/settings.php:682
311
+ #, php-format
312
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
313
  msgstr ""
314
 
315
+ #: .././admin/settings.php:687
316
  msgid "Last Error detected"
317
  msgstr ""
318
 
319
+ #: .././admin/settings.php:693 .././admin/settings.php:706
320
  msgid "None"
321
  msgstr ""
322
 
323
+ #: .././admin/settings.php:700
324
  msgid "Error Details"
325
  msgstr ""
326
 
327
+ #: .././admin/settings.php:720
328
  msgid "Plugin Configuration"
329
  msgstr ""
330
 
331
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
332
  msgid ""
333
  "Loading the required libraries. If this results in a blank screen or a fatal "
334
  "error, try this solution:"
335
  msgstr ""
336
 
337
+ #: .././admin/settings.php:742
338
+ msgid "Library conflicts between WordPress plugins"
339
+ msgstr ""
340
+
341
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
342
  msgid "Plugin authorization succeeded."
343
  msgstr "Plugin Autorisierung erfolgreich."
344
 
345
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
349
  msgstr ""
350
 
351
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
352
  msgid "Cleared Cache."
353
  msgstr "Cache geleert."
354
 
355
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
356
  msgid "Token Reseted and Revoked."
357
  msgstr "Token zurückgesetzt und entzogen."
358
 
359
+ #: .././admin/settings.php:813
360
  msgid "All errors reseted."
361
  msgstr ""
362
 
363
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
364
  msgid "All other domains/properties were removed."
365
  msgstr "Alle anderen Domains/Einstellungen wurden entfernt."
366
 
367
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
368
  msgid "Google Analytics Settings"
369
  msgstr "Google Analytics Einstellungen"
370
 
371
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
372
  msgid "Use the red link (see below) to generate and get your access code!"
373
  msgstr ""
374
 
375
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
376
  msgid "Plugin Authorization"
377
  msgstr "Plugin Autorisierung"
378
 
379
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
380
+ #, php-format
381
+ msgid ""
382
+ "You should watch the %1$s and read this %2$s before proceeding to "
383
+ "authorization. This plugin requires a properly configured Google Analytics "
384
+ "account!"
385
+ msgstr ""
386
 
387
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
388
  msgid "video"
389
  msgstr "Video ansehen"
390
 
391
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
392
  msgid "tutorial"
393
  msgstr "Tutorial lesen"
394
 
395
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
396
+ msgid "use your own API Project credentials"
 
 
397
  msgstr ""
 
 
 
 
 
 
398
 
399
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
400
  msgid "API Key:"
401
  msgstr "API Key:"
402
 
403
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
404
  msgid "Client ID:"
405
  msgstr "Client ID:"
406
 
407
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
408
  msgid "Client Secret:"
409
  msgstr "Client Secret:"
410
 
411
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
412
  msgid "Clear Authorization"
413
  msgstr "Entferne die Autorisierung"
414
 
415
+ #: .././admin/settings.php:895 .././admin/settings.php:971
416
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
417
  msgid "Clear Cache"
418
  msgstr "Cache leeren"
419
 
420
+ #: .././admin/settings.php:895
421
  msgid "Reset Errors"
422
  msgstr ""
423
 
424
+ #: .././admin/settings.php:901 .././admin/setup.php:80
425
+ #: .././admin/setup.php:115
426
  msgid "General Settings"
427
  msgstr "Allgemeine Einstellungen"
428
 
429
+ #: .././admin/settings.php:904
430
  msgid "Select Domain:"
431
  msgstr ""
432
 
433
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
434
  msgid "Property not found"
435
  msgstr ""
436
 
437
+ #: .././admin/settings.php:920
438
  msgid "and/or hide all other domains"
439
  msgstr "und/oder verberge alle anderen Domains"
440
 
441
+ #: .././admin/settings.php:921
442
  msgid "Hide Now"
443
  msgstr "Jetzt verbergen"
444
 
445
+ #: .././admin/settings.php:939
446
  msgid "Theme Color:"
447
  msgstr ""
448
 
449
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
450
  msgid "Automatic Updates"
451
  msgstr ""
452
 
453
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
454
  msgid ""
455
+ "automatic updates for minor versions (security and maintenance releases only)"
 
456
  msgstr ""
457
 
458
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
459
+ #: .././admin/widgets.php:43
460
  msgid "Authorize Plugin"
461
  msgstr "Plugin autorisieren"
462
 
463
+ #: .././admin/settings.php:1046
464
  msgid "Properties refreshed."
465
  msgstr ""
466
 
467
+ #: .././admin/settings.php:1130
468
  msgid "Network Setup"
469
  msgstr ""
470
 
471
+ #: .././admin/settings.php:1140
472
+ msgid "use a single Google Analytics account for the entire network"
473
  msgstr ""
474
 
475
+ #: .././admin/settings.php:1184
476
  msgid "Refresh Properties"
477
  msgstr ""
478
 
479
+ #: .././admin/settings.php:1190
480
  msgid "Properties/Views Settings"
481
  msgstr "Frontend Einstellungen"
482
 
483
+ #: .././admin/settings.php:1245
484
+ msgid "exclude Super Admin tracking for the entire network"
485
  msgstr ""
486
 
487
+ #: .././admin/settings.php:1290
488
  msgid "Setup Tutorial & Demo"
489
  msgstr "Setup Tutorial & Demo"
490
 
491
+ #: .././admin/settings.php:1298
492
  msgid "Support & Reviews"
493
  msgstr "Support & Bewertungen"
494
 
495
+ #: .././admin/settings.php:1305
496
+ #, php-format
497
+ msgid "Plugin documentation and support on %s"
498
  msgstr ""
499
 
500
+ #: .././admin/settings.php:1312
501
+ #, php-format
502
+ msgid "Your feedback and review are both important, %s!"
503
+ msgstr ""
504
 
505
+ #: .././admin/settings.php:1312
506
  msgid "rate this plugin"
507
  msgstr "Bewerte dieses Plugin"
508
 
509
+ #: .././admin/settings.php:1318
510
  msgid "Further Reading"
511
  msgstr "Mehr erfahren"
512
 
513
+ #: .././admin/settings.php:1325
514
+ #, php-format
515
+ msgid "%s by moving your website to HTTPS/SSL."
516
  msgstr ""
517
 
518
+ #: .././admin/settings.php:1325
519
+ msgid "Improve search rankings"
520
  msgstr ""
521
 
522
+ #: .././admin/settings.php:1332
523
+ #, php-format
524
+ msgid "Other %s written by the same author"
525
+ msgstr ""
526
 
527
+ #: .././admin/settings.php:1332
528
  msgid "WordPress Plugins"
529
  msgstr "WordPress Plugins"
530
 
531
+ #: .././admin/settings.php:1338
 
 
 
 
532
  msgid "Other Services"
533
  msgstr ""
534
 
535
+ #: .././admin/settings.php:1345
536
+ #, php-format
537
+ msgid "Speed up your website and plug into a whole %s"
538
  msgstr ""
539
 
540
+ #: .././admin/settings.php:1345
541
  msgid "new level of site speed"
542
  msgstr ""
543
 
544
+ #: .././admin/settings.php:1352
545
+ #, php-format
546
+ msgid "%s service with users tracking at IP level."
547
+ msgstr ""
548
+
549
+ #: .././admin/settings.php:1352
550
  msgid "Web Analytics"
551
  msgstr "Web Analyse"
552
 
553
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
554
  msgid "Google Analytics"
555
  msgstr "Google Analytics"
556
 
557
+ #: .././admin/setup.php:84
558
  msgid "Backend Settings"
559
  msgstr "Backend Einstellungen"
560
 
561
+ #: .././admin/setup.php:88
562
  msgid "Frontend Settings"
563
  msgstr "Frontend Einstellungen"
564
 
565
+ #: .././admin/setup.php:92
566
  msgid "Tracking Code"
567
  msgstr "Tracking Code"
568
 
569
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
570
  msgid "Today"
571
  msgstr "Heute"
572
 
573
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
574
  msgid "Yesterday"
575
  msgstr "Gestern"
576
 
577
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
578
+ #: .././front/widgets.php:74 .././front/widgets.php:182
579
  msgid "Last 7 Days"
580
  msgstr "Letzten 7 Tage"
581
 
582
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
583
+ #: .././front/widgets.php:80 .././front/widgets.php:184
584
  msgid "Last 30 Days"
585
  msgstr "Letzten 30Tage"
586
 
587
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
588
  msgid "Last 90 Days"
589
  msgstr "Letzten 90Tage"
590
 
591
+ #: .././admin/setup.php:203 .././admin/setup.php:219
592
+ msgid "Unique Views"
 
 
 
 
593
  msgstr ""
594
 
595
+ #: .././admin/setup.php:204 .././admin/setup.php:220
596
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
597
+ #: .././tools/gapi.php:382
598
  msgid "Users"
599
  msgstr ""
600
 
601
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
602
  msgid "Organic"
603
  msgstr "Organisch"
604
 
605
+ #: .././admin/setup.php:206 .././admin/setup.php:221
606
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
607
+ #: .././tools/gapi.php:385
608
  msgid "Page Views"
609
  msgstr "Seitenaufrufe"
610
 
611
+ #: .././admin/setup.php:207 .././admin/setup.php:222
612
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
613
+ #: .././tools/gapi.php:388
614
  msgid "Bounce Rate"
615
  msgstr "Absprungrate"
616
 
617
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
618
  msgid "Location"
619
  msgstr ""
620
 
621
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
622
  msgid "Referrers"
623
  msgstr ""
624
 
625
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
626
+ #: .././tools/gapi.php:913
627
  msgid "Searches"
628
  msgstr ""
629
 
630
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
631
  msgid "Traffic Details"
632
  msgstr ""
633
 
634
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
635
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
636
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
637
  msgid "A JavaScript Error is blocking plugin resources!"
638
  msgstr ""
639
 
640
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
641
  msgid "Traffic Mediums"
642
  msgstr ""
643
 
644
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
645
  msgid "Visitor Type"
646
  msgstr ""
647
 
648
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
649
  msgid "Social Networks"
650
  msgstr ""
651
 
652
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
653
  msgid "Search Engines"
654
  msgstr ""
655
 
656
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
657
  msgid "Organic Search"
658
  msgstr ""
659
 
660
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
661
  msgid "Pages/Session"
662
  msgstr ""
663
 
664
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
665
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
666
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
667
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
668
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
669
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
670
+ #: .././front/item-reports.php:118
671
  msgid "Invalid response, more details in JavaScript Console (F12)."
672
  msgstr ""
673
 
674
+ #: .././admin/setup.php:226
675
  msgid "Not enough data collected"
676
  msgstr ""
677
 
678
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
679
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
680
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
681
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
682
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
683
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
684
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
685
+ #: .././front/widgets.php:110
686
  msgid "This report is unavailable"
687
  msgstr ""
688
 
689
+ #: .././admin/setup.php:228
690
  msgid "report generated by"
691
  msgstr ""
692
 
693
+ #: .././admin/setup.php:268
694
  msgid "Settings"
695
  msgstr "Einstellungen"
696
 
697
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
698
  msgid "Google Analytics Dashboard"
699
  msgstr "Google Analytics Dashboard"
700
 
701
+ #: .././admin/widgets.php:43
702
  msgid "This plugin needs an authorization:"
703
  msgstr "Diese Plugin benötigt eine Autorisierung:"
704
 
705
+ #: .././admin/widgets.php:77
706
  msgid "Something went wrong while retrieving profiles list."
707
  msgstr ""
708
  "Ein Fehler ist aufgetreten. Die Profilliste konnte nicht abgerufen werden."
709
 
710
+ #: .././admin/widgets.php:77
711
  msgid "More details"
712
  msgstr "Mehr Details"
713
 
714
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
715
  msgid "An admin should asign a default Google Analytics Profile."
716
  msgstr "Ein Admin sollte ein Standardprofil festlegen."
717
 
718
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
719
  msgid "Select Domain"
720
  msgstr "Wähle eine Domain aus."
721
 
722
+ #: .././admin/widgets.php:106
723
  msgid ""
724
  "Something went wrong while retrieving property data. You need to create and "
725
  "properly configure a Google Analytics account:"
727
  "Ein Fehler ist aufgetreten. Dein Google Analytics Account muss erstellt und "
728
  "fertig konfiguriert sein:"
729
 
730
+ #: .././admin/widgets.php:106
731
  msgid "Find out more!"
732
  msgstr "Erfahre mehr!"
733
 
734
+ #: .././admin/widgets.php:127
735
  msgid "Real-Time"
736
  msgstr "Echtzeit"
737
 
738
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
739
+ #: .././front/widgets.php:183
740
  msgid "Last 14 Days"
741
  msgstr "Letzten 14 Tage"
742
 
743
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
744
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
745
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
746
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
747
+ msgid "Sessions"
748
+ msgstr ""
749
+
750
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
751
  msgid "Pages"
752
  msgstr ""
753
 
754
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
755
  msgid "REFERRAL"
756
  msgstr "VERWEISUNG"
757
 
758
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
759
  msgid "ORGANIC"
760
  msgstr "ORGANISCH"
761
 
762
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
763
+ #: .././admin/widgets.php:491
764
  msgid "SOCIAL"
765
  msgstr "SOZIAL"
766
 
767
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
768
+ #: .././admin/widgets.php:492
769
  msgid "CAMPAIGN"
770
  msgstr ""
771
 
772
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
773
+ #: .././admin/widgets.php:495
774
  msgid "DIRECT"
775
  msgstr "DIREKT"
776
 
777
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
778
  msgid "NEW"
779
  msgstr "NEUE"
780
 
781
+ #: .././admin/widgets.php:371
782
  msgid "REFERRALS"
783
  msgstr "VERWEISUNGEN"
784
 
785
+ #: .././admin/widgets.php:374
786
  msgid "KEYWORDS"
787
  msgstr "STICHWORTE"
788
 
789
+ #: .././front/item-reports.php:133
790
  msgid "Views vs UniqueViews"
791
  msgstr "Aufrufe vs. Einmalige Aufrufe"
792
 
793
+ #: .././front/item-reports.php:183
794
  msgid "Google Analytics Reports"
795
  msgstr ""
796
 
797
+ #: .././front/widgets.php:23
798
  msgid "Will display your google analytics stats in a widget"
799
  msgstr "Zeigt deine Google Analytics Statistik in einem Widget an"
800
 
801
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
802
  msgid "trend"
803
  msgstr ""
804
 
805
+ #: .././front/widgets.php:133
806
  msgid "Period:"
807
  msgstr "Dauer:"
808
 
809
+ #: .././front/widgets.php:133
810
  msgid "Sessions:"
811
  msgstr ""
812
 
813
+ #: .././front/widgets.php:137
814
  msgid "generated by"
815
  msgstr "Generiert von"
816
 
817
+ #: .././front/widgets.php:147
818
  msgid "Google Analytics Stats"
819
  msgstr "Google Analytics Statistik"
820
 
821
+ #: .././front/widgets.php:154
822
  msgid "Title:"
823
  msgstr "Titel"
824
 
825
+ #: .././front/widgets.php:161
826
  msgid "Display:"
827
  msgstr "Anzeige"
828
 
829
+ #: .././front/widgets.php:165
830
  msgid "Chart & Totals"
831
  msgstr "Diagramm & Bilanz"
832
 
833
+ #: .././front/widgets.php:166
834
  msgid "Chart"
835
  msgstr "Diagramm"
836
 
837
+ #: .././front/widgets.php:167
838
  msgid "Totals"
839
  msgstr "Bilanz"
840
 
841
+ #: .././front/widgets.php:171
842
  msgid "Anonymize stats:"
843
  msgstr ""
844
 
845
+ #: .././front/widgets.php:178
846
  msgid "Stats for:"
847
  msgstr "Statistiken für:"
848
 
849
+ #: .././front/widgets.php:188
850
  msgid "Give credits:"
851
  msgstr "Verweise auf:"
852
 
853
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
854
+ msgid "This is not allowed, read the documentation!"
855
+ msgstr ""
856
+
857
+ #: .././tools/gapi.php:141
858
  msgid "Use this link to get your access code:"
859
  msgstr "Nutze diesen Link, um deinen Zugriffscode zu erhalten:"
860
 
861
+ #: .././tools/gapi.php:141
862
  msgid "Get Access Code"
863
  msgstr "Erhalte den Zugriffscode"
864
 
865
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
866
  msgid "Use the red link to get your access code!"
867
  msgstr ""
868
 
869
+ #: .././tools/gapi.php:146
870
  msgid "Access Code:"
871
  msgstr "Zugriffscode:"
872
 
873
+ #: .././tools/gapi.php:158
874
  msgid "Save Access Code"
875
  msgstr "Zugriffscode speichern"
876
 
877
+ #: .././tools/gapi.php:391
878
  msgid "Organic Searches"
879
  msgstr "Organische Suche"
880
 
881
+ #: .././tools/gapi.php:394
882
+ msgid "Unique Page Views"
883
+ msgstr ""
884
+
885
+ #: .././tools/gapi.php:402
886
  msgid "Hour"
887
  msgstr "Stunde"
888
 
889
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
890
  msgid "Date"
891
  msgstr "Datum"
892
 
893
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
894
  msgid "Views"
895
  msgstr "Aufrufe"
896
 
897
+ #: .././tools/gapi.php:631
898
  msgid "Countries"
899
  msgstr ""
900
 
901
+ #: .././tools/gapi.php:641
902
  msgid "Cities from"
903
  msgstr ""
904
 
905
+ #: .././tools/gapi.php:713
906
  msgid "Channels"
907
  msgstr ""
908
 
909
+ #: .././tools/gapi.php:776
910
  msgid "Type"
911
  msgstr "Typ"
912
 
913
+ #: .././tools/gapi.php:871
914
  msgid "UniqueViews"
915
  msgstr "Einmalige Aufrufe"
916
 
917
+ #~ msgid "about this feature"
918
+ #~ msgstr "über diese Funktion"
919
+
920
+ #~ msgid " show page searches (after each article)"
921
+ #~ msgstr "Suchen (nach jedem Artikel)"
922
+
923
+ #~ msgid " anonymize IPs while tracking"
924
+ #~ msgstr "Anonymisiere die IPs während des Trackings"
925
+
926
+ #~ msgid " enable remarketing, demographics and interests reports"
927
+ #~ msgstr "Aktiviere remarketing, demografische und interessen berichte"
928
+
929
+ #~ msgid " track downloads, mailto and outbound links"
930
+ #~ msgstr "Tracke Downlaods, mailtos und ausgehende Links"
931
+
932
+ #~ msgid " enable enhanced link attribution"
933
+ #~ msgstr "Aktiviere die erweiterte Linkzuordnung"
934
+
935
+ #~ msgid " use your own API Project credentials"
936
+ #~ msgstr "Nutze deinen eigenen API Projekt Berechtigungsnachweis"
937
+
938
+ #~ msgid "disable Switch Profile/View functionality"
939
+ #~ msgstr "Deaktiviere bzw. ändere das Profil/Zeige die Funktionalität"
940
+
941
+ #~ msgid "You should watch the"
942
+ #~ msgstr "Du solltest dir das folgende"
943
+
944
+ #~ msgid "and read this"
945
+ #~ msgstr "und dieses"
946
+
947
+ #~ msgid ""
948
+ #~ "before proceeding to authorization. This plugin requires a properly "
949
+ #~ "configured Google Analytics account"
950
+ #~ msgstr ""
951
+ #~ "bevor du die Autorisierung fortsetzt. Hinweis: Dieses Plugin benötigt "
952
+ #~ "einen fertig konfigurierten Google Analytics Account"
953
+
954
+ #~ msgid "Your feedback and review are both important,"
955
+ #~ msgstr "Deine Feedbacks und Bewertungen sind wichtig,"
956
+
957
+ #~ msgid "Other"
958
+ #~ msgstr "Andere"
959
+
960
+ #~ msgid "written by the same author"
961
+ #~ msgstr "vom selben Autor"
962
+
963
  #~ msgid "Google Analytics Dashboard Settings"
964
  #~ msgstr "Google Analytics Dashboard Einstellungen"
965
 
languages/ga-dash-es_ES.mo DELETED
Binary file
languages/ga-dash-es_ES.po CHANGED
@@ -1,932 +1,950 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:15+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:15+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: \n"
8
  "Language: es_ES\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ../.\n"
17
 
18
- #: .././admin/item-reports.php:56
19
  msgid "Analytics"
20
  msgstr ""
21
 
22
- #: .././admin/settings.php:86 .././admin/settings.php:205
23
- #: .././admin/settings.php:372 .././admin/settings.php:916
24
- #: .././admin/settings.php:1234
25
  msgid "Settings saved."
26
  msgstr ""
27
 
28
- #: .././admin/settings.php:88 .././admin/settings.php:207
29
- #: .././admin/settings.php:374 .././admin/settings.php:893
30
- #: .././admin/settings.php:903 .././admin/settings.php:912
31
- #: .././admin/settings.php:918 .././admin/settings.php:930
32
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
33
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
34
- #: .././admin/settings.php:1248
35
  msgid "Cheating Huh?"
36
  msgstr ""
37
 
38
- #: .././admin/settings.php:92 .././admin/settings.php:211
39
- #: .././admin/settings.php:378 .././admin/settings.php:737
40
- #: .././admin/settings.php:943 .././admin/settings.php:1261
41
- msgid "Something went wrong, check"
 
42
  msgstr ""
43
 
44
- #: .././admin/settings.php:92 .././admin/settings.php:211
45
- #: .././admin/settings.php:378 .././admin/settings.php:737
46
- #: .././admin/settings.php:943 .././admin/settings.php:1261
47
- #: .././admin/setup.php:89 .././admin/setup.php:113
48
  msgid "Errors & Debug"
49
  msgstr ""
50
 
51
- #: .././admin/settings.php:92 .././admin/settings.php:211
52
- #: .././admin/settings.php:378 .././admin/settings.php:737
53
- #: .././admin/settings.php:943 .././admin/settings.php:1261
54
- msgid "or"
55
- msgstr ""
56
-
57
- #: .././admin/settings.php:92 .././admin/settings.php:211
58
- #: .././admin/settings.php:378 .././admin/settings.php:737
59
- #: .././admin/settings.php:943 .././admin/settings.php:1261
60
  msgid "authorize the plugin"
61
  msgstr "autorizar aplicación"
62
 
63
- #: .././admin/settings.php:98
64
  msgid "Google Analytics Frontend Settings"
65
  msgstr "Configuración del frontend de Google Analytics"
66
 
67
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
68
  msgid "Permissions"
69
  msgstr ""
70
 
71
- #: .././admin/settings.php:111 .././admin/settings.php:230
72
  msgid "Show stats to:"
73
  msgstr ""
74
 
75
- #: .././admin/settings.php:159
76
- msgid " show page sessions and users in frontend (after each article)"
77
  msgstr ""
78
 
79
- #: .././admin/settings.php:175
80
- #, fuzzy
81
- msgid " show page searches (after each article)"
82
  msgstr ""
83
- "mostrar las visitas de página y las busquedas principales en el frontend "
84
- "(después de cada artículo)"
85
 
86
- #: .././admin/settings.php:184 .././admin/settings.php:350
87
- #: .././admin/settings.php:715 .././admin/settings.php:1106
88
- #: .././admin/settings.php:1428
89
  msgid "Save Changes"
90
  msgstr ""
91
 
92
- #: .././admin/settings.php:217
93
  msgid "Google Analytics Backend Settings"
94
  msgstr ""
95
 
96
- #: .././admin/settings.php:279
97
- #, fuzzy
98
- msgid "disable Switch Profile/View functionality"
99
- msgstr " desactivar la funcionalidad de cambio de perfil en el escritorio"
100
 
101
- #: .././admin/settings.php:294
102
- msgid "disable stats on Posts List and Pages List"
 
 
 
 
103
  msgstr ""
104
 
105
- #: .././admin/settings.php:309
106
- msgid "disable the main Dashboard Widget"
107
  msgstr ""
108
 
109
- #: .././admin/settings.php:313
110
  #, fuzzy
111
  msgid "Real-Time Settings"
112
  msgstr "Configuración de la caché"
113
 
114
- #: .././admin/settings.php:316
115
  msgid "Maximum number of pages to display on real-time tab:"
116
  msgstr ""
117
 
118
- #: .././admin/settings.php:321 .././admin/settings.php:337
119
- msgid "find out more"
120
- msgstr ""
121
-
122
- #: .././admin/settings.php:323 .././admin/settings.php:340
123
- msgid "about this feature"
124
- msgstr ""
125
-
126
- #: .././admin/settings.php:328
127
  msgid "Location Settings"
128
  msgstr ""
129
 
130
- #: .././admin/settings.php:332
131
  msgid "Target Geo Map to country:"
132
  msgstr ""
133
 
134
- #: .././admin/settings.php:381
135
- msgid "The tracking component is disabled. You should set"
136
- msgstr ""
137
-
138
- #: .././admin/settings.php:381
139
- msgid "Tracking Options"
140
- msgstr ""
141
-
142
- #: .././admin/settings.php:381
143
- msgid "to"
144
  msgstr ""
145
 
146
- #: .././admin/settings.php:381 .././admin/settings.php:417
147
- #, fuzzy
148
- msgid "Enabled"
149
- msgstr "desactivado"
150
-
151
- #: .././admin/settings.php:387
152
  #, fuzzy
153
  msgid "Google Analytics Tracking Code"
154
  msgstr "Seguimiento de Google Analytics"
155
 
156
- #: .././admin/settings.php:396
157
  msgid "Basic Settings"
158
  msgstr ""
159
 
160
- #: .././admin/settings.php:397 .././admin/settings.php:476
161
  #, fuzzy
162
  msgid "Events Tracking"
163
  msgstr "Activar seguimiento:"
164
 
165
- #: .././admin/settings.php:398 .././admin/settings.php:540
166
  msgid "Custom Definitions"
167
  msgstr ""
168
 
169
- #: .././admin/settings.php:399 .././admin/settings.php:668
170
- #: .././admin/settings.php:1405
171
  #, fuzzy
172
  msgid "Exclude Tracking"
173
  msgstr "Activar seguimiento:"
174
 
175
- #: .././admin/settings.php:400
176
  msgid "Advanced Settings"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:408
 
 
 
 
 
180
  #, fuzzy
181
  msgid "Tracking Settings"
182
  msgstr "Configuración del backend"
183
 
184
- #: .././admin/settings.php:411
185
  msgid "Tracking Options:"
186
  msgstr ""
187
 
188
- #: .././admin/settings.php:415
189
  msgid "Disabled"
190
  msgstr "desactivado"
191
 
192
- #: .././admin/settings.php:425 .././admin/settings.php:1040
193
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
194
- #: .././admin/widgets.php:67
 
 
 
 
 
195
  msgid "View Name:"
196
  msgstr ""
197
 
198
- #: .././admin/settings.php:425 .././admin/settings.php:1065
199
  #, fuzzy
200
  msgid "Tracking ID:"
201
  msgstr "Tipo de seguimiento:"
202
 
203
- #: .././admin/settings.php:425 .././admin/settings.php:1065
204
  msgid "Default URL:"
205
  msgstr ""
206
 
207
- #: .././admin/settings.php:425 .././admin/settings.php:1065
208
  msgid "Time Zone:"
209
  msgstr ""
210
 
211
- #: .././admin/settings.php:430
212
  #, fuzzy
213
  msgid "Basic Tracking"
214
  msgstr "Activar seguimiento:"
215
 
216
- #: .././admin/settings.php:433
217
  msgid "Tracking Type:"
218
  msgstr ""
219
 
220
- #: .././admin/settings.php:437
221
  msgid "Classic Analytics"
222
  msgstr ""
223
 
224
- #: .././admin/settings.php:439
225
  msgid "Universal Analytics"
226
  msgstr ""
227
 
228
- #: .././admin/settings.php:453
229
- msgid " anonymize IPs while tracking"
230
- msgstr "anonimizar IPs durante el seguimiento"
231
 
232
- #: .././admin/settings.php:468
233
- msgid " enable remarketing, demographics and interests reports"
234
  msgstr ""
235
 
236
- #: .././admin/settings.php:490
237
- msgid " track downloads, mailto and outbound links"
238
  msgstr ""
239
 
240
- #: .././admin/settings.php:494
241
  msgid "Downloads Regex:"
242
  msgstr ""
243
 
244
- #: .././admin/settings.php:511
245
- msgid " track affiliate links matching this regex"
246
  msgstr ""
247
 
248
- #: .././admin/settings.php:515
249
  msgid "Affiliates Regex:"
250
  msgstr ""
251
 
252
- #: .././admin/settings.php:532
253
- msgid " track fragment identifiers, hashmarks (#) in URI links"
254
  msgstr ""
255
 
256
- #: .././admin/settings.php:543
257
  msgid "Authors:"
258
  msgstr ""
259
 
260
- #: .././admin/settings.php:553
261
  msgid "Publication Year:"
262
  msgstr ""
263
 
264
- #: .././admin/settings.php:563
265
  msgid "Categories:"
266
  msgstr ""
267
 
268
- #: .././admin/settings.php:573
269
  msgid "User Type:"
270
  msgstr ""
271
 
272
- #: .././admin/settings.php:587
273
  #, fuzzy
274
  msgid "Advanced Tracking"
275
  msgstr "Activar seguimiento:"
276
 
277
- #: .././admin/settings.php:590
278
  #, fuzzy
279
  msgid "Page Speed SR:"
280
  msgstr "Páginas por visita:"
281
 
282
- #: .././admin/settings.php:608
283
- msgid " exclude events from bounce-rate calculation"
284
  msgstr ""
285
 
286
- #: .././admin/settings.php:623
287
- msgid " enable enhanced link attribution"
288
  msgstr ""
289
 
290
- #: .././admin/settings.php:637
291
- msgid " enable AdSense account linking"
292
  msgstr ""
293
 
294
- #: .././admin/settings.php:653
295
- msgid " enable cross domain tracking"
296
  msgstr ""
297
 
298
- #: .././admin/settings.php:657
299
  msgid "Cross Domains:"
300
  msgstr ""
301
 
302
- #: .././admin/settings.php:671
303
  msgid "Exclude tracking for:"
304
  msgstr ""
305
 
306
- #: .././admin/settings.php:741
307
  msgid "Google Analytics Errors & Debugging"
308
  msgstr ""
309
 
310
- #: .././admin/settings.php:751
311
  msgid "Errors & Details"
312
  msgstr ""
313
 
314
- #: .././admin/settings.php:752
315
  msgid "Plugin Settings"
316
  msgstr ""
317
 
318
- #: .././admin/settings.php:760
319
- msgid "For errors and/or other issues please check"
 
320
  msgstr ""
321
 
322
- #: .././admin/settings.php:760
323
- msgid "this documentation page"
324
- msgstr ""
325
-
326
- #: .././admin/settings.php:760
327
- msgid "and related tutorials"
328
- msgstr ""
329
-
330
- #: .././admin/settings.php:764
331
  msgid "Last Error detected"
332
  msgstr ""
333
 
334
- #: .././admin/settings.php:769 .././admin/settings.php:782
335
  msgid "None"
336
  msgstr "Ninguno"
337
 
338
- #: .././admin/settings.php:776
339
  msgid "Error Details"
340
  msgstr ""
341
 
342
- #: .././admin/settings.php:796
343
  msgid "Plugin Configuration"
344
  msgstr ""
345
 
346
- #: .././admin/settings.php:840 .././admin/settings.php:1149
347
  msgid ""
348
  "Loading the required libraries. If this results in a blank screen or a fatal "
349
  "error, try this solution:"
350
  msgstr ""
351
 
352
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
353
  msgid "Plugin authorization succeeded."
354
  msgstr ""
355
 
356
- #: .././admin/settings.php:868 .././admin/settings.php:1186
357
  msgid ""
358
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
359
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
360
  msgstr ""
361
 
362
- #: .././admin/settings.php:891 .././admin/settings.php:1218
363
  msgid "Cleared Cache."
364
  msgstr "Caché borrada."
365
 
366
- #: .././admin/settings.php:900 .././admin/settings.php:1227
367
  #, fuzzy
368
  msgid "Token Reseted and Revoked."
369
  msgstr "Token reseteado."
370
 
371
- #: .././admin/settings.php:910
372
  msgid "All errors reseted."
373
  msgstr ""
374
 
375
- #: .././admin/settings.php:923 .././admin/settings.php:1241
376
  msgid "All other domains/properties were removed."
377
  msgstr ""
378
 
379
- #: .././admin/settings.php:935 .././admin/settings.php:1253
380
  msgid "Google Analytics Settings"
381
  msgstr "Configuración de Google Analytics"
382
 
383
- #: .././admin/settings.php:948 .././admin/settings.php:1266
384
  msgid "Use the red link (see below) to generate and get your access code!"
385
  msgstr ""
386
 
387
- #: .././admin/settings.php:959 .././admin/settings.php:1301
388
  #, fuzzy
389
  msgid "Plugin Authorization"
390
  msgstr "Borrar autorización"
391
 
392
- #: .././admin/settings.php:963 .././admin/settings.php:1305
393
- #, fuzzy
394
- msgid "You should watch the"
395
- msgstr "Deberías ver este"
396
-
397
- #: .././admin/settings.php:963 .././admin/settings.php:1305
398
- msgid "video"
399
  msgstr ""
400
 
401
- #: .././admin/settings.php:963 .././admin/settings.php:1305
402
- msgid "and read this"
403
  msgstr ""
404
 
405
- #: .././admin/settings.php:963 .././admin/settings.php:1305
406
  #, fuzzy
407
  msgid "tutorial"
408
  msgstr "Tutorial de configuración"
409
 
410
- #: .././admin/settings.php:963 .././admin/settings.php:1305
411
- msgid ""
412
- "before proceeding to authorization. This plugin requires a properly "
413
- "configured Google Analytics account"
414
- msgstr ""
415
-
416
- #: .././admin/settings.php:975 .././admin/settings.php:1316
417
- msgid " use your own API Project credentials"
418
  msgstr ""
419
 
420
- #: .././admin/settings.php:982 .././admin/settings.php:1323
421
  msgid "API Key:"
422
  msgstr "API Key:"
423
 
424
- #: .././admin/settings.php:989 .././admin/settings.php:1331
425
  msgid "Client ID:"
426
  msgstr "Client ID:"
427
 
428
- #: .././admin/settings.php:997 .././admin/settings.php:1340
429
  msgid "Client Secret:"
430
  msgstr "Client Secret:"
431
 
432
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
433
  msgid "Clear Authorization"
434
  msgstr "Borrar autorización"
435
 
436
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
437
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
438
  msgid "Clear Cache"
439
  msgstr "Borrar caché"
440
 
441
- #: .././admin/settings.php:1022
442
  msgid "Reset Errors"
443
  msgstr ""
444
 
445
- #: .././admin/settings.php:1028 .././admin/setup.php:73
446
- #: .././admin/setup.php:109
447
  msgid "General Settings"
448
  msgstr "Configuración general"
449
 
450
- #: .././admin/settings.php:1031
451
  msgid "Select Domain:"
452
  msgstr ""
453
 
454
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
455
  msgid "Property not found"
456
  msgstr ""
457
 
458
- #: .././admin/settings.php:1049
459
  msgid "and/or hide all other domains"
460
  msgstr ""
461
 
462
- #: .././admin/settings.php:1052
463
  msgid "Hide Now"
464
  msgstr ""
465
 
466
- #: .././admin/settings.php:1071
467
  msgid "Theme Color:"
468
  msgstr ""
469
 
470
- #: .././admin/settings.php:1081
471
  msgid "Automatic Updates"
472
  msgstr ""
473
 
474
- #: .././admin/settings.php:1097
475
  msgid ""
476
- "automatic updates for minor versions (security and maintainance releases "
477
- "only)"
478
  msgstr ""
479
 
480
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
481
- #: .././admin/widgets.php:38
482
  #, fuzzy
483
  msgid "Authorize Plugin"
484
  msgstr "Autorizar aplicación"
485
 
486
- #: .././admin/settings.php:1192
487
  msgid "Properties refreshed."
488
  msgstr ""
489
 
490
- #: .././admin/settings.php:1278
491
  msgid "Network Setup"
492
  msgstr ""
493
 
494
- #: .././admin/settings.php:1293
495
- msgid " use a single Google Analytics account for the entire network"
496
  msgstr ""
497
 
498
- #: .././admin/settings.php:1365
499
  msgid "Refresh Properties"
500
  msgstr ""
501
 
502
- #: .././admin/settings.php:1371
503
  #, fuzzy
504
  msgid "Properties/Views Settings"
505
  msgstr "Configuración del frontend"
506
 
507
- #: .././admin/settings.php:1419
508
- msgid " exclude Super Admin tracking for the entire network"
509
  msgstr ""
510
 
511
- #: .././admin/settings.php:1471
512
  #, fuzzy
513
  msgid "Setup Tutorial & Demo"
514
  msgstr "Tutorial de configuración"
515
 
516
- #: .././admin/settings.php:1483
517
  #, fuzzy
518
  msgid "Support & Reviews"
519
  msgstr "Enlaces de soporte"
520
 
521
- #: .././admin/settings.php:1491
522
- msgid "Plugin documentation and support on"
 
523
  msgstr ""
524
 
525
- #: .././admin/settings.php:1498
526
- msgid "Your feedback and review are both important,"
 
527
  msgstr ""
528
 
529
- #: .././admin/settings.php:1498
530
  msgid "rate this plugin"
531
  msgstr ""
532
 
533
- #: .././admin/settings.php:1503
534
  msgid "Further Reading"
535
  msgstr ""
536
 
537
- #: .././admin/settings.php:1511
538
- msgid "Improve search rankings"
 
539
  msgstr ""
540
 
541
- #: .././admin/settings.php:1511
542
- msgid "by moving your website to HTTPS/SSL."
543
  msgstr ""
544
 
545
- #: .././admin/settings.php:1518
546
- msgid "Other"
 
547
  msgstr ""
548
 
549
- #: .././admin/settings.php:1518
550
  msgid "WordPress Plugins"
551
  msgstr ""
552
 
553
- #: .././admin/settings.php:1518
554
- msgid "written by the same author"
555
- msgstr ""
556
-
557
- #: .././admin/settings.php:1523
558
  msgid "Other Services"
559
  msgstr ""
560
 
561
- #: .././admin/settings.php:1531
562
- msgid "Speed up your website and plug into a whole"
 
563
  msgstr ""
564
 
565
- #: .././admin/settings.php:1531
566
  msgid "new level of site speed"
567
  msgstr ""
568
 
569
- #: .././admin/settings.php:1538
 
 
 
 
 
570
  msgid "Web Analytics"
571
  msgstr "Analíticas web"
572
 
573
- #: .././admin/settings.php:1538
574
- msgid "service with users tracking at IP level."
575
- msgstr ""
576
-
577
- #: .././admin/setup.php:69 .././admin/setup.php:105
578
  msgid "Google Analytics"
579
  msgstr "Google Analytics"
580
 
581
- #: .././admin/setup.php:77
582
  msgid "Backend Settings"
583
  msgstr "Configuración del backend"
584
 
585
- #: .././admin/setup.php:81
586
  msgid "Frontend Settings"
587
  msgstr "Configuración del frontend"
588
 
589
- #: .././admin/setup.php:85
590
  #, fuzzy
591
  msgid "Tracking Code"
592
  msgstr "Tipo de seguimiento:"
593
 
594
- #: .././admin/setup.php:190 .././admin/widgets.php:123
595
  msgid "Today"
596
  msgstr "Hoy"
597
 
598
- #: .././admin/setup.php:191 .././admin/widgets.php:125
599
  msgid "Yesterday"
600
  msgstr "Ayer"
601
 
602
- #: .././admin/setup.php:192 .././admin/widgets.php:127
603
- #: .././front/widgets.php:68 .././front/widgets.php:176
604
  msgid "Last 7 Days"
605
  msgstr "Últimos 7 días "
606
 
607
- #: .././admin/setup.php:193 .././admin/widgets.php:131
608
- #: .././front/widgets.php:74 .././front/widgets.php:178
609
  msgid "Last 30 Days"
610
  msgstr "Últimos 30 días"
611
 
612
- #: .././admin/setup.php:194 .././admin/widgets.php:133
613
  msgid "Last 90 Days"
614
  msgstr "Últimos 90 días"
615
 
616
- #: .././admin/setup.php:197 .././admin/setup.php:213
617
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
618
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
619
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
620
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
621
- msgid "Sessions"
622
  msgstr ""
623
 
624
- #: .././admin/setup.php:198 .././admin/setup.php:214
625
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
626
- #: .././tools/gapi.php:372
627
  msgid "Users"
628
  msgstr ""
629
 
630
- #: .././admin/setup.php:199 .././admin/widgets.php:142
631
  msgid "Organic"
632
  msgstr "Búsquedas orgánicas"
633
 
634
- #: .././admin/setup.php:200 .././admin/setup.php:215
635
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
636
- #: .././tools/gapi.php:375
637
  msgid "Page Views"
638
  msgstr "Páginas vistas"
639
 
640
- #: .././admin/setup.php:201 .././admin/setup.php:216
641
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
642
- #: .././tools/gapi.php:378
643
  msgid "Bounce Rate"
644
  msgstr "Porcenaje de rebote"
645
 
646
- #: .././admin/setup.php:202 .././admin/widgets.php:148
647
  msgid "Location"
648
  msgstr ""
649
 
650
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
651
  msgid "Referrers"
652
  msgstr ""
653
 
654
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
655
- #: .././tools/gapi.php:898
656
  msgid "Searches"
657
  msgstr ""
658
 
659
- #: .././admin/setup.php:205 .././admin/widgets.php:156
660
  msgid "Traffic Details"
661
  msgstr ""
662
 
663
- #: .././admin/setup.php:208 .././admin/widgets.php:522
664
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
665
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
666
  msgid "A JavaScript Error is blocking plugin resources!"
667
  msgstr ""
668
 
669
- #: .././admin/setup.php:209 .././admin/widgets.php:724
670
  msgid "Traffic Mediums"
671
  msgstr ""
672
 
673
- #: .././admin/setup.php:210 .././admin/widgets.php:740
674
  msgid "Visitor Type"
675
  msgstr ""
676
 
677
- #: .././admin/setup.php:211 .././admin/widgets.php:756
678
  msgid "Social Networks"
679
  msgstr ""
680
 
681
- #: .././admin/setup.php:212 .././admin/widgets.php:772
682
  msgid "Search Engines"
683
  msgstr ""
684
 
685
- #: .././admin/setup.php:217 .././admin/widgets.php:897
686
  msgid "Organic Search"
687
  msgstr ""
688
 
689
- #: .././admin/setup.php:218 .././admin/widgets.php:901
690
  msgid "Pages/Session"
691
  msgstr ""
692
 
693
- #: .././admin/setup.php:219 .././admin/widgets.php:535
694
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
695
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
696
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
697
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
698
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
699
- #: .././front/item-reports.php:115
700
  msgid "Invalid response, more details in JavaScript Console (F12)."
701
  msgstr ""
702
 
703
- #: .././admin/setup.php:220
704
  msgid "Not enough data collected"
705
  msgstr ""
706
 
707
- #: .././admin/setup.php:221 .././admin/widgets.php:540
708
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
709
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
710
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
711
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
712
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
713
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
714
- #: .././front/widgets.php:104
715
  msgid "This report is unavailable"
716
  msgstr ""
717
 
718
- #: .././admin/setup.php:222
719
  msgid "report generated by"
720
  msgstr ""
721
 
722
- #: .././admin/setup.php:260
723
  msgid "Settings"
724
  msgstr "Ajustes"
725
 
726
- #: .././admin/widgets.php:27 .././front/widgets.php:14
727
  msgid "Google Analytics Dashboard"
728
  msgstr "Escritorio de Google Analytics"
729
 
730
- #: .././admin/widgets.php:38
731
  msgid "This plugin needs an authorization:"
732
  msgstr ""
733
 
734
- #: .././admin/widgets.php:72
735
  msgid "Something went wrong while retrieving profiles list."
736
  msgstr ""
737
 
738
- #: .././admin/widgets.php:72
739
  msgid "More details"
740
  msgstr ""
741
 
742
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
743
  #, fuzzy
744
  msgid "An admin should asign a default Google Analytics Profile."
745
  msgstr "Pide a un administrador que asigne un perfil de Google Analytics"
746
 
747
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
748
  #, fuzzy
749
  msgid "Select Domain"
750
  msgstr "un solo dominio"
751
 
752
- #: .././admin/widgets.php:101
753
  msgid ""
754
  "Something went wrong while retrieving property data. You need to create and "
755
  "properly configure a Google Analytics account:"
756
  msgstr ""
757
 
758
- #: .././admin/widgets.php:101
759
  msgid "Find out more!"
760
  msgstr ""
761
 
762
- #: .././admin/widgets.php:122
763
  msgid "Real-Time"
764
  msgstr "Tiempo real"
765
 
766
- #: .././admin/widgets.php:129 .././front/widgets.php:71
767
- #: .././front/widgets.php:177
768
  msgid "Last 14 Days"
769
  msgstr "Últimos 14 días"
770
 
771
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
772
  msgid "Pages"
773
  msgstr ""
774
 
775
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
776
  msgid "REFERRAL"
777
  msgstr "REFERENCIA"
778
 
779
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
780
  msgid "ORGANIC"
781
  msgstr "ORGÁNICO"
782
 
783
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
784
- #: .././admin/widgets.php:486
785
  msgid "SOCIAL"
786
  msgstr "SOCIAL"
787
 
788
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
789
- #: .././admin/widgets.php:487
790
  msgid "CAMPAIGN"
791
  msgstr ""
792
 
793
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
794
- #: .././admin/widgets.php:490
795
  msgid "DIRECT"
796
  msgstr "DIRECTO"
797
 
798
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
799
  msgid "NEW"
800
  msgstr "NUEVO"
801
 
802
- #: .././admin/widgets.php:366
803
  msgid "REFERRALS"
804
  msgstr ""
805
 
806
- #: .././admin/widgets.php:369
807
  msgid "KEYWORDS"
808
  msgstr ""
809
 
810
- #: .././front/item-reports.php:130
811
  msgid "Views vs UniqueViews"
812
  msgstr "Visitas vs visitas únicas"
813
 
814
- #: .././front/item-reports.php:180
815
  msgid "Google Analytics Reports"
816
  msgstr ""
817
 
818
- #: .././front/widgets.php:15
819
  msgid "Will display your google analytics stats in a widget"
820
  msgstr ""
821
 
822
- #: .././front/widgets.php:40 .././tools/gapi.php:803
823
  msgid "trend"
824
  msgstr ""
825
 
826
- #: .././front/widgets.php:127
827
  msgid "Period:"
828
  msgstr ""
829
 
830
- #: .././front/widgets.php:127
831
  msgid "Sessions:"
832
  msgstr ""
833
 
834
- #: .././front/widgets.php:131
835
  msgid "generated by"
836
  msgstr ""
837
 
838
- #: .././front/widgets.php:141
839
  msgid "Google Analytics Stats"
840
  msgstr "Estadísticas de Google Analytics"
841
 
842
- #: .././front/widgets.php:148
843
  msgid "Title:"
844
  msgstr ""
845
 
846
- #: .././front/widgets.php:155
847
  msgid "Display:"
848
  msgstr ""
849
 
850
- #: .././front/widgets.php:159
851
  msgid "Chart & Totals"
852
  msgstr ""
853
 
854
- #: .././front/widgets.php:160
855
  msgid "Chart"
856
  msgstr ""
857
 
858
- #: .././front/widgets.php:161
859
  msgid "Totals"
860
  msgstr ""
861
 
862
- #: .././front/widgets.php:165
863
  msgid "Anonymize stats:"
864
  msgstr ""
865
 
866
- #: .././front/widgets.php:172
867
  msgid "Stats for:"
868
  msgstr ""
869
 
870
- #: .././front/widgets.php:182
871
  msgid "Give credits:"
872
  msgstr ""
873
 
874
- #: .././tools/gapi.php:128
 
 
 
 
875
  msgid "Use this link to get your access code:"
876
  msgstr ""
877
 
878
- #: .././tools/gapi.php:128
879
  msgid "Get Access Code"
880
  msgstr ""
881
 
882
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
883
  msgid "Use the red link to get your access code!"
884
  msgstr ""
885
 
886
- #: .././tools/gapi.php:133
887
  msgid "Access Code:"
888
  msgstr "Código de acceso:"
889
 
890
- #: .././tools/gapi.php:145
891
  msgid "Save Access Code"
892
  msgstr ""
893
 
894
- #: .././tools/gapi.php:381
895
  msgid "Organic Searches"
896
  msgstr "Búsquedas orgánicas"
897
 
898
- #: .././tools/gapi.php:389
 
 
 
 
899
  msgid "Hour"
900
  msgstr "Hora"
901
 
902
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
903
  msgid "Date"
904
  msgstr "Fecha"
905
 
906
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
907
  msgid "Views"
908
  msgstr "Vistas"
909
 
910
- #: .././tools/gapi.php:617
911
  msgid "Countries"
912
  msgstr ""
913
 
914
- #: .././tools/gapi.php:626
915
  msgid "Cities from"
916
  msgstr ""
917
 
918
- #: .././tools/gapi.php:698
919
  msgid "Channels"
920
  msgstr ""
921
 
922
- #: .././tools/gapi.php:761
923
  msgid "Type"
924
  msgstr "Tipo"
925
 
926
- #: .././tools/gapi.php:856
927
  msgid "UniqueViews"
928
  msgstr "Visitas únicas"
929
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
930
  #~ msgid "Google Analytics Dashboard Settings"
931
  #~ msgstr "Configuración del escritorio de Google Analytics"
932
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
+ "Language-Team: Alin Marcu\n"
10
  "Language: es_ES\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ../.\n"
19
 
20
+ #: .././admin/item-reports.php:66
21
  msgid "Analytics"
22
  msgstr ""
23
 
24
+ #: .././admin/settings.php:94 .././admin/settings.php:202
25
+ #: .././admin/settings.php:338 .././admin/settings.php:819
26
+ #: .././admin/settings.php:1088
27
  msgid "Settings saved."
28
  msgstr ""
29
 
30
+ #: .././admin/settings.php:96 .././admin/settings.php:204
31
+ #: .././admin/settings.php:340 .././admin/settings.php:796
32
+ #: .././admin/settings.php:806 .././admin/settings.php:815
33
+ #: .././admin/settings.php:821 .././admin/settings.php:833
34
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
35
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
36
+ #: .././admin/settings.php:1102
37
  msgid "Cheating Huh?"
38
  msgstr ""
39
 
40
+ #: .././admin/settings.php:100 .././admin/settings.php:208
41
+ #: .././admin/settings.php:344 .././admin/settings.php:659
42
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
43
+ #, php-format
44
+ msgid "Something went wrong, check %1$s or %2$s."
45
  msgstr ""
46
 
47
+ #: .././admin/settings.php:100 .././admin/settings.php:208
48
+ #: .././admin/settings.php:344 .././admin/settings.php:659
49
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
50
+ #: .././admin/setup.php:96 .././admin/setup.php:119
51
  msgid "Errors & Debug"
52
  msgstr ""
53
 
54
+ #: .././admin/settings.php:100 .././admin/settings.php:208
55
+ #: .././admin/settings.php:344 .././admin/settings.php:659
56
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
57
  msgid "authorize the plugin"
58
  msgstr "autorizar aplicación"
59
 
60
+ #: .././admin/settings.php:105
61
  msgid "Google Analytics Frontend Settings"
62
  msgstr "Configuración del frontend de Google Analytics"
63
 
64
+ #: .././admin/settings.php:116
65
+ #, php-format
66
+ msgid "Read %s for more information about Frontend Features and Options."
67
+ msgstr ""
68
+
69
+ #: .././admin/settings.php:116 .././admin/settings.php:224
70
+ #: .././admin/settings.php:369 .././admin/settings.php:682
71
+ msgid "this documentation page"
72
+ msgstr ""
73
+
74
+ #: .././admin/settings.php:120 .././admin/settings.php:228
75
  msgid "Permissions"
76
  msgstr ""
77
 
78
+ #: .././admin/settings.php:123 .././admin/settings.php:231
79
  msgid "Show stats to:"
80
  msgstr ""
81
 
82
+ #: .././admin/settings.php:162
83
+ msgid "show page sessions and users in frontend (after each article)"
84
  msgstr ""
85
 
86
+ #: .././admin/settings.php:173
87
+ msgid "show page searches (after each article)"
 
88
  msgstr ""
 
 
89
 
90
+ #: .././admin/settings.php:180 .././admin/settings.php:318
91
+ #: .././admin/settings.php:617 .././admin/settings.php:965
92
+ #: .././admin/settings.php:1252
93
  msgid "Save Changes"
94
  msgstr ""
95
 
96
+ #: .././admin/settings.php:213
97
  msgid "Google Analytics Backend Settings"
98
  msgstr ""
99
 
100
+ #: .././admin/settings.php:224
101
+ #, php-format
102
+ msgid "Read %s for more information about Backend Features and Options."
103
+ msgstr ""
104
 
105
+ #: .././admin/settings.php:272
106
+ msgid "enable Switch Profile/View functionality"
107
+ msgstr ""
108
+
109
+ #: .././admin/settings.php:283
110
+ msgid "enable reports on Posts List and Pages List"
111
  msgstr ""
112
 
113
+ #: .././admin/settings.php:294
114
+ msgid "enable the main Dashboard Widget"
115
  msgstr ""
116
 
117
+ #: .././admin/settings.php:298
118
  #, fuzzy
119
  msgid "Real-Time Settings"
120
  msgstr "Configuración de la caché"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr ""
125
 
126
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
127
  msgid "Location Settings"
128
  msgstr ""
129
 
130
+ #: .././admin/settings.php:310
131
  msgid "Target Geo Map to country:"
132
  msgstr ""
133
 
134
+ #: .././admin/settings.php:347
135
+ msgid ""
136
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
137
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
138
  msgstr ""
139
 
140
+ #: .././admin/settings.php:352
 
 
 
 
 
141
  #, fuzzy
142
  msgid "Google Analytics Tracking Code"
143
  msgstr "Seguimiento de Google Analytics"
144
 
145
+ #: .././admin/settings.php:361
146
  msgid "Basic Settings"
147
  msgstr ""
148
 
149
+ #: .././admin/settings.php:362 .././admin/settings.php:429
150
  #, fuzzy
151
  msgid "Events Tracking"
152
  msgstr "Activar seguimiento:"
153
 
154
+ #: .././admin/settings.php:363 .././admin/settings.php:477
155
  msgid "Custom Definitions"
156
  msgstr ""
157
 
158
+ #: .././admin/settings.php:364 .././admin/settings.php:575
159
+ #: .././admin/settings.php:1235
160
  #, fuzzy
161
  msgid "Exclude Tracking"
162
  msgstr "Activar seguimiento:"
163
 
164
+ #: .././admin/settings.php:365
165
  msgid "Advanced Settings"
166
  msgstr ""
167
 
168
+ #: .././admin/settings.php:369
169
+ #, php-format
170
+ msgid "For more information about Tracking Options read %s."
171
+ msgstr ""
172
+
173
+ #: .././admin/settings.php:374
174
  #, fuzzy
175
  msgid "Tracking Settings"
176
  msgstr "Configuración del backend"
177
 
178
+ #: .././admin/settings.php:377
179
  msgid "Tracking Options:"
180
  msgstr ""
181
 
182
+ #: .././admin/settings.php:379
183
  msgid "Disabled"
184
  msgstr "desactivado"
185
 
186
+ #: .././admin/settings.php:380
187
+ #, fuzzy
188
+ msgid "Enabled"
189
+ msgstr "desactivado"
190
+
191
+ #: .././admin/settings.php:388 .././admin/settings.php:911
192
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
193
+ #: .././admin/widgets.php:72
194
  msgid "View Name:"
195
  msgstr ""
196
 
197
+ #: .././admin/settings.php:388 .././admin/settings.php:933
198
  #, fuzzy
199
  msgid "Tracking ID:"
200
  msgstr "Tipo de seguimiento:"
201
 
202
+ #: .././admin/settings.php:388 .././admin/settings.php:933
203
  msgid "Default URL:"
204
  msgstr ""
205
 
206
+ #: .././admin/settings.php:388 .././admin/settings.php:933
207
  msgid "Time Zone:"
208
  msgstr ""
209
 
210
+ #: .././admin/settings.php:393
211
  #, fuzzy
212
  msgid "Basic Tracking"
213
  msgstr "Activar seguimiento:"
214
 
215
+ #: .././admin/settings.php:396
216
  msgid "Tracking Type:"
217
  msgstr ""
218
 
219
+ #: .././admin/settings.php:398
220
  msgid "Classic Analytics"
221
  msgstr ""
222
 
223
+ #: .././admin/settings.php:399
224
  msgid "Universal Analytics"
225
  msgstr ""
226
 
227
+ #: .././admin/settings.php:410
228
+ msgid "anonymize IPs while tracking"
229
+ msgstr ""
230
 
231
+ #: .././admin/settings.php:421
232
+ msgid "enable remarketing, demographics and interests reports"
233
  msgstr ""
234
 
235
+ #: .././admin/settings.php:439
236
+ msgid "track downloads, mailto and outbound links"
237
  msgstr ""
238
 
239
+ #: .././admin/settings.php:443
240
  msgid "Downloads Regex:"
241
  msgstr ""
242
 
243
+ #: .././admin/settings.php:454
244
+ msgid "track affiliate links matching this regex"
245
  msgstr ""
246
 
247
+ #: .././admin/settings.php:458
248
  msgid "Affiliates Regex:"
249
  msgstr ""
250
 
251
+ #: .././admin/settings.php:469
252
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
253
  msgstr ""
254
 
255
+ #: .././admin/settings.php:480
256
  msgid "Authors:"
257
  msgstr ""
258
 
259
+ #: .././admin/settings.php:488
260
  msgid "Publication Year:"
261
  msgstr ""
262
 
263
+ #: .././admin/settings.php:496
264
  msgid "Categories:"
265
  msgstr ""
266
 
267
+ #: .././admin/settings.php:504
268
  msgid "User Type:"
269
  msgstr ""
270
 
271
+ #: .././admin/settings.php:516
272
  #, fuzzy
273
  msgid "Advanced Tracking"
274
  msgstr "Activar seguimiento:"
275
 
276
+ #: .././admin/settings.php:519
277
  #, fuzzy
278
  msgid "Page Speed SR:"
279
  msgstr "Páginas por visita:"
280
 
281
+ #: .././admin/settings.php:530
282
+ msgid "exclude events from bounce-rate calculation"
283
  msgstr ""
284
 
285
+ #: .././admin/settings.php:541
286
+ msgid "enable enhanced link attribution"
287
  msgstr ""
288
 
289
+ #: .././admin/settings.php:552
290
+ msgid "enable AdSense account linking"
291
  msgstr ""
292
 
293
+ #: .././admin/settings.php:563
294
+ msgid "enable cross domain tracking"
295
  msgstr ""
296
 
297
+ #: .././admin/settings.php:567
298
  msgid "Cross Domains:"
299
  msgstr ""
300
 
301
+ #: .././admin/settings.php:578
302
  msgid "Exclude tracking for:"
303
  msgstr ""
304
 
305
+ #: .././admin/settings.php:663
306
  msgid "Google Analytics Errors & Debugging"
307
  msgstr ""
308
 
309
+ #: .././admin/settings.php:673
310
  msgid "Errors & Details"
311
  msgstr ""
312
 
313
+ #: .././admin/settings.php:674
314
  msgid "Plugin Settings"
315
  msgstr ""
316
 
317
+ #: .././admin/settings.php:682
318
+ #, php-format
319
+ msgid "For errors and/or other issues please check %s and related tutorials."
320
  msgstr ""
321
 
322
+ #: .././admin/settings.php:687
 
 
 
 
 
 
 
 
323
  msgid "Last Error detected"
324
  msgstr ""
325
 
326
+ #: .././admin/settings.php:693 .././admin/settings.php:706
327
  msgid "None"
328
  msgstr "Ninguno"
329
 
330
+ #: .././admin/settings.php:700
331
  msgid "Error Details"
332
  msgstr ""
333
 
334
+ #: .././admin/settings.php:720
335
  msgid "Plugin Configuration"
336
  msgstr ""
337
 
338
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
339
  msgid ""
340
  "Loading the required libraries. If this results in a blank screen or a fatal "
341
  "error, try this solution:"
342
  msgstr ""
343
 
344
+ #: .././admin/settings.php:742
345
+ msgid "Library conflicts between WordPress plugins"
346
+ msgstr ""
347
+
348
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
349
  msgid "Plugin authorization succeeded."
350
  msgstr ""
351
 
352
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
353
  msgid ""
354
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
355
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
356
  msgstr ""
357
 
358
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
359
  msgid "Cleared Cache."
360
  msgstr "Caché borrada."
361
 
362
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
363
  #, fuzzy
364
  msgid "Token Reseted and Revoked."
365
  msgstr "Token reseteado."
366
 
367
+ #: .././admin/settings.php:813
368
  msgid "All errors reseted."
369
  msgstr ""
370
 
371
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
372
  msgid "All other domains/properties were removed."
373
  msgstr ""
374
 
375
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
376
  msgid "Google Analytics Settings"
377
  msgstr "Configuración de Google Analytics"
378
 
379
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
380
  msgid "Use the red link (see below) to generate and get your access code!"
381
  msgstr ""
382
 
383
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
384
  #, fuzzy
385
  msgid "Plugin Authorization"
386
  msgstr "Borrar autorización"
387
 
388
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
389
+ #, php-format
390
+ msgid ""
391
+ "You should watch the %1$s and read this %2$s before proceeding to "
392
+ "authorization. This plugin requires a properly configured Google Analytics "
393
+ "account!"
 
394
  msgstr ""
395
 
396
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
397
+ msgid "video"
398
  msgstr ""
399
 
400
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
401
  #, fuzzy
402
  msgid "tutorial"
403
  msgstr "Tutorial de configuración"
404
 
405
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
406
+ msgid "use your own API Project credentials"
 
 
 
 
 
 
407
  msgstr ""
408
 
409
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
410
  msgid "API Key:"
411
  msgstr "API Key:"
412
 
413
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
414
  msgid "Client ID:"
415
  msgstr "Client ID:"
416
 
417
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
418
  msgid "Client Secret:"
419
  msgstr "Client Secret:"
420
 
421
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
422
  msgid "Clear Authorization"
423
  msgstr "Borrar autorización"
424
 
425
+ #: .././admin/settings.php:895 .././admin/settings.php:971
426
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
427
  msgid "Clear Cache"
428
  msgstr "Borrar caché"
429
 
430
+ #: .././admin/settings.php:895
431
  msgid "Reset Errors"
432
  msgstr ""
433
 
434
+ #: .././admin/settings.php:901 .././admin/setup.php:80
435
+ #: .././admin/setup.php:115
436
  msgid "General Settings"
437
  msgstr "Configuración general"
438
 
439
+ #: .././admin/settings.php:904
440
  msgid "Select Domain:"
441
  msgstr ""
442
 
443
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
444
  msgid "Property not found"
445
  msgstr ""
446
 
447
+ #: .././admin/settings.php:920
448
  msgid "and/or hide all other domains"
449
  msgstr ""
450
 
451
+ #: .././admin/settings.php:921
452
  msgid "Hide Now"
453
  msgstr ""
454
 
455
+ #: .././admin/settings.php:939
456
  msgid "Theme Color:"
457
  msgstr ""
458
 
459
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
460
  msgid "Automatic Updates"
461
  msgstr ""
462
 
463
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
464
  msgid ""
465
+ "automatic updates for minor versions (security and maintenance releases only)"
 
466
  msgstr ""
467
 
468
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
469
+ #: .././admin/widgets.php:43
470
  #, fuzzy
471
  msgid "Authorize Plugin"
472
  msgstr "Autorizar aplicación"
473
 
474
+ #: .././admin/settings.php:1046
475
  msgid "Properties refreshed."
476
  msgstr ""
477
 
478
+ #: .././admin/settings.php:1130
479
  msgid "Network Setup"
480
  msgstr ""
481
 
482
+ #: .././admin/settings.php:1140
483
+ msgid "use a single Google Analytics account for the entire network"
484
  msgstr ""
485
 
486
+ #: .././admin/settings.php:1184
487
  msgid "Refresh Properties"
488
  msgstr ""
489
 
490
+ #: .././admin/settings.php:1190
491
  #, fuzzy
492
  msgid "Properties/Views Settings"
493
  msgstr "Configuración del frontend"
494
 
495
+ #: .././admin/settings.php:1245
496
+ msgid "exclude Super Admin tracking for the entire network"
497
  msgstr ""
498
 
499
+ #: .././admin/settings.php:1290
500
  #, fuzzy
501
  msgid "Setup Tutorial & Demo"
502
  msgstr "Tutorial de configuración"
503
 
504
+ #: .././admin/settings.php:1298
505
  #, fuzzy
506
  msgid "Support & Reviews"
507
  msgstr "Enlaces de soporte"
508
 
509
+ #: .././admin/settings.php:1305
510
+ #, php-format
511
+ msgid "Plugin documentation and support on %s"
512
  msgstr ""
513
 
514
+ #: .././admin/settings.php:1312
515
+ #, php-format
516
+ msgid "Your feedback and review are both important, %s!"
517
  msgstr ""
518
 
519
+ #: .././admin/settings.php:1312
520
  msgid "rate this plugin"
521
  msgstr ""
522
 
523
+ #: .././admin/settings.php:1318
524
  msgid "Further Reading"
525
  msgstr ""
526
 
527
+ #: .././admin/settings.php:1325
528
+ #, php-format
529
+ msgid "%s by moving your website to HTTPS/SSL."
530
  msgstr ""
531
 
532
+ #: .././admin/settings.php:1325
533
+ msgid "Improve search rankings"
534
  msgstr ""
535
 
536
+ #: .././admin/settings.php:1332
537
+ #, php-format
538
+ msgid "Other %s written by the same author"
539
  msgstr ""
540
 
541
+ #: .././admin/settings.php:1332
542
  msgid "WordPress Plugins"
543
  msgstr ""
544
 
545
+ #: .././admin/settings.php:1338
 
 
 
 
546
  msgid "Other Services"
547
  msgstr ""
548
 
549
+ #: .././admin/settings.php:1345
550
+ #, php-format
551
+ msgid "Speed up your website and plug into a whole %s"
552
  msgstr ""
553
 
554
+ #: .././admin/settings.php:1345
555
  msgid "new level of site speed"
556
  msgstr ""
557
 
558
+ #: .././admin/settings.php:1352
559
+ #, php-format
560
+ msgid "%s service with users tracking at IP level."
561
+ msgstr ""
562
+
563
+ #: .././admin/settings.php:1352
564
  msgid "Web Analytics"
565
  msgstr "Analíticas web"
566
 
567
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
568
  msgid "Google Analytics"
569
  msgstr "Google Analytics"
570
 
571
+ #: .././admin/setup.php:84
572
  msgid "Backend Settings"
573
  msgstr "Configuración del backend"
574
 
575
+ #: .././admin/setup.php:88
576
  msgid "Frontend Settings"
577
  msgstr "Configuración del frontend"
578
 
579
+ #: .././admin/setup.php:92
580
  #, fuzzy
581
  msgid "Tracking Code"
582
  msgstr "Tipo de seguimiento:"
583
 
584
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
585
  msgid "Today"
586
  msgstr "Hoy"
587
 
588
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
589
  msgid "Yesterday"
590
  msgstr "Ayer"
591
 
592
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
593
+ #: .././front/widgets.php:74 .././front/widgets.php:182
594
  msgid "Last 7 Days"
595
  msgstr "Últimos 7 días "
596
 
597
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
598
+ #: .././front/widgets.php:80 .././front/widgets.php:184
599
  msgid "Last 30 Days"
600
  msgstr "Últimos 30 días"
601
 
602
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
603
  msgid "Last 90 Days"
604
  msgstr "Últimos 90 días"
605
 
606
+ #: .././admin/setup.php:203 .././admin/setup.php:219
607
+ msgid "Unique Views"
 
 
 
 
608
  msgstr ""
609
 
610
+ #: .././admin/setup.php:204 .././admin/setup.php:220
611
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
612
+ #: .././tools/gapi.php:382
613
  msgid "Users"
614
  msgstr ""
615
 
616
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
617
  msgid "Organic"
618
  msgstr "Búsquedas orgánicas"
619
 
620
+ #: .././admin/setup.php:206 .././admin/setup.php:221
621
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
622
+ #: .././tools/gapi.php:385
623
  msgid "Page Views"
624
  msgstr "Páginas vistas"
625
 
626
+ #: .././admin/setup.php:207 .././admin/setup.php:222
627
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
628
+ #: .././tools/gapi.php:388
629
  msgid "Bounce Rate"
630
  msgstr "Porcenaje de rebote"
631
 
632
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
633
  msgid "Location"
634
  msgstr ""
635
 
636
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
637
  msgid "Referrers"
638
  msgstr ""
639
 
640
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
641
+ #: .././tools/gapi.php:913
642
  msgid "Searches"
643
  msgstr ""
644
 
645
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
646
  msgid "Traffic Details"
647
  msgstr ""
648
 
649
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
650
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
651
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
652
  msgid "A JavaScript Error is blocking plugin resources!"
653
  msgstr ""
654
 
655
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
656
  msgid "Traffic Mediums"
657
  msgstr ""
658
 
659
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
660
  msgid "Visitor Type"
661
  msgstr ""
662
 
663
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
664
  msgid "Social Networks"
665
  msgstr ""
666
 
667
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
668
  msgid "Search Engines"
669
  msgstr ""
670
 
671
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
672
  msgid "Organic Search"
673
  msgstr ""
674
 
675
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
676
  msgid "Pages/Session"
677
  msgstr ""
678
 
679
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
680
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
681
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
682
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
683
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
684
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
685
+ #: .././front/item-reports.php:118
686
  msgid "Invalid response, more details in JavaScript Console (F12)."
687
  msgstr ""
688
 
689
+ #: .././admin/setup.php:226
690
  msgid "Not enough data collected"
691
  msgstr ""
692
 
693
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
694
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
695
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
696
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
697
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
698
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
699
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
700
+ #: .././front/widgets.php:110
701
  msgid "This report is unavailable"
702
  msgstr ""
703
 
704
+ #: .././admin/setup.php:228
705
  msgid "report generated by"
706
  msgstr ""
707
 
708
+ #: .././admin/setup.php:268
709
  msgid "Settings"
710
  msgstr "Ajustes"
711
 
712
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
713
  msgid "Google Analytics Dashboard"
714
  msgstr "Escritorio de Google Analytics"
715
 
716
+ #: .././admin/widgets.php:43
717
  msgid "This plugin needs an authorization:"
718
  msgstr ""
719
 
720
+ #: .././admin/widgets.php:77
721
  msgid "Something went wrong while retrieving profiles list."
722
  msgstr ""
723
 
724
+ #: .././admin/widgets.php:77
725
  msgid "More details"
726
  msgstr ""
727
 
728
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
729
  #, fuzzy
730
  msgid "An admin should asign a default Google Analytics Profile."
731
  msgstr "Pide a un administrador que asigne un perfil de Google Analytics"
732
 
733
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
734
  #, fuzzy
735
  msgid "Select Domain"
736
  msgstr "un solo dominio"
737
 
738
+ #: .././admin/widgets.php:106
739
  msgid ""
740
  "Something went wrong while retrieving property data. You need to create and "
741
  "properly configure a Google Analytics account:"
742
  msgstr ""
743
 
744
+ #: .././admin/widgets.php:106
745
  msgid "Find out more!"
746
  msgstr ""
747
 
748
+ #: .././admin/widgets.php:127
749
  msgid "Real-Time"
750
  msgstr "Tiempo real"
751
 
752
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
753
+ #: .././front/widgets.php:183
754
  msgid "Last 14 Days"
755
  msgstr "Últimos 14 días"
756
 
757
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
758
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
759
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
760
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
761
+ msgid "Sessions"
762
+ msgstr ""
763
+
764
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
765
  msgid "Pages"
766
  msgstr ""
767
 
768
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
769
  msgid "REFERRAL"
770
  msgstr "REFERENCIA"
771
 
772
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
773
  msgid "ORGANIC"
774
  msgstr "ORGÁNICO"
775
 
776
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
777
+ #: .././admin/widgets.php:491
778
  msgid "SOCIAL"
779
  msgstr "SOCIAL"
780
 
781
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
782
+ #: .././admin/widgets.php:492
783
  msgid "CAMPAIGN"
784
  msgstr ""
785
 
786
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
787
+ #: .././admin/widgets.php:495
788
  msgid "DIRECT"
789
  msgstr "DIRECTO"
790
 
791
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
792
  msgid "NEW"
793
  msgstr "NUEVO"
794
 
795
+ #: .././admin/widgets.php:371
796
  msgid "REFERRALS"
797
  msgstr ""
798
 
799
+ #: .././admin/widgets.php:374
800
  msgid "KEYWORDS"
801
  msgstr ""
802
 
803
+ #: .././front/item-reports.php:133
804
  msgid "Views vs UniqueViews"
805
  msgstr "Visitas vs visitas únicas"
806
 
807
+ #: .././front/item-reports.php:183
808
  msgid "Google Analytics Reports"
809
  msgstr ""
810
 
811
+ #: .././front/widgets.php:23
812
  msgid "Will display your google analytics stats in a widget"
813
  msgstr ""
814
 
815
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
816
  msgid "trend"
817
  msgstr ""
818
 
819
+ #: .././front/widgets.php:133
820
  msgid "Period:"
821
  msgstr ""
822
 
823
+ #: .././front/widgets.php:133
824
  msgid "Sessions:"
825
  msgstr ""
826
 
827
+ #: .././front/widgets.php:137
828
  msgid "generated by"
829
  msgstr ""
830
 
831
+ #: .././front/widgets.php:147
832
  msgid "Google Analytics Stats"
833
  msgstr "Estadísticas de Google Analytics"
834
 
835
+ #: .././front/widgets.php:154
836
  msgid "Title:"
837
  msgstr ""
838
 
839
+ #: .././front/widgets.php:161
840
  msgid "Display:"
841
  msgstr ""
842
 
843
+ #: .././front/widgets.php:165
844
  msgid "Chart & Totals"
845
  msgstr ""
846
 
847
+ #: .././front/widgets.php:166
848
  msgid "Chart"
849
  msgstr ""
850
 
851
+ #: .././front/widgets.php:167
852
  msgid "Totals"
853
  msgstr ""
854
 
855
+ #: .././front/widgets.php:171
856
  msgid "Anonymize stats:"
857
  msgstr ""
858
 
859
+ #: .././front/widgets.php:178
860
  msgid "Stats for:"
861
  msgstr ""
862
 
863
+ #: .././front/widgets.php:188
864
  msgid "Give credits:"
865
  msgstr ""
866
 
867
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
868
+ msgid "This is not allowed, read the documentation!"
869
+ msgstr ""
870
+
871
+ #: .././tools/gapi.php:141
872
  msgid "Use this link to get your access code:"
873
  msgstr ""
874
 
875
+ #: .././tools/gapi.php:141
876
  msgid "Get Access Code"
877
  msgstr ""
878
 
879
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
880
  msgid "Use the red link to get your access code!"
881
  msgstr ""
882
 
883
+ #: .././tools/gapi.php:146
884
  msgid "Access Code:"
885
  msgstr "Código de acceso:"
886
 
887
+ #: .././tools/gapi.php:158
888
  msgid "Save Access Code"
889
  msgstr ""
890
 
891
+ #: .././tools/gapi.php:391
892
  msgid "Organic Searches"
893
  msgstr "Búsquedas orgánicas"
894
 
895
+ #: .././tools/gapi.php:394
896
+ msgid "Unique Page Views"
897
+ msgstr ""
898
+
899
+ #: .././tools/gapi.php:402
900
  msgid "Hour"
901
  msgstr "Hora"
902
 
903
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
904
  msgid "Date"
905
  msgstr "Fecha"
906
 
907
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
908
  msgid "Views"
909
  msgstr "Vistas"
910
 
911
+ #: .././tools/gapi.php:631
912
  msgid "Countries"
913
  msgstr ""
914
 
915
+ #: .././tools/gapi.php:641
916
  msgid "Cities from"
917
  msgstr ""
918
 
919
+ #: .././tools/gapi.php:713
920
  msgid "Channels"
921
  msgstr ""
922
 
923
+ #: .././tools/gapi.php:776
924
  msgid "Type"
925
  msgstr "Tipo"
926
 
927
+ #: .././tools/gapi.php:871
928
  msgid "UniqueViews"
929
  msgstr "Visitas únicas"
930
 
931
+ #, fuzzy
932
+ #~ msgid " show page searches (after each article)"
933
+ #~ msgstr ""
934
+ #~ "mostrar las visitas de página y las busquedas principales en el frontend "
935
+ #~ "(después de cada artículo)"
936
+
937
+ #~ msgid " anonymize IPs while tracking"
938
+ #~ msgstr "anonimizar IPs durante el seguimiento"
939
+
940
+ #, fuzzy
941
+ #~ msgid "disable Switch Profile/View functionality"
942
+ #~ msgstr " desactivar la funcionalidad de cambio de perfil en el escritorio"
943
+
944
+ #, fuzzy
945
+ #~ msgid "You should watch the"
946
+ #~ msgstr "Deberías ver este"
947
+
948
  #~ msgid "Google Analytics Dashboard Settings"
949
  #~ msgstr "Configuración del escritorio de Google Analytics"
950
 
languages/ga-dash-fr_FR.mo DELETED
Binary file
languages/ga-dash-fr_FR.po CHANGED
@@ -1,743 +1,726 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
  "Language: fr_FR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr "Tricher Hein?"
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
 
43
  msgstr ""
44
 
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
49
  msgid "Errors & Debug"
50
  msgstr ""
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "autoriser le plugin"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Google Analytics Paramètres Frontend"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
- msgstr "Afficher la page de recherche (après chaque article)"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
  msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "désactiver Changer Profil/Voir fonctionnalité"
 
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
 
 
 
 
107
  msgid "Real-Time Settings"
108
  msgstr "Paramètres Temps-Réel"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr "Nombre maximum de pages à afficher sur l&#39;onglet en temps réel:"
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
- msgstr ""
117
-
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
- msgstr "sur cette fonction"
121
-
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr ""
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr ""
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr ""
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr ""
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
  msgstr ""
141
 
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
- msgstr "Active"
145
-
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr "Google Analytics Tracking Code"
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr ""
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr "Suivi des événements"
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr ""
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr "Exclure Tracking"
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr ""
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
  msgstr "Paramètres de suivi"
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr "Désactive"
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr "Nom de la vue:"
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
  msgstr "Suivi ID:"
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr "URL par défaut:"
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr "Fuseau horaire:"
200
 
201
- #: .././admin/settings.php:430
202
- #, fuzzy
203
  msgid "Basic Tracking"
204
- msgstr "Suivi des événements"
205
 
206
- #: .././admin/settings.php:433
207
  msgid "Tracking Type:"
208
  msgstr ""
209
 
210
- #: .././admin/settings.php:437
211
  msgid "Classic Analytics"
212
  msgstr "Analytics classiques"
213
 
214
- #: .././admin/settings.php:439
215
  msgid "Universal Analytics"
216
  msgstr "Universel Analytics"
217
 
218
- #: .././admin/settings.php:453
219
- msgid " anonymize IPs while tracking"
220
- msgstr "anonymiser IP tout en suivant"
221
 
222
- #: .././admin/settings.php:468
223
- msgid " enable remarketing, demographics and interests reports"
224
  msgstr ""
225
- "permettre remarketing, les données démographiques et les rapports d&#39;"
226
- "intérêts"
227
 
228
- #: .././admin/settings.php:490
229
- msgid " track downloads, mailto and outbound links"
230
- msgstr "téléchargement de titres, mailto et liens sortants"
231
 
232
- #: .././admin/settings.php:494
233
  #, fuzzy
234
  msgid "Downloads Regex:"
235
  msgstr "Filtres téléchargement:"
236
 
237
- #: .././admin/settings.php:511
238
- msgid " track affiliate links matching this regex"
239
  msgstr ""
240
 
241
- #: .././admin/settings.php:515
242
  msgid "Affiliates Regex:"
243
  msgstr ""
244
 
245
- #: .././admin/settings.php:532
246
- msgid " track fragment identifiers, hashmarks (#) in URI links"
247
  msgstr ""
248
 
249
- #: .././admin/settings.php:543
250
  msgid "Authors:"
251
  msgstr ""
252
 
253
- #: .././admin/settings.php:553
254
  msgid "Publication Year:"
255
  msgstr ""
256
 
257
- #: .././admin/settings.php:563
258
  msgid "Categories:"
259
  msgstr ""
260
 
261
- #: .././admin/settings.php:573
262
  msgid "User Type:"
263
  msgstr ""
264
 
265
- #: .././admin/settings.php:587
266
  #, fuzzy
267
  msgid "Advanced Tracking"
268
  msgstr "Suivi des événements"
269
 
270
- #: .././admin/settings.php:590
271
  msgid "Page Speed SR:"
272
  msgstr "Page Speed SR:"
273
 
274
- #: .././admin/settings.php:608
275
- #, fuzzy
276
- msgid " exclude events from bounce-rate calculation"
277
- msgstr " exclude the event hit from bounce-rate calculation"
278
 
279
- #: .././admin/settings.php:623
280
- msgid " enable enhanced link attribution"
281
- msgstr "permettre une meilleure liaison attribution"
282
 
283
- #: .././admin/settings.php:637
284
- msgid " enable AdSense account linking"
285
- msgstr "Permettre la liaison avec votre compte Adsense"
286
 
287
- #: .././admin/settings.php:653
288
- msgid " enable cross domain tracking"
289
  msgstr ""
290
 
291
- #: .././admin/settings.php:657
292
  msgid "Cross Domains:"
293
  msgstr ""
294
 
295
- #: .././admin/settings.php:671
296
  msgid "Exclude tracking for:"
297
  msgstr ""
298
 
299
- #: .././admin/settings.php:741
300
  msgid "Google Analytics Errors & Debugging"
301
  msgstr ""
302
 
303
- #: .././admin/settings.php:751
304
  msgid "Errors & Details"
305
  msgstr ""
306
 
307
- #: .././admin/settings.php:752
308
  msgid "Plugin Settings"
309
  msgstr ""
310
 
311
- #: .././admin/settings.php:760
312
- msgid "For errors and/or other issues please check"
313
- msgstr ""
314
-
315
- #: .././admin/settings.php:760
316
- msgid "this documentation page"
317
- msgstr ""
318
-
319
- #: .././admin/settings.php:760
320
- msgid "and related tutorials"
321
  msgstr ""
322
 
323
- #: .././admin/settings.php:764
324
  msgid "Last Error detected"
325
  msgstr ""
326
 
327
- #: .././admin/settings.php:769 .././admin/settings.php:782
328
  msgid "None"
329
  msgstr ""
330
 
331
- #: .././admin/settings.php:776
332
  msgid "Error Details"
333
  msgstr ""
334
 
335
- #: .././admin/settings.php:796
336
  msgid "Plugin Configuration"
337
  msgstr ""
338
 
339
- #: .././admin/settings.php:840 .././admin/settings.php:1149
340
  msgid ""
341
  "Loading the required libraries. If this results in a blank screen or a fatal "
342
  "error, try this solution:"
343
  msgstr ""
344
 
345
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
346
  msgid "Plugin authorization succeeded."
347
  msgstr "Autorisation Plugin réussi."
348
 
349
- #: .././admin/settings.php:868 .././admin/settings.php:1186
350
  msgid ""
351
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
352
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
353
  msgstr ""
354
 
355
- #: .././admin/settings.php:891 .././admin/settings.php:1218
356
  msgid "Cleared Cache."
357
  msgstr "Cache effacé."
358
 
359
- #: .././admin/settings.php:900 .././admin/settings.php:1227
360
  msgid "Token Reseted and Revoked."
361
  msgstr "Jeton remis à zéro et révoqué."
362
 
363
- #: .././admin/settings.php:910
364
  msgid "All errors reseted."
365
  msgstr ""
366
 
367
- #: .././admin/settings.php:923 .././admin/settings.php:1241
368
  msgid "All other domains/properties were removed."
369
  msgstr "Tous les autres domaines/propriétés ont été retirés."
370
 
371
- #: .././admin/settings.php:935 .././admin/settings.php:1253
372
  msgid "Google Analytics Settings"
373
  msgstr "Réglages Google analytics"
374
 
375
- #: .././admin/settings.php:948 .././admin/settings.php:1266
376
  msgid "Use the red link (see below) to generate and get your access code!"
377
  msgstr ""
378
 
379
- #: .././admin/settings.php:959 .././admin/settings.php:1301
380
  msgid "Plugin Authorization"
381
  msgstr "Autorisation Plugin"
382
 
383
- #: .././admin/settings.php:963 .././admin/settings.php:1305
384
- msgid "You should watch the"
385
- msgstr "Vous devriez regarder la"
 
 
 
 
386
 
387
- #: .././admin/settings.php:963 .././admin/settings.php:1305
388
  msgid "video"
389
  msgstr "video"
390
 
391
- #: .././admin/settings.php:963 .././admin/settings.php:1305
392
- msgid "and read this"
393
- msgstr "et lire ce"
394
-
395
- #: .././admin/settings.php:963 .././admin/settings.php:1305
396
  msgid "tutorial"
397
  msgstr "Tutoriel"
398
 
399
- #: .././admin/settings.php:963 .././admin/settings.php:1305
400
- msgid ""
401
- "before proceeding to authorization. This plugin requires a properly "
402
- "configured Google Analytics account"
403
- msgstr ""
404
- "avant de procéder à l&#39;autorisation. Ce plugin nécessite un compte Google "
405
- "Analytics correctement configuré"
406
-
407
- #: .././admin/settings.php:975 .././admin/settings.php:1316
408
- msgid " use your own API Project credentials"
409
  msgstr ""
410
- "utiliser vos propres informations d&#39;identification de projets de l&#39;"
411
- "API"
412
 
413
- #: .././admin/settings.php:982 .././admin/settings.php:1323
414
  msgid "API Key:"
415
  msgstr "Clé API:"
416
 
417
- #: .././admin/settings.php:989 .././admin/settings.php:1331
418
  msgid "Client ID:"
419
  msgstr "Client ID:"
420
 
421
- #: .././admin/settings.php:997 .././admin/settings.php:1340
422
  msgid "Client Secret:"
423
  msgstr "Client Secret:"
424
 
425
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
426
  msgid "Clear Authorization"
427
  msgstr "Effacer autorisation"
428
 
429
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
430
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
431
  msgid "Clear Cache"
432
  msgstr "Effacer Cache"
433
 
434
- #: .././admin/settings.php:1022
435
  msgid "Reset Errors"
436
  msgstr ""
437
 
438
- #: .././admin/settings.php:1028 .././admin/setup.php:73
439
- #: .././admin/setup.php:109
440
  msgid "General Settings"
441
  msgstr "Réglages Généraux"
442
 
443
- #: .././admin/settings.php:1031
444
  msgid "Select Domain:"
445
  msgstr ""
446
 
447
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
448
  msgid "Property not found"
449
  msgstr ""
450
 
451
- #: .././admin/settings.php:1049
452
  msgid "and/or hide all other domains"
453
  msgstr "et/ou masquer tous les autres domaines"
454
 
455
- #: .././admin/settings.php:1052
456
  msgid "Hide Now"
457
  msgstr "Cacher Maintenant"
458
 
459
- #: .././admin/settings.php:1071
460
  msgid "Theme Color:"
461
  msgstr ""
462
 
463
- #: .././admin/settings.php:1081
464
  msgid "Automatic Updates"
465
  msgstr ""
466
 
467
- #: .././admin/settings.php:1097
468
  msgid ""
469
- "automatic updates for minor versions (security and maintainance releases "
470
- "only)"
471
  msgstr ""
472
 
473
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
474
- #: .././admin/widgets.php:38
475
  msgid "Authorize Plugin"
476
  msgstr "autoriser le plugin"
477
 
478
- #: .././admin/settings.php:1192
479
  msgid "Properties refreshed."
480
  msgstr "Propriétés rafraîchies."
481
 
482
- #: .././admin/settings.php:1278
483
  msgid "Network Setup"
484
  msgstr "Configuration du réseau"
485
 
486
- #: .././admin/settings.php:1293
487
- msgid " use a single Google Analytics account for the entire network"
488
- msgstr "utiliser un seul compte Google Analytics pour l&#39;ensemble du réseau"
489
 
490
- #: .././admin/settings.php:1365
491
  msgid "Refresh Properties"
492
  msgstr "Propriétés Actualisées"
493
 
494
- #: .././admin/settings.php:1371
495
  msgid "Properties/Views Settings"
496
  msgstr "Propriétés/Paramètres Vues"
497
 
498
- #: .././admin/settings.php:1419
499
- msgid " exclude Super Admin tracking for the entire network"
500
  msgstr ""
501
 
502
- #: .././admin/settings.php:1471
503
  msgid "Setup Tutorial & Demo"
504
  msgstr "Configuration Tutorial et Démo"
505
 
506
- #: .././admin/settings.php:1483
507
  msgid "Support & Reviews"
508
  msgstr "Support & avis"
509
 
510
- #: .././admin/settings.php:1491
511
- msgid "Plugin documentation and support on"
 
512
  msgstr ""
513
 
514
- #: .././admin/settings.php:1498
515
- msgid "Your feedback and review are both important,"
516
- msgstr "Vos commentaires et avis sont importants,"
 
517
 
518
- #: .././admin/settings.php:1498
519
  msgid "rate this plugin"
520
  msgstr "évaluer ce plugin"
521
 
522
- #: .././admin/settings.php:1503
523
  msgid "Further Reading"
524
  msgstr "Lectures complémentaires"
525
 
526
- #: .././admin/settings.php:1511
527
- msgid "Improve search rankings"
 
528
  msgstr ""
529
 
530
- #: .././admin/settings.php:1511
531
- msgid "by moving your website to HTTPS/SSL."
532
  msgstr ""
533
 
534
- #: .././admin/settings.php:1518
535
- msgid "Other"
536
- msgstr "Autres"
 
537
 
538
- #: .././admin/settings.php:1518
539
  msgid "WordPress Plugins"
540
  msgstr "Plugin Wordpress"
541
 
542
- #: .././admin/settings.php:1518
543
- msgid "written by the same author"
544
- msgstr "écrit par le même auteur"
545
-
546
- #: .././admin/settings.php:1523
547
  msgid "Other Services"
548
  msgstr ""
549
 
550
- #: .././admin/settings.php:1531
551
- msgid "Speed up your website and plug into a whole"
 
552
  msgstr ""
553
 
554
- #: .././admin/settings.php:1531
555
  msgid "new level of site speed"
556
  msgstr ""
557
 
558
- #: .././admin/settings.php:1538
 
 
 
 
 
559
  msgid "Web Analytics"
560
  msgstr "Web Analytics"
561
 
562
- #: .././admin/settings.php:1538
563
- msgid "service with users tracking at IP level."
564
- msgstr ""
565
-
566
- #: .././admin/setup.php:69 .././admin/setup.php:105
567
  msgid "Google Analytics"
568
  msgstr "Google Analytics"
569
 
570
- #: .././admin/setup.php:77
571
  msgid "Backend Settings"
572
  msgstr "Réglages B.O"
573
 
574
- #: .././admin/setup.php:81
575
  msgid "Frontend Settings"
576
  msgstr "Réglages F.O"
577
 
578
- #: .././admin/setup.php:85
579
  msgid "Tracking Code"
580
  msgstr "Code de Tracking"
581
 
582
- #: .././admin/setup.php:190 .././admin/widgets.php:123
583
  msgid "Today"
584
  msgstr "Aujourd&#39;hui"
585
 
586
- #: .././admin/setup.php:191 .././admin/widgets.php:125
587
  msgid "Yesterday"
588
  msgstr "Hier"
589
 
590
- #: .././admin/setup.php:192 .././admin/widgets.php:127
591
- #: .././front/widgets.php:68 .././front/widgets.php:176
592
  msgid "Last 7 Days"
593
  msgstr "7 Derniers Jours"
594
 
595
- #: .././admin/setup.php:193 .././admin/widgets.php:131
596
- #: .././front/widgets.php:74 .././front/widgets.php:178
597
  msgid "Last 30 Days"
598
  msgstr "30 Derniers Jours"
599
 
600
- #: .././admin/setup.php:194 .././admin/widgets.php:133
601
  msgid "Last 90 Days"
602
  msgstr "90 Derniers Jours"
603
 
604
- #: .././admin/setup.php:197 .././admin/setup.php:213
605
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
606
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
607
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
608
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
609
- msgid "Sessions"
610
  msgstr ""
611
 
612
- #: .././admin/setup.php:198 .././admin/setup.php:214
613
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
614
- #: .././tools/gapi.php:372
615
  msgid "Users"
616
  msgstr ""
617
 
618
- #: .././admin/setup.php:199 .././admin/widgets.php:142
619
  msgid "Organic"
620
  msgstr "Organique"
621
 
622
- #: .././admin/setup.php:200 .././admin/setup.php:215
623
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
624
- #: .././tools/gapi.php:375
625
  msgid "Page Views"
626
  msgstr "Pages vues"
627
 
628
- #: .././admin/setup.php:201 .././admin/setup.php:216
629
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
630
- #: .././tools/gapi.php:378
631
  msgid "Bounce Rate"
632
  msgstr "Taux de Rebond"
633
 
634
- #: .././admin/setup.php:202 .././admin/widgets.php:148
635
  msgid "Location"
636
  msgstr ""
637
 
638
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
639
  msgid "Referrers"
640
  msgstr ""
641
 
642
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
643
- #: .././tools/gapi.php:898
644
  msgid "Searches"
645
  msgstr ""
646
 
647
- #: .././admin/setup.php:205 .././admin/widgets.php:156
648
  msgid "Traffic Details"
649
  msgstr ""
650
 
651
- #: .././admin/setup.php:208 .././admin/widgets.php:522
652
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
653
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
654
  msgid "A JavaScript Error is blocking plugin resources!"
655
  msgstr ""
656
 
657
- #: .././admin/setup.php:209 .././admin/widgets.php:724
658
  msgid "Traffic Mediums"
659
  msgstr ""
660
 
661
- #: .././admin/setup.php:210 .././admin/widgets.php:740
662
  msgid "Visitor Type"
663
  msgstr ""
664
 
665
- #: .././admin/setup.php:211 .././admin/widgets.php:756
666
  msgid "Social Networks"
667
  msgstr ""
668
 
669
- #: .././admin/setup.php:212 .././admin/widgets.php:772
670
  msgid "Search Engines"
671
  msgstr ""
672
 
673
- #: .././admin/setup.php:217 .././admin/widgets.php:897
674
  msgid "Organic Search"
675
  msgstr ""
676
 
677
- #: .././admin/setup.php:218 .././admin/widgets.php:901
678
  msgid "Pages/Session"
679
  msgstr ""
680
 
681
- #: .././admin/setup.php:219 .././admin/widgets.php:535
682
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
683
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
684
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
685
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
686
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
687
- #: .././front/item-reports.php:115
688
  msgid "Invalid response, more details in JavaScript Console (F12)."
689
  msgstr ""
690
 
691
- #: .././admin/setup.php:220
692
  msgid "Not enough data collected"
693
  msgstr ""
694
 
695
- #: .././admin/setup.php:221 .././admin/widgets.php:540
696
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
697
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
698
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
699
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
700
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
701
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
702
- #: .././front/widgets.php:104
703
  msgid "This report is unavailable"
704
  msgstr ""
705
 
706
- #: .././admin/setup.php:222
707
  msgid "report generated by"
708
  msgstr ""
709
 
710
- #: .././admin/setup.php:260
711
  msgid "Settings"
712
  msgstr "Réglages"
713
 
714
- #: .././admin/widgets.php:27 .././front/widgets.php:14
715
  msgid "Google Analytics Dashboard"
716
  msgstr "Tableau de Bord Google Analytics"
717
 
718
- #: .././admin/widgets.php:38
719
  msgid "This plugin needs an authorization:"
720
  msgstr "Ce plugin a besoin d&#39;une autorisation:"
721
 
722
- #: .././admin/widgets.php:72
723
  msgid "Something went wrong while retrieving profiles list."
724
  msgstr ""
725
  "Quelque chose s&#39;est mal passé lors de la récupération de la liste des "
726
  "profils."
727
 
728
- #: .././admin/widgets.php:72
729
  msgid "More details"
730
  msgstr "Plus de Détails"
731
 
732
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
733
  msgid "An admin should asign a default Google Analytics Profile."
734
  msgstr "Un administrateur doit assigner un profil Google Analytics par défaut."
735
 
736
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
737
  msgid "Select Domain"
738
  msgstr "Sélectionner un Domaine"
739
 
740
- #: .././admin/widgets.php:101
741
  msgid ""
742
  "Something went wrong while retrieving property data. You need to create and "
743
  "properly configure a Google Analytics account:"
@@ -746,178 +729,254 @@ msgstr ""
746
  "propriété. Vous devez créer et configurer correctement un compte Google "
747
  "Analytics:"
748
 
749
- #: .././admin/widgets.php:101
750
  msgid "Find out more!"
751
  msgstr "En savoir plus!"
752
 
753
- #: .././admin/widgets.php:122
754
  msgid "Real-Time"
755
  msgstr "Temps-Réel"
756
 
757
- #: .././admin/widgets.php:129 .././front/widgets.php:71
758
- #: .././front/widgets.php:177
759
  msgid "Last 14 Days"
760
  msgstr "14 Derniers Jours"
761
 
762
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
763
  msgid "Pages"
764
  msgstr ""
765
 
766
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
767
  msgid "REFERRAL"
768
  msgstr "RENVOI"
769
 
770
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
771
  msgid "ORGANIC"
772
  msgstr "ORGANIQUE"
773
 
774
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
775
- #: .././admin/widgets.php:486
776
  msgid "SOCIAL"
777
  msgstr "SOCIAL"
778
 
779
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
780
- #: .././admin/widgets.php:487
781
  msgid "CAMPAIGN"
782
  msgstr ""
783
 
784
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
785
- #: .././admin/widgets.php:490
786
  msgid "DIRECT"
787
  msgstr "DIRECT"
788
 
789
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
790
  msgid "NEW"
791
  msgstr "NOUVEAU"
792
 
793
- #: .././admin/widgets.php:366
794
  msgid "REFERRALS"
795
  msgstr "RÉFÉRENCES"
796
 
797
- #: .././admin/widgets.php:369
798
  msgid "KEYWORDS"
799
  msgstr "MOTS-CLÉS"
800
 
801
- #: .././front/item-reports.php:130
802
  msgid "Views vs UniqueViews"
803
  msgstr "Vues VS Unique Vues"
804
 
805
- #: .././front/item-reports.php:180
806
  msgid "Google Analytics Reports"
807
  msgstr ""
808
 
809
- #: .././front/widgets.php:15
810
  msgid "Will display your google analytics stats in a widget"
811
  msgstr "Affichera vos statistiques Google Analytics dans un widget"
812
 
813
- #: .././front/widgets.php:40 .././tools/gapi.php:803
814
  msgid "trend"
815
  msgstr ""
816
 
817
- #: .././front/widgets.php:127
818
  msgid "Period:"
819
  msgstr "Période:"
820
 
821
- #: .././front/widgets.php:127
822
  msgid "Sessions:"
823
  msgstr ""
824
 
825
- #: .././front/widgets.php:131
826
  msgid "generated by"
827
  msgstr "générée par"
828
 
829
- #: .././front/widgets.php:141
830
  msgid "Google Analytics Stats"
831
  msgstr "Google Analytics Statistiques"
832
 
833
- #: .././front/widgets.php:148
834
  msgid "Title:"
835
  msgstr "Titre:"
836
 
837
- #: .././front/widgets.php:155
838
  msgid "Display:"
839
  msgstr "Affichage:"
840
 
841
- #: .././front/widgets.php:159
842
  msgid "Chart & Totals"
843
  msgstr "Graphique & Totaux"
844
 
845
- #: .././front/widgets.php:160
846
  msgid "Chart"
847
  msgstr "raphique"
848
 
849
- #: .././front/widgets.php:161
850
  msgid "Totals"
851
  msgstr "Totaux"
852
 
853
- #: .././front/widgets.php:165
854
  msgid "Anonymize stats:"
855
  msgstr ""
856
 
857
- #: .././front/widgets.php:172
858
  msgid "Stats for:"
859
  msgstr "Statistiques pour:"
860
 
861
- #: .././front/widgets.php:182
862
  msgid "Give credits:"
863
  msgstr "Accorder des crédits:"
864
 
865
- #: .././tools/gapi.php:128
 
 
 
 
866
  msgid "Use this link to get your access code:"
867
  msgstr "Utilisez ce lien pour obtenir votre code d&#39;accès:"
868
 
869
- #: .././tools/gapi.php:128
870
  msgid "Get Access Code"
871
  msgstr "Obtenir le code d&#39;accès"
872
 
873
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
874
  msgid "Use the red link to get your access code!"
875
  msgstr ""
876
 
877
- #: .././tools/gapi.php:133
878
  msgid "Access Code:"
879
  msgstr "Code d&#39;Accès:"
880
 
881
- #: .././tools/gapi.php:145
882
  msgid "Save Access Code"
883
  msgstr "Sauver le Code d&#39;Accès"
884
 
885
- #: .././tools/gapi.php:381
886
  msgid "Organic Searches"
887
  msgstr "Recherches Organique"
888
 
889
- #: .././tools/gapi.php:389
 
 
 
 
890
  msgid "Hour"
891
  msgstr "Heure"
892
 
893
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
894
  msgid "Date"
895
  msgstr "Date"
896
 
897
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
898
  msgid "Views"
899
  msgstr "Vues"
900
 
901
- #: .././tools/gapi.php:617
902
  msgid "Countries"
903
  msgstr ""
904
 
905
- #: .././tools/gapi.php:626
906
  msgid "Cities from"
907
  msgstr ""
908
 
909
- #: .././tools/gapi.php:698
910
  msgid "Channels"
911
  msgstr ""
912
 
913
- #: .././tools/gapi.php:761
914
  msgid "Type"
915
  msgstr "Type"
916
 
917
- #: .././tools/gapi.php:856
918
  msgid "UniqueViews"
919
  msgstr "Unique vues"
920
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
921
  #~ msgid "Google Analytics Dashboard Settings"
922
  #~ msgstr "Paramètres du tableau de bord Google Analytics"
923
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
+ "Language-Team: Alin Marcu\n"
10
  "Language: fr_FR\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
  msgstr ""
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
  msgstr ""
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
  msgstr "Tricher Hein?"
40
 
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
  msgstr ""
47
 
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr ""
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
  msgstr "autoriser le plugin"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
  msgstr "Google Analytics Paramètres Frontend"
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
+ msgstr ""
69
+
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr ""
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
  msgid "Permissions"
77
  msgstr ""
78
 
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
  msgstr ""
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
  msgstr ""
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
+ msgstr ""
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr ""
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
  msgstr ""
100
 
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
104
+ msgstr ""
105
 
106
+ #: .././admin/settings.php:272
107
+ msgid "enable Switch Profile/View functionality"
108
  msgstr ""
109
 
110
+ #: .././admin/settings.php:283
111
+ msgid "enable reports on Posts List and Pages List"
112
  msgstr ""
113
 
114
+ #: .././admin/settings.php:294
115
+ msgid "enable the main Dashboard Widget"
116
+ msgstr ""
117
+
118
+ #: .././admin/settings.php:298
119
  msgid "Real-Time Settings"
120
  msgstr "Paramètres Temps-Réel"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr "Nombre maximum de pages à afficher sur l&#39;onglet en temps réel:"
125
 
126
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
127
  msgid "Location Settings"
128
  msgstr ""
129
 
130
+ #: .././admin/settings.php:310
131
  msgid "Target Geo Map to country:"
132
  msgstr ""
133
 
134
+ #: .././admin/settings.php:347
135
+ msgid ""
136
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
137
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
138
  msgstr ""
139
 
140
+ #: .././admin/settings.php:352
 
 
 
 
141
  msgid "Google Analytics Tracking Code"
142
  msgstr "Google Analytics Tracking Code"
143
 
144
+ #: .././admin/settings.php:361
145
  msgid "Basic Settings"
146
  msgstr ""
147
 
148
+ #: .././admin/settings.php:362 .././admin/settings.php:429
149
  msgid "Events Tracking"
150
  msgstr "Suivi des événements"
151
 
152
+ #: .././admin/settings.php:363 .././admin/settings.php:477
153
  msgid "Custom Definitions"
154
  msgstr ""
155
 
156
+ #: .././admin/settings.php:364 .././admin/settings.php:575
157
+ #: .././admin/settings.php:1235
158
  msgid "Exclude Tracking"
159
  msgstr "Exclure Tracking"
160
 
161
+ #: .././admin/settings.php:365
162
  msgid "Advanced Settings"
163
  msgstr ""
164
 
165
+ #: .././admin/settings.php:369
166
+ #, php-format
167
+ msgid "For more information about Tracking Options read %s."
168
+ msgstr ""
169
+
170
+ #: .././admin/settings.php:374
171
  msgid "Tracking Settings"
172
  msgstr "Paramètres de suivi"
173
 
174
+ #: .././admin/settings.php:377
175
  msgid "Tracking Options:"
176
  msgstr ""
177
 
178
+ #: .././admin/settings.php:379
179
  msgid "Disabled"
180
  msgstr "Désactive"
181
 
182
+ #: .././admin/settings.php:380
183
+ msgid "Enabled"
184
+ msgstr "Active"
185
+
186
+ #: .././admin/settings.php:388 .././admin/settings.php:911
187
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
188
+ #: .././admin/widgets.php:72
189
  msgid "View Name:"
190
  msgstr "Nom de la vue:"
191
 
192
+ #: .././admin/settings.php:388 .././admin/settings.php:933
193
  msgid "Tracking ID:"
194
  msgstr "Suivi ID:"
195
 
196
+ #: .././admin/settings.php:388 .././admin/settings.php:933
197
  msgid "Default URL:"
198
  msgstr "URL par défaut:"
199
 
200
+ #: .././admin/settings.php:388 .././admin/settings.php:933
201
  msgid "Time Zone:"
202
  msgstr "Fuseau horaire:"
203
 
204
+ #: .././admin/settings.php:393
 
205
  msgid "Basic Tracking"
206
+ msgstr "Suivi de base"
207
 
208
+ #: .././admin/settings.php:396
209
  msgid "Tracking Type:"
210
  msgstr ""
211
 
212
+ #: .././admin/settings.php:398
213
  msgid "Classic Analytics"
214
  msgstr "Analytics classiques"
215
 
216
+ #: .././admin/settings.php:399
217
  msgid "Universal Analytics"
218
  msgstr "Universel Analytics"
219
 
220
+ #: .././admin/settings.php:410
221
+ msgid "anonymize IPs while tracking"
222
+ msgstr ""
223
 
224
+ #: .././admin/settings.php:421
225
+ msgid "enable remarketing, demographics and interests reports"
226
  msgstr ""
 
 
227
 
228
+ #: .././admin/settings.php:439
229
+ msgid "track downloads, mailto and outbound links"
230
+ msgstr ""
231
 
232
+ #: .././admin/settings.php:443
233
  #, fuzzy
234
  msgid "Downloads Regex:"
235
  msgstr "Filtres téléchargement:"
236
 
237
+ #: .././admin/settings.php:454
238
+ msgid "track affiliate links matching this regex"
239
  msgstr ""
240
 
241
+ #: .././admin/settings.php:458
242
  msgid "Affiliates Regex:"
243
  msgstr ""
244
 
245
+ #: .././admin/settings.php:469
246
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
247
  msgstr ""
248
 
249
+ #: .././admin/settings.php:480
250
  msgid "Authors:"
251
  msgstr ""
252
 
253
+ #: .././admin/settings.php:488
254
  msgid "Publication Year:"
255
  msgstr ""
256
 
257
+ #: .././admin/settings.php:496
258
  msgid "Categories:"
259
  msgstr ""
260
 
261
+ #: .././admin/settings.php:504
262
  msgid "User Type:"
263
  msgstr ""
264
 
265
+ #: .././admin/settings.php:516
266
  #, fuzzy
267
  msgid "Advanced Tracking"
268
  msgstr "Suivi des événements"
269
 
270
+ #: .././admin/settings.php:519
271
  msgid "Page Speed SR:"
272
  msgstr "Page Speed SR:"
273
 
274
+ #: .././admin/settings.php:530
275
+ msgid "exclude events from bounce-rate calculation"
276
+ msgstr ""
 
277
 
278
+ #: .././admin/settings.php:541
279
+ msgid "enable enhanced link attribution"
280
+ msgstr ""
281
 
282
+ #: .././admin/settings.php:552
283
+ msgid "enable AdSense account linking"
284
+ msgstr ""
285
 
286
+ #: .././admin/settings.php:563
287
+ msgid "enable cross domain tracking"
288
  msgstr ""
289
 
290
+ #: .././admin/settings.php:567
291
  msgid "Cross Domains:"
292
  msgstr ""
293
 
294
+ #: .././admin/settings.php:578
295
  msgid "Exclude tracking for:"
296
  msgstr ""
297
 
298
+ #: .././admin/settings.php:663
299
  msgid "Google Analytics Errors & Debugging"
300
  msgstr ""
301
 
302
+ #: .././admin/settings.php:673
303
  msgid "Errors & Details"
304
  msgstr ""
305
 
306
+ #: .././admin/settings.php:674
307
  msgid "Plugin Settings"
308
  msgstr ""
309
 
310
+ #: .././admin/settings.php:682
311
+ #, php-format
312
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
313
  msgstr ""
314
 
315
+ #: .././admin/settings.php:687
316
  msgid "Last Error detected"
317
  msgstr ""
318
 
319
+ #: .././admin/settings.php:693 .././admin/settings.php:706
320
  msgid "None"
321
  msgstr ""
322
 
323
+ #: .././admin/settings.php:700
324
  msgid "Error Details"
325
  msgstr ""
326
 
327
+ #: .././admin/settings.php:720
328
  msgid "Plugin Configuration"
329
  msgstr ""
330
 
331
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
332
  msgid ""
333
  "Loading the required libraries. If this results in a blank screen or a fatal "
334
  "error, try this solution:"
335
  msgstr ""
336
 
337
+ #: .././admin/settings.php:742
338
+ msgid "Library conflicts between WordPress plugins"
339
+ msgstr ""
340
+
341
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
342
  msgid "Plugin authorization succeeded."
343
  msgstr "Autorisation Plugin réussi."
344
 
345
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
349
  msgstr ""
350
 
351
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
352
  msgid "Cleared Cache."
353
  msgstr "Cache effacé."
354
 
355
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
356
  msgid "Token Reseted and Revoked."
357
  msgstr "Jeton remis à zéro et révoqué."
358
 
359
+ #: .././admin/settings.php:813
360
  msgid "All errors reseted."
361
  msgstr ""
362
 
363
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
364
  msgid "All other domains/properties were removed."
365
  msgstr "Tous les autres domaines/propriétés ont été retirés."
366
 
367
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
368
  msgid "Google Analytics Settings"
369
  msgstr "Réglages Google analytics"
370
 
371
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
372
  msgid "Use the red link (see below) to generate and get your access code!"
373
  msgstr ""
374
 
375
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
376
  msgid "Plugin Authorization"
377
  msgstr "Autorisation Plugin"
378
 
379
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
380
+ #, php-format
381
+ msgid ""
382
+ "You should watch the %1$s and read this %2$s before proceeding to "
383
+ "authorization. This plugin requires a properly configured Google Analytics "
384
+ "account!"
385
+ msgstr ""
386
 
387
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
388
  msgid "video"
389
  msgstr "video"
390
 
391
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
392
  msgid "tutorial"
393
  msgstr "Tutoriel"
394
 
395
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
396
+ msgid "use your own API Project credentials"
 
 
 
 
 
 
 
 
397
  msgstr ""
 
 
398
 
399
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
400
  msgid "API Key:"
401
  msgstr "Clé API:"
402
 
403
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
404
  msgid "Client ID:"
405
  msgstr "Client ID:"
406
 
407
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
408
  msgid "Client Secret:"
409
  msgstr "Client Secret:"
410
 
411
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
412
  msgid "Clear Authorization"
413
  msgstr "Effacer autorisation"
414
 
415
+ #: .././admin/settings.php:895 .././admin/settings.php:971
416
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
417
  msgid "Clear Cache"
418
  msgstr "Effacer Cache"
419
 
420
+ #: .././admin/settings.php:895
421
  msgid "Reset Errors"
422
  msgstr ""
423
 
424
+ #: .././admin/settings.php:901 .././admin/setup.php:80
425
+ #: .././admin/setup.php:115
426
  msgid "General Settings"
427
  msgstr "Réglages Généraux"
428
 
429
+ #: .././admin/settings.php:904
430
  msgid "Select Domain:"
431
  msgstr ""
432
 
433
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
434
  msgid "Property not found"
435
  msgstr ""
436
 
437
+ #: .././admin/settings.php:920
438
  msgid "and/or hide all other domains"
439
  msgstr "et/ou masquer tous les autres domaines"
440
 
441
+ #: .././admin/settings.php:921
442
  msgid "Hide Now"
443
  msgstr "Cacher Maintenant"
444
 
445
+ #: .././admin/settings.php:939
446
  msgid "Theme Color:"
447
  msgstr ""
448
 
449
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
450
  msgid "Automatic Updates"
451
  msgstr ""
452
 
453
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
454
  msgid ""
455
+ "automatic updates for minor versions (security and maintenance releases only)"
 
456
  msgstr ""
457
 
458
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
459
+ #: .././admin/widgets.php:43
460
  msgid "Authorize Plugin"
461
  msgstr "autoriser le plugin"
462
 
463
+ #: .././admin/settings.php:1046
464
  msgid "Properties refreshed."
465
  msgstr "Propriétés rafraîchies."
466
 
467
+ #: .././admin/settings.php:1130
468
  msgid "Network Setup"
469
  msgstr "Configuration du réseau"
470
 
471
+ #: .././admin/settings.php:1140
472
+ msgid "use a single Google Analytics account for the entire network"
473
+ msgstr ""
474
 
475
+ #: .././admin/settings.php:1184
476
  msgid "Refresh Properties"
477
  msgstr "Propriétés Actualisées"
478
 
479
+ #: .././admin/settings.php:1190
480
  msgid "Properties/Views Settings"
481
  msgstr "Propriétés/Paramètres Vues"
482
 
483
+ #: .././admin/settings.php:1245
484
+ msgid "exclude Super Admin tracking for the entire network"
485
  msgstr ""
486
 
487
+ #: .././admin/settings.php:1290
488
  msgid "Setup Tutorial & Demo"
489
  msgstr "Configuration Tutorial et Démo"
490
 
491
+ #: .././admin/settings.php:1298
492
  msgid "Support & Reviews"
493
  msgstr "Support & avis"
494
 
495
+ #: .././admin/settings.php:1305
496
+ #, php-format
497
+ msgid "Plugin documentation and support on %s"
498
  msgstr ""
499
 
500
+ #: .././admin/settings.php:1312
501
+ #, php-format
502
+ msgid "Your feedback and review are both important, %s!"
503
+ msgstr ""
504
 
505
+ #: .././admin/settings.php:1312
506
  msgid "rate this plugin"
507
  msgstr "évaluer ce plugin"
508
 
509
+ #: .././admin/settings.php:1318
510
  msgid "Further Reading"
511
  msgstr "Lectures complémentaires"
512
 
513
+ #: .././admin/settings.php:1325
514
+ #, php-format
515
+ msgid "%s by moving your website to HTTPS/SSL."
516
  msgstr ""
517
 
518
+ #: .././admin/settings.php:1325
519
+ msgid "Improve search rankings"
520
  msgstr ""
521
 
522
+ #: .././admin/settings.php:1332
523
+ #, php-format
524
+ msgid "Other %s written by the same author"
525
+ msgstr ""
526
 
527
+ #: .././admin/settings.php:1332
528
  msgid "WordPress Plugins"
529
  msgstr "Plugin Wordpress"
530
 
531
+ #: .././admin/settings.php:1338
 
 
 
 
532
  msgid "Other Services"
533
  msgstr ""
534
 
535
+ #: .././admin/settings.php:1345
536
+ #, php-format
537
+ msgid "Speed up your website and plug into a whole %s"
538
  msgstr ""
539
 
540
+ #: .././admin/settings.php:1345
541
  msgid "new level of site speed"
542
  msgstr ""
543
 
544
+ #: .././admin/settings.php:1352
545
+ #, php-format
546
+ msgid "%s service with users tracking at IP level."
547
+ msgstr ""
548
+
549
+ #: .././admin/settings.php:1352
550
  msgid "Web Analytics"
551
  msgstr "Web Analytics"
552
 
553
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
554
  msgid "Google Analytics"
555
  msgstr "Google Analytics"
556
 
557
+ #: .././admin/setup.php:84
558
  msgid "Backend Settings"
559
  msgstr "Réglages B.O"
560
 
561
+ #: .././admin/setup.php:88
562
  msgid "Frontend Settings"
563
  msgstr "Réglages F.O"
564
 
565
+ #: .././admin/setup.php:92
566
  msgid "Tracking Code"
567
  msgstr "Code de Tracking"
568
 
569
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
570
  msgid "Today"
571
  msgstr "Aujourd&#39;hui"
572
 
573
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
574
  msgid "Yesterday"
575
  msgstr "Hier"
576
 
577
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
578
+ #: .././front/widgets.php:74 .././front/widgets.php:182
579
  msgid "Last 7 Days"
580
  msgstr "7 Derniers Jours"
581
 
582
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
583
+ #: .././front/widgets.php:80 .././front/widgets.php:184
584
  msgid "Last 30 Days"
585
  msgstr "30 Derniers Jours"
586
 
587
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
588
  msgid "Last 90 Days"
589
  msgstr "90 Derniers Jours"
590
 
591
+ #: .././admin/setup.php:203 .././admin/setup.php:219
592
+ msgid "Unique Views"
 
 
 
 
593
  msgstr ""
594
 
595
+ #: .././admin/setup.php:204 .././admin/setup.php:220
596
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
597
+ #: .././tools/gapi.php:382
598
  msgid "Users"
599
  msgstr ""
600
 
601
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
602
  msgid "Organic"
603
  msgstr "Organique"
604
 
605
+ #: .././admin/setup.php:206 .././admin/setup.php:221
606
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
607
+ #: .././tools/gapi.php:385
608
  msgid "Page Views"
609
  msgstr "Pages vues"
610
 
611
+ #: .././admin/setup.php:207 .././admin/setup.php:222
612
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
613
+ #: .././tools/gapi.php:388
614
  msgid "Bounce Rate"
615
  msgstr "Taux de Rebond"
616
 
617
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
618
  msgid "Location"
619
  msgstr ""
620
 
621
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
622
  msgid "Referrers"
623
  msgstr ""
624
 
625
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
626
+ #: .././tools/gapi.php:913
627
  msgid "Searches"
628
  msgstr ""
629
 
630
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
631
  msgid "Traffic Details"
632
  msgstr ""
633
 
634
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
635
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
636
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
637
  msgid "A JavaScript Error is blocking plugin resources!"
638
  msgstr ""
639
 
640
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
641
  msgid "Traffic Mediums"
642
  msgstr ""
643
 
644
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
645
  msgid "Visitor Type"
646
  msgstr ""
647
 
648
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
649
  msgid "Social Networks"
650
  msgstr ""
651
 
652
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
653
  msgid "Search Engines"
654
  msgstr ""
655
 
656
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
657
  msgid "Organic Search"
658
  msgstr ""
659
 
660
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
661
  msgid "Pages/Session"
662
  msgstr ""
663
 
664
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
665
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
666
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
667
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
668
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
669
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
670
+ #: .././front/item-reports.php:118
671
  msgid "Invalid response, more details in JavaScript Console (F12)."
672
  msgstr ""
673
 
674
+ #: .././admin/setup.php:226
675
  msgid "Not enough data collected"
676
  msgstr ""
677
 
678
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
679
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
680
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
681
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
682
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
683
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
684
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
685
+ #: .././front/widgets.php:110
686
  msgid "This report is unavailable"
687
  msgstr ""
688
 
689
+ #: .././admin/setup.php:228
690
  msgid "report generated by"
691
  msgstr ""
692
 
693
+ #: .././admin/setup.php:268
694
  msgid "Settings"
695
  msgstr "Réglages"
696
 
697
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
698
  msgid "Google Analytics Dashboard"
699
  msgstr "Tableau de Bord Google Analytics"
700
 
701
+ #: .././admin/widgets.php:43
702
  msgid "This plugin needs an authorization:"
703
  msgstr "Ce plugin a besoin d&#39;une autorisation:"
704
 
705
+ #: .././admin/widgets.php:77
706
  msgid "Something went wrong while retrieving profiles list."
707
  msgstr ""
708
  "Quelque chose s&#39;est mal passé lors de la récupération de la liste des "
709
  "profils."
710
 
711
+ #: .././admin/widgets.php:77
712
  msgid "More details"
713
  msgstr "Plus de Détails"
714
 
715
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
716
  msgid "An admin should asign a default Google Analytics Profile."
717
  msgstr "Un administrateur doit assigner un profil Google Analytics par défaut."
718
 
719
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
720
  msgid "Select Domain"
721
  msgstr "Sélectionner un Domaine"
722
 
723
+ #: .././admin/widgets.php:106
724
  msgid ""
725
  "Something went wrong while retrieving property data. You need to create and "
726
  "properly configure a Google Analytics account:"
729
  "propriété. Vous devez créer et configurer correctement un compte Google "
730
  "Analytics:"
731
 
732
+ #: .././admin/widgets.php:106
733
  msgid "Find out more!"
734
  msgstr "En savoir plus!"
735
 
736
+ #: .././admin/widgets.php:127
737
  msgid "Real-Time"
738
  msgstr "Temps-Réel"
739
 
740
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
741
+ #: .././front/widgets.php:183
742
  msgid "Last 14 Days"
743
  msgstr "14 Derniers Jours"
744
 
745
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
746
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
747
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
748
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
749
+ msgid "Sessions"
750
+ msgstr ""
751
+
752
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
753
  msgid "Pages"
754
  msgstr ""
755
 
756
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
757
  msgid "REFERRAL"
758
  msgstr "RENVOI"
759
 
760
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
761
  msgid "ORGANIC"
762
  msgstr "ORGANIQUE"
763
 
764
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
765
+ #: .././admin/widgets.php:491
766
  msgid "SOCIAL"
767
  msgstr "SOCIAL"
768
 
769
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
770
+ #: .././admin/widgets.php:492
771
  msgid "CAMPAIGN"
772
  msgstr ""
773
 
774
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
775
+ #: .././admin/widgets.php:495
776
  msgid "DIRECT"
777
  msgstr "DIRECT"
778
 
779
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
780
  msgid "NEW"
781
  msgstr "NOUVEAU"
782
 
783
+ #: .././admin/widgets.php:371
784
  msgid "REFERRALS"
785
  msgstr "RÉFÉRENCES"
786
 
787
+ #: .././admin/widgets.php:374
788
  msgid "KEYWORDS"
789
  msgstr "MOTS-CLÉS"
790
 
791
+ #: .././front/item-reports.php:133
792
  msgid "Views vs UniqueViews"
793
  msgstr "Vues VS Unique Vues"
794
 
795
+ #: .././front/item-reports.php:183
796
  msgid "Google Analytics Reports"
797
  msgstr ""
798
 
799
+ #: .././front/widgets.php:23
800
  msgid "Will display your google analytics stats in a widget"
801
  msgstr "Affichera vos statistiques Google Analytics dans un widget"
802
 
803
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
804
  msgid "trend"
805
  msgstr ""
806
 
807
+ #: .././front/widgets.php:133
808
  msgid "Period:"
809
  msgstr "Période:"
810
 
811
+ #: .././front/widgets.php:133
812
  msgid "Sessions:"
813
  msgstr ""
814
 
815
+ #: .././front/widgets.php:137
816
  msgid "generated by"
817
  msgstr "générée par"
818
 
819
+ #: .././front/widgets.php:147
820
  msgid "Google Analytics Stats"
821
  msgstr "Google Analytics Statistiques"
822
 
823
+ #: .././front/widgets.php:154
824
  msgid "Title:"
825
  msgstr "Titre:"
826
 
827
+ #: .././front/widgets.php:161
828
  msgid "Display:"
829
  msgstr "Affichage:"
830
 
831
+ #: .././front/widgets.php:165
832
  msgid "Chart & Totals"
833
  msgstr "Graphique & Totaux"
834
 
835
+ #: .././front/widgets.php:166
836
  msgid "Chart"
837
  msgstr "raphique"
838
 
839
+ #: .././front/widgets.php:167
840
  msgid "Totals"
841
  msgstr "Totaux"
842
 
843
+ #: .././front/widgets.php:171
844
  msgid "Anonymize stats:"
845
  msgstr ""
846
 
847
+ #: .././front/widgets.php:178
848
  msgid "Stats for:"
849
  msgstr "Statistiques pour:"
850
 
851
+ #: .././front/widgets.php:188
852
  msgid "Give credits:"
853
  msgstr "Accorder des crédits:"
854
 
855
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
856
+ msgid "This is not allowed, read the documentation!"
857
+ msgstr ""
858
+
859
+ #: .././tools/gapi.php:141
860
  msgid "Use this link to get your access code:"
861
  msgstr "Utilisez ce lien pour obtenir votre code d&#39;accès:"
862
 
863
+ #: .././tools/gapi.php:141
864
  msgid "Get Access Code"
865
  msgstr "Obtenir le code d&#39;accès"
866
 
867
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
868
  msgid "Use the red link to get your access code!"
869
  msgstr ""
870
 
871
+ #: .././tools/gapi.php:146
872
  msgid "Access Code:"
873
  msgstr "Code d&#39;Accès:"
874
 
875
+ #: .././tools/gapi.php:158
876
  msgid "Save Access Code"
877
  msgstr "Sauver le Code d&#39;Accès"
878
 
879
+ #: .././tools/gapi.php:391
880
  msgid "Organic Searches"
881
  msgstr "Recherches Organique"
882
 
883
+ #: .././tools/gapi.php:394
884
+ msgid "Unique Page Views"
885
+ msgstr ""
886
+
887
+ #: .././tools/gapi.php:402
888
  msgid "Hour"
889
  msgstr "Heure"
890
 
891
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
892
  msgid "Date"
893
  msgstr "Date"
894
 
895
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
896
  msgid "Views"
897
  msgstr "Vues"
898
 
899
+ #: .././tools/gapi.php:631
900
  msgid "Countries"
901
  msgstr ""
902
 
903
+ #: .././tools/gapi.php:641
904
  msgid "Cities from"
905
  msgstr ""
906
 
907
+ #: .././tools/gapi.php:713
908
  msgid "Channels"
909
  msgstr ""
910
 
911
+ #: .././tools/gapi.php:776
912
  msgid "Type"
913
  msgstr "Type"
914
 
915
+ #: .././tools/gapi.php:871
916
  msgid "UniqueViews"
917
  msgstr "Unique vues"
918
 
919
+ #~ msgid "about this feature"
920
+ #~ msgstr "sur cette fonction"
921
+
922
+ #~ msgid " show page searches (after each article)"
923
+ #~ msgstr "Afficher la page de recherche (après chaque article)"
924
+
925
+ #~ msgid " anonymize IPs while tracking"
926
+ #~ msgstr "anonymiser IP tout en suivant"
927
+
928
+ #~ msgid " enable remarketing, demographics and interests reports"
929
+ #~ msgstr ""
930
+ #~ "permettre remarketing, les données démographiques et les rapports d&#39;"
931
+ #~ "intérêts"
932
+
933
+ #~ msgid " track downloads, mailto and outbound links"
934
+ #~ msgstr "téléchargement de titres, mailto et liens sortants"
935
+
936
+ #, fuzzy
937
+ #~ msgid " exclude events from bounce-rate calculation"
938
+ #~ msgstr " exclude the event hit from bounce-rate calculation"
939
+
940
+ #~ msgid " enable enhanced link attribution"
941
+ #~ msgstr "permettre une meilleure liaison attribution"
942
+
943
+ #~ msgid " enable AdSense account linking"
944
+ #~ msgstr "Permettre la liaison avec votre compte Adsense"
945
+
946
+ #~ msgid " use your own API Project credentials"
947
+ #~ msgstr ""
948
+ #~ "utiliser vos propres informations d&#39;identification de projets de "
949
+ #~ "l&#39;API"
950
+
951
+ #~ msgid " use a single Google Analytics account for the entire network"
952
+ #~ msgstr ""
953
+ #~ "utiliser un seul compte Google Analytics pour l&#39;ensemble du réseau"
954
+
955
+ #~ msgid "disable Switch Profile/View functionality"
956
+ #~ msgstr "désactiver Changer Profil/Voir fonctionnalité"
957
+
958
+ #~ msgid "You should watch the"
959
+ #~ msgstr "Vous devriez regarder la"
960
+
961
+ #~ msgid "and read this"
962
+ #~ msgstr "et lire ce"
963
+
964
+ #~ msgid ""
965
+ #~ "before proceeding to authorization. This plugin requires a properly "
966
+ #~ "configured Google Analytics account"
967
+ #~ msgstr ""
968
+ #~ "avant de procéder à l&#39;autorisation. Ce plugin nécessite un compte "
969
+ #~ "Google Analytics correctement configuré"
970
+
971
+ #~ msgid "Your feedback and review are both important,"
972
+ #~ msgstr "Vos commentaires et avis sont importants,"
973
+
974
+ #~ msgid "Other"
975
+ #~ msgstr "Autres"
976
+
977
+ #~ msgid "written by the same author"
978
+ #~ msgstr "écrit par le même auteur"
979
+
980
  #~ msgid "Google Analytics Dashboard Settings"
981
  #~ msgstr "Paramètres du tableau de bord Google Analytics"
982
 
languages/ga-dash-hu_HU.mo DELETED
Binary file
languages/ga-dash-hu_HU.po CHANGED
@@ -1,739 +1,728 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP 4.2.20\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
  "Language: hu_HU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr ""
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
 
43
  msgstr ""
44
 
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
49
  msgid "Errors & Debug"
50
  msgstr ""
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "bővítményt engedélyezni"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Google Analytics weblap beállítások"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
- msgstr "oldal keresések mutatása (minden cikk után)"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
  msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "Profil/Nézet Kapcsoló letiltása"
 
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
 
 
 
 
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
107
  msgid "Real-Time Settings"
108
  msgstr "Valós idejű beállítások"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr "Maximális oldalszám megjelenítése a valós idejű fülön:"
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
- msgstr ""
117
-
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
- msgstr "erről a szolgáltatásról"
121
-
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr ""
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr ""
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr ""
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr ""
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
  msgstr ""
141
 
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
- msgstr "Engedélyezve"
145
-
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr "Google Analytics követőkód"
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr ""
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr "Események követése"
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr ""
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr "Követés kizárás"
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr ""
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
  msgstr "Követési beállítások"
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr "Letiltva"
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr "Név:"
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
  msgstr "Követési azonosító:"
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr "Alapértelmezett webcím:"
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr "Időzóna:"
200
 
201
- #: .././admin/settings.php:430
202
  #, fuzzy
203
  msgid "Basic Tracking"
204
  msgstr "Események követése"
205
 
206
- #: .././admin/settings.php:433
207
  msgid "Tracking Type:"
208
  msgstr ""
209
 
210
- #: .././admin/settings.php:437
211
  msgid "Classic Analytics"
212
  msgstr "Klasszikus Analytics"
213
 
214
- #: .././admin/settings.php:439
215
  msgid "Universal Analytics"
216
  msgstr "Univerzális Analytics"
217
 
218
- #: .././admin/settings.php:453
219
- msgid " anonymize IPs while tracking"
220
- msgstr "nyomon követés közben IP anonimizálása"
221
 
222
- #: .././admin/settings.php:468
223
- msgid " enable remarketing, demographics and interests reports"
224
- msgstr "lehetővé remarketing, demográfia és érdeklődés jelentések"
225
 
226
- #: .././admin/settings.php:490
227
- msgid " track downloads, mailto and outbound links"
228
- msgstr "letöltések, mailto és kimenő linkek követése"
229
 
230
- #: .././admin/settings.php:494
231
  #, fuzzy
232
  msgid "Downloads Regex:"
233
  msgstr "Letöltés szűrők:"
234
 
235
- #: .././admin/settings.php:511
236
- msgid " track affiliate links matching this regex"
237
  msgstr ""
238
 
239
- #: .././admin/settings.php:515
240
  msgid "Affiliates Regex:"
241
  msgstr ""
242
 
243
- #: .././admin/settings.php:532
244
- msgid " track fragment identifiers, hashmarks (#) in URI links"
245
  msgstr ""
246
 
247
- #: .././admin/settings.php:543
248
  msgid "Authors:"
249
  msgstr ""
250
 
251
- #: .././admin/settings.php:553
252
  msgid "Publication Year:"
253
  msgstr ""
254
 
255
- #: .././admin/settings.php:563
256
  msgid "Categories:"
257
  msgstr ""
258
 
259
- #: .././admin/settings.php:573
260
  msgid "User Type:"
261
  msgstr ""
262
 
263
- #: .././admin/settings.php:587
264
  #, fuzzy
265
  msgid "Advanced Tracking"
266
  msgstr "Események követése"
267
 
268
- #: .././admin/settings.php:590
269
  #, fuzzy
270
  msgid "Page Speed SR:"
271
  msgstr "Oldal / látogató"
272
 
273
- #: .././admin/settings.php:608
274
- msgid " exclude events from bounce-rate calculation"
275
  msgstr ""
276
 
277
- #: .././admin/settings.php:623
278
- msgid " enable enhanced link attribution"
279
- msgstr "kibővített link tulajdonság engedélyezése"
280
 
281
- #: .././admin/settings.php:637
282
- msgid " enable AdSense account linking"
283
  msgstr ""
284
 
285
- #: .././admin/settings.php:653
286
- msgid " enable cross domain tracking"
287
  msgstr ""
288
 
289
- #: .././admin/settings.php:657
290
  msgid "Cross Domains:"
291
  msgstr ""
292
 
293
- #: .././admin/settings.php:671
294
  msgid "Exclude tracking for:"
295
  msgstr ""
296
 
297
- #: .././admin/settings.php:741
298
  msgid "Google Analytics Errors & Debugging"
299
  msgstr ""
300
 
301
- #: .././admin/settings.php:751
302
  msgid "Errors & Details"
303
  msgstr ""
304
 
305
- #: .././admin/settings.php:752
306
  msgid "Plugin Settings"
307
  msgstr ""
308
 
309
- #: .././admin/settings.php:760
310
- msgid "For errors and/or other issues please check"
311
- msgstr ""
312
-
313
- #: .././admin/settings.php:760
314
- msgid "this documentation page"
315
- msgstr ""
316
-
317
- #: .././admin/settings.php:760
318
- msgid "and related tutorials"
319
  msgstr ""
320
 
321
- #: .././admin/settings.php:764
322
  msgid "Last Error detected"
323
  msgstr ""
324
 
325
- #: .././admin/settings.php:769 .././admin/settings.php:782
326
  msgid "None"
327
  msgstr ""
328
 
329
- #: .././admin/settings.php:776
330
  msgid "Error Details"
331
  msgstr ""
332
 
333
- #: .././admin/settings.php:796
334
  msgid "Plugin Configuration"
335
  msgstr ""
336
 
337
- #: .././admin/settings.php:840 .././admin/settings.php:1149
338
  msgid ""
339
  "Loading the required libraries. If this results in a blank screen or a fatal "
340
  "error, try this solution:"
341
  msgstr ""
342
 
343
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
344
  msgid "Plugin authorization succeeded."
345
  msgstr "Bővítmény engedélyezése sikeres."
346
 
347
- #: .././admin/settings.php:868 .././admin/settings.php:1186
348
  msgid ""
349
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
350
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
351
  msgstr ""
352
 
353
- #: .././admin/settings.php:891 .././admin/settings.php:1218
354
  msgid "Cleared Cache."
355
  msgstr "Cache kiűrítve."
356
 
357
- #: .././admin/settings.php:900 .././admin/settings.php:1227
358
  msgid "Token Reseted and Revoked."
359
  msgstr "Token visszaállítva és visszavonva."
360
 
361
- #: .././admin/settings.php:910
362
  msgid "All errors reseted."
363
  msgstr ""
364
 
365
- #: .././admin/settings.php:923 .././admin/settings.php:1241
366
  msgid "All other domains/properties were removed."
367
  msgstr "Összes többi domain/tulajdon eltávolításra került."
368
 
369
- #: .././admin/settings.php:935 .././admin/settings.php:1253
370
  msgid "Google Analytics Settings"
371
  msgstr "Google Analytics beállítások"
372
 
373
- #: .././admin/settings.php:948 .././admin/settings.php:1266
374
  msgid "Use the red link (see below) to generate and get your access code!"
375
  msgstr ""
376
 
377
- #: .././admin/settings.php:959 .././admin/settings.php:1301
378
  msgid "Plugin Authorization"
379
  msgstr "Bővítmény engedélyezés"
380
 
381
- #: .././admin/settings.php:963 .././admin/settings.php:1305
382
- msgid "You should watch the"
383
- msgstr "Kérjük, nézze meg ezt a"
 
 
 
 
384
 
385
- #: .././admin/settings.php:963 .././admin/settings.php:1305
386
  msgid "video"
387
  msgstr "videót"
388
 
389
- #: .././admin/settings.php:963 .././admin/settings.php:1305
390
- msgid "and read this"
391
- msgstr "és olvassa el ezt az"
392
-
393
- #: .././admin/settings.php:963 .././admin/settings.php:1305
394
  msgid "tutorial"
395
  msgstr "oktatói anyagot"
396
 
397
- #: .././admin/settings.php:963 .././admin/settings.php:1305
398
- msgid ""
399
- "before proceeding to authorization. This plugin requires a properly "
400
- "configured Google Analytics account"
401
  msgstr ""
402
- "mielőtt engedélyezné. Ezt a bővítményt csak helyesen beállított Google "
403
- "Analytics fiókkal lehet használni"
404
-
405
- #: .././admin/settings.php:975 .././admin/settings.php:1316
406
- msgid " use your own API Project credentials"
407
- msgstr "használja a saját API Project hitelesítő adatait"
408
 
409
- #: .././admin/settings.php:982 .././admin/settings.php:1323
410
  msgid "API Key:"
411
  msgstr "API key:"
412
 
413
- #: .././admin/settings.php:989 .././admin/settings.php:1331
414
  msgid "Client ID:"
415
  msgstr "Client ID:"
416
 
417
- #: .././admin/settings.php:997 .././admin/settings.php:1340
418
  msgid "Client Secret:"
419
  msgstr "Client Secret:"
420
 
421
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
422
  msgid "Clear Authorization"
423
  msgstr "Engedélyezés törlése"
424
 
425
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
426
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
427
  msgid "Clear Cache"
428
  msgstr "Cache ürítése"
429
 
430
- #: .././admin/settings.php:1022
431
  msgid "Reset Errors"
432
  msgstr ""
433
 
434
- #: .././admin/settings.php:1028 .././admin/setup.php:73
435
- #: .././admin/setup.php:109
436
  msgid "General Settings"
437
  msgstr "Általános beállítások"
438
 
439
- #: .././admin/settings.php:1031
440
  msgid "Select Domain:"
441
  msgstr ""
442
 
443
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
444
  msgid "Property not found"
445
  msgstr ""
446
 
447
- #: .././admin/settings.php:1049
448
  msgid "and/or hide all other domains"
449
  msgstr "és/vagy az összes többi domain eltüntetése"
450
 
451
- #: .././admin/settings.php:1052
452
  msgid "Hide Now"
453
  msgstr "Elrejtés most"
454
 
455
- #: .././admin/settings.php:1071
456
  msgid "Theme Color:"
457
  msgstr ""
458
 
459
- #: .././admin/settings.php:1081
460
  msgid "Automatic Updates"
461
  msgstr ""
462
 
463
- #: .././admin/settings.php:1097
464
  msgid ""
465
- "automatic updates for minor versions (security and maintainance releases "
466
- "only)"
467
  msgstr ""
468
 
469
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
470
- #: .././admin/widgets.php:38
471
  msgid "Authorize Plugin"
472
  msgstr "Bővítmény engedélyezése"
473
 
474
- #: .././admin/settings.php:1192
475
  msgid "Properties refreshed."
476
  msgstr ""
477
 
478
- #: .././admin/settings.php:1278
479
  msgid "Network Setup"
480
  msgstr ""
481
 
482
- #: .././admin/settings.php:1293
483
- msgid " use a single Google Analytics account for the entire network"
484
  msgstr ""
485
 
486
- #: .././admin/settings.php:1365
487
  msgid "Refresh Properties"
488
  msgstr ""
489
 
490
- #: .././admin/settings.php:1371
491
  #, fuzzy
492
  msgid "Properties/Views Settings"
493
  msgstr "Weblap beállítások"
494
 
495
- #: .././admin/settings.php:1419
496
- msgid " exclude Super Admin tracking for the entire network"
497
  msgstr ""
498
 
499
- #: .././admin/settings.php:1471
500
  msgid "Setup Tutorial & Demo"
501
  msgstr "Beállítás oktató anyag és demo"
502
 
503
- #: .././admin/settings.php:1483
504
  msgid "Support & Reviews"
505
  msgstr "Támogatás és vélemények"
506
 
507
- #: .././admin/settings.php:1491
508
- msgid "Plugin documentation and support on"
 
509
  msgstr ""
510
 
511
- #: .././admin/settings.php:1498
512
- msgid "Your feedback and review are both important,"
513
- msgstr "Az Ön visszajelzése és értékelése egyaránt fontos számunkra,"
 
514
 
515
- #: .././admin/settings.php:1498
516
  msgid "rate this plugin"
517
  msgstr "értékelje ezt a bővítményt"
518
 
519
- #: .././admin/settings.php:1503
520
  msgid "Further Reading"
521
  msgstr "További olvasmány"
522
 
523
- #: .././admin/settings.php:1511
524
- msgid "Improve search rankings"
 
525
  msgstr ""
526
 
527
- #: .././admin/settings.php:1511
528
- msgid "by moving your website to HTTPS/SSL."
529
  msgstr ""
530
 
531
- #: .././admin/settings.php:1518
532
- msgid "Other"
533
- msgstr "Egyéb"
 
534
 
535
- #: .././admin/settings.php:1518
536
  msgid "WordPress Plugins"
537
  msgstr "WordPress bővítmények"
538
 
539
- #: .././admin/settings.php:1518
540
- msgid "written by the same author"
541
- msgstr "ettől a szerzőtől"
542
-
543
- #: .././admin/settings.php:1523
544
  msgid "Other Services"
545
  msgstr ""
546
 
547
- #: .././admin/settings.php:1531
548
- msgid "Speed up your website and plug into a whole"
 
549
  msgstr ""
550
 
551
- #: .././admin/settings.php:1531
552
  msgid "new level of site speed"
553
  msgstr ""
554
 
555
- #: .././admin/settings.php:1538
 
 
 
 
 
556
  msgid "Web Analytics"
557
  msgstr "Web Analitika"
558
 
559
- #: .././admin/settings.php:1538
560
- msgid "service with users tracking at IP level."
561
- msgstr ""
562
-
563
- #: .././admin/setup.php:69 .././admin/setup.php:105
564
  msgid "Google Analytics"
565
  msgstr "Google Analytics"
566
 
567
- #: .././admin/setup.php:77
568
  msgid "Backend Settings"
569
  msgstr "Admin beállítások"
570
 
571
- #: .././admin/setup.php:81
572
  msgid "Frontend Settings"
573
  msgstr "Weblap beállítások"
574
 
575
- #: .././admin/setup.php:85
576
  msgid "Tracking Code"
577
  msgstr "Követőkód"
578
 
579
- #: .././admin/setup.php:190 .././admin/widgets.php:123
580
  msgid "Today"
581
  msgstr "Ma"
582
 
583
- #: .././admin/setup.php:191 .././admin/widgets.php:125
584
  msgid "Yesterday"
585
  msgstr "Tegnap"
586
 
587
- #: .././admin/setup.php:192 .././admin/widgets.php:127
588
- #: .././front/widgets.php:68 .././front/widgets.php:176
589
  msgid "Last 7 Days"
590
  msgstr "Elmúlt 7 nap"
591
 
592
- #: .././admin/setup.php:193 .././admin/widgets.php:131
593
- #: .././front/widgets.php:74 .././front/widgets.php:178
594
  msgid "Last 30 Days"
595
  msgstr "Elmúlt 30 nap"
596
 
597
- #: .././admin/setup.php:194 .././admin/widgets.php:133
598
  msgid "Last 90 Days"
599
  msgstr "Elmúlt 90 nap"
600
 
601
- #: .././admin/setup.php:197 .././admin/setup.php:213
602
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
603
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
604
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
605
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
606
- msgid "Sessions"
607
  msgstr ""
608
 
609
- #: .././admin/setup.php:198 .././admin/setup.php:214
610
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
611
- #: .././tools/gapi.php:372
612
  msgid "Users"
613
  msgstr ""
614
 
615
- #: .././admin/setup.php:199 .././admin/widgets.php:142
616
  msgid "Organic"
617
  msgstr "Organikus"
618
 
619
- #: .././admin/setup.php:200 .././admin/setup.php:215
620
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
621
- #: .././tools/gapi.php:375
622
  msgid "Page Views"
623
  msgstr "Oldalmegtekintések"
624
 
625
- #: .././admin/setup.php:201 .././admin/setup.php:216
626
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
627
- #: .././tools/gapi.php:378
628
  msgid "Bounce Rate"
629
  msgstr "Visszafordulási arány"
630
 
631
- #: .././admin/setup.php:202 .././admin/widgets.php:148
632
  msgid "Location"
633
  msgstr ""
634
 
635
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
636
  msgid "Referrers"
637
  msgstr ""
638
 
639
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
640
- #: .././tools/gapi.php:898
641
  msgid "Searches"
642
  msgstr ""
643
 
644
- #: .././admin/setup.php:205 .././admin/widgets.php:156
645
  msgid "Traffic Details"
646
  msgstr ""
647
 
648
- #: .././admin/setup.php:208 .././admin/widgets.php:522
649
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
650
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
651
  msgid "A JavaScript Error is blocking plugin resources!"
652
  msgstr ""
653
 
654
- #: .././admin/setup.php:209 .././admin/widgets.php:724
655
  msgid "Traffic Mediums"
656
  msgstr ""
657
 
658
- #: .././admin/setup.php:210 .././admin/widgets.php:740
659
  msgid "Visitor Type"
660
  msgstr ""
661
 
662
- #: .././admin/setup.php:211 .././admin/widgets.php:756
663
  msgid "Social Networks"
664
  msgstr ""
665
 
666
- #: .././admin/setup.php:212 .././admin/widgets.php:772
667
  msgid "Search Engines"
668
  msgstr ""
669
 
670
- #: .././admin/setup.php:217 .././admin/widgets.php:897
671
  msgid "Organic Search"
672
  msgstr ""
673
 
674
- #: .././admin/setup.php:218 .././admin/widgets.php:901
675
  msgid "Pages/Session"
676
  msgstr ""
677
 
678
- #: .././admin/setup.php:219 .././admin/widgets.php:535
679
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
680
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
681
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
682
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
683
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
684
- #: .././front/item-reports.php:115
685
  msgid "Invalid response, more details in JavaScript Console (F12)."
686
  msgstr ""
687
 
688
- #: .././admin/setup.php:220
689
  msgid "Not enough data collected"
690
  msgstr ""
691
 
692
- #: .././admin/setup.php:221 .././admin/widgets.php:540
693
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
694
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
695
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
696
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
697
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
698
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
699
- #: .././front/widgets.php:104
700
  msgid "This report is unavailable"
701
  msgstr ""
702
 
703
- #: .././admin/setup.php:222
704
  msgid "report generated by"
705
  msgstr ""
706
 
707
- #: .././admin/setup.php:260
708
  msgid "Settings"
709
  msgstr "Beállítások"
710
 
711
- #: .././admin/widgets.php:27 .././front/widgets.php:14
712
  msgid "Google Analytics Dashboard"
713
  msgstr "Google Analytics vezérlőpult"
714
 
715
- #: .././admin/widgets.php:38
716
  msgid "This plugin needs an authorization:"
717
  msgstr "Ennek a bővítménynek engedélyre van szüksége:"
718
 
719
- #: .././admin/widgets.php:72
720
  msgid "Something went wrong while retrieving profiles list."
721
  msgstr "Valami rosszul ment a profil lista lekérése közben."
722
 
723
- #: .././admin/widgets.php:72
724
  msgid "More details"
725
  msgstr "További részletek"
726
 
727
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
728
  msgid "An admin should asign a default Google Analytics Profile."
729
  msgstr ""
730
  "Az alapértelmezett Google Analytics profilt egy admin képes kijelölni."
731
 
732
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
733
  msgid "Select Domain"
734
  msgstr "Domain kiválasztása"
735
 
736
- #: .././admin/widgets.php:101
737
  msgid ""
738
  "Something went wrong while retrieving property data. You need to create and "
739
  "properly configure a Google Analytics account:"
@@ -741,178 +730,239 @@ msgstr ""
741
  "Valami rosszul ment a tulajdon adat lekérése közben. Egy jól konfigurált "
742
  "Google Analytics fiókra van szüksége:"
743
 
744
- #: .././admin/widgets.php:101
745
  msgid "Find out more!"
746
  msgstr "Tudjon meg többet!"
747
 
748
- #: .././admin/widgets.php:122
749
  msgid "Real-Time"
750
  msgstr "Valós idejű"
751
 
752
- #: .././admin/widgets.php:129 .././front/widgets.php:71
753
- #: .././front/widgets.php:177
754
  msgid "Last 14 Days"
755
  msgstr "Elmúlt 14 nap"
756
 
757
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
758
  msgid "Pages"
759
  msgstr ""
760
 
761
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
762
  msgid "REFERRAL"
763
  msgstr "HIVATKOZÓ"
764
 
765
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
766
  msgid "ORGANIC"
767
  msgstr "ORGANIKUS"
768
 
769
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
770
- #: .././admin/widgets.php:486
771
  msgid "SOCIAL"
772
  msgstr "KÖZÖSSÉGI"
773
 
774
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
775
- #: .././admin/widgets.php:487
776
  msgid "CAMPAIGN"
777
  msgstr ""
778
 
779
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
780
- #: .././admin/widgets.php:490
781
  msgid "DIRECT"
782
  msgstr "KÖZVETLEN"
783
 
784
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
785
  msgid "NEW"
786
  msgstr "ÚJ"
787
 
788
- #: .././admin/widgets.php:366
789
  msgid "REFERRALS"
790
  msgstr "HIVATKOZÓK"
791
 
792
- #: .././admin/widgets.php:369
793
  msgid "KEYWORDS"
794
  msgstr "KULCSSZAVAK"
795
 
796
- #: .././front/item-reports.php:130
797
  msgid "Views vs UniqueViews"
798
  msgstr "Látogatások vs egyedi látogatások"
799
 
800
- #: .././front/item-reports.php:180
801
  msgid "Google Analytics Reports"
802
  msgstr ""
803
 
804
- #: .././front/widgets.php:15
805
  msgid "Will display your google analytics stats in a widget"
806
  msgstr "Megjelenik a Google Analytics statisztika egy widgetben"
807
 
808
- #: .././front/widgets.php:40 .././tools/gapi.php:803
809
  msgid "trend"
810
  msgstr ""
811
 
812
- #: .././front/widgets.php:127
813
  msgid "Period:"
814
  msgstr "Időszak:"
815
 
816
- #: .././front/widgets.php:127
817
  msgid "Sessions:"
818
  msgstr ""
819
 
820
- #: .././front/widgets.php:131
821
  msgid "generated by"
822
  msgstr "által generált"
823
 
824
- #: .././front/widgets.php:141
825
  msgid "Google Analytics Stats"
826
  msgstr "Google Analytics statisztika"
827
 
828
- #: .././front/widgets.php:148
829
  msgid "Title:"
830
  msgstr "Cím:"
831
 
832
- #: .././front/widgets.php:155
833
  msgid "Display:"
834
  msgstr "Megjelenés:"
835
 
836
- #: .././front/widgets.php:159
837
  msgid "Chart & Totals"
838
  msgstr "Diagram és összegzés"
839
 
840
- #: .././front/widgets.php:160
841
  msgid "Chart"
842
  msgstr "Diagram"
843
 
844
- #: .././front/widgets.php:161
845
  msgid "Totals"
846
  msgstr "Összes"
847
 
848
- #: .././front/widgets.php:165
849
  msgid "Anonymize stats:"
850
  msgstr ""
851
 
852
- #: .././front/widgets.php:172
853
  msgid "Stats for:"
854
  msgstr "Statisztika:"
855
 
856
- #: .././front/widgets.php:182
857
  msgid "Give credits:"
858
  msgstr "Köszönet:"
859
 
860
- #: .././tools/gapi.php:128
 
 
 
 
861
  msgid "Use this link to get your access code:"
862
  msgstr "Használja ezt a linket, hogy a hozzáférési kódot megkapja:"
863
 
864
- #: .././tools/gapi.php:128
865
  msgid "Get Access Code"
866
  msgstr "Hozzáférési kód beszerzése"
867
 
868
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
869
  msgid "Use the red link to get your access code!"
870
  msgstr ""
871
 
872
- #: .././tools/gapi.php:133
873
  msgid "Access Code:"
874
  msgstr "Hozzáférési kód:"
875
 
876
- #: .././tools/gapi.php:145
877
  msgid "Save Access Code"
878
  msgstr "Hozzáférési kód mentése"
879
 
880
- #: .././tools/gapi.php:381
881
  msgid "Organic Searches"
882
  msgstr "Organikus keresés"
883
 
884
- #: .././tools/gapi.php:389
 
 
 
 
885
  msgid "Hour"
886
  msgstr "Óra"
887
 
888
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
889
  msgid "Date"
890
  msgstr "Dátum"
891
 
892
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
893
  msgid "Views"
894
  msgstr "Látogatások"
895
 
896
- #: .././tools/gapi.php:617
897
  msgid "Countries"
898
  msgstr ""
899
 
900
- #: .././tools/gapi.php:626
901
  msgid "Cities from"
902
  msgstr ""
903
 
904
- #: .././tools/gapi.php:698
905
  msgid "Channels"
906
  msgstr ""
907
 
908
- #: .././tools/gapi.php:761
909
  msgid "Type"
910
  msgstr "Típus"
911
 
912
- #: .././tools/gapi.php:856
913
  msgid "UniqueViews"
914
  msgstr "Egyedi látogatások"
915
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
916
  #~ msgid "Google Analytics Dashboard Settings"
917
  #~ msgstr "Google Analytics vezérlőpult beállítások"
918
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP 4.2.20\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
+ "Language-Team: Alin Marcu\n"
10
  "Language: hu_HU\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
  msgstr ""
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
  msgstr ""
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
  msgstr ""
40
 
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
  msgstr ""
47
 
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr ""
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
  msgstr "bővítményt engedélyezni"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
  msgstr "Google Analytics weblap beállítások"
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
+ msgstr ""
69
+
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr ""
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
  msgid "Permissions"
77
  msgstr ""
78
 
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
  msgstr ""
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
  msgstr ""
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
+ msgstr ""
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr ""
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
  msgstr ""
100
 
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
104
+ msgstr ""
105
 
106
+ #: .././admin/settings.php:272
107
+ msgid "enable Switch Profile/View functionality"
108
  msgstr ""
109
 
110
+ #: .././admin/settings.php:283
111
+ msgid "enable reports on Posts List and Pages List"
112
+ msgstr ""
113
+
114
+ #: .././admin/settings.php:294
115
+ msgid "enable the main Dashboard Widget"
116
  msgstr ""
117
 
118
+ #: .././admin/settings.php:298
119
  msgid "Real-Time Settings"
120
  msgstr "Valós idejű beállítások"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr "Maximális oldalszám megjelenítése a valós idejű fülön:"
125
 
126
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
127
  msgid "Location Settings"
128
  msgstr ""
129
 
130
+ #: .././admin/settings.php:310
131
  msgid "Target Geo Map to country:"
132
  msgstr ""
133
 
134
+ #: .././admin/settings.php:347
135
+ msgid ""
136
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
137
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
138
  msgstr ""
139
 
140
+ #: .././admin/settings.php:352
 
 
 
 
141
  msgid "Google Analytics Tracking Code"
142
  msgstr "Google Analytics követőkód"
143
 
144
+ #: .././admin/settings.php:361
145
  msgid "Basic Settings"
146
  msgstr ""
147
 
148
+ #: .././admin/settings.php:362 .././admin/settings.php:429
149
  msgid "Events Tracking"
150
  msgstr "Események követése"
151
 
152
+ #: .././admin/settings.php:363 .././admin/settings.php:477
153
  msgid "Custom Definitions"
154
  msgstr ""
155
 
156
+ #: .././admin/settings.php:364 .././admin/settings.php:575
157
+ #: .././admin/settings.php:1235
158
  msgid "Exclude Tracking"
159
  msgstr "Követés kizárás"
160
 
161
+ #: .././admin/settings.php:365
162
  msgid "Advanced Settings"
163
  msgstr ""
164
 
165
+ #: .././admin/settings.php:369
166
+ #, php-format
167
+ msgid "For more information about Tracking Options read %s."
168
+ msgstr ""
169
+
170
+ #: .././admin/settings.php:374
171
  msgid "Tracking Settings"
172
  msgstr "Követési beállítások"
173
 
174
+ #: .././admin/settings.php:377
175
  msgid "Tracking Options:"
176
  msgstr ""
177
 
178
+ #: .././admin/settings.php:379
179
  msgid "Disabled"
180
  msgstr "Letiltva"
181
 
182
+ #: .././admin/settings.php:380
183
+ msgid "Enabled"
184
+ msgstr "Engedélyezve"
185
+
186
+ #: .././admin/settings.php:388 .././admin/settings.php:911
187
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
188
+ #: .././admin/widgets.php:72
189
  msgid "View Name:"
190
  msgstr "Név:"
191
 
192
+ #: .././admin/settings.php:388 .././admin/settings.php:933
193
  msgid "Tracking ID:"
194
  msgstr "Követési azonosító:"
195
 
196
+ #: .././admin/settings.php:388 .././admin/settings.php:933
197
  msgid "Default URL:"
198
  msgstr "Alapértelmezett webcím:"
199
 
200
+ #: .././admin/settings.php:388 .././admin/settings.php:933
201
  msgid "Time Zone:"
202
  msgstr "Időzóna:"
203
 
204
+ #: .././admin/settings.php:393
205
  #, fuzzy
206
  msgid "Basic Tracking"
207
  msgstr "Események követése"
208
 
209
+ #: .././admin/settings.php:396
210
  msgid "Tracking Type:"
211
  msgstr ""
212
 
213
+ #: .././admin/settings.php:398
214
  msgid "Classic Analytics"
215
  msgstr "Klasszikus Analytics"
216
 
217
+ #: .././admin/settings.php:399
218
  msgid "Universal Analytics"
219
  msgstr "Univerzális Analytics"
220
 
221
+ #: .././admin/settings.php:410
222
+ msgid "anonymize IPs while tracking"
223
+ msgstr ""
224
 
225
+ #: .././admin/settings.php:421
226
+ msgid "enable remarketing, demographics and interests reports"
227
+ msgstr ""
228
 
229
+ #: .././admin/settings.php:439
230
+ msgid "track downloads, mailto and outbound links"
231
+ msgstr ""
232
 
233
+ #: .././admin/settings.php:443
234
  #, fuzzy
235
  msgid "Downloads Regex:"
236
  msgstr "Letöltés szűrők:"
237
 
238
+ #: .././admin/settings.php:454
239
+ msgid "track affiliate links matching this regex"
240
  msgstr ""
241
 
242
+ #: .././admin/settings.php:458
243
  msgid "Affiliates Regex:"
244
  msgstr ""
245
 
246
+ #: .././admin/settings.php:469
247
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
248
  msgstr ""
249
 
250
+ #: .././admin/settings.php:480
251
  msgid "Authors:"
252
  msgstr ""
253
 
254
+ #: .././admin/settings.php:488
255
  msgid "Publication Year:"
256
  msgstr ""
257
 
258
+ #: .././admin/settings.php:496
259
  msgid "Categories:"
260
  msgstr ""
261
 
262
+ #: .././admin/settings.php:504
263
  msgid "User Type:"
264
  msgstr ""
265
 
266
+ #: .././admin/settings.php:516
267
  #, fuzzy
268
  msgid "Advanced Tracking"
269
  msgstr "Események követése"
270
 
271
+ #: .././admin/settings.php:519
272
  #, fuzzy
273
  msgid "Page Speed SR:"
274
  msgstr "Oldal / látogató"
275
 
276
+ #: .././admin/settings.php:530
277
+ msgid "exclude events from bounce-rate calculation"
278
  msgstr ""
279
 
280
+ #: .././admin/settings.php:541
281
+ msgid "enable enhanced link attribution"
282
+ msgstr ""
283
 
284
+ #: .././admin/settings.php:552
285
+ msgid "enable AdSense account linking"
286
  msgstr ""
287
 
288
+ #: .././admin/settings.php:563
289
+ msgid "enable cross domain tracking"
290
  msgstr ""
291
 
292
+ #: .././admin/settings.php:567
293
  msgid "Cross Domains:"
294
  msgstr ""
295
 
296
+ #: .././admin/settings.php:578
297
  msgid "Exclude tracking for:"
298
  msgstr ""
299
 
300
+ #: .././admin/settings.php:663
301
  msgid "Google Analytics Errors & Debugging"
302
  msgstr ""
303
 
304
+ #: .././admin/settings.php:673
305
  msgid "Errors & Details"
306
  msgstr ""
307
 
308
+ #: .././admin/settings.php:674
309
  msgid "Plugin Settings"
310
  msgstr ""
311
 
312
+ #: .././admin/settings.php:682
313
+ #, php-format
314
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
315
  msgstr ""
316
 
317
+ #: .././admin/settings.php:687
318
  msgid "Last Error detected"
319
  msgstr ""
320
 
321
+ #: .././admin/settings.php:693 .././admin/settings.php:706
322
  msgid "None"
323
  msgstr ""
324
 
325
+ #: .././admin/settings.php:700
326
  msgid "Error Details"
327
  msgstr ""
328
 
329
+ #: .././admin/settings.php:720
330
  msgid "Plugin Configuration"
331
  msgstr ""
332
 
333
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
334
  msgid ""
335
  "Loading the required libraries. If this results in a blank screen or a fatal "
336
  "error, try this solution:"
337
  msgstr ""
338
 
339
+ #: .././admin/settings.php:742
340
+ msgid "Library conflicts between WordPress plugins"
341
+ msgstr ""
342
+
343
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
344
  msgid "Plugin authorization succeeded."
345
  msgstr "Bővítmény engedélyezése sikeres."
346
 
347
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
348
  msgid ""
349
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
350
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
351
  msgstr ""
352
 
353
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
354
  msgid "Cleared Cache."
355
  msgstr "Cache kiűrítve."
356
 
357
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
358
  msgid "Token Reseted and Revoked."
359
  msgstr "Token visszaállítva és visszavonva."
360
 
361
+ #: .././admin/settings.php:813
362
  msgid "All errors reseted."
363
  msgstr ""
364
 
365
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
366
  msgid "All other domains/properties were removed."
367
  msgstr "Összes többi domain/tulajdon eltávolításra került."
368
 
369
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
370
  msgid "Google Analytics Settings"
371
  msgstr "Google Analytics beállítások"
372
 
373
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
374
  msgid "Use the red link (see below) to generate and get your access code!"
375
  msgstr ""
376
 
377
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
378
  msgid "Plugin Authorization"
379
  msgstr "Bővítmény engedélyezés"
380
 
381
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
382
+ #, php-format
383
+ msgid ""
384
+ "You should watch the %1$s and read this %2$s before proceeding to "
385
+ "authorization. This plugin requires a properly configured Google Analytics "
386
+ "account!"
387
+ msgstr ""
388
 
389
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
390
  msgid "video"
391
  msgstr "videót"
392
 
393
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
394
  msgid "tutorial"
395
  msgstr "oktatói anyagot"
396
 
397
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
398
+ msgid "use your own API Project credentials"
 
 
399
  msgstr ""
 
 
 
 
 
 
400
 
401
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
402
  msgid "API Key:"
403
  msgstr "API key:"
404
 
405
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
406
  msgid "Client ID:"
407
  msgstr "Client ID:"
408
 
409
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
410
  msgid "Client Secret:"
411
  msgstr "Client Secret:"
412
 
413
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
414
  msgid "Clear Authorization"
415
  msgstr "Engedélyezés törlése"
416
 
417
+ #: .././admin/settings.php:895 .././admin/settings.php:971
418
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
419
  msgid "Clear Cache"
420
  msgstr "Cache ürítése"
421
 
422
+ #: .././admin/settings.php:895
423
  msgid "Reset Errors"
424
  msgstr ""
425
 
426
+ #: .././admin/settings.php:901 .././admin/setup.php:80
427
+ #: .././admin/setup.php:115
428
  msgid "General Settings"
429
  msgstr "Általános beállítások"
430
 
431
+ #: .././admin/settings.php:904
432
  msgid "Select Domain:"
433
  msgstr ""
434
 
435
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
436
  msgid "Property not found"
437
  msgstr ""
438
 
439
+ #: .././admin/settings.php:920
440
  msgid "and/or hide all other domains"
441
  msgstr "és/vagy az összes többi domain eltüntetése"
442
 
443
+ #: .././admin/settings.php:921
444
  msgid "Hide Now"
445
  msgstr "Elrejtés most"
446
 
447
+ #: .././admin/settings.php:939
448
  msgid "Theme Color:"
449
  msgstr ""
450
 
451
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
452
  msgid "Automatic Updates"
453
  msgstr ""
454
 
455
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
456
  msgid ""
457
+ "automatic updates for minor versions (security and maintenance releases only)"
 
458
  msgstr ""
459
 
460
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
461
+ #: .././admin/widgets.php:43
462
  msgid "Authorize Plugin"
463
  msgstr "Bővítmény engedélyezése"
464
 
465
+ #: .././admin/settings.php:1046
466
  msgid "Properties refreshed."
467
  msgstr ""
468
 
469
+ #: .././admin/settings.php:1130
470
  msgid "Network Setup"
471
  msgstr ""
472
 
473
+ #: .././admin/settings.php:1140
474
+ msgid "use a single Google Analytics account for the entire network"
475
  msgstr ""
476
 
477
+ #: .././admin/settings.php:1184
478
  msgid "Refresh Properties"
479
  msgstr ""
480
 
481
+ #: .././admin/settings.php:1190
482
  #, fuzzy
483
  msgid "Properties/Views Settings"
484
  msgstr "Weblap beállítások"
485
 
486
+ #: .././admin/settings.php:1245
487
+ msgid "exclude Super Admin tracking for the entire network"
488
  msgstr ""
489
 
490
+ #: .././admin/settings.php:1290
491
  msgid "Setup Tutorial & Demo"
492
  msgstr "Beállítás oktató anyag és demo"
493
 
494
+ #: .././admin/settings.php:1298
495
  msgid "Support & Reviews"
496
  msgstr "Támogatás és vélemények"
497
 
498
+ #: .././admin/settings.php:1305
499
+ #, php-format
500
+ msgid "Plugin documentation and support on %s"
501
  msgstr ""
502
 
503
+ #: .././admin/settings.php:1312
504
+ #, php-format
505
+ msgid "Your feedback and review are both important, %s!"
506
+ msgstr ""
507
 
508
+ #: .././admin/settings.php:1312
509
  msgid "rate this plugin"
510
  msgstr "értékelje ezt a bővítményt"
511
 
512
+ #: .././admin/settings.php:1318
513
  msgid "Further Reading"
514
  msgstr "További olvasmány"
515
 
516
+ #: .././admin/settings.php:1325
517
+ #, php-format
518
+ msgid "%s by moving your website to HTTPS/SSL."
519
  msgstr ""
520
 
521
+ #: .././admin/settings.php:1325
522
+ msgid "Improve search rankings"
523
  msgstr ""
524
 
525
+ #: .././admin/settings.php:1332
526
+ #, php-format
527
+ msgid "Other %s written by the same author"
528
+ msgstr ""
529
 
530
+ #: .././admin/settings.php:1332
531
  msgid "WordPress Plugins"
532
  msgstr "WordPress bővítmények"
533
 
534
+ #: .././admin/settings.php:1338
 
 
 
 
535
  msgid "Other Services"
536
  msgstr ""
537
 
538
+ #: .././admin/settings.php:1345
539
+ #, php-format
540
+ msgid "Speed up your website and plug into a whole %s"
541
  msgstr ""
542
 
543
+ #: .././admin/settings.php:1345
544
  msgid "new level of site speed"
545
  msgstr ""
546
 
547
+ #: .././admin/settings.php:1352
548
+ #, php-format
549
+ msgid "%s service with users tracking at IP level."
550
+ msgstr ""
551
+
552
+ #: .././admin/settings.php:1352
553
  msgid "Web Analytics"
554
  msgstr "Web Analitika"
555
 
556
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
557
  msgid "Google Analytics"
558
  msgstr "Google Analytics"
559
 
560
+ #: .././admin/setup.php:84
561
  msgid "Backend Settings"
562
  msgstr "Admin beállítások"
563
 
564
+ #: .././admin/setup.php:88
565
  msgid "Frontend Settings"
566
  msgstr "Weblap beállítások"
567
 
568
+ #: .././admin/setup.php:92
569
  msgid "Tracking Code"
570
  msgstr "Követőkód"
571
 
572
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
573
  msgid "Today"
574
  msgstr "Ma"
575
 
576
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
577
  msgid "Yesterday"
578
  msgstr "Tegnap"
579
 
580
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
581
+ #: .././front/widgets.php:74 .././front/widgets.php:182
582
  msgid "Last 7 Days"
583
  msgstr "Elmúlt 7 nap"
584
 
585
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
586
+ #: .././front/widgets.php:80 .././front/widgets.php:184
587
  msgid "Last 30 Days"
588
  msgstr "Elmúlt 30 nap"
589
 
590
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
591
  msgid "Last 90 Days"
592
  msgstr "Elmúlt 90 nap"
593
 
594
+ #: .././admin/setup.php:203 .././admin/setup.php:219
595
+ msgid "Unique Views"
 
 
 
 
596
  msgstr ""
597
 
598
+ #: .././admin/setup.php:204 .././admin/setup.php:220
599
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
600
+ #: .././tools/gapi.php:382
601
  msgid "Users"
602
  msgstr ""
603
 
604
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
605
  msgid "Organic"
606
  msgstr "Organikus"
607
 
608
+ #: .././admin/setup.php:206 .././admin/setup.php:221
609
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
610
+ #: .././tools/gapi.php:385
611
  msgid "Page Views"
612
  msgstr "Oldalmegtekintések"
613
 
614
+ #: .././admin/setup.php:207 .././admin/setup.php:222
615
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
616
+ #: .././tools/gapi.php:388
617
  msgid "Bounce Rate"
618
  msgstr "Visszafordulási arány"
619
 
620
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
621
  msgid "Location"
622
  msgstr ""
623
 
624
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
625
  msgid "Referrers"
626
  msgstr ""
627
 
628
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
629
+ #: .././tools/gapi.php:913
630
  msgid "Searches"
631
  msgstr ""
632
 
633
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
634
  msgid "Traffic Details"
635
  msgstr ""
636
 
637
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
638
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
639
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
640
  msgid "A JavaScript Error is blocking plugin resources!"
641
  msgstr ""
642
 
643
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
644
  msgid "Traffic Mediums"
645
  msgstr ""
646
 
647
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
648
  msgid "Visitor Type"
649
  msgstr ""
650
 
651
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
652
  msgid "Social Networks"
653
  msgstr ""
654
 
655
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
656
  msgid "Search Engines"
657
  msgstr ""
658
 
659
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
660
  msgid "Organic Search"
661
  msgstr ""
662
 
663
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
664
  msgid "Pages/Session"
665
  msgstr ""
666
 
667
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
668
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
669
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
670
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
671
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
672
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
673
+ #: .././front/item-reports.php:118
674
  msgid "Invalid response, more details in JavaScript Console (F12)."
675
  msgstr ""
676
 
677
+ #: .././admin/setup.php:226
678
  msgid "Not enough data collected"
679
  msgstr ""
680
 
681
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
682
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
683
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
684
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
685
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
686
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
687
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
688
+ #: .././front/widgets.php:110
689
  msgid "This report is unavailable"
690
  msgstr ""
691
 
692
+ #: .././admin/setup.php:228
693
  msgid "report generated by"
694
  msgstr ""
695
 
696
+ #: .././admin/setup.php:268
697
  msgid "Settings"
698
  msgstr "Beállítások"
699
 
700
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
701
  msgid "Google Analytics Dashboard"
702
  msgstr "Google Analytics vezérlőpult"
703
 
704
+ #: .././admin/widgets.php:43
705
  msgid "This plugin needs an authorization:"
706
  msgstr "Ennek a bővítménynek engedélyre van szüksége:"
707
 
708
+ #: .././admin/widgets.php:77
709
  msgid "Something went wrong while retrieving profiles list."
710
  msgstr "Valami rosszul ment a profil lista lekérése közben."
711
 
712
+ #: .././admin/widgets.php:77
713
  msgid "More details"
714
  msgstr "További részletek"
715
 
716
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
717
  msgid "An admin should asign a default Google Analytics Profile."
718
  msgstr ""
719
  "Az alapértelmezett Google Analytics profilt egy admin képes kijelölni."
720
 
721
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
722
  msgid "Select Domain"
723
  msgstr "Domain kiválasztása"
724
 
725
+ #: .././admin/widgets.php:106
726
  msgid ""
727
  "Something went wrong while retrieving property data. You need to create and "
728
  "properly configure a Google Analytics account:"
730
  "Valami rosszul ment a tulajdon adat lekérése közben. Egy jól konfigurált "
731
  "Google Analytics fiókra van szüksége:"
732
 
733
+ #: .././admin/widgets.php:106
734
  msgid "Find out more!"
735
  msgstr "Tudjon meg többet!"
736
 
737
+ #: .././admin/widgets.php:127
738
  msgid "Real-Time"
739
  msgstr "Valós idejű"
740
 
741
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
742
+ #: .././front/widgets.php:183
743
  msgid "Last 14 Days"
744
  msgstr "Elmúlt 14 nap"
745
 
746
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
747
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
748
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
749
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
750
+ msgid "Sessions"
751
+ msgstr ""
752
+
753
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
754
  msgid "Pages"
755
  msgstr ""
756
 
757
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
758
  msgid "REFERRAL"
759
  msgstr "HIVATKOZÓ"
760
 
761
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
762
  msgid "ORGANIC"
763
  msgstr "ORGANIKUS"
764
 
765
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
766
+ #: .././admin/widgets.php:491
767
  msgid "SOCIAL"
768
  msgstr "KÖZÖSSÉGI"
769
 
770
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
771
+ #: .././admin/widgets.php:492
772
  msgid "CAMPAIGN"
773
  msgstr ""
774
 
775
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
776
+ #: .././admin/widgets.php:495
777
  msgid "DIRECT"
778
  msgstr "KÖZVETLEN"
779
 
780
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
781
  msgid "NEW"
782
  msgstr "ÚJ"
783
 
784
+ #: .././admin/widgets.php:371
785
  msgid "REFERRALS"
786
  msgstr "HIVATKOZÓK"
787
 
788
+ #: .././admin/widgets.php:374
789
  msgid "KEYWORDS"
790
  msgstr "KULCSSZAVAK"
791
 
792
+ #: .././front/item-reports.php:133
793
  msgid "Views vs UniqueViews"
794
  msgstr "Látogatások vs egyedi látogatások"
795
 
796
+ #: .././front/item-reports.php:183
797
  msgid "Google Analytics Reports"
798
  msgstr ""
799
 
800
+ #: .././front/widgets.php:23
801
  msgid "Will display your google analytics stats in a widget"
802
  msgstr "Megjelenik a Google Analytics statisztika egy widgetben"
803
 
804
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
805
  msgid "trend"
806
  msgstr ""
807
 
808
+ #: .././front/widgets.php:133
809
  msgid "Period:"
810
  msgstr "Időszak:"
811
 
812
+ #: .././front/widgets.php:133
813
  msgid "Sessions:"
814
  msgstr ""
815
 
816
+ #: .././front/widgets.php:137
817
  msgid "generated by"
818
  msgstr "által generált"
819
 
820
+ #: .././front/widgets.php:147
821
  msgid "Google Analytics Stats"
822
  msgstr "Google Analytics statisztika"
823
 
824
+ #: .././front/widgets.php:154
825
  msgid "Title:"
826
  msgstr "Cím:"
827
 
828
+ #: .././front/widgets.php:161
829
  msgid "Display:"
830
  msgstr "Megjelenés:"
831
 
832
+ #: .././front/widgets.php:165
833
  msgid "Chart & Totals"
834
  msgstr "Diagram és összegzés"
835
 
836
+ #: .././front/widgets.php:166
837
  msgid "Chart"
838
  msgstr "Diagram"
839
 
840
+ #: .././front/widgets.php:167
841
  msgid "Totals"
842
  msgstr "Összes"
843
 
844
+ #: .././front/widgets.php:171
845
  msgid "Anonymize stats:"
846
  msgstr ""
847
 
848
+ #: .././front/widgets.php:178
849
  msgid "Stats for:"
850
  msgstr "Statisztika:"
851
 
852
+ #: .././front/widgets.php:188
853
  msgid "Give credits:"
854
  msgstr "Köszönet:"
855
 
856
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
857
+ msgid "This is not allowed, read the documentation!"
858
+ msgstr ""
859
+
860
+ #: .././tools/gapi.php:141
861
  msgid "Use this link to get your access code:"
862
  msgstr "Használja ezt a linket, hogy a hozzáférési kódot megkapja:"
863
 
864
+ #: .././tools/gapi.php:141
865
  msgid "Get Access Code"
866
  msgstr "Hozzáférési kód beszerzése"
867
 
868
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
869
  msgid "Use the red link to get your access code!"
870
  msgstr ""
871
 
872
+ #: .././tools/gapi.php:146
873
  msgid "Access Code:"
874
  msgstr "Hozzáférési kód:"
875
 
876
+ #: .././tools/gapi.php:158
877
  msgid "Save Access Code"
878
  msgstr "Hozzáférési kód mentése"
879
 
880
+ #: .././tools/gapi.php:391
881
  msgid "Organic Searches"
882
  msgstr "Organikus keresés"
883
 
884
+ #: .././tools/gapi.php:394
885
+ msgid "Unique Page Views"
886
+ msgstr ""
887
+
888
+ #: .././tools/gapi.php:402
889
  msgid "Hour"
890
  msgstr "Óra"
891
 
892
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
893
  msgid "Date"
894
  msgstr "Dátum"
895
 
896
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
897
  msgid "Views"
898
  msgstr "Látogatások"
899
 
900
+ #: .././tools/gapi.php:631
901
  msgid "Countries"
902
  msgstr ""
903
 
904
+ #: .././tools/gapi.php:641
905
  msgid "Cities from"
906
  msgstr ""
907
 
908
+ #: .././tools/gapi.php:713
909
  msgid "Channels"
910
  msgstr ""
911
 
912
+ #: .././tools/gapi.php:776
913
  msgid "Type"
914
  msgstr "Típus"
915
 
916
+ #: .././tools/gapi.php:871
917
  msgid "UniqueViews"
918
  msgstr "Egyedi látogatások"
919
 
920
+ #~ msgid "about this feature"
921
+ #~ msgstr "erről a szolgáltatásról"
922
+
923
+ #~ msgid " show page searches (after each article)"
924
+ #~ msgstr "oldal keresések mutatása (minden cikk után)"
925
+
926
+ #~ msgid " anonymize IPs while tracking"
927
+ #~ msgstr "nyomon követés közben IP anonimizálása"
928
+
929
+ #~ msgid " enable remarketing, demographics and interests reports"
930
+ #~ msgstr "lehetővé remarketing, demográfia és érdeklődés jelentések"
931
+
932
+ #~ msgid " track downloads, mailto and outbound links"
933
+ #~ msgstr "letöltések, mailto és kimenő linkek követése"
934
+
935
+ #~ msgid " enable enhanced link attribution"
936
+ #~ msgstr "kibővített link tulajdonság engedélyezése"
937
+
938
+ #~ msgid " use your own API Project credentials"
939
+ #~ msgstr "használja a saját API Project hitelesítő adatait"
940
+
941
+ #~ msgid "disable Switch Profile/View functionality"
942
+ #~ msgstr "Profil/Nézet Kapcsoló letiltása"
943
+
944
+ #~ msgid "You should watch the"
945
+ #~ msgstr "Kérjük, nézze meg ezt a"
946
+
947
+ #~ msgid "and read this"
948
+ #~ msgstr "és olvassa el ezt az"
949
+
950
+ #~ msgid ""
951
+ #~ "before proceeding to authorization. This plugin requires a properly "
952
+ #~ "configured Google Analytics account"
953
+ #~ msgstr ""
954
+ #~ "mielőtt engedélyezné. Ezt a bővítményt csak helyesen beállított Google "
955
+ #~ "Analytics fiókkal lehet használni"
956
+
957
+ #~ msgid "Your feedback and review are both important,"
958
+ #~ msgstr "Az Ön visszajelzése és értékelése egyaránt fontos számunkra,"
959
+
960
+ #~ msgid "Other"
961
+ #~ msgstr "Egyéb"
962
+
963
+ #~ msgid "written by the same author"
964
+ #~ msgstr "ettől a szerzőtől"
965
+
966
  #~ msgid "Google Analytics Dashboard Settings"
967
  #~ msgstr "Google Analytics vezérlőpult beállítások"
968
 
languages/ga-dash-it_IT.mo CHANGED
Binary file
languages/ga-dash-it_IT.po CHANGED
@@ -1,340 +1,334 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Google Analytics Dashboard for WP 4.4.4\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
  "Language-Team: L.E.O.X. <leoxleox73@gmail.com>\n"
8
  "Language: it\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
- msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr "Impostazioni salvate."
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
- msgstr "Frode?"
38
-
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
43
- msgstr "Qualcosa è andato male, controlla"
44
-
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
 
49
  msgid "Errors & Debug"
50
  msgstr "Errori & Debug"
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr "o"
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "autorizza il plugin"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Impostazioni Frontend di Google Analytics "
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
69
- msgid "Permissions"
 
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
 
 
 
 
 
 
 
 
 
73
  msgid "Show stats to:"
74
  msgstr "Mostra statistiche a:"
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
- "mostra le sessioni della pagina e gli utenti nel frontend (dopo ogni "
80
- "articolo)"
81
 
82
- #: .././admin/settings.php:175
83
- msgid " show page searches (after each article)"
84
- msgstr " mostra le ricerche della pagina (dopo ogni articolo)"
85
 
86
- #: .././admin/settings.php:184 .././admin/settings.php:350
87
- #: .././admin/settings.php:715 .././admin/settings.php:1106
88
- #: .././admin/settings.php:1428
89
  msgid "Save Changes"
90
  msgstr "Salva le modifiche"
91
 
92
- #: .././admin/settings.php:217
93
  msgid "Google Analytics Backend Settings"
 
 
 
 
 
94
  msgstr ""
95
 
96
- #: .././admin/settings.php:279
97
- msgid "disable Switch Profile/View functionality"
98
- msgstr "abilita o disabilita Cambia profilo/Mostra funzionalit&agrave;"
99
 
100
- #: .././admin/settings.php:294
101
- msgid "disable stats on Posts List and Pages List"
102
- msgstr ""
103
 
104
- #: .././admin/settings.php:309
105
- msgid "disable the main Dashboard Widget"
106
- msgstr ""
107
 
108
- #: .././admin/settings.php:313
109
  msgid "Real-Time Settings"
110
  msgstr "Impostazioni In tempo reale"
111
 
112
- #: .././admin/settings.php:316
113
  msgid "Maximum number of pages to display on real-time tab:"
114
  msgstr "Numero massimo di pagine da visualizzare nella scheda in tempo reale:"
115
 
116
- #: .././admin/settings.php:321 .././admin/settings.php:337
117
- msgid "find out more"
118
- msgstr "per saperne di più"
119
-
120
- #: .././admin/settings.php:323 .././admin/settings.php:340
121
- msgid "about this feature"
122
- msgstr "su questa funzionalit&agrave;"
123
-
124
- #: .././admin/settings.php:328
125
  msgid "Location Settings"
126
  msgstr "Impostazioni posizione geografica"
127
 
128
- #: .././admin/settings.php:332
129
  msgid "Target Geo Map to country:"
130
- msgstr "Obiettivo Geo Map per paese:"
131
 
132
- #: .././admin/settings.php:381
133
- msgid "The tracking component is disabled. You should set"
134
- msgstr "Il componente di monitoraggio è disabilitato. È necessario impostare"
135
-
136
- #: .././admin/settings.php:381
137
- msgid "Tracking Options"
138
- msgstr "Opzioni di monitoraggio"
139
-
140
- #: .././admin/settings.php:381
141
- msgid "to"
142
- msgstr "a"
143
-
144
- #: .././admin/settings.php:381 .././admin/settings.php:417
145
- msgid "Enabled"
146
- msgstr "Abilitato"
147
 
148
- #: .././admin/settings.php:387
149
  msgid "Google Analytics Tracking Code"
150
  msgstr "Impostazioni Monitoraggio di Google Analytics "
151
 
152
- #: .././admin/settings.php:396
153
  msgid "Basic Settings"
154
  msgstr "Impostazioni di base"
155
 
156
- #: .././admin/settings.php:397 .././admin/settings.php:476
157
  msgid "Events Tracking"
158
  msgstr "Impostazioni eventi"
159
 
160
- #: .././admin/settings.php:398 .././admin/settings.php:540
161
  msgid "Custom Definitions"
162
  msgstr "Impostazioni definizioni personalizzate"
163
 
164
- #: .././admin/settings.php:399 .././admin/settings.php:668
165
- #: .././admin/settings.php:1405
166
  msgid "Exclude Tracking"
167
  msgstr "Escludi monitoraggio"
168
 
169
- #: .././admin/settings.php:400
170
  msgid "Advanced Settings"
171
  msgstr "Impostazioni avanzate"
172
 
173
- #: .././admin/settings.php:408
 
 
 
 
 
174
  msgid "Tracking Settings"
175
  msgstr "Stato del monitoraggio"
176
 
177
- #: .././admin/settings.php:411
178
  msgid "Tracking Options:"
179
  msgstr "Monitoraggio:"
180
 
181
- #: .././admin/settings.php:415
182
  msgid "Disabled"
183
  msgstr "Disabilitato"
184
 
185
- #: .././admin/settings.php:425 .././admin/settings.php:1040
186
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
187
- #: .././admin/widgets.php:67
 
 
 
 
188
  msgid "View Name:"
189
  msgstr "Mostra nome:"
190
 
191
- #: .././admin/settings.php:425 .././admin/settings.php:1065
192
  msgid "Tracking ID:"
193
  msgstr "ID monitoraggio:"
194
 
195
- #: .././admin/settings.php:425 .././admin/settings.php:1065
196
  msgid "Default URL:"
197
- msgstr "URL di default:"
198
 
199
- #: .././admin/settings.php:425 .././admin/settings.php:1065
200
  msgid "Time Zone:"
201
  msgstr "Fuso orario:"
202
 
203
- #: .././admin/settings.php:430
204
  msgid "Basic Tracking"
205
  msgstr "Impostazioni di base"
206
 
207
- #: .././admin/settings.php:433
208
  msgid "Tracking Type:"
209
  msgstr "Tipo:"
210
 
211
- #: .././admin/settings.php:437
212
  msgid "Classic Analytics"
213
  msgstr "Classic Analytics"
214
 
215
- #: .././admin/settings.php:439
216
  msgid "Universal Analytics"
217
  msgstr "Universal Analytics"
218
 
219
- #: .././admin/settings.php:453
220
- msgid " anonymize IPs while tracking"
221
- msgstr "rendi anonimi gli indirizzi IP durante il monitoraggio"
222
 
223
- #: .././admin/settings.php:468
224
- msgid " enable remarketing, demographics and interests reports"
225
- msgstr " abilita remarketing e rapporti demografici e sugli interessi"
226
 
227
- #: .././admin/settings.php:490
228
- msgid " track downloads, mailto and outbound links"
229
- msgstr "monitora downloads, mailto e link in uscita"
230
 
231
- #: .././admin/settings.php:494
232
  msgid "Downloads Regex:"
233
  msgstr "Abbreviazioni downloads:"
234
 
235
- #: .././admin/settings.php:511
236
- msgid " track affiliate links matching this regex"
237
- msgstr " monitora collegamenti associati corrispondenti a queste abbreviazioni"
238
 
239
- #: .././admin/settings.php:515
240
  msgid "Affiliates Regex:"
241
  msgstr "Abbreviazioni associate:"
242
 
243
- #: .././admin/settings.php:532
244
- msgid " track fragment identifiers, hashmarks (#) in URI links"
245
  msgstr ""
246
- " monitora gli identificatori di frammentoe gli hashmarks (#) nei "
247
- "collegamenti URI"
248
 
249
- #: .././admin/settings.php:543
250
  msgid "Authors:"
251
  msgstr "Autori:"
252
 
253
- #: .././admin/settings.php:553
254
  msgid "Publication Year:"
255
  msgstr "Anno di pubblicazione:"
256
 
257
- #: .././admin/settings.php:563
258
  msgid "Categories:"
259
  msgstr "Categorie:"
260
 
261
- #: .././admin/settings.php:573
262
  msgid "User Type:"
263
  msgstr "Tipo di utente:"
264
 
265
- #: .././admin/settings.php:587
266
  msgid "Advanced Tracking"
267
  msgstr "Impostazioni avanzate"
268
 
269
- #: .././admin/settings.php:590
270
  msgid "Page Speed SR:"
271
  msgstr "Page Speed Sample Rate:"
272
 
273
- #: .././admin/settings.php:608
274
- msgid " exclude events from bounce-rate calculation"
275
- msgstr " escludi gli eventi dal calcolo del bounce-rate"
276
 
277
- #: .././admin/settings.php:623
278
- msgid " enable enhanced link attribution"
279
- msgstr "utilizza l&#39;attribuzione avanzata dei link"
280
 
281
- #: .././admin/settings.php:637
282
- msgid " enable AdSense account linking"
283
- msgstr " abilita AdSense account linking"
284
 
285
- #: .././admin/settings.php:653
286
- msgid " enable cross domain tracking"
287
- msgstr " abilita cross domanin tracking"
288
 
289
- #: .././admin/settings.php:657
290
  msgid "Cross Domains:"
291
  msgstr " Cross Domains:"
292
 
293
- #: .././admin/settings.php:671
294
  msgid "Exclude tracking for:"
295
  msgstr "Escludi per:"
296
 
297
- #: .././admin/settings.php:741
298
  msgid "Google Analytics Errors & Debugging"
299
  msgstr "Errori & Debugging di Google Analytics"
300
 
301
- #: .././admin/settings.php:751
302
  msgid "Errors & Details"
303
- msgstr "Dettagli errori"
304
 
305
- #: .././admin/settings.php:752
306
  msgid "Plugin Settings"
307
  msgstr "Impostazioni plugin"
308
 
309
- #: .././admin/settings.php:760
310
- msgid "For errors and/or other issues please check"
311
- msgstr "Per errori e/o altri problemi leggere"
312
-
313
- #: .././admin/settings.php:760
314
- msgid "this documentation page"
315
- msgstr "la pagina della documentazione del plugin"
316
 
317
- #: .././admin/settings.php:760
318
- msgid "and related tutorials"
319
- msgstr "ed i tutorial relativi"
320
-
321
- #: .././admin/settings.php:764
322
  msgid "Last Error detected"
323
  msgstr "Ultimo errore rilevato"
324
 
325
- #: .././admin/settings.php:769 .././admin/settings.php:782
326
  msgid "None"
327
  msgstr "Nessuno"
328
 
329
- #: .././admin/settings.php:776
330
  msgid "Error Details"
331
  msgstr "Dettagli errore"
332
 
333
- #: .././admin/settings.php:796
334
  msgid "Plugin Configuration"
335
  msgstr "Configurazione plugin"
336
 
337
- #: .././admin/settings.php:840 .././admin/settings.php:1149
338
  msgid ""
339
  "Loading the required libraries. If this results in a blank screen or a fatal "
340
  "error, try this solution:"
@@ -342,11 +336,15 @@ msgstr ""
342
  "Caricamento delle librerie richieste. Se viene restituita una schermata "
343
  "vuota o si verifica un errore fatale, provare questa soluzione:"
344
 
345
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
346
  msgid "Plugin authorization succeeded."
347
  msgstr "Autorizzazione plugin riuscita."
348
 
349
- #: .././admin/settings.php:868 .././admin/settings.php:1186
350
  msgid ""
351
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
352
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
@@ -355,393 +353,387 @@ msgstr ""
355
  "strong> (UA-XXXXX-X). Prova di nuovo utilizzando il link rosso per ottenere "
356
  "il codice di accesso"
357
 
358
- #: .././admin/settings.php:891 .././admin/settings.php:1218
359
  msgid "Cleared Cache."
360
  msgstr "Cache eliminata."
361
 
362
- #: .././admin/settings.php:900 .././admin/settings.php:1227
363
  msgid "Token Reseted and Revoked."
364
  msgstr "Token azzerato e revocato."
365
 
366
- #: .././admin/settings.php:910
367
  msgid "All errors reseted."
368
- msgstr ""
369
 
370
- #: .././admin/settings.php:923 .././admin/settings.php:1241
371
  msgid "All other domains/properties were removed."
372
  msgstr "Tutti gli altri domini/propriet&agrave; sono stati rimossi."
373
 
374
- #: .././admin/settings.php:935 .././admin/settings.php:1253
375
  msgid "Google Analytics Settings"
376
  msgstr "Impostazioni di Google Analytics"
377
 
378
- #: .././admin/settings.php:948 .././admin/settings.php:1266
379
  msgid "Use the red link (see below) to generate and get your access code!"
380
  msgstr ""
381
  "Utilizza il link rosso (vedi sotto) per generare ed ottenere il tuo codice "
382
  "di accesso!"
383
 
384
- #: .././admin/settings.php:959 .././admin/settings.php:1301
385
  msgid "Plugin Authorization"
386
  msgstr "Autorizzazione plugin"
387
 
388
- #: .././admin/settings.php:963 .././admin/settings.php:1305
389
- msgid "You should watch the"
390
- msgstr "Dovresti guardare il"
 
 
 
 
 
 
 
391
 
392
- #: .././admin/settings.php:963 .././admin/settings.php:1305
393
  msgid "video"
394
  msgstr "video"
395
 
396
- #: .././admin/settings.php:963 .././admin/settings.php:1305
397
- msgid "and read this"
398
- msgstr "e leggere questa"
399
-
400
- #: .././admin/settings.php:963 .././admin/settings.php:1305
401
  msgid "tutorial"
402
  msgstr "guida"
403
 
404
- #: .././admin/settings.php:963 .././admin/settings.php:1305
405
- msgid ""
406
- "before proceeding to authorization. This plugin requires a properly "
407
- "configured Google Analytics account"
408
  msgstr ""
409
- "prima di procedere con l&#39;autorizzazione. Questo plugin richiede un "
410
- "account di Google Analytics correttamente configurato"
411
-
412
- #: .././admin/settings.php:975 .././admin/settings.php:1316
413
- msgid " use your own API Project credentials"
414
- msgstr "utilizza le proprie credenziali API"
415
 
416
- #: .././admin/settings.php:982 .././admin/settings.php:1323
417
  msgid "API Key:"
418
  msgstr "Chiave API:"
419
 
420
- #: .././admin/settings.php:989 .././admin/settings.php:1331
421
  msgid "Client ID:"
422
  msgstr "ID Cliente:"
423
 
424
- #: .././admin/settings.php:997 .././admin/settings.php:1340
425
  msgid "Client Secret:"
426
  msgstr "Client Secret:"
427
 
428
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
429
  msgid "Clear Authorization"
430
  msgstr "Revoca autorizzazione"
431
 
432
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
433
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
434
  msgid "Clear Cache"
435
  msgstr "Elimina cache"
436
 
437
- #: .././admin/settings.php:1022
438
  msgid "Reset Errors"
439
- msgstr ""
440
 
441
- #: .././admin/settings.php:1028 .././admin/setup.php:73
442
- #: .././admin/setup.php:109
443
  msgid "General Settings"
444
  msgstr "Impostazioni generali"
445
 
446
- #: .././admin/settings.php:1031
447
  msgid "Select Domain:"
448
  msgstr "Seleziona dominio:"
449
 
450
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
451
  msgid "Property not found"
452
  msgstr "Propriet&agrave; non trovata"
453
 
454
- #: .././admin/settings.php:1049
455
  msgid "and/or hide all other domains"
456
  msgstr "e/o nasconde tutti gli altri domini"
457
 
458
- #: .././admin/settings.php:1052
459
  msgid "Hide Now"
460
  msgstr "Nascondi ora"
461
 
462
- #: .././admin/settings.php:1071
463
  msgid "Theme Color:"
464
  msgstr "Colore tema:"
465
 
466
- #: .././admin/settings.php:1081
467
  msgid "Automatic Updates"
468
- msgstr ""
469
 
470
- #: .././admin/settings.php:1097
471
  msgid ""
472
- "automatic updates for minor versions (security and maintainance releases "
473
- "only)"
474
  msgstr ""
 
 
475
 
476
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
477
- #: .././admin/widgets.php:38
478
  msgid "Authorize Plugin"
479
  msgstr "Autorizza plugin"
480
 
481
- #: .././admin/settings.php:1192
482
  msgid "Properties refreshed."
483
  msgstr "Propriet&agrave; aggiornate."
484
 
485
- #: .././admin/settings.php:1278
486
  msgid "Network Setup"
487
  msgstr "Configurazione della rete"
488
 
489
- #: .././admin/settings.php:1293
490
- msgid " use a single Google Analytics account for the entire network"
491
- msgstr " utilizza un unico account Google Analytics per l&#39;intera rete"
492
 
493
- #: .././admin/settings.php:1365
494
  msgid "Refresh Properties"
495
  msgstr "Aggiorna propriet&agrave;"
496
 
497
- #: .././admin/settings.php:1371
498
  msgid "Properties/Views Settings"
499
  msgstr "Propriet&agrave;/Mostra impostazioni"
500
 
501
- #: .././admin/settings.php:1419
502
- msgid " exclude Super Admin tracking for the entire network"
503
- msgstr " esclude il monitoraggio del Super Amministratore per tutta la rete"
504
 
505
- #: .././admin/settings.php:1471
506
  msgid "Setup Tutorial & Demo"
507
- msgstr "Guida all'installazione & Demo"
508
 
509
- #: .././admin/settings.php:1483
510
  msgid "Support & Reviews"
511
  msgstr "Supporto & Recensioni"
512
 
513
- #: .././admin/settings.php:1491
514
- msgid "Plugin documentation and support on"
515
- msgstr "Documentazione del plugin e supporto su"
 
516
 
517
- #: .././admin/settings.php:1498
518
- msgid "Your feedback and review are both important,"
519
- msgstr "Il tuo feedback e la tua recensione sono entrambi importanti,"
 
520
 
521
- #: .././admin/settings.php:1498
522
  msgid "rate this plugin"
523
  msgstr "vota questo plugin"
524
 
525
- #: .././admin/settings.php:1503
526
  msgid "Further Reading"
527
  msgstr "Approfondimenti"
528
 
529
- #: .././admin/settings.php:1511
 
 
 
 
 
530
  msgid "Improve search rankings"
531
  msgstr "Migliorare le classifiche di ricerca"
532
 
533
- #: .././admin/settings.php:1511
534
- msgid "by moving your website to HTTPS/SSL."
535
- msgstr "spostando il sito web a HTTPS/SSL."
536
-
537
- #: .././admin/settings.php:1518
538
- msgid "Other"
539
- msgstr "Altri"
540
 
541
- #: .././admin/settings.php:1518
542
  msgid "WordPress Plugins"
543
  msgstr "plugins per WordPress "
544
 
545
- #: .././admin/settings.php:1518
546
- msgid "written by the same author"
547
- msgstr "scritti dallo stesso autore"
548
-
549
- #: .././admin/settings.php:1523
550
  msgid "Other Services"
551
  msgstr "Altri servizi"
552
 
553
- #: .././admin/settings.php:1531
554
- msgid "Speed up your website and plug into a whole"
555
- msgstr "Accellera il tuo sito web ad un"
 
556
 
557
- #: .././admin/settings.php:1531
558
  msgid "new level of site speed"
559
  msgstr "nuovo livello di velocit&agrave;"
560
 
561
- #: .././admin/settings.php:1538
 
 
 
 
 
562
  msgid "Web Analytics"
563
  msgstr "Web Analytics"
564
 
565
- #: .././admin/settings.php:1538
566
- msgid "service with users tracking at IP level."
567
- msgstr "servizio con tracciamento degli utenti a livello IP."
568
-
569
- #: .././admin/setup.php:69 .././admin/setup.php:105
570
  msgid "Google Analytics"
571
  msgstr "Google Analytics"
572
 
573
- #: .././admin/setup.php:77
574
  msgid "Backend Settings"
575
  msgstr "Impostazioni backend"
576
 
577
- #: .././admin/setup.php:81
578
  msgid "Frontend Settings"
579
  msgstr "Impostazioni frontend"
580
 
581
- #: .././admin/setup.php:85
582
  msgid "Tracking Code"
583
  msgstr "Monitoraggio"
584
 
585
- #: .././admin/setup.php:190 .././admin/widgets.php:123
586
  msgid "Today"
587
  msgstr "Oggi"
588
 
589
- #: .././admin/setup.php:191 .././admin/widgets.php:125
590
  msgid "Yesterday"
591
  msgstr "Ieri"
592
 
593
- #: .././admin/setup.php:192 .././admin/widgets.php:127
594
- #: .././front/widgets.php:68 .././front/widgets.php:176
595
  msgid "Last 7 Days"
596
  msgstr "Ultimi 7 giorni"
597
 
598
- #: .././admin/setup.php:193 .././admin/widgets.php:131
599
- #: .././front/widgets.php:74 .././front/widgets.php:178
600
  msgid "Last 30 Days"
601
  msgstr "Ultimi 30 giorni"
602
 
603
- #: .././admin/setup.php:194 .././admin/widgets.php:133
604
  msgid "Last 90 Days"
605
  msgstr "Ultimi 90 giorni"
606
 
607
- #: .././admin/setup.php:197 .././admin/setup.php:213
608
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
609
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
610
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
611
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
612
- msgid "Sessions"
613
- msgstr "Sessioni"
614
 
615
- #: .././admin/setup.php:198 .././admin/setup.php:214
616
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
617
- #: .././tools/gapi.php:372
618
  msgid "Users"
619
  msgstr "Utenti"
620
 
621
- #: .././admin/setup.php:199 .././admin/widgets.php:142
622
  msgid "Organic"
623
  msgstr "Traffico da motorI di ricerca"
624
 
625
- #: .././admin/setup.php:200 .././admin/setup.php:215
626
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
627
- #: .././tools/gapi.php:375
628
  msgid "Page Views"
629
  msgstr "Pagine viste"
630
 
631
- #: .././admin/setup.php:201 .././admin/setup.php:216
632
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
633
- #: .././tools/gapi.php:378
634
  msgid "Bounce Rate"
635
  msgstr "Frequenza di rimbalzo"
636
 
637
- #: .././admin/setup.php:202 .././admin/widgets.php:148
638
  msgid "Location"
639
  msgstr "Posizione geografica"
640
 
641
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
642
  msgid "Referrers"
643
  msgstr "Siti di origine del traffico"
644
 
645
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
646
- #: .././tools/gapi.php:898
647
  msgid "Searches"
648
  msgstr "Ricerche"
649
 
650
- #: .././admin/setup.php:205 .././admin/widgets.php:156
651
  msgid "Traffic Details"
652
  msgstr "Dettagli traffico"
653
 
654
- #: .././admin/setup.php:208 .././admin/widgets.php:522
655
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
656
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
657
  msgid "A JavaScript Error is blocking plugin resources!"
658
  msgstr "Un errore JavaScript sta bloccando le risorse del plugin"
659
 
660
- #: .././admin/setup.php:209 .././admin/widgets.php:724
661
  msgid "Traffic Mediums"
662
  msgstr "Origine del traffico in %"
663
 
664
- #: .././admin/setup.php:210 .././admin/widgets.php:740
665
  msgid "Visitor Type"
666
  msgstr "Tipo di visitatore"
667
 
668
- #: .././admin/setup.php:211 .././admin/widgets.php:756
669
  msgid "Social Networks"
670
  msgstr "Social Networks"
671
 
672
- #: .././admin/setup.php:212 .././admin/widgets.php:772
673
  msgid "Search Engines"
674
  msgstr "Motori di ricerca"
675
 
676
- #: .././admin/setup.php:217 .././admin/widgets.php:897
677
  msgid "Organic Search"
678
  msgstr "Ricerca organica"
679
 
680
- #: .././admin/setup.php:218 .././admin/widgets.php:901
681
  msgid "Pages/Session"
682
  msgstr "Pagine per sessione"
683
 
684
- #: .././admin/setup.php:219 .././admin/widgets.php:535
685
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
686
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
687
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
688
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
689
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
690
- #: .././front/item-reports.php:115
691
  msgid "Invalid response, more details in JavaScript Console (F12)."
692
  msgstr ""
693
  "Risposta non valida, ulteriori dettagli nella console JavaScript (F12)."
694
 
695
- #: .././admin/setup.php:220
696
  msgid "Not enough data collected"
697
- msgstr ""
698
-
699
- #: .././admin/setup.php:221 .././admin/widgets.php:540
700
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
701
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
702
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
703
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
704
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
705
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
706
- #: .././front/widgets.php:104
707
  msgid "This report is unavailable"
708
  msgstr "Questo rapporto non &egrave; disponibile"
709
 
710
- #: .././admin/setup.php:222
711
  msgid "report generated by"
712
- msgstr ""
713
 
714
- #: .././admin/setup.php:260
715
  msgid "Settings"
716
  msgstr "Impostazioni"
717
 
718
- #: .././admin/widgets.php:27 .././front/widgets.php:14
719
  msgid "Google Analytics Dashboard"
720
  msgstr "Bacheca di Google Analytics"
721
 
722
- #: .././admin/widgets.php:38
723
  msgid "This plugin needs an authorization:"
724
  msgstr "Questo plugin necessita di un&#39;autorizzazione:"
725
 
726
- #: .././admin/widgets.php:72
727
  msgid "Something went wrong while retrieving profiles list."
728
  msgstr ""
729
  "Qualcosa &egrave; andato male durante il recupero della lista dei profili."
730
 
731
- #: .././admin/widgets.php:72
732
  msgid "More details"
733
  msgstr "Altri dettagli"
734
 
735
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
736
  msgid "An admin should asign a default Google Analytics Profile."
737
  msgstr ""
738
  "Un amministratore deve assegnare un profilo predefinito di Google Analytics."
739
 
740
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
741
  msgid "Select Domain"
742
  msgstr "Seleziona dominio"
743
 
744
- #: .././admin/widgets.php:101
745
  msgid ""
746
  "Something went wrong while retrieving property data. You need to create and "
747
  "properly configure a Google Analytics account:"
@@ -749,178 +741,274 @@ msgstr ""
749
  "Qualcosa &egrave; andato male durante il recupero dei dati. &Egrave; "
750
  "necessario creare e configurare correttamente un account di Google Analytics:"
751
 
752
- #: .././admin/widgets.php:101
753
  msgid "Find out more!"
754
  msgstr "Per saperne di pi&ugrave;!"
755
 
756
- #: .././admin/widgets.php:122
757
  msgid "Real-Time"
758
  msgstr "In tempo reale"
759
 
760
- #: .././admin/widgets.php:129 .././front/widgets.php:71
761
- #: .././front/widgets.php:177
762
  msgid "Last 14 Days"
763
  msgstr "Ultimi 14 giorni"
764
 
765
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
766
  msgid "Pages"
767
  msgstr "Pagine"
768
 
769
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
770
  msgid "REFERRAL"
771
  msgstr "TRAFFICO DA SITI REFERENTI (REFERRALS)"
772
 
773
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
774
  msgid "ORGANIC"
775
  msgstr "TRAFFICO DA MOTORI DI RICERCA (ORGANICO)"
776
 
777
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
778
- #: .././admin/widgets.php:486
779
  msgid "SOCIAL"
780
  msgstr "TRAFFICO DAI SOCIAL NETWORK"
781
 
782
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
783
- #: .././admin/widgets.php:487
784
  msgid "CAMPAIGN"
785
  msgstr "CAMPAGNA"
786
 
787
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
788
- #: .././admin/widgets.php:490
789
  msgid "DIRECT"
790
  msgstr "TRAFFICO DIRETTO"
791
 
792
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
793
  msgid "NEW"
794
  msgstr "VISITATORI NUOVI"
795
 
796
- #: .././admin/widgets.php:366
797
  msgid "REFERRALS"
798
  msgstr "TRAFFICO DA SITI REFERENTI (REFERRALS)"
799
 
800
- #: .././admin/widgets.php:369
801
  msgid "KEYWORDS"
802
  msgstr "KEYWORDS"
803
 
804
- #: .././front/item-reports.php:130
805
  msgid "Views vs UniqueViews"
806
- msgstr "Visualizzazioni vs Visualizzazioni uniche"
807
 
808
- #: .././front/item-reports.php:180
809
  msgid "Google Analytics Reports"
810
  msgstr "Rapporti di Google Analytics"
811
 
812
- #: .././front/widgets.php:15
813
  msgid "Will display your google analytics stats in a widget"
814
  msgstr "Visualizza le statistiche di Google Analytics in un widget"
815
 
816
- #: .././front/widgets.php:40 .././tools/gapi.php:803
817
  msgid "trend"
818
  msgstr "tendenza"
819
 
820
- #: .././front/widgets.php:127
821
  msgid "Period:"
822
  msgstr "Periodo:"
823
 
824
- #: .././front/widgets.php:127
825
  msgid "Sessions:"
826
  msgstr "Sessioni:"
827
 
828
- #: .././front/widgets.php:131
829
  msgid "generated by"
830
  msgstr "generato da"
831
 
832
- #: .././front/widgets.php:141
833
  msgid "Google Analytics Stats"
834
  msgstr "Statistiche di Google Analytics"
835
 
836
- #: .././front/widgets.php:148
837
  msgid "Title:"
838
  msgstr "Titolo:"
839
 
840
- #: .././front/widgets.php:155
841
  msgid "Display:"
842
  msgstr "Mostra:"
843
 
844
- #: .././front/widgets.php:159
845
  msgid "Chart & Totals"
846
  msgstr "Grafico & Totali"
847
 
848
- #: .././front/widgets.php:160
849
  msgid "Chart"
850
  msgstr "Grafico"
851
 
852
- #: .././front/widgets.php:161
853
  msgid "Totals"
854
  msgstr "Totali"
855
 
856
- #: .././front/widgets.php:165
857
  msgid "Anonymize stats:"
858
  msgstr "Anonimizza le statistiche:"
859
 
860
- #: .././front/widgets.php:172
861
  msgid "Stats for:"
862
  msgstr "Statistiche per:"
863
 
864
- #: .././front/widgets.php:182
865
  msgid "Give credits:"
866
  msgstr "Crediti:"
867
 
868
- #: .././tools/gapi.php:128
 
 
 
 
869
  msgid "Use this link to get your access code:"
870
  msgstr "Utilizza questo link per ottenere il codice di accesso:"
871
 
872
- #: .././tools/gapi.php:128
873
  msgid "Get Access Code"
874
  msgstr "Ottieni codice di accesso"
875
 
876
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
877
  msgid "Use the red link to get your access code!"
878
  msgstr "Utilizza il link rosso per ottenere il tuo codice di accesso!"
879
 
880
- #: .././tools/gapi.php:133
881
  msgid "Access Code:"
882
  msgstr "Codice di accesso:"
883
 
884
- #: .././tools/gapi.php:145
885
  msgid "Save Access Code"
886
  msgstr "Salva codice di accesso"
887
 
888
- #: .././tools/gapi.php:381
889
  msgid "Organic Searches"
890
  msgstr "Ricerche organiche"
891
 
892
- #: .././tools/gapi.php:389
 
 
 
 
893
  msgid "Hour"
894
  msgstr "Ora"
895
 
896
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
897
  msgid "Date"
898
  msgstr "Data"
899
 
900
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
901
  msgid "Views"
902
  msgstr "Visualizzazioni"
903
 
904
- #: .././tools/gapi.php:617
905
  msgid "Countries"
906
  msgstr "Paesi"
907
 
908
- #: .././tools/gapi.php:626
909
  msgid "Cities from"
910
  msgstr "Paese: "
911
 
912
- #: .././tools/gapi.php:698
913
  msgid "Channels"
914
  msgstr "Canali"
915
 
916
- #: .././tools/gapi.php:761
917
  msgid "Type"
918
  msgstr "Tipo"
919
 
920
- #: .././tools/gapi.php:856
921
  msgid "UniqueViews"
922
  msgstr "Visualizzazioni uniche"
923
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
924
  #~ msgid "Google Analytics Dashboard Settings"
925
  #~ msgstr "Impostazioni Backend di Google Analytics"
926
 
@@ -1003,13 +1091,6 @@ msgstr "Visualizzazioni uniche"
1003
  #~ msgid "Top Searches"
1004
  #~ msgstr "Ricerche principali"
1005
 
1006
- #~ msgid ""
1007
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1008
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1009
- #~ msgstr ""
1010
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1011
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1012
-
1013
  #~ msgid "Error Log"
1014
  #~ msgstr "Log errori"
1015
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Google Analytics Dashboard for WP 4.6\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:31+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:32+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
  "Language-Team: L.E.O.X. <leoxleox73@gmail.com>\n"
10
  "Language: it\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
+ msgstr "Analytics"
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
  msgstr "Impostazioni salvate."
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
+ msgstr "Tentativo di frode?"
40
+
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
+ msgstr "Qualcosa &egrave; andato male, controlla %1$s o %2$s."
47
+
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr "Errori & Debug"
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
  msgstr "autorizza il plugin"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
  msgstr "Impostazioni Frontend di Google Analytics "
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
  msgstr ""
69
 
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr "la pagina della documentazione del plugin"
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
+ msgid "Permissions"
77
+ msgstr "Permessi"
78
+
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
  msgstr "Mostra statistiche a:"
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
  msgstr ""
 
 
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
+ msgstr ""
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr "Salva le modifiche"
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
+ msgstr "Impostazioni Backend di Google Analytics"
100
+
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
104
  msgstr ""
105
 
106
+ #: .././admin/settings.php:272
107
+ msgid "enable Switch Profile/View functionality"
108
+ msgstr "abilita Cambia profilo/Mostra funzionalit&agrave;"
109
 
110
+ #: .././admin/settings.php:283
111
+ msgid "enable reports on Posts List and Pages List"
112
+ msgstr "abilita rapporti nella lista pagine e post"
113
 
114
+ #: .././admin/settings.php:294
115
+ msgid "enable the main Dashboard Widget"
116
+ msgstr "abilita il widget principale nella bacheca"
117
 
118
+ #: .././admin/settings.php:298
119
  msgid "Real-Time Settings"
120
  msgstr "Impostazioni In tempo reale"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr "Numero massimo di pagine da visualizzare nella scheda in tempo reale:"
125
 
126
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
127
  msgid "Location Settings"
128
  msgstr "Impostazioni posizione geografica"
129
 
130
+ #: .././admin/settings.php:310
131
  msgid "Target Geo Map to country:"
132
+ msgstr "Cartina geografica per il paese:"
133
 
134
+ #: .././admin/settings.php:347
135
+ msgid ""
136
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
137
+ "strong> to <strong>Enabled</strong>"
138
+ msgstr ""
139
+ "Il componente di monitoraggio &egrave; disabilitato. &Egrave; necessario "
140
+ "impostare il <strong>Monitoraggio</strong> su <strong>Abilitato</strong>"
 
 
 
 
 
 
 
 
141
 
142
+ #: .././admin/settings.php:352
143
  msgid "Google Analytics Tracking Code"
144
  msgstr "Impostazioni Monitoraggio di Google Analytics "
145
 
146
+ #: .././admin/settings.php:361
147
  msgid "Basic Settings"
148
  msgstr "Impostazioni di base"
149
 
150
+ #: .././admin/settings.php:362 .././admin/settings.php:429
151
  msgid "Events Tracking"
152
  msgstr "Impostazioni eventi"
153
 
154
+ #: .././admin/settings.php:363 .././admin/settings.php:477
155
  msgid "Custom Definitions"
156
  msgstr "Impostazioni definizioni personalizzate"
157
 
158
+ #: .././admin/settings.php:364 .././admin/settings.php:575
159
+ #: .././admin/settings.php:1235
160
  msgid "Exclude Tracking"
161
  msgstr "Escludi monitoraggio"
162
 
163
+ #: .././admin/settings.php:365
164
  msgid "Advanced Settings"
165
  msgstr "Impostazioni avanzate"
166
 
167
+ #: .././admin/settings.php:369
168
+ #, php-format
169
+ msgid "For more information about Tracking Options read %s."
170
+ msgstr ""
171
+
172
+ #: .././admin/settings.php:374
173
  msgid "Tracking Settings"
174
  msgstr "Stato del monitoraggio"
175
 
176
+ #: .././admin/settings.php:377
177
  msgid "Tracking Options:"
178
  msgstr "Monitoraggio:"
179
 
180
+ #: .././admin/settings.php:379
181
  msgid "Disabled"
182
  msgstr "Disabilitato"
183
 
184
+ #: .././admin/settings.php:380
185
+ msgid "Enabled"
186
+ msgstr "Abilitato"
187
+
188
+ #: .././admin/settings.php:388 .././admin/settings.php:911
189
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
190
+ #: .././admin/widgets.php:72
191
  msgid "View Name:"
192
  msgstr "Mostra nome:"
193
 
194
+ #: .././admin/settings.php:388 .././admin/settings.php:933
195
  msgid "Tracking ID:"
196
  msgstr "ID monitoraggio:"
197
 
198
+ #: .././admin/settings.php:388 .././admin/settings.php:933
199
  msgid "Default URL:"
200
+ msgstr "URL predefinito:"
201
 
202
+ #: .././admin/settings.php:388 .././admin/settings.php:933
203
  msgid "Time Zone:"
204
  msgstr "Fuso orario:"
205
 
206
+ #: .././admin/settings.php:393
207
  msgid "Basic Tracking"
208
  msgstr "Impostazioni di base"
209
 
210
+ #: .././admin/settings.php:396
211
  msgid "Tracking Type:"
212
  msgstr "Tipo:"
213
 
214
+ #: .././admin/settings.php:398
215
  msgid "Classic Analytics"
216
  msgstr "Classic Analytics"
217
 
218
+ #: .././admin/settings.php:399
219
  msgid "Universal Analytics"
220
  msgstr "Universal Analytics"
221
 
222
+ #: .././admin/settings.php:410
223
+ msgid "anonymize IPs while tracking"
224
+ msgstr ""
225
 
226
+ #: .././admin/settings.php:421
227
+ msgid "enable remarketing, demographics and interests reports"
228
+ msgstr ""
229
 
230
+ #: .././admin/settings.php:439
231
+ msgid "track downloads, mailto and outbound links"
232
+ msgstr ""
233
 
234
+ #: .././admin/settings.php:443
235
  msgid "Downloads Regex:"
236
  msgstr "Abbreviazioni downloads:"
237
 
238
+ #: .././admin/settings.php:454
239
+ msgid "track affiliate links matching this regex"
240
+ msgstr ""
241
 
242
+ #: .././admin/settings.php:458
243
  msgid "Affiliates Regex:"
244
  msgstr "Abbreviazioni associate:"
245
 
246
+ #: .././admin/settings.php:469
247
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
248
  msgstr ""
 
 
249
 
250
+ #: .././admin/settings.php:480
251
  msgid "Authors:"
252
  msgstr "Autori:"
253
 
254
+ #: .././admin/settings.php:488
255
  msgid "Publication Year:"
256
  msgstr "Anno di pubblicazione:"
257
 
258
+ #: .././admin/settings.php:496
259
  msgid "Categories:"
260
  msgstr "Categorie:"
261
 
262
+ #: .././admin/settings.php:504
263
  msgid "User Type:"
264
  msgstr "Tipo di utente:"
265
 
266
+ #: .././admin/settings.php:516
267
  msgid "Advanced Tracking"
268
  msgstr "Impostazioni avanzate"
269
 
270
+ #: .././admin/settings.php:519
271
  msgid "Page Speed SR:"
272
  msgstr "Page Speed Sample Rate:"
273
 
274
+ #: .././admin/settings.php:530
275
+ msgid "exclude events from bounce-rate calculation"
276
+ msgstr ""
277
 
278
+ #: .././admin/settings.php:541
279
+ msgid "enable enhanced link attribution"
280
+ msgstr ""
281
 
282
+ #: .././admin/settings.php:552
283
+ msgid "enable AdSense account linking"
284
+ msgstr ""
285
 
286
+ #: .././admin/settings.php:563
287
+ msgid "enable cross domain tracking"
288
+ msgstr ""
289
 
290
+ #: .././admin/settings.php:567
291
  msgid "Cross Domains:"
292
  msgstr " Cross Domains:"
293
 
294
+ #: .././admin/settings.php:578
295
  msgid "Exclude tracking for:"
296
  msgstr "Escludi per:"
297
 
298
+ #: .././admin/settings.php:663
299
  msgid "Google Analytics Errors & Debugging"
300
  msgstr "Errori & Debugging di Google Analytics"
301
 
302
+ #: .././admin/settings.php:673
303
  msgid "Errors & Details"
304
+ msgstr "Errori & Dettagli"
305
 
306
+ #: .././admin/settings.php:674
307
  msgid "Plugin Settings"
308
  msgstr "Impostazioni plugin"
309
 
310
+ #: .././admin/settings.php:682
311
+ #, php-format
312
+ msgid "For errors and/or other issues please check %s and related tutorials."
313
+ msgstr "Per errori e/o altri problemi controlla %s e leggi la guida relativa."
 
 
 
314
 
315
+ #: .././admin/settings.php:687
 
 
 
 
316
  msgid "Last Error detected"
317
  msgstr "Ultimo errore rilevato"
318
 
319
+ #: .././admin/settings.php:693 .././admin/settings.php:706
320
  msgid "None"
321
  msgstr "Nessuno"
322
 
323
+ #: .././admin/settings.php:700
324
  msgid "Error Details"
325
  msgstr "Dettagli errore"
326
 
327
+ #: .././admin/settings.php:720
328
  msgid "Plugin Configuration"
329
  msgstr "Configurazione plugin"
330
 
331
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
332
  msgid ""
333
  "Loading the required libraries. If this results in a blank screen or a fatal "
334
  "error, try this solution:"
336
  "Caricamento delle librerie richieste. Se viene restituita una schermata "
337
  "vuota o si verifica un errore fatale, provare questa soluzione:"
338
 
339
+ #: .././admin/settings.php:742
340
+ msgid "Library conflicts between WordPress plugins"
341
+ msgstr "Conflitti tra le librerie dei plugins di WordPress"
342
+
343
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
344
  msgid "Plugin authorization succeeded."
345
  msgstr "Autorizzazione plugin riuscita."
346
 
347
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
348
  msgid ""
349
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
350
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
353
  "strong> (UA-XXXXX-X). Prova di nuovo utilizzando il link rosso per ottenere "
354
  "il codice di accesso"
355
 
356
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
357
  msgid "Cleared Cache."
358
  msgstr "Cache eliminata."
359
 
360
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
361
  msgid "Token Reseted and Revoked."
362
  msgstr "Token azzerato e revocato."
363
 
364
+ #: .././admin/settings.php:813
365
  msgid "All errors reseted."
366
+ msgstr "Tutti gli errori azzerati."
367
 
368
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
369
  msgid "All other domains/properties were removed."
370
  msgstr "Tutti gli altri domini/propriet&agrave; sono stati rimossi."
371
 
372
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
373
  msgid "Google Analytics Settings"
374
  msgstr "Impostazioni di Google Analytics"
375
 
376
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
377
  msgid "Use the red link (see below) to generate and get your access code!"
378
  msgstr ""
379
  "Utilizza il link rosso (vedi sotto) per generare ed ottenere il tuo codice "
380
  "di accesso!"
381
 
382
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
383
  msgid "Plugin Authorization"
384
  msgstr "Autorizzazione plugin"
385
 
386
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
387
+ #, php-format
388
+ msgid ""
389
+ "You should watch the %1$s and read this %2$s before proceeding to "
390
+ "authorization. This plugin requires a properly configured Google Analytics "
391
+ "account!"
392
+ msgstr ""
393
+ "Dovresti guardare %1$s e leggere questo %2$s prima di procedere con l&#39;"
394
+ "autorizzazione. Questo plugin richiede un account di Google Analytics "
395
+ "correttamente configurato!"
396
 
397
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
398
  msgid "video"
399
  msgstr "video"
400
 
401
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
402
  msgid "tutorial"
403
  msgstr "guida"
404
 
405
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
406
+ msgid "use your own API Project credentials"
 
 
407
  msgstr ""
 
 
 
 
 
 
408
 
409
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
410
  msgid "API Key:"
411
  msgstr "Chiave API:"
412
 
413
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
414
  msgid "Client ID:"
415
  msgstr "ID Cliente:"
416
 
417
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
418
  msgid "Client Secret:"
419
  msgstr "Client Secret:"
420
 
421
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
422
  msgid "Clear Authorization"
423
  msgstr "Revoca autorizzazione"
424
 
425
+ #: .././admin/settings.php:895 .././admin/settings.php:971
426
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
427
  msgid "Clear Cache"
428
  msgstr "Elimina cache"
429
 
430
+ #: .././admin/settings.php:895
431
  msgid "Reset Errors"
432
+ msgstr "Azzera errori."
433
 
434
+ #: .././admin/settings.php:901 .././admin/setup.php:80
435
+ #: .././admin/setup.php:115
436
  msgid "General Settings"
437
  msgstr "Impostazioni generali"
438
 
439
+ #: .././admin/settings.php:904
440
  msgid "Select Domain:"
441
  msgstr "Seleziona dominio:"
442
 
443
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
444
  msgid "Property not found"
445
  msgstr "Propriet&agrave; non trovata"
446
 
447
+ #: .././admin/settings.php:920
448
  msgid "and/or hide all other domains"
449
  msgstr "e/o nasconde tutti gli altri domini"
450
 
451
+ #: .././admin/settings.php:921
452
  msgid "Hide Now"
453
  msgstr "Nascondi ora"
454
 
455
+ #: .././admin/settings.php:939
456
  msgid "Theme Color:"
457
  msgstr "Colore tema:"
458
 
459
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
460
  msgid "Automatic Updates"
461
+ msgstr "Aggiornamenti automatici"
462
 
463
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
464
  msgid ""
465
+ "automatic updates for minor versions (security and maintenance releases only)"
 
466
  msgstr ""
467
+ "aggiornamenti automatici per le release minori (solo di manutenzione e "
468
+ "sicurezza)"
469
 
470
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
471
+ #: .././admin/widgets.php:43
472
  msgid "Authorize Plugin"
473
  msgstr "Autorizza plugin"
474
 
475
+ #: .././admin/settings.php:1046
476
  msgid "Properties refreshed."
477
  msgstr "Propriet&agrave; aggiornate."
478
 
479
+ #: .././admin/settings.php:1130
480
  msgid "Network Setup"
481
  msgstr "Configurazione della rete"
482
 
483
+ #: .././admin/settings.php:1140
484
+ msgid "use a single Google Analytics account for the entire network"
485
+ msgstr ""
486
 
487
+ #: .././admin/settings.php:1184
488
  msgid "Refresh Properties"
489
  msgstr "Aggiorna propriet&agrave;"
490
 
491
+ #: .././admin/settings.php:1190
492
  msgid "Properties/Views Settings"
493
  msgstr "Propriet&agrave;/Mostra impostazioni"
494
 
495
+ #: .././admin/settings.php:1245
496
+ msgid "exclude Super Admin tracking for the entire network"
497
+ msgstr ""
498
 
499
+ #: .././admin/settings.php:1290
500
  msgid "Setup Tutorial & Demo"
501
+ msgstr "Guida all&apos;installazione & Demo"
502
 
503
+ #: .././admin/settings.php:1298
504
  msgid "Support & Reviews"
505
  msgstr "Supporto & Recensioni"
506
 
507
+ #: .././admin/settings.php:1305
508
+ #, php-format
509
+ msgid "Plugin documentation and support on %s"
510
+ msgstr "Documentazione del plugin e supporto su %s"
511
 
512
+ #: .././admin/settings.php:1312
513
+ #, php-format
514
+ msgid "Your feedback and review are both important, %s!"
515
+ msgstr "Il tuo feedback e la tua recensione sono entrambi importanti, %s!"
516
 
517
+ #: .././admin/settings.php:1312
518
  msgid "rate this plugin"
519
  msgstr "vota questo plugin"
520
 
521
+ #: .././admin/settings.php:1318
522
  msgid "Further Reading"
523
  msgstr "Approfondimenti"
524
 
525
+ #: .././admin/settings.php:1325
526
+ #, php-format
527
+ msgid "%s by moving your website to HTTPS/SSL."
528
+ msgstr "%s spostando il sito web a HTTPS/SSL."
529
+
530
+ #: .././admin/settings.php:1325
531
  msgid "Improve search rankings"
532
  msgstr "Migliorare le classifiche di ricerca"
533
 
534
+ #: .././admin/settings.php:1332
535
+ #, php-format
536
+ msgid "Other %s written by the same author"
537
+ msgstr "Altri %s scritti dallo stesso autore"
 
 
 
538
 
539
+ #: .././admin/settings.php:1332
540
  msgid "WordPress Plugins"
541
  msgstr "plugins per WordPress "
542
 
543
+ #: .././admin/settings.php:1338
 
 
 
 
544
  msgid "Other Services"
545
  msgstr "Altri servizi"
546
 
547
+ #: .././admin/settings.php:1345
548
+ #, php-format
549
+ msgid "Speed up your website and plug into a whole %s"
550
+ msgstr "Accellera il tuo sito web ad un %s"
551
 
552
+ #: .././admin/settings.php:1345
553
  msgid "new level of site speed"
554
  msgstr "nuovo livello di velocit&agrave;"
555
 
556
+ #: .././admin/settings.php:1352
557
+ #, php-format
558
+ msgid "%s service with users tracking at IP level."
559
+ msgstr "%s servizio con tracciamento degli utenti a livello IP."
560
+
561
+ #: .././admin/settings.php:1352
562
  msgid "Web Analytics"
563
  msgstr "Web Analytics"
564
 
565
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
566
  msgid "Google Analytics"
567
  msgstr "Google Analytics"
568
 
569
+ #: .././admin/setup.php:84
570
  msgid "Backend Settings"
571
  msgstr "Impostazioni backend"
572
 
573
+ #: .././admin/setup.php:88
574
  msgid "Frontend Settings"
575
  msgstr "Impostazioni frontend"
576
 
577
+ #: .././admin/setup.php:92
578
  msgid "Tracking Code"
579
  msgstr "Monitoraggio"
580
 
581
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
582
  msgid "Today"
583
  msgstr "Oggi"
584
 
585
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
586
  msgid "Yesterday"
587
  msgstr "Ieri"
588
 
589
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
590
+ #: .././front/widgets.php:74 .././front/widgets.php:182
591
  msgid "Last 7 Days"
592
  msgstr "Ultimi 7 giorni"
593
 
594
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
595
+ #: .././front/widgets.php:80 .././front/widgets.php:184
596
  msgid "Last 30 Days"
597
  msgstr "Ultimi 30 giorni"
598
 
599
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
600
  msgid "Last 90 Days"
601
  msgstr "Ultimi 90 giorni"
602
 
603
+ #: .././admin/setup.php:203 .././admin/setup.php:219
604
+ msgid "Unique Views"
605
+ msgstr "Visualizzazioni singole"
 
 
 
 
606
 
607
+ #: .././admin/setup.php:204 .././admin/setup.php:220
608
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
609
+ #: .././tools/gapi.php:382
610
  msgid "Users"
611
  msgstr "Utenti"
612
 
613
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
614
  msgid "Organic"
615
  msgstr "Traffico da motorI di ricerca"
616
 
617
+ #: .././admin/setup.php:206 .././admin/setup.php:221
618
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
619
+ #: .././tools/gapi.php:385
620
  msgid "Page Views"
621
  msgstr "Pagine viste"
622
 
623
+ #: .././admin/setup.php:207 .././admin/setup.php:222
624
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
625
+ #: .././tools/gapi.php:388
626
  msgid "Bounce Rate"
627
  msgstr "Frequenza di rimbalzo"
628
 
629
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
630
  msgid "Location"
631
  msgstr "Posizione geografica"
632
 
633
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
634
  msgid "Referrers"
635
  msgstr "Siti di origine del traffico"
636
 
637
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
638
+ #: .././tools/gapi.php:913
639
  msgid "Searches"
640
  msgstr "Ricerche"
641
 
642
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
643
  msgid "Traffic Details"
644
  msgstr "Dettagli traffico"
645
 
646
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
647
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
648
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
649
  msgid "A JavaScript Error is blocking plugin resources!"
650
  msgstr "Un errore JavaScript sta bloccando le risorse del plugin"
651
 
652
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
653
  msgid "Traffic Mediums"
654
  msgstr "Origine del traffico in %"
655
 
656
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
657
  msgid "Visitor Type"
658
  msgstr "Tipo di visitatore"
659
 
660
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
661
  msgid "Social Networks"
662
  msgstr "Social Networks"
663
 
664
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
665
  msgid "Search Engines"
666
  msgstr "Motori di ricerca"
667
 
668
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
669
  msgid "Organic Search"
670
  msgstr "Ricerca organica"
671
 
672
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
673
  msgid "Pages/Session"
674
  msgstr "Pagine per sessione"
675
 
676
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
677
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
678
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
679
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
680
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
681
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
682
+ #: .././front/item-reports.php:118
683
  msgid "Invalid response, more details in JavaScript Console (F12)."
684
  msgstr ""
685
  "Risposta non valida, ulteriori dettagli nella console JavaScript (F12)."
686
 
687
+ #: .././admin/setup.php:226
688
  msgid "Not enough data collected"
689
+ msgstr "Dati raccolti insufficienti"
690
+
691
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
692
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
693
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
694
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
695
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
696
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
697
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
698
+ #: .././front/widgets.php:110
699
  msgid "This report is unavailable"
700
  msgstr "Questo rapporto non &egrave; disponibile"
701
 
702
+ #: .././admin/setup.php:228
703
  msgid "report generated by"
704
+ msgstr "rapporto generato da"
705
 
706
+ #: .././admin/setup.php:268
707
  msgid "Settings"
708
  msgstr "Impostazioni"
709
 
710
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
711
  msgid "Google Analytics Dashboard"
712
  msgstr "Bacheca di Google Analytics"
713
 
714
+ #: .././admin/widgets.php:43
715
  msgid "This plugin needs an authorization:"
716
  msgstr "Questo plugin necessita di un&#39;autorizzazione:"
717
 
718
+ #: .././admin/widgets.php:77
719
  msgid "Something went wrong while retrieving profiles list."
720
  msgstr ""
721
  "Qualcosa &egrave; andato male durante il recupero della lista dei profili."
722
 
723
+ #: .././admin/widgets.php:77
724
  msgid "More details"
725
  msgstr "Altri dettagli"
726
 
727
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
728
  msgid "An admin should asign a default Google Analytics Profile."
729
  msgstr ""
730
  "Un amministratore deve assegnare un profilo predefinito di Google Analytics."
731
 
732
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
733
  msgid "Select Domain"
734
  msgstr "Seleziona dominio"
735
 
736
+ #: .././admin/widgets.php:106
737
  msgid ""
738
  "Something went wrong while retrieving property data. You need to create and "
739
  "properly configure a Google Analytics account:"
741
  "Qualcosa &egrave; andato male durante il recupero dei dati. &Egrave; "
742
  "necessario creare e configurare correttamente un account di Google Analytics:"
743
 
744
+ #: .././admin/widgets.php:106
745
  msgid "Find out more!"
746
  msgstr "Per saperne di pi&ugrave;!"
747
 
748
+ #: .././admin/widgets.php:127
749
  msgid "Real-Time"
750
  msgstr "In tempo reale"
751
 
752
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
753
+ #: .././front/widgets.php:183
754
  msgid "Last 14 Days"
755
  msgstr "Ultimi 14 giorni"
756
 
757
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
758
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
759
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
760
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
761
+ msgid "Sessions"
762
+ msgstr "Sessioni"
763
+
764
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
765
  msgid "Pages"
766
  msgstr "Pagine"
767
 
768
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
769
  msgid "REFERRAL"
770
  msgstr "TRAFFICO DA SITI REFERENTI (REFERRALS)"
771
 
772
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
773
  msgid "ORGANIC"
774
  msgstr "TRAFFICO DA MOTORI DI RICERCA (ORGANICO)"
775
 
776
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
777
+ #: .././admin/widgets.php:491
778
  msgid "SOCIAL"
779
  msgstr "TRAFFICO DAI SOCIAL NETWORK"
780
 
781
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
782
+ #: .././admin/widgets.php:492
783
  msgid "CAMPAIGN"
784
  msgstr "CAMPAGNA"
785
 
786
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
787
+ #: .././admin/widgets.php:495
788
  msgid "DIRECT"
789
  msgstr "TRAFFICO DIRETTO"
790
 
791
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
792
  msgid "NEW"
793
  msgstr "VISITATORI NUOVI"
794
 
795
+ #: .././admin/widgets.php:371
796
  msgid "REFERRALS"
797
  msgstr "TRAFFICO DA SITI REFERENTI (REFERRALS)"
798
 
799
+ #: .././admin/widgets.php:374
800
  msgid "KEYWORDS"
801
  msgstr "KEYWORDS"
802
 
803
+ #: .././front/item-reports.php:133
804
  msgid "Views vs UniqueViews"
805
+ msgstr "Visualizzazioni vs Visualizzazioni singole"
806
 
807
+ #: .././front/item-reports.php:183
808
  msgid "Google Analytics Reports"
809
  msgstr "Rapporti di Google Analytics"
810
 
811
+ #: .././front/widgets.php:23
812
  msgid "Will display your google analytics stats in a widget"
813
  msgstr "Visualizza le statistiche di Google Analytics in un widget"
814
 
815
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
816
  msgid "trend"
817
  msgstr "tendenza"
818
 
819
+ #: .././front/widgets.php:133
820
  msgid "Period:"
821
  msgstr "Periodo:"
822
 
823
+ #: .././front/widgets.php:133
824
  msgid "Sessions:"
825
  msgstr "Sessioni:"
826
 
827
+ #: .././front/widgets.php:137
828
  msgid "generated by"
829
  msgstr "generato da"
830
 
831
+ #: .././front/widgets.php:147
832
  msgid "Google Analytics Stats"
833
  msgstr "Statistiche di Google Analytics"
834
 
835
+ #: .././front/widgets.php:154
836
  msgid "Title:"
837
  msgstr "Titolo:"
838
 
839
+ #: .././front/widgets.php:161
840
  msgid "Display:"
841
  msgstr "Mostra:"
842
 
843
+ #: .././front/widgets.php:165
844
  msgid "Chart & Totals"
845
  msgstr "Grafico & Totali"
846
 
847
+ #: .././front/widgets.php:166
848
  msgid "Chart"
849
  msgstr "Grafico"
850
 
851
+ #: .././front/widgets.php:167
852
  msgid "Totals"
853
  msgstr "Totali"
854
 
855
+ #: .././front/widgets.php:171
856
  msgid "Anonymize stats:"
857
  msgstr "Anonimizza le statistiche:"
858
 
859
+ #: .././front/widgets.php:178
860
  msgid "Stats for:"
861
  msgstr "Statistiche per:"
862
 
863
+ #: .././front/widgets.php:188
864
  msgid "Give credits:"
865
  msgstr "Crediti:"
866
 
867
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
868
+ msgid "This is not allowed, read the documentation!"
869
+ msgstr ""
870
+
871
+ #: .././tools/gapi.php:141
872
  msgid "Use this link to get your access code:"
873
  msgstr "Utilizza questo link per ottenere il codice di accesso:"
874
 
875
+ #: .././tools/gapi.php:141
876
  msgid "Get Access Code"
877
  msgstr "Ottieni codice di accesso"
878
 
879
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
880
  msgid "Use the red link to get your access code!"
881
  msgstr "Utilizza il link rosso per ottenere il tuo codice di accesso!"
882
 
883
+ #: .././tools/gapi.php:146
884
  msgid "Access Code:"
885
  msgstr "Codice di accesso:"
886
 
887
+ #: .././tools/gapi.php:158
888
  msgid "Save Access Code"
889
  msgstr "Salva codice di accesso"
890
 
891
+ #: .././tools/gapi.php:391
892
  msgid "Organic Searches"
893
  msgstr "Ricerche organiche"
894
 
895
+ #: .././tools/gapi.php:394
896
+ msgid "Unique Page Views"
897
+ msgstr "Visualizzazioni pagine singole"
898
+
899
+ #: .././tools/gapi.php:402
900
  msgid "Hour"
901
  msgstr "Ora"
902
 
903
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
904
  msgid "Date"
905
  msgstr "Data"
906
 
907
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
908
  msgid "Views"
909
  msgstr "Visualizzazioni"
910
 
911
+ #: .././tools/gapi.php:631
912
  msgid "Countries"
913
  msgstr "Paesi"
914
 
915
+ #: .././tools/gapi.php:641
916
  msgid "Cities from"
917
  msgstr "Paese: "
918
 
919
+ #: .././tools/gapi.php:713
920
  msgid "Channels"
921
  msgstr "Canali"
922
 
923
+ #: .././tools/gapi.php:776
924
  msgid "Type"
925
  msgstr "Tipo"
926
 
927
+ #: .././tools/gapi.php:871
928
  msgid "UniqueViews"
929
  msgstr "Visualizzazioni uniche"
930
 
931
+ #~ msgid "find out more %s"
932
+ #~ msgstr "per saperne di pi&ugrave; su %s"
933
+
934
+ #~ msgid "about this feature"
935
+ #~ msgstr "su questa funzionalit&agrave;"
936
+
937
+ #~ msgid " show page sessions and users in frontend (after each article)"
938
+ #~ msgstr ""
939
+ #~ "mostra le sessioni della pagina e gli utenti nel frontend (dopo ogni "
940
+ #~ "articolo)"
941
+
942
+ #~ msgid " show page searches (after each article)"
943
+ #~ msgstr " mostra le ricerche della pagina (dopo ogni articolo)"
944
+
945
+ #~ msgid " anonymize IPs while tracking"
946
+ #~ msgstr "rendi anonimi gli indirizzi IP durante il monitoraggio"
947
+
948
+ #~ msgid " enable remarketing, demographics and interests reports"
949
+ #~ msgstr " abilita remarketing e rapporti demografici e sugli interessi"
950
+
951
+ #~ msgid " track downloads, mailto and outbound links"
952
+ #~ msgstr "monitora downloads, mailto e link in uscita"
953
+
954
+ #~ msgid " track affiliate links matching this regex"
955
+ #~ msgstr ""
956
+ #~ " monitora collegamenti associati corrispondenti a queste abbreviazioni"
957
+
958
+ #~ msgid " track fragment identifiers, hashmarks (#) in URI links"
959
+ #~ msgstr ""
960
+ #~ " monitora gli identificatori di frammentoe gli hashmarks (#) nei "
961
+ #~ "collegamenti URI"
962
+
963
+ #~ msgid " exclude events from bounce-rate calculation"
964
+ #~ msgstr " escludi gli eventi dal calcolo del bounce-rate"
965
+
966
+ #~ msgid " enable enhanced link attribution"
967
+ #~ msgstr "utilizza l&#39;attribuzione avanzata dei link"
968
+
969
+ #~ msgid " enable AdSense account linking"
970
+ #~ msgstr " abilita AdSense account linking"
971
+
972
+ #~ msgid " enable cross domain tracking"
973
+ #~ msgstr " abilita cross domanin tracking"
974
+
975
+ #~ msgid " use your own API Project credentials"
976
+ #~ msgstr "utilizza le proprie credenziali API"
977
+
978
+ #~ msgid " use a single Google Analytics account for the entire network"
979
+ #~ msgstr " utilizza un unico account Google Analytics per l&#39;intera rete"
980
+
981
+ #~ msgid " exclude Super Admin tracking for the entire network"
982
+ #~ msgstr " esclude il monitoraggio del Super Amministratore per tutta la rete"
983
+
984
+ #~ msgid "or"
985
+ #~ msgstr "o"
986
+
987
+ #~ msgid "Tracking Options"
988
+ #~ msgstr "Opzioni di monitoraggio"
989
+
990
+ #~ msgid "to"
991
+ #~ msgstr "a"
992
+
993
+ #~ msgid "and related tutorials"
994
+ #~ msgstr "ed i tutorial relativi"
995
+
996
+ #~ msgid "You should watch the"
997
+ #~ msgstr "Dovresti guardare il"
998
+
999
+ #~ msgid "and read this"
1000
+ #~ msgstr "e leggere questa"
1001
+
1002
+ #~ msgid "Other"
1003
+ #~ msgstr "Altri"
1004
+
1005
+ #~ msgid ""
1006
+ #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1007
+ #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1008
+ #~ msgstr ""
1009
+ #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1010
+ #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1011
+
1012
  #~ msgid "Google Analytics Dashboard Settings"
1013
  #~ msgstr "Impostazioni Backend di Google Analytics"
1014
 
1091
  #~ msgid "Top Searches"
1092
  #~ msgstr "Ricerche principali"
1093
 
 
 
 
 
 
 
 
1094
  #~ msgid "Error Log"
1095
  #~ msgstr "Log errori"
1096
 
languages/ga-dash-ja.mo CHANGED
Binary file
languages/ga-dash-ja.po CHANGED
@@ -1,1123 +1,1021 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
 
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
  "Language-Team: heysister721 <tk197709141545@gmail.com>\n"
8
  "Language: ja\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
- msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
- msgstr "設定を保存"
28
-
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr "修正しますか?"
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
43
- msgstr "間違いを確認する"
44
-
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
 
49
  msgid "Errors & Debug"
50
  msgstr "エラー&デバッグ"
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr "もしくは"
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
- msgstr "プラグインを許可"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
- msgstr "Google アナリティクス解析 フロントエンド設定"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
69
- msgid "Permissions"
 
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
 
 
 
 
 
 
 
 
 
73
  msgid "Show stats to:"
74
- msgstr "統計を見る:"
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
- msgstr "(各記事の後に)フロントエンドでセッションとユーザーを表示する"
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
- msgstr "(各記事の後)を表示するページを検索"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr "変更を保存"
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
- msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "プロファイル/ビュー機能スイッチを無効にする"
97
-
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
 
 
 
 
 
 
 
 
107
  msgid "Real-Time Settings"
108
  msgstr "リアルタイム設定"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr "リアルタイムのタブに表示するページの最大数:"
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
- msgstr "もっと詳しく"
117
-
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
- msgstr "この機能に関する"
121
-
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr "地域設定"
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr "対象国を地図に指定:"
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr "追跡コンポーネントが無効になっています。設定する必要があります。"
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr "追跡オプション"
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
- msgstr "へ"
141
-
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
- msgstr "有効"
145
 
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr "Google Analytics トラッキングコード"
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr "基本設定"
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr "追跡イベント"
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr "カスタム定義"
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr "追跡を除外する"
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr "拡張設定"
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
- msgstr "追跡設定"
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr "オプションのトラッキング:"
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr "無効"
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr "ビュー名:"
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
- msgstr "追跡 ID:"
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr "デフォルトのURL:"
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr "タイムゾーン:"
200
 
201
- #: .././admin/settings.php:430
202
  msgid "Basic Tracking"
203
  msgstr "基本的なトラッキング"
204
 
205
- #: .././admin/settings.php:433
206
  msgid "Tracking Type:"
207
- msgstr "追跡の種類:"
208
 
209
- #: .././admin/settings.php:437
210
  msgid "Classic Analytics"
211
- msgstr "クラシック分析"
212
 
213
- #: .././admin/settings.php:439
214
  msgid "Universal Analytics"
215
- msgstr "ユニバーサル分析"
216
 
217
- #: .././admin/settings.php:453
218
- msgid " anonymize IPs while tracking"
219
- msgstr "匿名IPアドレスを追跡する"
220
 
221
- #: .././admin/settings.php:468
222
- msgid " enable remarketing, demographics and interests reports"
223
- msgstr "マーケティング・口統計・興味のレポートを有効にする"
224
 
225
- #: .././admin/settings.php:490
226
- msgid " track downloads, mailto and outbound links"
227
- msgstr "トラックのダウンロード、メールと外部へのリンク"
228
 
229
- #: .././admin/settings.php:494
230
  msgid "Downloads Regex:"
231
  msgstr "ダウンロードの正規表現:"
232
 
233
- #: .././admin/settings.php:511
234
- msgid " track affiliate links matching this regex"
235
- msgstr "正規表現に一致するトラックアフィリエイトのリンク"
236
 
237
- #: .././admin/settings.php:515
238
  msgid "Affiliates Regex:"
239
- msgstr "アフィリエイト正規表現:"
240
 
241
- #: .././admin/settings.php:532
242
- msgid " track fragment identifiers, hashmarks (#) in URI links"
243
- msgstr "リンクでフラグメント識別子、ハッシュマーク(#)を追跡"
244
 
245
- #: .././admin/settings.php:543
246
  msgid "Authors:"
247
  msgstr "作者:"
248
 
249
- #: .././admin/settings.php:553
250
  msgid "Publication Year:"
251
  msgstr "発行年:"
252
 
253
- #: .././admin/settings.php:563
254
  msgid "Categories:"
255
  msgstr "カテゴリー:"
256
 
257
- #: .././admin/settings.php:573
258
  msgid "User Type:"
259
  msgstr "ユーザータイプ:"
260
 
261
- #: .././admin/settings.php:587
262
  msgid "Advanced Tracking"
263
  msgstr "高度なトラッキング"
264
 
265
- #: .././admin/settings.php:590
266
  msgid "Page Speed SR:"
267
  msgstr "ページスピードSR:"
268
 
269
- #: .././admin/settings.php:608
270
- msgid " exclude events from bounce-rate calculation"
271
- msgstr "直帰率を除外する"
272
 
273
- #: .././admin/settings.php:623
274
- msgid " enable enhanced link attribution"
275
- msgstr "強化されたリンクの帰属を可能にする"
276
 
277
- #: .././admin/settings.php:637
278
- msgid " enable AdSense account linking"
279
- msgstr "AdSenseアカウントのリンクを有効"
280
 
281
- #: .././admin/settings.php:653
282
- msgid " enable cross domain tracking"
283
- msgstr "クロスドメイントラッキングを可能にする"
284
 
285
- #: .././admin/settings.php:657
286
  msgid "Cross Domains:"
287
- msgstr "クロスドメイン:"
288
 
289
- #: .././admin/settings.php:671
290
  msgid "Exclude tracking for:"
291
- msgstr "除外トラッキング:"
292
 
293
- #: .././admin/settings.php:741
294
  msgid "Google Analytics Errors & Debugging"
295
  msgstr "Google Analyticsのエラーとデバッグ"
296
 
297
- #: .././admin/settings.php:751
298
  msgid "Errors & Details"
299
- msgstr "Google Analyticsのエラーとデバッグ"
300
 
301
- #: .././admin/settings.php:752
302
  msgid "Plugin Settings"
303
  msgstr "プラグイン設定"
304
 
305
- #: .././admin/settings.php:760
306
- msgid "For errors and/or other issues please check"
307
- msgstr "エラー:および/または その他の問題を確認してください"
 
308
 
309
- #: .././admin/settings.php:760
310
- msgid "this documentation page"
311
- msgstr "プラグインのドキュメントページ"
312
-
313
- #: .././admin/settings.php:760
314
- msgid "and related tutorials"
315
- msgstr "関連チュートリアル"
316
-
317
- #: .././admin/settings.php:764
318
  msgid "Last Error detected"
319
  msgstr "エラーを検出"
320
 
321
- #: .././admin/settings.php:769 .././admin/settings.php:782
322
  msgid "None"
323
  msgstr "なし"
324
 
325
- #: .././admin/settings.php:776
326
  msgid "Error Details"
327
  msgstr "エラーの詳細"
328
 
329
- #: .././admin/settings.php:796
330
  msgid "Plugin Configuration"
331
  msgstr "プラグインの設定"
332
 
333
- #: .././admin/settings.php:840 .././admin/settings.php:1149
334
  msgid ""
335
  "Loading the required libraries. If this results in a blank screen or a fatal "
336
  "error, try this solution:"
337
  msgstr ""
338
- "必要なライブラリをロードします。空白の画面または致命的なエラーが発生した場合"
339
- "は、このソリューションを試してみてください。"
340
 
341
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
342
  msgid "Plugin authorization succeeded."
343
  msgstr "プラグインの認可が成功しました。"
344
 
345
- #: .././admin/settings.php:868 .././admin/settings.php:1186
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
349
  msgstr ""
350
- "アクセスコードは、<strong>あなたの追跡ID(UA-XXXXX-X)</strong>ではありませ"
351
- "ん。アクセスコードを取得するためには赤いリンクを使用して、再度実行してくださ"
352
- "い。"
353
 
354
- #: .././admin/settings.php:891 .././admin/settings.php:1218
355
  msgid "Cleared Cache."
356
  msgstr "キャッシュをクリアしました。"
357
 
358
- #: .././admin/settings.php:900 .././admin/settings.php:1227
359
  msgid "Token Reseted and Revoked."
360
- msgstr "トークンのリセットと失効"
361
 
362
- #: .././admin/settings.php:910
363
  msgid "All errors reseted."
364
- msgstr ""
365
 
366
- #: .././admin/settings.php:923 .././admin/settings.php:1241
367
  msgid "All other domains/properties were removed."
368
- msgstr "全て - その他のドメイン/プロパティが削除されました。"
369
 
370
- #: .././admin/settings.php:935 .././admin/settings.php:1253
371
  msgid "Google Analytics Settings"
372
- msgstr "Google アナリティクス解析の設定"
373
 
374
- #: .././admin/settings.php:948 .././admin/settings.php:1266
375
  msgid "Use the red link (see below) to generate and get your access code!"
376
  msgstr "アクセスコードを取得するには、赤リンク(下記参照)を使用してください!"
377
 
378
- #: .././admin/settings.php:959 .././admin/settings.php:1301
379
  msgid "Plugin Authorization"
380
- msgstr "認証プラグイン"
381
 
382
- #: .././admin/settings.php:963 .././admin/settings.php:1305
383
- msgid "You should watch the"
384
- msgstr "あなたが監視する必要があります"
 
 
 
 
 
 
385
 
386
- #: .././admin/settings.php:963 .././admin/settings.php:1305
387
  msgid "video"
388
  msgstr "動画"
389
 
390
- #: .././admin/settings.php:963 .././admin/settings.php:1305
391
- msgid "and read this"
392
- msgstr "そしてこれを読んで"
393
-
394
- #: .././admin/settings.php:963 .././admin/settings.php:1305
395
  msgid "tutorial"
396
  msgstr "チュートリアル"
397
 
398
- #: .././admin/settings.php:963 .././admin/settings.php:1305
399
- msgid ""
400
- "before proceeding to authorization. This plugin requires a properly "
401
- "configured Google Analytics account"
402
  msgstr ""
403
- "許可に進む前に。このプラグインは適切に設定され、Google Analyticsのアカウント"
404
- "が必要です"
405
-
406
- #: .././admin/settings.php:975 .././admin/settings.php:1316
407
- msgid " use your own API Project credentials"
408
- msgstr "独自のAPIプロジェクトの資格情報を使用する"
409
 
410
- #: .././admin/settings.php:982 .././admin/settings.php:1323
411
  msgid "API Key:"
412
  msgstr "API キー:"
413
 
414
- #: .././admin/settings.php:989 .././admin/settings.php:1331
415
  msgid "Client ID:"
416
  msgstr "クライアント ID:"
417
 
418
- #: .././admin/settings.php:997 .././admin/settings.php:1340
419
  msgid "Client Secret:"
420
  msgstr "クライアント Secret:"
421
 
422
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
423
  msgid "Clear Authorization"
424
- msgstr "クリア承認"
425
 
426
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
427
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
428
  msgid "Clear Cache"
429
  msgstr "キャッシュを消去"
430
 
431
- #: .././admin/settings.php:1022
432
  msgid "Reset Errors"
433
- msgstr ""
434
 
435
- #: .././admin/settings.php:1028 .././admin/setup.php:73
436
- #: .././admin/setup.php:109
437
  msgid "General Settings"
438
  msgstr "一般設定"
439
 
440
- #: .././admin/settings.php:1031
441
  msgid "Select Domain:"
442
- msgstr "ドメインを選択:"
443
 
444
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
445
  msgid "Property not found"
446
  msgstr "プロパティが見つかりません"
447
 
448
- #: .././admin/settings.php:1049
449
  msgid "and/or hide all other domains"
450
  msgstr "および/または他のすべてのドメインを隠す"
451
 
452
- #: .././admin/settings.php:1052
453
  msgid "Hide Now"
454
  msgstr "隠す"
455
 
456
- #: .././admin/settings.php:1071
457
  msgid "Theme Color:"
458
  msgstr "テーマカラー:"
459
 
460
- #: .././admin/settings.php:1081
461
  msgid "Automatic Updates"
462
- msgstr ""
463
 
464
- #: .././admin/settings.php:1097
465
  msgid ""
466
- "automatic updates for minor versions (security and maintainance releases "
467
- "only)"
468
  msgstr ""
 
469
 
470
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
471
- #: .././admin/widgets.php:38
472
  msgid "Authorize Plugin"
473
- msgstr "プラグインを承認"
474
 
475
- #: .././admin/settings.php:1192
476
  msgid "Properties refreshed."
477
  msgstr "プロパティを更新しました。"
478
 
479
- #: .././admin/settings.php:1278
480
  msgid "Network Setup"
481
  msgstr "ネットワーク設定"
482
 
483
- #: .././admin/settings.php:1293
484
- msgid " use a single Google Analytics account for the entire network"
485
- msgstr "ネットワーク全体のための単一のGoogle Analyticsアカウントを使用"
486
 
487
- #: .././admin/settings.php:1365
488
  msgid "Refresh Properties"
489
  msgstr "プロパティを最新の情報に更新"
490
 
491
- #: .././admin/settings.php:1371
492
  msgid "Properties/Views Settings"
493
  msgstr "プロパティ/ビューの設定"
494
 
495
- #: .././admin/settings.php:1419
496
- msgid " exclude Super Admin tracking for the entire network"
497
- msgstr "ネットワーク全体の管理者の追跡を除外"
498
 
499
- #: .././admin/settings.php:1471
500
  msgid "Setup Tutorial & Demo"
501
  msgstr "セットアップ:チュートリアル&デモ"
502
 
503
- #: .././admin/settings.php:1483
504
  msgid "Support & Reviews"
505
  msgstr "サポート&レビュー"
506
 
507
- #: .././admin/settings.php:1491
508
- msgid "Plugin documentation and support on"
509
- msgstr "プラグインのドキュメントとサポート"
 
510
 
511
- #: .././admin/settings.php:1498
512
- msgid "Your feedback and review are both important,"
513
- msgstr "あなたのフィードバックやレビューは、両方とも重要であり、"
 
514
 
515
- #: .././admin/settings.php:1498
516
  msgid "rate this plugin"
517
  msgstr "このプラグインを評価"
518
 
519
- #: .././admin/settings.php:1503
520
  msgid "Further Reading"
521
  msgstr "参考文献"
522
 
523
- #: .././admin/settings.php:1511
 
 
 
 
 
524
  msgid "Improve search rankings"
525
  msgstr "検索ランキングを向上させる"
526
 
527
- #: .././admin/settings.php:1511
528
- msgid "by moving your website to HTTPS/SSL."
529
- msgstr "HTTPS / SSLにあなたのウェブサイトを移動することによって。"
 
530
 
531
- #: .././admin/settings.php:1518
532
- msgid "Other"
533
- msgstr "その他"
534
-
535
- #: .././admin/settings.php:1518
536
  msgid "WordPress Plugins"
537
  msgstr "WordPressのプラグイン"
538
 
539
- #: .././admin/settings.php:1518
540
- msgid "written by the same author"
541
- msgstr "同じ作者によって書かれた"
542
-
543
- #: .././admin/settings.php:1523
544
  msgid "Other Services"
545
  msgstr "その他のサービス"
546
 
547
- #: .././admin/settings.php:1531
548
- msgid "Speed up your website and plug into a whole"
549
- msgstr "あなたのウェブサイトをスピードアップし、全体に差し込む"
 
550
 
551
- #: .././admin/settings.php:1531
552
  msgid "new level of site speed"
553
  msgstr "新しいレベルのサイト速度"
554
 
555
- #: .././admin/settings.php:1538
 
 
 
 
 
556
  msgid "Web Analytics"
557
  msgstr "ウェブ解析"
558
 
559
- #: .././admin/settings.php:1538
560
- msgid "service with users tracking at IP level."
561
- msgstr "IPレベルでのトラッキングユーザーとサービス"
562
-
563
- #: .././admin/setup.php:69 .././admin/setup.php:105
564
  msgid "Google Analytics"
565
- msgstr "Google アナリティクス解析"
566
 
567
- #: .././admin/setup.php:77
568
  msgid "Backend Settings"
569
  msgstr "バックエンド設定"
570
 
571
- #: .././admin/setup.php:81
572
  msgid "Frontend Settings"
573
  msgstr "フロントエンド設定"
574
 
575
- #: .././admin/setup.php:85
576
  msgid "Tracking Code"
577
  msgstr "トラッキングコード"
578
 
579
- #: .././admin/setup.php:190 .././admin/widgets.php:123
580
  msgid "Today"
581
  msgstr "今日"
582
 
583
- #: .././admin/setup.php:191 .././admin/widgets.php:125
584
  msgid "Yesterday"
585
  msgstr "昨日"
586
 
587
- #: .././admin/setup.php:192 .././admin/widgets.php:127
588
- #: .././front/widgets.php:68 .././front/widgets.php:176
589
  msgid "Last 7 Days"
590
- msgstr "1週間前"
591
 
592
- #: .././admin/setup.php:193 .././admin/widgets.php:131
593
- #: .././front/widgets.php:74 .././front/widgets.php:178
594
  msgid "Last 30 Days"
595
- msgstr "30日前"
596
 
597
- #: .././admin/setup.php:194 .././admin/widgets.php:133
598
  msgid "Last 90 Days"
599
- msgstr "90日前"
600
 
601
- #: .././admin/setup.php:197 .././admin/setup.php:213
602
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
603
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
604
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
605
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
606
- msgid "Sessions"
607
- msgstr "セッション"
608
 
609
- #: .././admin/setup.php:198 .././admin/setup.php:214
610
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
611
- #: .././tools/gapi.php:372
612
  msgid "Users"
613
- msgstr "ユーザ"
614
 
615
- #: .././admin/setup.php:199 .././admin/widgets.php:142
616
  msgid "Organic"
617
- msgstr "キーワード検索"
618
 
619
- #: .././admin/setup.php:200 .././admin/setup.php:215
620
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
621
- #: .././tools/gapi.php:375
622
  msgid "Page Views"
623
  msgstr "PV"
624
 
625
- #: .././admin/setup.php:201 .././admin/setup.php:216
626
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
627
- #: .././tools/gapi.php:378
628
  msgid "Bounce Rate"
629
  msgstr "直帰率"
630
 
631
- #: .././admin/setup.php:202 .././admin/widgets.php:148
632
  msgid "Location"
633
  msgstr "地域"
634
 
635
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
636
  msgid "Referrers"
637
  msgstr "リファラー"
638
 
639
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
640
- #: .././tools/gapi.php:898
641
  msgid "Searches"
642
  msgstr "検索結果"
643
 
644
- #: .././admin/setup.php:205 .././admin/widgets.php:156
645
  msgid "Traffic Details"
646
  msgstr "トラフィック詳細"
647
 
648
- #: .././admin/setup.php:208 .././admin/widgets.php:522
649
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
650
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
651
  msgid "A JavaScript Error is blocking plugin resources!"
652
  msgstr ""
653
- "JavaScriptのエラーは、プラグインのリソースをブロックしている可能性がありま"
654
  "す。"
655
 
656
- #: .././admin/setup.php:209 .././admin/widgets.php:724
657
  msgid "Traffic Mediums"
658
  msgstr "トラフィック平均"
659
 
660
- #: .././admin/setup.php:210 .././admin/widgets.php:740
661
  msgid "Visitor Type"
662
  msgstr "訪問者"
663
 
664
- #: .././admin/setup.php:211 .././admin/widgets.php:756
665
  msgid "Social Networks"
666
  msgstr "SNS"
667
 
668
- #: .././admin/setup.php:212 .././admin/widgets.php:772
669
  msgid "Search Engines"
670
- msgstr "検索サイト"
671
 
672
- #: .././admin/setup.php:217 .././admin/widgets.php:897
673
  msgid "Organic Search"
674
- msgstr "キーワード検索"
675
 
676
- #: .././admin/setup.php:218 .././admin/widgets.php:901
677
  msgid "Pages/Session"
678
  msgstr "ページ/セッション"
679
 
680
- #: .././admin/setup.php:219 .././admin/widgets.php:535
681
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
682
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
683
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
684
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
685
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
686
- #: .././front/item-reports.php:115
687
  msgid "Invalid response, more details in JavaScript Console (F12)."
688
  msgstr ""
689
  "応答がありません。JavaScriptコンソールでの詳細(F12)をご確認ください。"
690
 
691
- #: .././admin/setup.php:220
692
  msgid "Not enough data collected"
693
- msgstr ""
694
-
695
- #: .././admin/setup.php:221 .././admin/widgets.php:540
696
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
697
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
698
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
699
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
700
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
701
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
702
- #: .././front/widgets.php:104
703
  msgid "This report is unavailable"
704
- msgstr "このレポートには使用できません。"
705
 
706
- #: .././admin/setup.php:222
707
  msgid "report generated by"
708
- msgstr ""
709
 
710
- #: .././admin/setup.php:260
711
  msgid "Settings"
712
  msgstr "設定"
713
 
714
- #: .././admin/widgets.php:27 .././front/widgets.php:14
715
  msgid "Google Analytics Dashboard"
716
- msgstr "Google アナリティクス解析 ダッシュボード"
717
 
718
- #: .././admin/widgets.php:38
719
  msgid "This plugin needs an authorization:"
720
- msgstr "このプラグインは、許可を必要とします:"
721
 
722
- #: .././admin/widgets.php:72
723
  msgid "Something went wrong while retrieving profiles list."
724
- msgstr "プロファイルリストの取得中に何かが間違っていた。"
725
 
726
- #: .././admin/widgets.php:72
727
  msgid "More details"
728
  msgstr "詳細"
729
 
730
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
731
  msgid "An admin should asign a default Google Analytics Profile."
732
  msgstr ""
733
  "管理者は、デフォルトのGoogle Analyticsのプロファイルをasign必要があります。"
734
 
735
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
736
  msgid "Select Domain"
737
  msgstr "ドメインを選択"
738
 
739
- #: .././admin/widgets.php:101
740
  msgid ""
741
  "Something went wrong while retrieving property data. You need to create and "
742
  "properly configure a Google Analytics account:"
743
  msgstr ""
744
- "プロパティデータを取得中に何かが間違っていた。あなたが作成し、適切にGoogle "
745
- "Analyticsアカウントを設定する必要があります:"
746
 
747
- #: .././admin/widgets.php:101
748
  msgid "Find out more!"
749
  msgstr "詳細はこちら"
750
 
751
- #: .././admin/widgets.php:122
752
  msgid "Real-Time"
753
  msgstr "リアルタイム"
754
 
755
- #: .././admin/widgets.php:129 .././front/widgets.php:71
756
- #: .././front/widgets.php:177
757
  msgid "Last 14 Days"
758
- msgstr "2週間前"
759
 
760
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
761
  msgid "Pages"
762
  msgstr "ページ"
763
 
764
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
765
  msgid "REFERRAL"
766
  msgstr "リファラー"
767
 
768
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
769
  msgid "ORGANIC"
770
  msgstr "キーワード検索"
771
 
772
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
773
- #: .././admin/widgets.php:486
774
  msgid "SOCIAL"
775
- msgstr "SNS"
776
 
777
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
778
- #: .././admin/widgets.php:487
779
  msgid "CAMPAIGN"
780
  msgstr "キャンペーン"
781
 
782
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
783
- #: .././admin/widgets.php:490
784
  msgid "DIRECT"
785
  msgstr "直リンク"
786
 
787
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
788
  msgid "NEW"
789
- msgstr ""
790
 
791
- #: .././admin/widgets.php:366
792
  msgid "REFERRALS"
793
  msgstr "リファラー"
794
 
795
- #: .././admin/widgets.php:369
796
  msgid "KEYWORDS"
797
- msgstr "リスティング広告"
798
 
799
- #: .././front/item-reports.php:130
800
  msgid "Views vs UniqueViews"
801
- msgstr "ユニーク視聴/ビュー"
802
 
803
- #: .././front/item-reports.php:180
804
  msgid "Google Analytics Reports"
805
- msgstr "Google アナリティクス解析のレポート"
806
 
807
- #: .././front/widgets.php:15
808
  msgid "Will display your google analytics stats in a widget"
809
  msgstr "ウィジェットでのGoogleアナリティクスの統計を表示します"
810
 
811
- #: .././front/widgets.php:40 .././tools/gapi.php:803
812
  msgid "trend"
813
- msgstr "トレンド(動向)"
814
 
815
- #: .././front/widgets.php:127
816
  msgid "Period:"
817
  msgstr "期間:"
818
 
819
- #: .././front/widgets.php:127
820
  msgid "Sessions:"
821
  msgstr "セッション:"
822
 
823
- #: .././front/widgets.php:131
824
  msgid "generated by"
825
- msgstr "によって生成される"
826
 
827
- #: .././front/widgets.php:141
828
  msgid "Google Analytics Stats"
829
- msgstr "Google アナリティクス解析の統計"
830
 
831
- #: .././front/widgets.php:148
832
  msgid "Title:"
833
  msgstr "タイトル:"
834
 
835
- #: .././front/widgets.php:155
836
  msgid "Display:"
837
  msgstr "表示:"
838
 
839
- #: .././front/widgets.php:159
840
  msgid "Chart & Totals"
841
- msgstr "合計(図表)"
842
 
843
- #: .././front/widgets.php:160
844
  msgid "Chart"
845
- msgstr "図表"
846
 
847
- #: .././front/widgets.php:161
848
  msgid "Totals"
849
  msgstr "合計"
850
 
851
- #: .././front/widgets.php:165
852
  msgid "Anonymize stats:"
853
  msgstr "匿名の統計:"
854
 
855
- #: .././front/widgets.php:172
856
  msgid "Stats for:"
857
  msgstr "統計:"
858
 
859
- #: .././front/widgets.php:182
860
  msgid "Give credits:"
861
- msgstr "クレジットを与える:"
862
 
863
- #: .././tools/gapi.php:128
 
 
 
 
864
  msgid "Use this link to get your access code:"
865
  msgstr "このリンクを使用して、アクセスコードを取得してください:"
866
 
867
- #: .././tools/gapi.php:128
868
  msgid "Get Access Code"
869
  msgstr "アクセスコードを取得"
870
 
871
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
872
  msgid "Use the red link to get your access code!"
873
  msgstr "アクセスコードを取得するために赤いリンクを使用してください。"
874
 
875
- #: .././tools/gapi.php:133
876
  msgid "Access Code:"
877
  msgstr "アクセスコード:"
878
 
879
- #: .././tools/gapi.php:145
880
  msgid "Save Access Code"
881
  msgstr "アクセスコードを保存"
882
 
883
- #: .././tools/gapi.php:381
884
  msgid "Organic Searches"
885
- msgstr "広告なし検索"
 
 
 
 
886
 
887
- #: .././tools/gapi.php:389
888
  msgid "Hour"
889
  msgstr "時"
890
 
891
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
892
  msgid "Date"
893
  msgstr "日"
894
 
895
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
896
  msgid "Views"
897
  msgstr "PV"
898
 
899
- #: .././tools/gapi.php:617
900
  msgid "Countries"
901
  msgstr "各国"
902
 
903
- #: .././tools/gapi.php:626
904
  msgid "Cities from"
905
  msgstr "都市"
906
 
907
- #: .././tools/gapi.php:698
908
  msgid "Channels"
909
  msgstr "経路"
910
 
911
- #: .././tools/gapi.php:761
912
  msgid "Type"
913
  msgstr "タイプ"
914
 
915
- #: .././tools/gapi.php:856
916
  msgid "UniqueViews"
917
  msgstr "ユニークPV"
918
 
919
- #~ msgid "Google Analytics Dashboard Settings"
920
- #~ msgstr "Google アナリティクス解析 ダッシュボードの設定"
921
 
922
- #~ msgid "A new frontend widget is available! To enable it, go to"
923
- #~ msgstr "新しいフロントエンドのウィジェットが利用可能です。それを有効にする"
924
 
925
- #~ msgid "Appearance -> Widgets"
926
- #~ msgstr "外観 - >ウィジェット"
927
 
928
- #~ msgid "and look for Google Analytics Dashboard."
929
- #~ msgstr "Google Analyticsのダッシュボードを探します。"
930
 
931
- #~ msgid "Something went wrong, you need to"
932
- #~ msgstr "Quelque chose s&#39;est mal passé, vous devez"
933
 
934
- #~ msgid "or properly configure your"
935
- #~ msgstr "ou bien configurer votre"
936
 
937
- #~ msgid "Google Analytics account"
938
- #~ msgstr "Compte Google Analytics"
939
 
940
- #~ msgid "(find out more"
941
- #~ msgstr "(en savoir plus"
942
 
943
- #~ msgid ")"
944
- #~ msgstr ")"
945
 
946
- #~ msgid "Additional Stats & Charts"
947
- #~ msgstr "Statistiques et graphiques supplémentaires"
948
 
949
- #~ msgid "Target Geo Map to region:"
950
- #~ msgstr "Cible Géo carte de la région:"
951
 
952
- #~ msgid "and render top"
953
- #~ msgstr "et rendre haut"
954
 
955
- #~ msgid "cities (find out more"
956
- #~ msgstr "villes (en savoir plus"
957
 
958
- #~ msgid " show traffic overview"
959
- #~ msgstr "Affiche la Vue d&#39;ensemble du Traffic"
960
 
961
- #~ msgid " show top pages"
962
- #~ msgstr "Affiche le Top pages"
963
 
964
- #~ msgid " show top referrers"
965
- #~ msgstr "Affiche le Top références"
966
-
967
- #~ msgid " show top searches"
968
- #~ msgstr "Affiche le Top recherches"
969
-
970
- #~ msgid "Dumping log data."
971
- #~ msgstr "D&#39;exporter les données du journal."
972
 
973
  #~ msgid ""
974
- #~ "Something went wrong. Please check the Debugging Data section for "
975
- #~ "possible errors"
976
  #~ msgstr ""
977
- #~ "Quelque chose s&#39;est mal passé. S&#39;il vous plaît consulter la "
978
- #~ "section Mise au point de données pour d&#39;éventuelles erreurs"
979
-
980
- #~ msgid "Debugging Data"
981
- #~ msgstr "débogage des données"
982
-
983
- #~ msgid "Anonimize chart&#39;s stats:"
984
- #~ msgstr "Les statistiques de Anonimize graphique:"
985
 
986
- #~ msgid "Top Searches"
987
- #~ msgstr "Top Recherches"
988
 
989
- #~ msgid "Error Log"
990
- #~ msgstr "Log erreurs"
991
 
992
- #~ msgid "Visits"
993
- #~ msgstr "Visites"
994
-
995
- #~ msgid "Visitors"
996
- #~ msgstr "Visiteurs"
997
 
998
  #~ msgid ""
999
- #~ "No stats available. Please check the Debugging Data section for possible "
1000
- #~ "errors"
1001
- #~ msgstr ""
1002
- #~ "Aucune statistique n&#39;est disponible. S&#39;il vous plaît consulter la "
1003
- #~ "section Mise au point de données pour d&#39;éventuelles erreurs"
1004
-
1005
- #~ msgid "Country/City"
1006
- #~ msgstr "Pays/Ville"
1007
-
1008
- #~ msgid "Source"
1009
- #~ msgstr "source"
1010
-
1011
- #~ msgid "Traffic Sources"
1012
- #~ msgstr "Sources de traffic"
1013
-
1014
- #~ msgid "New vs. Returning"
1015
- #~ msgstr "Nouveaux VS Connus"
1016
-
1017
- #~ msgid "Top Pages"
1018
- #~ msgstr "Top Pages"
1019
-
1020
- #~ msgid "Top Referrers"
1021
- #~ msgstr "Top Références"
1022
-
1023
- #~ msgid "Visits:"
1024
- #~ msgstr "Visites:"
1025
-
1026
- #~ msgid "Visitors:"
1027
- #~ msgstr "Visiteurs:"
1028
-
1029
- #~ msgid "Page Views:"
1030
- #~ msgstr "Pages Vues:"
1031
-
1032
- #~ msgid "Bounce Rate:"
1033
- #~ msgstr "Taux de Rebond:"
1034
-
1035
- #~ msgid "Organic Search:"
1036
- #~ msgstr "Recherches Organique:"
1037
-
1038
- #~ msgid "Pages per Visit:"
1039
- #~ msgstr "Pages par visite:"
1040
-
1041
- #~ msgid ""
1042
- #~ "This is a beta feature and is only available when using my Developer Key! "
1043
- #~ "("
1044
- #~ msgstr ""
1045
- #~ "Il s&#39;agit d&#39;une fonctionnalité bêta et est disponible uniquement "
1046
- #~ "lorsque vous utilisez ma clé de développeur! ("
1047
-
1048
- #~ msgid "more about this feature"
1049
- #~ msgstr "plus sur cette fonction"
1050
-
1051
- #~ msgid "RETURN"
1052
- #~ msgstr "RETOUR"
1053
-
1054
- #~ msgid "Visits from "
1055
- #~ msgstr "Visites de"
1056
-
1057
- #~ msgid "Visits by Country"
1058
- #~ msgstr "Visites par Pays"
1059
-
1060
- #~ msgid "Traffic Overview"
1061
- #~ msgstr "Aperçu du Traffic"
1062
-
1063
- #~ msgid " show page visits and visitors in frontend (after each article)"
1064
  #~ msgstr ""
1065
- #~ "Afficher la page visites et de visiteurs en frontend (après chaque "
1066
- #~ "article)"
1067
-
1068
- #~ msgid " show Geo Map chart for visits"
1069
- #~ msgstr "montrer carte Géographique pour les visites"
1070
-
1071
- #~ msgid "You can find support on"
1072
- #~ msgstr "Vous pouvez trouver de l&#39;aide sur"
1073
-
1074
- #~ msgid "service with visitors tracking at IP level."
1075
- #~ msgstr "services auprès des visiteurs de suivi au niveau IP."
1076
-
1077
- #~ msgid "Total Visits:"
1078
- #~ msgstr "Total visits"
1079
-
1080
- #~ msgid "PHP CURL is required. Please install/enable PHP CURL!"
1081
- #~ msgstr ""
1082
- #~ "PHP CURL est nécessaire. S&#39;il vous plaît installer / activer PHP CURL!"
1083
-
1084
- #~ msgid "Options saved."
1085
- #~ msgstr "Options Sauvées"
1086
-
1087
- #~ msgid "Show stats to: "
1088
- #~ msgstr "Voir les statistiques de:"
1089
-
1090
- #~ msgid "Update Options"
1091
- #~ msgstr "Mise à jour des options"
1092
-
1093
- #~ msgid "Tracking Options: "
1094
- #~ msgstr "Suivi Options:"
1095
-
1096
- #~ msgid "Tracking Type: "
1097
- #~ msgstr "Type de suivi:"
1098
 
1099
- #, fuzzy
1100
- #~ msgid "User Type: "
1101
- #~ msgstr "Type de suivi:"
1102
 
1103
- #~ msgid "Exclude tracking for: "
1104
- #~ msgstr "Exclure tracking pour:"
1105
 
1106
- #~ msgid "Select Domain: "
1107
- #~ msgstr "Sélectionner un domaine:"
1108
 
1109
- #~ msgid "Theme Color: "
1110
- #~ msgstr "Couleur du Thème:"
1111
 
1112
- #~ msgid "&#39; trend"
1113
- #~ msgstr "&#39; tendance"
1114
 
1115
- #~ msgid "DeConf Help Center"
1116
- #~ msgstr "DeConf Centre d'aide"
1117
 
1118
  #~ msgid ""
1119
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1120
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1121
  #~ msgstr ""
1122
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1123
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:32+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 09:32+0200\n"
8
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
9
  "Language-Team: heysister721 <tk197709141545@gmail.com>\n"
10
  "Language: ja\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.5\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
+ msgstr "アナリティクス"
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
+ msgstr "設定を保存しました。"
30
+
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
  msgstr "修正しますか?"
40
 
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
+ msgstr "問題が発生しました。%2$sするか、%1$sを確認してください。"
47
+
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr "エラー&デバッグ"
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
+ msgstr "プラグインを認可"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
+ msgstr "Google アナリティクス フロントエンド設定"
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
  msgstr ""
69
 
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr "プラグインのドキュメントページ"
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
+ msgid "Permissions"
77
+ msgstr "権限"
78
+
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
+ msgstr "統計を表示:"
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
+ msgstr ""
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
+ msgstr ""
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr "変更を保存"
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
+ msgstr "Google アナリティクス バックエンド設定"
100
 
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
 
 
 
104
  msgstr ""
105
 
106
+ #: .././admin/settings.php:272
107
+ msgid "enable Switch Profile/View functionality"
108
  msgstr ""
109
 
110
+ #: .././admin/settings.php:283
111
+ msgid "enable reports on Posts List and Pages List"
112
+ msgstr "投稿及びページ一覧でのレポートの表示を有効化"
113
+
114
+ #: .././admin/settings.php:294
115
+ msgid "enable the main Dashboard Widget"
116
+ msgstr "ダッシュボードのウィジェットを有効化"
117
+
118
+ #: .././admin/settings.php:298
119
  msgid "Real-Time Settings"
120
  msgstr "リアルタイム設定"
121
 
122
+ #: .././admin/settings.php:301
123
  msgid "Maximum number of pages to display on real-time tab:"
124
  msgstr "リアルタイムのタブに表示するページの最大数:"
125
 
126
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
127
  msgid "Location Settings"
128
  msgstr "地域設定"
129
 
130
+ #: .././admin/settings.php:310
131
  msgid "Target Geo Map to country:"
132
  msgstr "対象国を地図に指定:"
133
 
134
+ #: .././admin/settings.php:347
135
+ msgid ""
136
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
137
+ "strong> to <strong>Enabled</strong>"
138
+ msgstr ""
 
 
 
 
 
 
 
 
 
 
139
 
140
+ #: .././admin/settings.php:352
141
  msgid "Google Analytics Tracking Code"
142
  msgstr "Google Analytics トラッキングコード"
143
 
144
+ #: .././admin/settings.php:361
145
  msgid "Basic Settings"
146
  msgstr "基本設定"
147
 
148
+ #: .././admin/settings.php:362 .././admin/settings.php:429
149
  msgid "Events Tracking"
150
  msgstr "追跡イベント"
151
 
152
+ #: .././admin/settings.php:363 .././admin/settings.php:477
153
  msgid "Custom Definitions"
154
  msgstr "カスタム定義"
155
 
156
+ #: .././admin/settings.php:364 .././admin/settings.php:575
157
+ #: .././admin/settings.php:1235
158
  msgid "Exclude Tracking"
159
  msgstr "追跡を除外する"
160
 
161
+ #: .././admin/settings.php:365
162
  msgid "Advanced Settings"
163
  msgstr "拡張設定"
164
 
165
+ #: .././admin/settings.php:369
166
+ #, php-format
167
+ msgid "For more information about Tracking Options read %s."
168
+ msgstr ""
169
+
170
+ #: .././admin/settings.php:374
171
  msgid "Tracking Settings"
172
+ msgstr "トラッキング設定"
173
 
174
+ #: .././admin/settings.php:377
175
  msgid "Tracking Options:"
176
  msgstr "オプションのトラッキング:"
177
 
178
+ #: .././admin/settings.php:379
179
  msgid "Disabled"
180
  msgstr "無効"
181
 
182
+ #: .././admin/settings.php:380
183
+ msgid "Enabled"
184
+ msgstr "有効"
185
+
186
+ #: .././admin/settings.php:388 .././admin/settings.php:911
187
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
188
+ #: .././admin/widgets.php:72
189
  msgid "View Name:"
190
  msgstr "ビュー名:"
191
 
192
+ #: .././admin/settings.php:388 .././admin/settings.php:933
193
  msgid "Tracking ID:"
194
+ msgstr "トラッキング ID:"
195
 
196
+ #: .././admin/settings.php:388 .././admin/settings.php:933
197
  msgid "Default URL:"
198
  msgstr "デフォルトのURL:"
199
 
200
+ #: .././admin/settings.php:388 .././admin/settings.php:933
201
  msgid "Time Zone:"
202
  msgstr "タイムゾーン:"
203
 
204
+ #: .././admin/settings.php:393
205
  msgid "Basic Tracking"
206
  msgstr "基本的なトラッキング"
207
 
208
+ #: .././admin/settings.php:396
209
  msgid "Tracking Type:"
210
+ msgstr "トラッキングの種類:"
211
 
212
+ #: .././admin/settings.php:398
213
  msgid "Classic Analytics"
214
+ msgstr "クラシックアナリティクス"
215
 
216
+ #: .././admin/settings.php:399
217
  msgid "Universal Analytics"
218
+ msgstr "ユニバーサルアナリティクス"
219
 
220
+ #: .././admin/settings.php:410
221
+ msgid "anonymize IPs while tracking"
222
+ msgstr ""
223
 
224
+ #: .././admin/settings.php:421
225
+ msgid "enable remarketing, demographics and interests reports"
226
+ msgstr ""
227
 
228
+ #: .././admin/settings.php:439
229
+ msgid "track downloads, mailto and outbound links"
230
+ msgstr ""
231
 
232
+ #: .././admin/settings.php:443
233
  msgid "Downloads Regex:"
234
  msgstr "ダウンロードの正規表現:"
235
 
236
+ #: .././admin/settings.php:454
237
+ msgid "track affiliate links matching this regex"
238
+ msgstr ""
239
 
240
+ #: .././admin/settings.php:458
241
  msgid "Affiliates Regex:"
242
+ msgstr "アフィリエイトの正規表現:"
243
 
244
+ #: .././admin/settings.php:469
245
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
246
+ msgstr ""
247
 
248
+ #: .././admin/settings.php:480
249
  msgid "Authors:"
250
  msgstr "作者:"
251
 
252
+ #: .././admin/settings.php:488
253
  msgid "Publication Year:"
254
  msgstr "発行年:"
255
 
256
+ #: .././admin/settings.php:496
257
  msgid "Categories:"
258
  msgstr "カテゴリー:"
259
 
260
+ #: .././admin/settings.php:504
261
  msgid "User Type:"
262
  msgstr "ユーザータイプ:"
263
 
264
+ #: .././admin/settings.php:516
265
  msgid "Advanced Tracking"
266
  msgstr "高度なトラッキング"
267
 
268
+ #: .././admin/settings.php:519
269
  msgid "Page Speed SR:"
270
  msgstr "ページスピードSR:"
271
 
272
+ #: .././admin/settings.php:530
273
+ msgid "exclude events from bounce-rate calculation"
274
+ msgstr ""
275
 
276
+ #: .././admin/settings.php:541
277
+ msgid "enable enhanced link attribution"
278
+ msgstr ""
279
 
280
+ #: .././admin/settings.php:552
281
+ msgid "enable AdSense account linking"
282
+ msgstr ""
283
 
284
+ #: .././admin/settings.php:563
285
+ msgid "enable cross domain tracking"
286
+ msgstr ""
287
 
288
+ #: .././admin/settings.php:567
289
  msgid "Cross Domains:"
290
+ msgstr "クロスドメイン:"
291
 
292
+ #: .././admin/settings.php:578
293
  msgid "Exclude tracking for:"
294
+ msgstr "トラッキング対象外:"
295
 
296
+ #: .././admin/settings.php:663
297
  msgid "Google Analytics Errors & Debugging"
298
  msgstr "Google Analyticsのエラーとデバッグ"
299
 
300
+ #: .././admin/settings.php:673
301
  msgid "Errors & Details"
302
+ msgstr "エラーとデバッグ"
303
 
304
+ #: .././admin/settings.php:674
305
  msgid "Plugin Settings"
306
  msgstr "プラグイン設定"
307
 
308
+ #: .././admin/settings.php:682
309
+ #, php-format
310
+ msgid "For errors and/or other issues please check %s and related tutorials."
311
+ msgstr "エラーや他の問題について%sや関連するチュートリアルをご覧ください。"
312
 
313
+ #: .././admin/settings.php:687
 
 
 
 
 
 
 
 
314
  msgid "Last Error detected"
315
  msgstr "エラーを検出"
316
 
317
+ #: .././admin/settings.php:693 .././admin/settings.php:706
318
  msgid "None"
319
  msgstr "なし"
320
 
321
+ #: .././admin/settings.php:700
322
  msgid "Error Details"
323
  msgstr "エラーの詳細"
324
 
325
+ #: .././admin/settings.php:720
326
  msgid "Plugin Configuration"
327
  msgstr "プラグインの設定"
328
 
329
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
330
  msgid ""
331
  "Loading the required libraries. If this results in a blank screen or a fatal "
332
  "error, try this solution:"
333
  msgstr ""
334
+ "必要なライブラリをロードしています。空白の画面または致命的なエラーが発生した"
335
+ "場合は、このソリューションを試してみてください:"
336
 
337
+ #: .././admin/settings.php:742
338
+ msgid "Library conflicts between WordPress plugins"
339
+ msgstr ""
340
+
341
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
342
  msgid "Plugin authorization succeeded."
343
  msgstr "プラグインの認可が成功しました。"
344
 
345
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
349
  msgstr ""
350
+ "アクセスコードは、<strong>あなたの追跡ID(UA-XXXXX-X)</strong>では<strong>あ"
351
+ "りません</strong>。アクセスコードを取得するためには赤いリンクを使用して、再度"
352
+ "実行してください。"
353
 
354
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
355
  msgid "Cleared Cache."
356
  msgstr "キャッシュをクリアしました。"
357
 
358
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
359
  msgid "Token Reseted and Revoked."
360
+ msgstr "トークンをリセットし失効させました。"
361
 
362
+ #: .././admin/settings.php:813
363
  msgid "All errors reseted."
364
+ msgstr "全てのエラーをリセットしました。"
365
 
366
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
367
  msgid "All other domains/properties were removed."
368
+ msgstr "全ての他のドメイン/プロパティが削除されました。"
369
 
370
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
371
  msgid "Google Analytics Settings"
372
+ msgstr "Google アナリティクスの設定"
373
 
374
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
375
  msgid "Use the red link (see below) to generate and get your access code!"
376
  msgstr "アクセスコードを取得するには、赤リンク(下記参照)を使用してください!"
377
 
378
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
379
  msgid "Plugin Authorization"
380
+ msgstr "プラグインを認可"
381
 
382
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
383
+ #, php-format
384
+ msgid ""
385
+ "You should watch the %1$s and read this %2$s before proceeding to "
386
+ "authorization. This plugin requires a properly configured Google Analytics "
387
+ "account!"
388
+ msgstr ""
389
+ "プラグインを認可する前に%1$sを視聴し、%2$sを一読ください。 このプラグインを利"
390
+ "用するにはGoogle アナリティクスのアカウントの適切な設定が必要です。"
391
 
392
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
393
  msgid "video"
394
  msgstr "動画"
395
 
396
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
397
  msgid "tutorial"
398
  msgstr "チュートリアル"
399
 
400
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
401
+ msgid "use your own API Project credentials"
 
 
402
  msgstr ""
 
 
 
 
 
 
403
 
404
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
405
  msgid "API Key:"
406
  msgstr "API キー:"
407
 
408
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
409
  msgid "Client ID:"
410
  msgstr "クライアント ID:"
411
 
412
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
413
  msgid "Client Secret:"
414
  msgstr "クライアント Secret:"
415
 
416
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
417
  msgid "Clear Authorization"
418
+ msgstr "認可のクリア"
419
 
420
+ #: .././admin/settings.php:895 .././admin/settings.php:971
421
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
422
  msgid "Clear Cache"
423
  msgstr "キャッシュを消去"
424
 
425
+ #: .././admin/settings.php:895
426
  msgid "Reset Errors"
427
+ msgstr "エラーをリセット"
428
 
429
+ #: .././admin/settings.php:901 .././admin/setup.php:80
430
+ #: .././admin/setup.php:115
431
  msgid "General Settings"
432
  msgstr "一般設定"
433
 
434
+ #: .././admin/settings.php:904
435
  msgid "Select Domain:"
436
+ msgstr "ドメインを選択:"
437
 
438
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
439
  msgid "Property not found"
440
  msgstr "プロパティが見つかりません"
441
 
442
+ #: .././admin/settings.php:920
443
  msgid "and/or hide all other domains"
444
  msgstr "および/または他のすべてのドメインを隠す"
445
 
446
+ #: .././admin/settings.php:921
447
  msgid "Hide Now"
448
  msgstr "隠す"
449
 
450
+ #: .././admin/settings.php:939
451
  msgid "Theme Color:"
452
  msgstr "テーマカラー:"
453
 
454
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
455
  msgid "Automatic Updates"
456
+ msgstr "自動アップデート"
457
 
458
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
459
  msgid ""
460
+ "automatic updates for minor versions (security and maintenance releases only)"
 
461
  msgstr ""
462
+ "マイナーバージョンの自動アップデート(セキュリティ&メンテナンスリリースのみ)"
463
 
464
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
465
+ #: .././admin/widgets.php:43
466
  msgid "Authorize Plugin"
467
+ msgstr "プラグインを認可"
468
 
469
+ #: .././admin/settings.php:1046
470
  msgid "Properties refreshed."
471
  msgstr "プロパティを更新しました。"
472
 
473
+ #: .././admin/settings.php:1130
474
  msgid "Network Setup"
475
  msgstr "ネットワーク設定"
476
 
477
+ #: .././admin/settings.php:1140
478
+ msgid "use a single Google Analytics account for the entire network"
479
+ msgstr ""
480
 
481
+ #: .././admin/settings.php:1184
482
  msgid "Refresh Properties"
483
  msgstr "プロパティを最新の情報に更新"
484
 
485
+ #: .././admin/settings.php:1190
486
  msgid "Properties/Views Settings"
487
  msgstr "プロパティ/ビューの設定"
488
 
489
+ #: .././admin/settings.php:1245
490
+ msgid "exclude Super Admin tracking for the entire network"
491
+ msgstr ""
492
 
493
+ #: .././admin/settings.php:1290
494
  msgid "Setup Tutorial & Demo"
495
  msgstr "セットアップ:チュートリアル&デモ"
496
 
497
+ #: .././admin/settings.php:1298
498
  msgid "Support & Reviews"
499
  msgstr "サポート&レビュー"
500
 
501
+ #: .././admin/settings.php:1305
502
+ #, php-format
503
+ msgid "Plugin documentation and support on %s"
504
+ msgstr ""
505
 
506
+ #: .././admin/settings.php:1312
507
+ #, php-format
508
+ msgid "Your feedback and review are both important, %s!"
509
+ msgstr "フィードバックやレビューはどちらも大切です。%sしてください!"
510
 
511
+ #: .././admin/settings.php:1312
512
  msgid "rate this plugin"
513
  msgstr "このプラグインを評価"
514
 
515
+ #: .././admin/settings.php:1318
516
  msgid "Further Reading"
517
  msgstr "参考文献"
518
 
519
+ #: .././admin/settings.php:1325
520
+ #, php-format
521
+ msgid "%s by moving your website to HTTPS/SSL."
522
+ msgstr "ウェブサイトをHTTPS/SSLに移行し%s。"
523
+
524
+ #: .././admin/settings.php:1325
525
  msgid "Improve search rankings"
526
  msgstr "検索ランキングを向上させる"
527
 
528
+ #: .././admin/settings.php:1332
529
+ #, php-format
530
+ msgid "Other %s written by the same author"
531
+ msgstr "同じ作者の他の%s"
532
 
533
+ #: .././admin/settings.php:1332
 
 
 
 
534
  msgid "WordPress Plugins"
535
  msgstr "WordPressのプラグイン"
536
 
537
+ #: .././admin/settings.php:1338
 
 
 
 
538
  msgid "Other Services"
539
  msgstr "その他のサービス"
540
 
541
+ #: .././admin/settings.php:1345
542
+ #, php-format
543
+ msgid "Speed up your website and plug into a whole %s"
544
+ msgstr ""
545
 
546
+ #: .././admin/settings.php:1345
547
  msgid "new level of site speed"
548
  msgstr "新しいレベルのサイト速度"
549
 
550
+ #: .././admin/settings.php:1352
551
+ #, php-format
552
+ msgid "%s service with users tracking at IP level."
553
+ msgstr "IPレベルでのユーザートラッキングのできる%s。"
554
+
555
+ #: .././admin/settings.php:1352
556
  msgid "Web Analytics"
557
  msgstr "ウェブ解析"
558
 
559
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
560
  msgid "Google Analytics"
561
+ msgstr "Google アナリティクス"
562
 
563
+ #: .././admin/setup.php:84
564
  msgid "Backend Settings"
565
  msgstr "バックエンド設定"
566
 
567
+ #: .././admin/setup.php:88
568
  msgid "Frontend Settings"
569
  msgstr "フロントエンド設定"
570
 
571
+ #: .././admin/setup.php:92
572
  msgid "Tracking Code"
573
  msgstr "トラッキングコード"
574
 
575
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
576
  msgid "Today"
577
  msgstr "今日"
578
 
579
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
580
  msgid "Yesterday"
581
  msgstr "昨日"
582
 
583
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
584
+ #: .././front/widgets.php:74 .././front/widgets.php:182
585
  msgid "Last 7 Days"
586
+ msgstr "1週間"
587
 
588
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
589
+ #: .././front/widgets.php:80 .././front/widgets.php:184
590
  msgid "Last 30 Days"
591
+ msgstr "30日間"
592
 
593
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
594
  msgid "Last 90 Days"
595
+ msgstr "90日間"
596
 
597
+ #: .././admin/setup.php:203 .././admin/setup.php:219
598
+ msgid "Unique Views"
599
+ msgstr "ユニークPV"
 
 
 
 
600
 
601
+ #: .././admin/setup.php:204 .././admin/setup.php:220
602
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
603
+ #: .././tools/gapi.php:382
604
  msgid "Users"
605
+ msgstr "ユーザー"
606
 
607
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
608
  msgid "Organic"
609
+ msgstr "オーガニック検索"
610
 
611
+ #: .././admin/setup.php:206 .././admin/setup.php:221
612
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
613
+ #: .././tools/gapi.php:385
614
  msgid "Page Views"
615
  msgstr "PV"
616
 
617
+ #: .././admin/setup.php:207 .././admin/setup.php:222
618
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
619
+ #: .././tools/gapi.php:388
620
  msgid "Bounce Rate"
621
  msgstr "直帰率"
622
 
623
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
624
  msgid "Location"
625
  msgstr "地域"
626
 
627
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
628
  msgid "Referrers"
629
  msgstr "リファラー"
630
 
631
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
632
+ #: .././tools/gapi.php:913
633
  msgid "Searches"
634
  msgstr "検索結果"
635
 
636
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
637
  msgid "Traffic Details"
638
  msgstr "トラフィック詳細"
639
 
640
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
641
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
642
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
643
  msgid "A JavaScript Error is blocking plugin resources!"
644
  msgstr ""
645
+ "JavaScriptのエラーが、プラグインのリソースをブロックしている可能性がありま"
646
  "す。"
647
 
648
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
649
  msgid "Traffic Mediums"
650
  msgstr "トラフィック平均"
651
 
652
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
653
  msgid "Visitor Type"
654
  msgstr "訪問者"
655
 
656
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
657
  msgid "Social Networks"
658
  msgstr "SNS"
659
 
660
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
661
  msgid "Search Engines"
662
+ msgstr "検索エンジン"
663
 
664
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
665
  msgid "Organic Search"
666
+ msgstr "オーガニック検索"
667
 
668
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
669
  msgid "Pages/Session"
670
  msgstr "ページ/セッション"
671
 
672
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
673
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
674
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
675
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
676
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
677
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
678
+ #: .././front/item-reports.php:118
679
  msgid "Invalid response, more details in JavaScript Console (F12)."
680
  msgstr ""
681
  "応答がありません。JavaScriptコンソールでの詳細(F12)をご確認ください。"
682
 
683
+ #: .././admin/setup.php:226
684
  msgid "Not enough data collected"
685
+ msgstr "充分なデータがありません"
686
+
687
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
688
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
689
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
690
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
691
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
692
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
693
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
694
+ #: .././front/widgets.php:110
695
  msgid "This report is unavailable"
696
+ msgstr "このレポートは使用できません。"
697
 
698
+ #: .././admin/setup.php:228
699
  msgid "report generated by"
700
+ msgstr "report generated by"
701
 
702
+ #: .././admin/setup.php:268
703
  msgid "Settings"
704
  msgstr "設定"
705
 
706
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
707
  msgid "Google Analytics Dashboard"
708
+ msgstr "Google アナリティクス ダッシュボード"
709
 
710
+ #: .././admin/widgets.php:43
711
  msgid "This plugin needs an authorization:"
712
+ msgstr "このプラグインは認可する必要があります:"
713
 
714
+ #: .././admin/widgets.php:77
715
  msgid "Something went wrong while retrieving profiles list."
716
+ msgstr "プロファイルリストの取得中に問題が発生しました。"
717
 
718
+ #: .././admin/widgets.php:77
719
  msgid "More details"
720
  msgstr "詳細"
721
 
722
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
723
  msgid "An admin should asign a default Google Analytics Profile."
724
  msgstr ""
725
  "管理者は、デフォルトのGoogle Analyticsのプロファイルをasign必要があります。"
726
 
727
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
728
  msgid "Select Domain"
729
  msgstr "ドメインを選択"
730
 
731
+ #: .././admin/widgets.php:106
732
  msgid ""
733
  "Something went wrong while retrieving property data. You need to create and "
734
  "properly configure a Google Analytics account:"
735
  msgstr ""
736
+ "プロパティデータを取得中に問題が発生しました。適切にGoogle Analyticsアカウン"
737
+ "トを設定する必要があります:"
738
 
739
+ #: .././admin/widgets.php:106
740
  msgid "Find out more!"
741
  msgstr "詳細はこちら"
742
 
743
+ #: .././admin/widgets.php:127
744
  msgid "Real-Time"
745
  msgstr "リアルタイム"
746
 
747
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
748
+ #: .././front/widgets.php:183
749
  msgid "Last 14 Days"
750
+ msgstr "2週間"
751
 
752
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
753
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
754
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
755
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
756
+ msgid "Sessions"
757
+ msgstr "セッション"
758
+
759
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
760
  msgid "Pages"
761
  msgstr "ページ"
762
 
763
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
764
  msgid "REFERRAL"
765
  msgstr "リファラー"
766
 
767
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
768
  msgid "ORGANIC"
769
  msgstr "キーワード検索"
770
 
771
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
772
+ #: .././admin/widgets.php:491
773
  msgid "SOCIAL"
774
+ msgstr "ソーシャル"
775
 
776
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
777
+ #: .././admin/widgets.php:492
778
  msgid "CAMPAIGN"
779
  msgstr "キャンペーン"
780
 
781
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
782
+ #: .././admin/widgets.php:495
783
  msgid "DIRECT"
784
  msgstr "直リンク"
785
 
786
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
787
  msgid "NEW"
788
+ msgstr "NEW"
789
 
790
+ #: .././admin/widgets.php:371
791
  msgid "REFERRALS"
792
  msgstr "リファラー"
793
 
794
+ #: .././admin/widgets.php:374
795
  msgid "KEYWORDS"
796
+ msgstr "キーワード"
797
 
798
+ #: .././front/item-reports.php:133
799
  msgid "Views vs UniqueViews"
800
+ msgstr ""
801
 
802
+ #: .././front/item-reports.php:183
803
  msgid "Google Analytics Reports"
804
+ msgstr "Google アナリティクスのレポート"
805
 
806
+ #: .././front/widgets.php:23
807
  msgid "Will display your google analytics stats in a widget"
808
  msgstr "ウィジェットでのGoogleアナリティクスの統計を表示します"
809
 
810
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
811
  msgid "trend"
812
+ msgstr "トレンド"
813
 
814
+ #: .././front/widgets.php:133
815
  msgid "Period:"
816
  msgstr "期間:"
817
 
818
+ #: .././front/widgets.php:133
819
  msgid "Sessions:"
820
  msgstr "セッション:"
821
 
822
+ #: .././front/widgets.php:137
823
  msgid "generated by"
824
+ msgstr "generated by"
825
 
826
+ #: .././front/widgets.php:147
827
  msgid "Google Analytics Stats"
828
+ msgstr "Google アナリティクスの統計"
829
 
830
+ #: .././front/widgets.php:154
831
  msgid "Title:"
832
  msgstr "タイトル:"
833
 
834
+ #: .././front/widgets.php:161
835
  msgid "Display:"
836
  msgstr "表示:"
837
 
838
+ #: .././front/widgets.php:165
839
  msgid "Chart & Totals"
840
+ msgstr "チャート&合計"
841
 
842
+ #: .././front/widgets.php:166
843
  msgid "Chart"
844
+ msgstr "チャート"
845
 
846
+ #: .././front/widgets.php:167
847
  msgid "Totals"
848
  msgstr "合計"
849
 
850
+ #: .././front/widgets.php:171
851
  msgid "Anonymize stats:"
852
  msgstr "匿名の統計:"
853
 
854
+ #: .././front/widgets.php:178
855
  msgid "Stats for:"
856
  msgstr "統計:"
857
 
858
+ #: .././front/widgets.php:188
859
  msgid "Give credits:"
860
+ msgstr "クレジットを表示:"
861
 
862
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
863
+ msgid "This is not allowed, read the documentation!"
864
+ msgstr ""
865
+
866
+ #: .././tools/gapi.php:141
867
  msgid "Use this link to get your access code:"
868
  msgstr "このリンクを使用して、アクセスコードを取得してください:"
869
 
870
+ #: .././tools/gapi.php:141
871
  msgid "Get Access Code"
872
  msgstr "アクセスコードを取得"
873
 
874
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
875
  msgid "Use the red link to get your access code!"
876
  msgstr "アクセスコードを取得するために赤いリンクを使用してください。"
877
 
878
+ #: .././tools/gapi.php:146
879
  msgid "Access Code:"
880
  msgstr "アクセスコード:"
881
 
882
+ #: .././tools/gapi.php:158
883
  msgid "Save Access Code"
884
  msgstr "アクセスコードを保存"
885
 
886
+ #: .././tools/gapi.php:391
887
  msgid "Organic Searches"
888
+ msgstr ""
889
+
890
+ #: .././tools/gapi.php:394
891
+ msgid "Unique Page Views"
892
+ msgstr "ユニークPV"
893
 
894
+ #: .././tools/gapi.php:402
895
  msgid "Hour"
896
  msgstr "時"
897
 
898
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
899
  msgid "Date"
900
  msgstr "日"
901
 
902
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
903
  msgid "Views"
904
  msgstr "PV"
905
 
906
+ #: .././tools/gapi.php:631
907
  msgid "Countries"
908
  msgstr "各国"
909
 
910
+ #: .././tools/gapi.php:641
911
  msgid "Cities from"
912
  msgstr "都市"
913
 
914
+ #: .././tools/gapi.php:713
915
  msgid "Channels"
916
  msgstr "経路"
917
 
918
+ #: .././tools/gapi.php:776
919
  msgid "Type"
920
  msgstr "タイプ"
921
 
922
+ #: .././tools/gapi.php:871
923
  msgid "UniqueViews"
924
  msgstr "ユニークPV"
925
 
926
+ #~ msgid "find out more %s"
927
+ #~ msgstr "詳しは%s"
928
 
929
+ #~ msgid "about this feature"
930
+ #~ msgstr "この機能について"
931
 
932
+ #~ msgid " show page sessions and users in frontend (after each article)"
933
+ #~ msgstr "(各記事の後に)フロントエンドでセッションとユーザーを表示する"
934
 
935
+ #~ msgid " show page searches (after each article)"
936
+ #~ msgstr "(各記事の後)を表示するページを検索"
937
 
938
+ #~ msgid " anonymize IPs while tracking"
939
+ #~ msgstr "匿名IPアドレスを追跡する"
940
 
941
+ #~ msgid " enable remarketing, demographics and interests reports"
942
+ #~ msgstr "ユーザー属性とインタレスト カテゴリに関するレポートを有効にする"
943
 
944
+ #~ msgid " track downloads, mailto and outbound links"
945
+ #~ msgstr "ダウンロード、メールおよび外部リンクを追跡"
946
 
947
+ #~ msgid " track affiliate links matching this regex"
948
+ #~ msgstr "正規表現に一致するトラックアフィリエイトのリンク"
949
 
950
+ #~ msgid " track fragment identifiers, hashmarks (#) in URI links"
951
+ #~ msgstr "リンク内のフラグメント識別子、ハッシュマーク(#)を追跡"
952
 
953
+ #~ msgid " exclude events from bounce-rate calculation"
954
+ #~ msgstr "直帰率を除外する"
955
 
956
+ #~ msgid " enable enhanced link attribution"
957
+ #~ msgstr "強化されたリンクの帰属を可能にする"
958
 
959
+ #~ msgid " enable AdSense account linking"
960
+ #~ msgstr "AdSenseアカウントのリンクを有効化"
961
 
962
+ #~ msgid " enable cross domain tracking"
963
+ #~ msgstr "クロスドメイントラッキングを有効化"
964
 
965
+ #~ msgid " use your own API Project credentials"
966
+ #~ msgstr "独自のAPIプロジェクトの資格情報を使用する"
967
 
968
+ #~ msgid " use a single Google Analytics account for the entire network"
969
+ #~ msgstr "ネットワーク全体に単一のGoogle Analyticsアカウントを使用"
970
 
971
+ #~ msgid " exclude Super Admin tracking for the entire network"
972
+ #~ msgstr "ネットワーク全体の管理者の追跡を除外"
 
 
 
 
 
 
973
 
974
  #~ msgid ""
975
+ #~ "Something went wrong, check <a href=\"%1$s\">Errors & Debug</a> or <a "
976
+ #~ "href=\"%2$s\">authorize the plugin</a>."
977
  #~ msgstr ""
978
+ #~ "問題が発生しました。<a href=\"%1$s\">エラーとデバッグ</a>または<a href="
979
+ #~ "\"%2$s\">プラグインを認可</a>。"
 
 
 
 
 
 
980
 
981
+ #~ msgid "find out more"
982
+ #~ msgstr "もっと詳しく"
983
 
984
+ #~ msgid "Google Analytics Dashboard for WP"
985
+ #~ msgstr "Google Analytics Dashboard for WP"
986
 
987
+ #~ msgid "https://deconf.com"
988
+ #~ msgstr "https://deconf.com"
 
 
 
989
 
990
  #~ msgid ""
991
+ #~ "Displays Google Analytics Reports and Real-Time Statistics in your "
992
+ #~ "Dashboard. Automatically inserts the tracking code in every page of your "
993
+ #~ "website."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
994
  #~ msgstr ""
995
+ #~ "ダッシュボードに Google アナリティクスのレポートをリアルタイムで表示しま"
996
+ #~ "す。ウェブページの全てのページにトラッキングコードを自動で挿入します。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
997
 
998
+ #~ msgid "Alin Marcu"
999
+ #~ msgstr "Alin Marcu"
 
1000
 
1001
+ #~ msgid "The tracking component is disabled. You should set"
1002
+ #~ msgstr "追跡コンポーネントが無効になっています。設定する必要があります。"
1003
 
1004
+ #~ msgid "Tracking Options"
1005
+ #~ msgstr "追跡オプション"
1006
 
1007
+ #~ msgid "to"
1008
+ #~ msgstr ""
1009
 
1010
+ #~ msgid "You should watch the"
1011
+ #~ msgstr "あなたが監視する必要があります"
1012
 
1013
+ #~ msgid "and read this"
1014
+ #~ msgstr "そしてこれを読んで"
1015
 
1016
  #~ msgid ""
1017
+ #~ "before proceeding to authorization. This plugin requires a properly "
1018
+ #~ "configured Google Analytics account"
1019
  #~ msgstr ""
1020
+ #~ "許可に進む前に。このプラグインは適切に設定され、Google Analyticsのアカウン"
1021
+ #~ "トが必要です"
languages/ga-dash-nl_NL.mo DELETED
Binary file
languages/ga-dash-nl_NL.po CHANGED
@@ -1,905 +1,909 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
  "Language: nl_NL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr ""
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
 
43
  msgstr ""
44
 
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
49
  msgid "Errors & Debug"
50
  msgstr ""
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr ""
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr ""
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
  msgstr ""
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
  msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
 
96
  msgstr ""
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
107
- msgid "Real-Time Settings"
108
- msgstr ""
109
-
110
- #: .././admin/settings.php:316
111
- msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr ""
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
  msgstr ""
117
 
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
  msgstr ""
121
 
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr ""
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr ""
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr ""
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr ""
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
- msgstr ""
141
-
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
  msgstr ""
145
 
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr ""
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr ""
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr ""
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr ""
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr ""
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr ""
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
  msgstr ""
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr ""
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr ""
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
  msgstr ""
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr ""
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr ""
200
 
201
- #: .././admin/settings.php:430
202
  msgid "Basic Tracking"
203
  msgstr ""
204
 
205
- #: .././admin/settings.php:433
206
  msgid "Tracking Type:"
207
  msgstr ""
208
 
209
- #: .././admin/settings.php:437
210
  msgid "Classic Analytics"
211
  msgstr ""
212
 
213
- #: .././admin/settings.php:439
214
  msgid "Universal Analytics"
215
  msgstr ""
216
 
217
- #: .././admin/settings.php:453
218
- msgid " anonymize IPs while tracking"
219
  msgstr ""
220
 
221
- #: .././admin/settings.php:468
222
- msgid " enable remarketing, demographics and interests reports"
223
  msgstr ""
224
 
225
- #: .././admin/settings.php:490
226
- msgid " track downloads, mailto and outbound links"
227
  msgstr ""
228
 
229
- #: .././admin/settings.php:494
230
  msgid "Downloads Regex:"
231
  msgstr ""
232
 
233
- #: .././admin/settings.php:511
234
- msgid " track affiliate links matching this regex"
235
  msgstr ""
236
 
237
- #: .././admin/settings.php:515
238
  msgid "Affiliates Regex:"
239
  msgstr ""
240
 
241
- #: .././admin/settings.php:532
242
- msgid " track fragment identifiers, hashmarks (#) in URI links"
243
  msgstr ""
244
 
245
- #: .././admin/settings.php:543
246
  msgid "Authors:"
247
  msgstr ""
248
 
249
- #: .././admin/settings.php:553
250
  msgid "Publication Year:"
251
  msgstr ""
252
 
253
- #: .././admin/settings.php:563
254
  msgid "Categories:"
255
  msgstr ""
256
 
257
- #: .././admin/settings.php:573
258
  msgid "User Type:"
259
  msgstr ""
260
 
261
- #: .././admin/settings.php:587
262
  msgid "Advanced Tracking"
263
  msgstr ""
264
 
265
- #: .././admin/settings.php:590
266
  msgid "Page Speed SR:"
267
  msgstr ""
268
 
269
- #: .././admin/settings.php:608
270
- msgid " exclude events from bounce-rate calculation"
271
  msgstr ""
272
 
273
- #: .././admin/settings.php:623
274
- msgid " enable enhanced link attribution"
275
  msgstr ""
276
 
277
- #: .././admin/settings.php:637
278
- msgid " enable AdSense account linking"
279
  msgstr ""
280
 
281
- #: .././admin/settings.php:653
282
- msgid " enable cross domain tracking"
283
  msgstr ""
284
 
285
- #: .././admin/settings.php:657
286
  msgid "Cross Domains:"
287
  msgstr ""
288
 
289
- #: .././admin/settings.php:671
290
  msgid "Exclude tracking for:"
291
  msgstr ""
292
 
293
- #: .././admin/settings.php:741
294
  msgid "Google Analytics Errors & Debugging"
295
  msgstr ""
296
 
297
- #: .././admin/settings.php:751
298
  msgid "Errors & Details"
299
  msgstr ""
300
 
301
- #: .././admin/settings.php:752
302
  msgid "Plugin Settings"
303
  msgstr ""
304
 
305
- #: .././admin/settings.php:760
306
- msgid "For errors and/or other issues please check"
307
- msgstr ""
308
-
309
- #: .././admin/settings.php:760
310
- msgid "this documentation page"
311
- msgstr ""
312
-
313
- #: .././admin/settings.php:760
314
- msgid "and related tutorials"
315
  msgstr ""
316
 
317
- #: .././admin/settings.php:764
318
  msgid "Last Error detected"
319
  msgstr ""
320
 
321
- #: .././admin/settings.php:769 .././admin/settings.php:782
322
  msgid "None"
323
  msgstr ""
324
 
325
- #: .././admin/settings.php:776
326
  msgid "Error Details"
327
  msgstr ""
328
 
329
- #: .././admin/settings.php:796
330
  msgid "Plugin Configuration"
331
  msgstr ""
332
 
333
- #: .././admin/settings.php:840 .././admin/settings.php:1149
334
  msgid ""
335
  "Loading the required libraries. If this results in a blank screen or a fatal "
336
  "error, try this solution:"
337
  msgstr ""
338
 
339
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
340
  msgid "Plugin authorization succeeded."
341
  msgstr ""
342
 
343
- #: .././admin/settings.php:868 .././admin/settings.php:1186
344
  msgid ""
345
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
346
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
347
  msgstr ""
348
 
349
- #: .././admin/settings.php:891 .././admin/settings.php:1218
350
  msgid "Cleared Cache."
351
  msgstr ""
352
 
353
- #: .././admin/settings.php:900 .././admin/settings.php:1227
354
  msgid "Token Reseted and Revoked."
355
  msgstr ""
356
 
357
- #: .././admin/settings.php:910
358
  msgid "All errors reseted."
359
  msgstr ""
360
 
361
- #: .././admin/settings.php:923 .././admin/settings.php:1241
362
  msgid "All other domains/properties were removed."
363
  msgstr ""
364
 
365
- #: .././admin/settings.php:935 .././admin/settings.php:1253
366
  msgid "Google Analytics Settings"
367
  msgstr ""
368
 
369
- #: .././admin/settings.php:948 .././admin/settings.php:1266
370
  msgid "Use the red link (see below) to generate and get your access code!"
371
  msgstr ""
372
 
373
- #: .././admin/settings.php:959 .././admin/settings.php:1301
374
  msgid "Plugin Authorization"
375
  msgstr ""
376
 
377
- #: .././admin/settings.php:963 .././admin/settings.php:1305
378
- msgid "You should watch the"
 
 
 
 
379
  msgstr ""
380
 
381
- #: .././admin/settings.php:963 .././admin/settings.php:1305
382
  msgid "video"
383
  msgstr ""
384
 
385
- #: .././admin/settings.php:963 .././admin/settings.php:1305
386
- msgid "and read this"
387
- msgstr ""
388
-
389
- #: .././admin/settings.php:963 .././admin/settings.php:1305
390
  msgid "tutorial"
391
  msgstr ""
392
 
393
- #: .././admin/settings.php:963 .././admin/settings.php:1305
394
- msgid ""
395
- "before proceeding to authorization. This plugin requires a properly "
396
- "configured Google Analytics account"
397
- msgstr ""
398
-
399
- #: .././admin/settings.php:975 .././admin/settings.php:1316
400
- msgid " use your own API Project credentials"
401
  msgstr ""
402
 
403
- #: .././admin/settings.php:982 .././admin/settings.php:1323
404
  msgid "API Key:"
405
  msgstr ""
406
 
407
- #: .././admin/settings.php:989 .././admin/settings.php:1331
408
  msgid "Client ID:"
409
  msgstr ""
410
 
411
- #: .././admin/settings.php:997 .././admin/settings.php:1340
412
  msgid "Client Secret:"
413
  msgstr ""
414
 
415
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
416
  msgid "Clear Authorization"
417
  msgstr ""
418
 
419
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
420
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
421
  msgid "Clear Cache"
422
  msgstr ""
423
 
424
- #: .././admin/settings.php:1022
425
  msgid "Reset Errors"
426
  msgstr ""
427
 
428
- #: .././admin/settings.php:1028 .././admin/setup.php:73
429
- #: .././admin/setup.php:109
430
  msgid "General Settings"
431
  msgstr ""
432
 
433
- #: .././admin/settings.php:1031
434
  msgid "Select Domain:"
435
  msgstr ""
436
 
437
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
438
  msgid "Property not found"
439
  msgstr ""
440
 
441
- #: .././admin/settings.php:1049
442
  msgid "and/or hide all other domains"
443
  msgstr ""
444
 
445
- #: .././admin/settings.php:1052
446
  msgid "Hide Now"
447
  msgstr ""
448
 
449
- #: .././admin/settings.php:1071
450
  msgid "Theme Color:"
451
  msgstr ""
452
 
453
- #: .././admin/settings.php:1081
454
  msgid "Automatic Updates"
455
  msgstr ""
456
 
457
- #: .././admin/settings.php:1097
458
  msgid ""
459
- "automatic updates for minor versions (security and maintainance releases "
460
- "only)"
461
  msgstr ""
462
 
463
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
464
- #: .././admin/widgets.php:38
465
  msgid "Authorize Plugin"
466
  msgstr ""
467
 
468
- #: .././admin/settings.php:1192
469
  msgid "Properties refreshed."
470
  msgstr ""
471
 
472
- #: .././admin/settings.php:1278
473
  msgid "Network Setup"
474
  msgstr ""
475
 
476
- #: .././admin/settings.php:1293
477
- msgid " use a single Google Analytics account for the entire network"
478
  msgstr ""
479
 
480
- #: .././admin/settings.php:1365
481
  msgid "Refresh Properties"
482
  msgstr ""
483
 
484
- #: .././admin/settings.php:1371
485
  msgid "Properties/Views Settings"
486
  msgstr ""
487
 
488
- #: .././admin/settings.php:1419
489
- msgid " exclude Super Admin tracking for the entire network"
490
  msgstr ""
491
 
492
- #: .././admin/settings.php:1471
493
  msgid "Setup Tutorial & Demo"
494
  msgstr ""
495
 
496
- #: .././admin/settings.php:1483
497
  msgid "Support & Reviews"
498
  msgstr ""
499
 
500
- #: .././admin/settings.php:1491
501
- msgid "Plugin documentation and support on"
 
502
  msgstr ""
503
 
504
- #: .././admin/settings.php:1498
505
- msgid "Your feedback and review are both important,"
 
506
  msgstr ""
507
 
508
- #: .././admin/settings.php:1498
509
  msgid "rate this plugin"
510
  msgstr ""
511
 
512
- #: .././admin/settings.php:1503
513
  msgid "Further Reading"
514
  msgstr ""
515
 
516
- #: .././admin/settings.php:1511
517
- msgid "Improve search rankings"
 
518
  msgstr ""
519
 
520
- #: .././admin/settings.php:1511
521
- msgid "by moving your website to HTTPS/SSL."
522
  msgstr ""
523
 
524
- #: .././admin/settings.php:1518
525
- msgid "Other"
 
526
  msgstr ""
527
 
528
- #: .././admin/settings.php:1518
529
  msgid "WordPress Plugins"
530
  msgstr ""
531
 
532
- #: .././admin/settings.php:1518
533
- msgid "written by the same author"
534
- msgstr ""
535
-
536
- #: .././admin/settings.php:1523
537
  msgid "Other Services"
538
  msgstr ""
539
 
540
- #: .././admin/settings.php:1531
541
- msgid "Speed up your website and plug into a whole"
 
542
  msgstr ""
543
 
544
- #: .././admin/settings.php:1531
545
  msgid "new level of site speed"
546
  msgstr ""
547
 
548
- #: .././admin/settings.php:1538
549
- msgid "Web Analytics"
 
550
  msgstr ""
551
 
552
- #: .././admin/settings.php:1538
553
- msgid "service with users tracking at IP level."
554
  msgstr ""
555
 
556
- #: .././admin/setup.php:69 .././admin/setup.php:105
557
  msgid "Google Analytics"
558
  msgstr ""
559
 
560
- #: .././admin/setup.php:77
561
  msgid "Backend Settings"
562
  msgstr ""
563
 
564
- #: .././admin/setup.php:81
565
  msgid "Frontend Settings"
566
  msgstr ""
567
 
568
- #: .././admin/setup.php:85
569
  msgid "Tracking Code"
570
  msgstr ""
571
 
572
- #: .././admin/setup.php:190 .././admin/widgets.php:123
573
  msgid "Today"
574
  msgstr "Vandaag"
575
 
576
- #: .././admin/setup.php:191 .././admin/widgets.php:125
577
  msgid "Yesterday"
578
  msgstr "Gisteren"
579
 
580
- #: .././admin/setup.php:192 .././admin/widgets.php:127
581
- #: .././front/widgets.php:68 .././front/widgets.php:176
582
  msgid "Last 7 Days"
583
  msgstr "Afgelopen 7 dagen"
584
 
585
- #: .././admin/setup.php:193 .././admin/widgets.php:131
586
- #: .././front/widgets.php:74 .././front/widgets.php:178
587
  msgid "Last 30 Days"
588
  msgstr "Afgelopen 30 dagen"
589
 
590
- #: .././admin/setup.php:194 .././admin/widgets.php:133
591
  msgid "Last 90 Days"
592
  msgstr "Afgelopen 90 dagen"
593
 
594
- #: .././admin/setup.php:197 .././admin/setup.php:213
595
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
596
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
597
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
598
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
599
- msgid "Sessions"
600
- msgstr "Bezoeken"
601
 
602
- #: .././admin/setup.php:198 .././admin/setup.php:214
603
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
604
- #: .././tools/gapi.php:372
605
  msgid "Users"
606
  msgstr "Bezoekers"
607
 
608
- #: .././admin/setup.php:199 .././admin/widgets.php:142
609
  msgid "Organic"
610
  msgstr "Via zoekmachines"
611
 
612
- #: .././admin/setup.php:200 .././admin/setup.php:215
613
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
614
- #: .././tools/gapi.php:375
615
  msgid "Page Views"
616
  msgstr "Paginaweergaven"
617
 
618
- #: .././admin/setup.php:201 .././admin/setup.php:216
619
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
620
- #: .././tools/gapi.php:378
621
  msgid "Bounce Rate"
622
  msgstr "Bouncepercentage"
623
 
624
- #: .././admin/setup.php:202 .././admin/widgets.php:148
625
  msgid "Location"
626
  msgstr "Locaties"
627
 
628
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
629
  msgid "Referrers"
630
  msgstr "Beste verwijzingen"
631
 
632
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
633
- #: .././tools/gapi.php:898
634
  msgid "Searches"
635
  msgstr "Beste zoekopdrachten"
636
 
637
- #: .././admin/setup.php:205 .././admin/widgets.php:156
638
  msgid "Traffic Details"
639
  msgstr "Verkeer"
640
 
641
- #: .././admin/setup.php:208 .././admin/widgets.php:522
642
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
643
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
644
  msgid "A JavaScript Error is blocking plugin resources!"
645
  msgstr ""
646
 
647
- #: .././admin/setup.php:209 .././admin/widgets.php:724
648
  msgid "Traffic Mediums"
649
  msgstr "Verkeersbronnen"
650
 
651
- #: .././admin/setup.php:210 .././admin/widgets.php:740
652
  msgid "Visitor Type"
653
  msgstr "Nieuw vs. terugkerend"
654
 
655
- #: .././admin/setup.php:211 .././admin/widgets.php:756
656
  msgid "Social Networks"
657
  msgstr "Sociale netwerken"
658
 
659
- #: .././admin/setup.php:212 .././admin/widgets.php:772
660
  msgid "Search Engines"
661
  msgstr "Zoekmachines"
662
 
663
- #: .././admin/setup.php:217 .././admin/widgets.php:897
664
  msgid "Organic Search"
665
  msgstr "Zoekopdrachten"
666
 
667
- #: .././admin/setup.php:218 .././admin/widgets.php:901
668
  msgid "Pages/Session"
669
  msgstr "Pagina's/bezoek"
670
 
671
- #: .././admin/setup.php:219 .././admin/widgets.php:535
672
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
673
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
674
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
675
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
676
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
677
- #: .././front/item-reports.php:115
678
  msgid "Invalid response, more details in JavaScript Console (F12)."
679
  msgstr ""
680
 
681
- #: .././admin/setup.php:220
682
  msgid "Not enough data collected"
683
  msgstr ""
684
 
685
- #: .././admin/setup.php:221 .././admin/widgets.php:540
686
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
687
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
688
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
689
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
690
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
691
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
692
- #: .././front/widgets.php:104
693
  msgid "This report is unavailable"
694
  msgstr ""
695
 
696
- #: .././admin/setup.php:222
697
  msgid "report generated by"
698
  msgstr ""
699
 
700
- #: .././admin/setup.php:260
701
  msgid "Settings"
702
  msgstr ""
703
 
704
- #: .././admin/widgets.php:27 .././front/widgets.php:14
705
  msgid "Google Analytics Dashboard"
706
  msgstr "Bezoekersstatistieken"
707
 
708
- #: .././admin/widgets.php:38
709
  msgid "This plugin needs an authorization:"
710
  msgstr ""
711
 
712
- #: .././admin/widgets.php:72
713
  msgid "Something went wrong while retrieving profiles list."
714
  msgstr ""
715
 
716
- #: .././admin/widgets.php:72
717
  msgid "More details"
718
  msgstr ""
719
 
720
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
721
  msgid "An admin should asign a default Google Analytics Profile."
722
  msgstr ""
723
 
724
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
725
  msgid "Select Domain"
726
  msgstr ""
727
 
728
- #: .././admin/widgets.php:101
729
  msgid ""
730
  "Something went wrong while retrieving property data. You need to create and "
731
  "properly configure a Google Analytics account:"
732
  msgstr ""
733
 
734
- #: .././admin/widgets.php:101
735
  msgid "Find out more!"
736
  msgstr ""
737
 
738
- #: .././admin/widgets.php:122
739
  msgid "Real-Time"
740
  msgstr "Realtime"
741
 
742
- #: .././admin/widgets.php:129 .././front/widgets.php:71
743
- #: .././front/widgets.php:177
744
  msgid "Last 14 Days"
745
  msgstr "Afgelopen 14 dagen"
746
 
747
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
748
  msgid "Pages"
749
  msgstr "Meest bezochte pagina's"
750
 
751
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
752
  msgid "REFERRAL"
753
  msgstr "Verwijzend"
754
 
755
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
756
  msgid "ORGANIC"
757
  msgstr "Zoekmachines"
758
 
759
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
760
- #: .././admin/widgets.php:486
761
  msgid "SOCIAL"
762
  msgstr "Sociale media"
763
 
764
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
765
- #: .././admin/widgets.php:487
766
  msgid "CAMPAIGN"
767
  msgstr "Campagne"
768
 
769
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
770
- #: .././admin/widgets.php:490
771
  msgid "DIRECT"
772
  msgstr "Direct"
773
 
774
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
775
  msgid "NEW"
776
  msgstr "Nieuw"
777
 
778
- #: .././admin/widgets.php:366
779
  msgid "REFERRALS"
780
  msgstr "Verwijzingen"
781
 
782
- #: .././admin/widgets.php:369
783
  msgid "KEYWORDS"
784
  msgstr "Zoekwoorden"
785
 
786
- #: .././front/item-reports.php:130
787
  msgid "Views vs UniqueViews"
788
  msgstr ""
789
 
790
- #: .././front/item-reports.php:180
791
  msgid "Google Analytics Reports"
792
  msgstr ""
793
 
794
- #: .././front/widgets.php:15
795
  msgid "Will display your google analytics stats in a widget"
796
  msgstr ""
797
 
798
- #: .././front/widgets.php:40 .././tools/gapi.php:803
799
  msgid "trend"
800
  msgstr ""
801
 
802
- #: .././front/widgets.php:127
803
  msgid "Period:"
804
  msgstr ""
805
 
806
- #: .././front/widgets.php:127
807
  msgid "Sessions:"
808
  msgstr ""
809
 
810
- #: .././front/widgets.php:131
811
  msgid "generated by"
812
  msgstr ""
813
 
814
- #: .././front/widgets.php:141
815
  msgid "Google Analytics Stats"
816
  msgstr ""
817
 
818
- #: .././front/widgets.php:148
819
  msgid "Title:"
820
  msgstr ""
821
 
822
- #: .././front/widgets.php:155
823
  msgid "Display:"
824
  msgstr ""
825
 
826
- #: .././front/widgets.php:159
827
  msgid "Chart & Totals"
828
  msgstr ""
829
 
830
- #: .././front/widgets.php:160
831
  msgid "Chart"
832
  msgstr ""
833
 
834
- #: .././front/widgets.php:161
835
  msgid "Totals"
836
  msgstr ""
837
 
838
- #: .././front/widgets.php:165
839
  msgid "Anonymize stats:"
840
  msgstr ""
841
 
842
- #: .././front/widgets.php:172
843
  msgid "Stats for:"
844
  msgstr ""
845
 
846
- #: .././front/widgets.php:182
847
  msgid "Give credits:"
848
  msgstr ""
849
 
850
- #: .././tools/gapi.php:128
 
 
 
 
851
  msgid "Use this link to get your access code:"
852
  msgstr ""
853
 
854
- #: .././tools/gapi.php:128
855
  msgid "Get Access Code"
856
  msgstr ""
857
 
858
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
859
  msgid "Use the red link to get your access code!"
860
  msgstr ""
861
 
862
- #: .././tools/gapi.php:133
863
  msgid "Access Code:"
864
  msgstr ""
865
 
866
- #: .././tools/gapi.php:145
867
  msgid "Save Access Code"
868
  msgstr ""
869
 
870
- #: .././tools/gapi.php:381
871
  msgid "Organic Searches"
872
  msgstr "Zoekopdrachten"
873
 
874
- #: .././tools/gapi.php:389
 
 
 
 
875
  msgid "Hour"
876
  msgstr "Uur"
877
 
878
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
879
  msgid "Date"
880
  msgstr "Datum"
881
 
882
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
883
  msgid "Views"
884
  msgstr "Weergaven"
885
 
886
- #: .././tools/gapi.php:617
887
  msgid "Countries"
888
  msgstr "Landen"
889
 
890
- #: .././tools/gapi.php:626
891
  msgid "Cities from"
892
  msgstr ""
893
 
894
- #: .././tools/gapi.php:698
895
  msgid "Channels"
896
  msgstr ""
897
 
898
- #: .././tools/gapi.php:761
899
  msgid "Type"
900
  msgstr ""
901
 
902
- #: .././tools/gapi.php:856
903
  msgid "UniqueViews"
904
  msgstr ""
905
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "POT-Creation-Date: 2015-04-10 09:32+0200\n"
5
+ "PO-Revision-Date: 2015-04-10 09:32+0200\n"
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
+ "Language-Team: Alin Marcu\n"
8
  "Language: nl_NL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
+ #: .././admin/item-reports.php:66
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
+ #: .././admin/settings.php:94 .././admin/settings.php:202
24
+ #: .././admin/settings.php:338 .././admin/settings.php:819
25
+ #: .././admin/settings.php:1088
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
+ #: .././admin/settings.php:96 .././admin/settings.php:204
30
+ #: .././admin/settings.php:340 .././admin/settings.php:796
31
+ #: .././admin/settings.php:806 .././admin/settings.php:815
32
+ #: .././admin/settings.php:821 .././admin/settings.php:833
33
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
34
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
35
+ #: .././admin/settings.php:1102
36
  msgid "Cheating Huh?"
37
  msgstr ""
38
 
39
+ #: .././admin/settings.php:100 .././admin/settings.php:208
40
+ #: .././admin/settings.php:344 .././admin/settings.php:659
41
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
42
+ #, php-format
43
+ msgid "Something went wrong, check %1$s or %2$s."
44
  msgstr ""
45
 
46
+ #: .././admin/settings.php:100 .././admin/settings.php:208
47
+ #: .././admin/settings.php:344 .././admin/settings.php:659
48
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
49
+ #: .././admin/setup.php:96 .././admin/setup.php:119
50
  msgid "Errors & Debug"
51
  msgstr ""
52
 
53
+ #: .././admin/settings.php:100 .././admin/settings.php:208
54
+ #: .././admin/settings.php:344 .././admin/settings.php:659
55
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
56
  msgid "authorize the plugin"
57
  msgstr ""
58
 
59
+ #: .././admin/settings.php:105
60
  msgid "Google Analytics Frontend Settings"
61
  msgstr ""
62
 
63
+ #: .././admin/settings.php:116
64
+ #, php-format
65
+ msgid "Read %s for more information about Frontend Features and Options."
66
+ msgstr ""
67
+
68
+ #: .././admin/settings.php:116 .././admin/settings.php:224
69
+ #: .././admin/settings.php:369 .././admin/settings.php:682
70
+ msgid "this documentation page"
71
+ msgstr ""
72
+
73
+ #: .././admin/settings.php:120 .././admin/settings.php:228
74
  msgid "Permissions"
75
  msgstr ""
76
 
77
+ #: .././admin/settings.php:123 .././admin/settings.php:231
78
  msgid "Show stats to:"
79
  msgstr ""
80
 
81
+ #: .././admin/settings.php:162
82
+ msgid "show page sessions and users in frontend (after each article)"
83
  msgstr ""
84
 
85
+ #: .././admin/settings.php:173
86
+ msgid "show page searches (after each article)"
87
  msgstr ""
88
 
89
+ #: .././admin/settings.php:180 .././admin/settings.php:318
90
+ #: .././admin/settings.php:617 .././admin/settings.php:965
91
+ #: .././admin/settings.php:1252
92
  msgid "Save Changes"
93
  msgstr ""
94
 
95
+ #: .././admin/settings.php:213
96
  msgid "Google Analytics Backend Settings"
97
  msgstr ""
98
 
99
+ #: .././admin/settings.php:224
100
+ #, php-format
101
+ msgid "Read %s for more information about Backend Features and Options."
102
  msgstr ""
103
 
104
+ #: .././admin/settings.php:272
105
+ msgid "enable Switch Profile/View functionality"
106
  msgstr ""
107
 
108
+ #: .././admin/settings.php:283
109
+ msgid "enable reports on Posts List and Pages List"
110
  msgstr ""
111
 
112
+ #: .././admin/settings.php:294
113
+ msgid "enable the main Dashboard Widget"
 
 
 
 
114
  msgstr ""
115
 
116
+ #: .././admin/settings.php:298
117
+ msgid "Real-Time Settings"
118
  msgstr ""
119
 
120
+ #: .././admin/settings.php:301
121
+ msgid "Maximum number of pages to display on real-time tab:"
122
  msgstr ""
123
 
124
+ #: .././admin/settings.php:306
125
  msgid "Location Settings"
126
  msgstr ""
127
 
128
+ #: .././admin/settings.php:310
129
  msgid "Target Geo Map to country:"
130
  msgstr ""
131
 
132
+ #: .././admin/settings.php:347
133
+ msgid ""
134
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
135
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
 
 
 
 
136
  msgstr ""
137
 
138
+ #: .././admin/settings.php:352
139
  msgid "Google Analytics Tracking Code"
140
  msgstr ""
141
 
142
+ #: .././admin/settings.php:361
143
  msgid "Basic Settings"
144
  msgstr ""
145
 
146
+ #: .././admin/settings.php:362 .././admin/settings.php:429
147
  msgid "Events Tracking"
148
  msgstr ""
149
 
150
+ #: .././admin/settings.php:363 .././admin/settings.php:477
151
  msgid "Custom Definitions"
152
  msgstr ""
153
 
154
+ #: .././admin/settings.php:364 .././admin/settings.php:575
155
+ #: .././admin/settings.php:1235
156
  msgid "Exclude Tracking"
157
  msgstr ""
158
 
159
+ #: .././admin/settings.php:365
160
  msgid "Advanced Settings"
161
  msgstr ""
162
 
163
+ #: .././admin/settings.php:369
164
+ #, php-format
165
+ msgid "For more information about Tracking Options read %s."
166
+ msgstr ""
167
+
168
+ #: .././admin/settings.php:374
169
  msgid "Tracking Settings"
170
  msgstr ""
171
 
172
+ #: .././admin/settings.php:377
173
  msgid "Tracking Options:"
174
  msgstr ""
175
 
176
+ #: .././admin/settings.php:379
177
  msgid "Disabled"
178
  msgstr ""
179
 
180
+ #: .././admin/settings.php:380
181
+ msgid "Enabled"
182
+ msgstr ""
183
+
184
+ #: .././admin/settings.php:388 .././admin/settings.php:911
185
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
186
+ #: .././admin/widgets.php:72
187
  msgid "View Name:"
188
  msgstr ""
189
 
190
+ #: .././admin/settings.php:388 .././admin/settings.php:933
191
  msgid "Tracking ID:"
192
  msgstr ""
193
 
194
+ #: .././admin/settings.php:388 .././admin/settings.php:933
195
  msgid "Default URL:"
196
  msgstr ""
197
 
198
+ #: .././admin/settings.php:388 .././admin/settings.php:933
199
  msgid "Time Zone:"
200
  msgstr ""
201
 
202
+ #: .././admin/settings.php:393
203
  msgid "Basic Tracking"
204
  msgstr ""
205
 
206
+ #: .././admin/settings.php:396
207
  msgid "Tracking Type:"
208
  msgstr ""
209
 
210
+ #: .././admin/settings.php:398
211
  msgid "Classic Analytics"
212
  msgstr ""
213
 
214
+ #: .././admin/settings.php:399
215
  msgid "Universal Analytics"
216
  msgstr ""
217
 
218
+ #: .././admin/settings.php:410
219
+ msgid "anonymize IPs while tracking"
220
  msgstr ""
221
 
222
+ #: .././admin/settings.php:421
223
+ msgid "enable remarketing, demographics and interests reports"
224
  msgstr ""
225
 
226
+ #: .././admin/settings.php:439
227
+ msgid "track downloads, mailto and outbound links"
228
  msgstr ""
229
 
230
+ #: .././admin/settings.php:443
231
  msgid "Downloads Regex:"
232
  msgstr ""
233
 
234
+ #: .././admin/settings.php:454
235
+ msgid "track affiliate links matching this regex"
236
  msgstr ""
237
 
238
+ #: .././admin/settings.php:458
239
  msgid "Affiliates Regex:"
240
  msgstr ""
241
 
242
+ #: .././admin/settings.php:469
243
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
244
  msgstr ""
245
 
246
+ #: .././admin/settings.php:480
247
  msgid "Authors:"
248
  msgstr ""
249
 
250
+ #: .././admin/settings.php:488
251
  msgid "Publication Year:"
252
  msgstr ""
253
 
254
+ #: .././admin/settings.php:496
255
  msgid "Categories:"
256
  msgstr ""
257
 
258
+ #: .././admin/settings.php:504
259
  msgid "User Type:"
260
  msgstr ""
261
 
262
+ #: .././admin/settings.php:516
263
  msgid "Advanced Tracking"
264
  msgstr ""
265
 
266
+ #: .././admin/settings.php:519
267
  msgid "Page Speed SR:"
268
  msgstr ""
269
 
270
+ #: .././admin/settings.php:530
271
+ msgid "exclude events from bounce-rate calculation"
272
  msgstr ""
273
 
274
+ #: .././admin/settings.php:541
275
+ msgid "enable enhanced link attribution"
276
  msgstr ""
277
 
278
+ #: .././admin/settings.php:552
279
+ msgid "enable AdSense account linking"
280
  msgstr ""
281
 
282
+ #: .././admin/settings.php:563
283
+ msgid "enable cross domain tracking"
284
  msgstr ""
285
 
286
+ #: .././admin/settings.php:567
287
  msgid "Cross Domains:"
288
  msgstr ""
289
 
290
+ #: .././admin/settings.php:578
291
  msgid "Exclude tracking for:"
292
  msgstr ""
293
 
294
+ #: .././admin/settings.php:663
295
  msgid "Google Analytics Errors & Debugging"
296
  msgstr ""
297
 
298
+ #: .././admin/settings.php:673
299
  msgid "Errors & Details"
300
  msgstr ""
301
 
302
+ #: .././admin/settings.php:674
303
  msgid "Plugin Settings"
304
  msgstr ""
305
 
306
+ #: .././admin/settings.php:682
307
+ #, php-format
308
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
309
  msgstr ""
310
 
311
+ #: .././admin/settings.php:687
312
  msgid "Last Error detected"
313
  msgstr ""
314
 
315
+ #: .././admin/settings.php:693 .././admin/settings.php:706
316
  msgid "None"
317
  msgstr ""
318
 
319
+ #: .././admin/settings.php:700
320
  msgid "Error Details"
321
  msgstr ""
322
 
323
+ #: .././admin/settings.php:720
324
  msgid "Plugin Configuration"
325
  msgstr ""
326
 
327
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
328
  msgid ""
329
  "Loading the required libraries. If this results in a blank screen or a fatal "
330
  "error, try this solution:"
331
  msgstr ""
332
 
333
+ #: .././admin/settings.php:742
334
+ msgid "Library conflicts between WordPress plugins"
335
+ msgstr ""
336
+
337
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
338
  msgid "Plugin authorization succeeded."
339
  msgstr ""
340
 
341
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
342
  msgid ""
343
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
344
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
345
  msgstr ""
346
 
347
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
348
  msgid "Cleared Cache."
349
  msgstr ""
350
 
351
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
352
  msgid "Token Reseted and Revoked."
353
  msgstr ""
354
 
355
+ #: .././admin/settings.php:813
356
  msgid "All errors reseted."
357
  msgstr ""
358
 
359
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
360
  msgid "All other domains/properties were removed."
361
  msgstr ""
362
 
363
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
364
  msgid "Google Analytics Settings"
365
  msgstr ""
366
 
367
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
368
  msgid "Use the red link (see below) to generate and get your access code!"
369
  msgstr ""
370
 
371
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
372
  msgid "Plugin Authorization"
373
  msgstr ""
374
 
375
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
376
+ #, php-format
377
+ msgid ""
378
+ "You should watch the %1$s and read this %2$s before proceeding to "
379
+ "authorization. This plugin requires a properly configured Google Analytics "
380
+ "account!"
381
  msgstr ""
382
 
383
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
384
  msgid "video"
385
  msgstr ""
386
 
387
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
388
  msgid "tutorial"
389
  msgstr ""
390
 
391
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
392
+ msgid "use your own API Project credentials"
 
 
 
 
 
 
393
  msgstr ""
394
 
395
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
396
  msgid "API Key:"
397
  msgstr ""
398
 
399
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
400
  msgid "Client ID:"
401
  msgstr ""
402
 
403
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
404
  msgid "Client Secret:"
405
  msgstr ""
406
 
407
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
408
  msgid "Clear Authorization"
409
  msgstr ""
410
 
411
+ #: .././admin/settings.php:895 .././admin/settings.php:971
412
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
413
  msgid "Clear Cache"
414
  msgstr ""
415
 
416
+ #: .././admin/settings.php:895
417
  msgid "Reset Errors"
418
  msgstr ""
419
 
420
+ #: .././admin/settings.php:901 .././admin/setup.php:80
421
+ #: .././admin/setup.php:115
422
  msgid "General Settings"
423
  msgstr ""
424
 
425
+ #: .././admin/settings.php:904
426
  msgid "Select Domain:"
427
  msgstr ""
428
 
429
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
430
  msgid "Property not found"
431
  msgstr ""
432
 
433
+ #: .././admin/settings.php:920
434
  msgid "and/or hide all other domains"
435
  msgstr ""
436
 
437
+ #: .././admin/settings.php:921
438
  msgid "Hide Now"
439
  msgstr ""
440
 
441
+ #: .././admin/settings.php:939
442
  msgid "Theme Color:"
443
  msgstr ""
444
 
445
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
446
  msgid "Automatic Updates"
447
  msgstr ""
448
 
449
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
450
  msgid ""
451
+ "automatic updates for minor versions (security and maintenance releases only)"
 
452
  msgstr ""
453
 
454
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
455
+ #: .././admin/widgets.php:43
456
  msgid "Authorize Plugin"
457
  msgstr ""
458
 
459
+ #: .././admin/settings.php:1046
460
  msgid "Properties refreshed."
461
  msgstr ""
462
 
463
+ #: .././admin/settings.php:1130
464
  msgid "Network Setup"
465
  msgstr ""
466
 
467
+ #: .././admin/settings.php:1140
468
+ msgid "use a single Google Analytics account for the entire network"
469
  msgstr ""
470
 
471
+ #: .././admin/settings.php:1184
472
  msgid "Refresh Properties"
473
  msgstr ""
474
 
475
+ #: .././admin/settings.php:1190
476
  msgid "Properties/Views Settings"
477
  msgstr ""
478
 
479
+ #: .././admin/settings.php:1245
480
+ msgid "exclude Super Admin tracking for the entire network"
481
  msgstr ""
482
 
483
+ #: .././admin/settings.php:1290
484
  msgid "Setup Tutorial & Demo"
485
  msgstr ""
486
 
487
+ #: .././admin/settings.php:1298
488
  msgid "Support & Reviews"
489
  msgstr ""
490
 
491
+ #: .././admin/settings.php:1305
492
+ #, php-format
493
+ msgid "Plugin documentation and support on %s"
494
  msgstr ""
495
 
496
+ #: .././admin/settings.php:1312
497
+ #, php-format
498
+ msgid "Your feedback and review are both important, %s!"
499
  msgstr ""
500
 
501
+ #: .././admin/settings.php:1312
502
  msgid "rate this plugin"
503
  msgstr ""
504
 
505
+ #: .././admin/settings.php:1318
506
  msgid "Further Reading"
507
  msgstr ""
508
 
509
+ #: .././admin/settings.php:1325
510
+ #, php-format
511
+ msgid "%s by moving your website to HTTPS/SSL."
512
  msgstr ""
513
 
514
+ #: .././admin/settings.php:1325
515
+ msgid "Improve search rankings"
516
  msgstr ""
517
 
518
+ #: .././admin/settings.php:1332
519
+ #, php-format
520
+ msgid "Other %s written by the same author"
521
  msgstr ""
522
 
523
+ #: .././admin/settings.php:1332
524
  msgid "WordPress Plugins"
525
  msgstr ""
526
 
527
+ #: .././admin/settings.php:1338
 
 
 
 
528
  msgid "Other Services"
529
  msgstr ""
530
 
531
+ #: .././admin/settings.php:1345
532
+ #, php-format
533
+ msgid "Speed up your website and plug into a whole %s"
534
  msgstr ""
535
 
536
+ #: .././admin/settings.php:1345
537
  msgid "new level of site speed"
538
  msgstr ""
539
 
540
+ #: .././admin/settings.php:1352
541
+ #, php-format
542
+ msgid "%s service with users tracking at IP level."
543
  msgstr ""
544
 
545
+ #: .././admin/settings.php:1352
546
+ msgid "Web Analytics"
547
  msgstr ""
548
 
549
+ #: .././admin/setup.php:76 .././admin/setup.php:111
550
  msgid "Google Analytics"
551
  msgstr ""
552
 
553
+ #: .././admin/setup.php:84
554
  msgid "Backend Settings"
555
  msgstr ""
556
 
557
+ #: .././admin/setup.php:88
558
  msgid "Frontend Settings"
559
  msgstr ""
560
 
561
+ #: .././admin/setup.php:92
562
  msgid "Tracking Code"
563
  msgstr ""
564
 
565
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
566
  msgid "Today"
567
  msgstr "Vandaag"
568
 
569
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
570
  msgid "Yesterday"
571
  msgstr "Gisteren"
572
 
573
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
574
+ #: .././front/widgets.php:74 .././front/widgets.php:182
575
  msgid "Last 7 Days"
576
  msgstr "Afgelopen 7 dagen"
577
 
578
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
579
+ #: .././front/widgets.php:80 .././front/widgets.php:184
580
  msgid "Last 30 Days"
581
  msgstr "Afgelopen 30 dagen"
582
 
583
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
584
  msgid "Last 90 Days"
585
  msgstr "Afgelopen 90 dagen"
586
 
587
+ #: .././admin/setup.php:203 .././admin/setup.php:219
588
+ msgid "Unique Views"
589
+ msgstr ""
 
 
 
 
590
 
591
+ #: .././admin/setup.php:204 .././admin/setup.php:220
592
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
593
+ #: .././tools/gapi.php:382
594
  msgid "Users"
595
  msgstr "Bezoekers"
596
 
597
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
598
  msgid "Organic"
599
  msgstr "Via zoekmachines"
600
 
601
+ #: .././admin/setup.php:206 .././admin/setup.php:221
602
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
603
+ #: .././tools/gapi.php:385
604
  msgid "Page Views"
605
  msgstr "Paginaweergaven"
606
 
607
+ #: .././admin/setup.php:207 .././admin/setup.php:222
608
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
609
+ #: .././tools/gapi.php:388
610
  msgid "Bounce Rate"
611
  msgstr "Bouncepercentage"
612
 
613
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
614
  msgid "Location"
615
  msgstr "Locaties"
616
 
617
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
618
  msgid "Referrers"
619
  msgstr "Beste verwijzingen"
620
 
621
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
622
+ #: .././tools/gapi.php:913
623
  msgid "Searches"
624
  msgstr "Beste zoekopdrachten"
625
 
626
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
627
  msgid "Traffic Details"
628
  msgstr "Verkeer"
629
 
630
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
631
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
632
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
633
  msgid "A JavaScript Error is blocking plugin resources!"
634
  msgstr ""
635
 
636
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
637
  msgid "Traffic Mediums"
638
  msgstr "Verkeersbronnen"
639
 
640
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
641
  msgid "Visitor Type"
642
  msgstr "Nieuw vs. terugkerend"
643
 
644
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
645
  msgid "Social Networks"
646
  msgstr "Sociale netwerken"
647
 
648
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
649
  msgid "Search Engines"
650
  msgstr "Zoekmachines"
651
 
652
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
653
  msgid "Organic Search"
654
  msgstr "Zoekopdrachten"
655
 
656
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
657
  msgid "Pages/Session"
658
  msgstr "Pagina's/bezoek"
659
 
660
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
661
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
662
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
663
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
664
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
665
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
666
+ #: .././front/item-reports.php:118
667
  msgid "Invalid response, more details in JavaScript Console (F12)."
668
  msgstr ""
669
 
670
+ #: .././admin/setup.php:226
671
  msgid "Not enough data collected"
672
  msgstr ""
673
 
674
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
675
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
676
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
677
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
678
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
679
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
680
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
681
+ #: .././front/widgets.php:110
682
  msgid "This report is unavailable"
683
  msgstr ""
684
 
685
+ #: .././admin/setup.php:228
686
  msgid "report generated by"
687
  msgstr ""
688
 
689
+ #: .././admin/setup.php:268
690
  msgid "Settings"
691
  msgstr ""
692
 
693
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
694
  msgid "Google Analytics Dashboard"
695
  msgstr "Bezoekersstatistieken"
696
 
697
+ #: .././admin/widgets.php:43
698
  msgid "This plugin needs an authorization:"
699
  msgstr ""
700
 
701
+ #: .././admin/widgets.php:77
702
  msgid "Something went wrong while retrieving profiles list."
703
  msgstr ""
704
 
705
+ #: .././admin/widgets.php:77
706
  msgid "More details"
707
  msgstr ""
708
 
709
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
710
  msgid "An admin should asign a default Google Analytics Profile."
711
  msgstr ""
712
 
713
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
714
  msgid "Select Domain"
715
  msgstr ""
716
 
717
+ #: .././admin/widgets.php:106
718
  msgid ""
719
  "Something went wrong while retrieving property data. You need to create and "
720
  "properly configure a Google Analytics account:"
721
  msgstr ""
722
 
723
+ #: .././admin/widgets.php:106
724
  msgid "Find out more!"
725
  msgstr ""
726
 
727
+ #: .././admin/widgets.php:127
728
  msgid "Real-Time"
729
  msgstr "Realtime"
730
 
731
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
732
+ #: .././front/widgets.php:183
733
  msgid "Last 14 Days"
734
  msgstr "Afgelopen 14 dagen"
735
 
736
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
737
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
738
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
739
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
740
+ msgid "Sessions"
741
+ msgstr "Bezoeken"
742
+
743
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
744
  msgid "Pages"
745
  msgstr "Meest bezochte pagina's"
746
 
747
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
748
  msgid "REFERRAL"
749
  msgstr "Verwijzend"
750
 
751
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
752
  msgid "ORGANIC"
753
  msgstr "Zoekmachines"
754
 
755
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
756
+ #: .././admin/widgets.php:491
757
  msgid "SOCIAL"
758
  msgstr "Sociale media"
759
 
760
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
761
+ #: .././admin/widgets.php:492
762
  msgid "CAMPAIGN"
763
  msgstr "Campagne"
764
 
765
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
766
+ #: .././admin/widgets.php:495
767
  msgid "DIRECT"
768
  msgstr "Direct"
769
 
770
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
771
  msgid "NEW"
772
  msgstr "Nieuw"
773
 
774
+ #: .././admin/widgets.php:371
775
  msgid "REFERRALS"
776
  msgstr "Verwijzingen"
777
 
778
+ #: .././admin/widgets.php:374
779
  msgid "KEYWORDS"
780
  msgstr "Zoekwoorden"
781
 
782
+ #: .././front/item-reports.php:133
783
  msgid "Views vs UniqueViews"
784
  msgstr ""
785
 
786
+ #: .././front/item-reports.php:183
787
  msgid "Google Analytics Reports"
788
  msgstr ""
789
 
790
+ #: .././front/widgets.php:23
791
  msgid "Will display your google analytics stats in a widget"
792
  msgstr ""
793
 
794
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
795
  msgid "trend"
796
  msgstr ""
797
 
798
+ #: .././front/widgets.php:133
799
  msgid "Period:"
800
  msgstr ""
801
 
802
+ #: .././front/widgets.php:133
803
  msgid "Sessions:"
804
  msgstr ""
805
 
806
+ #: .././front/widgets.php:137
807
  msgid "generated by"
808
  msgstr ""
809
 
810
+ #: .././front/widgets.php:147
811
  msgid "Google Analytics Stats"
812
  msgstr ""
813
 
814
+ #: .././front/widgets.php:154
815
  msgid "Title:"
816
  msgstr ""
817
 
818
+ #: .././front/widgets.php:161
819
  msgid "Display:"
820
  msgstr ""
821
 
822
+ #: .././front/widgets.php:165
823
  msgid "Chart & Totals"
824
  msgstr ""
825
 
826
+ #: .././front/widgets.php:166
827
  msgid "Chart"
828
  msgstr ""
829
 
830
+ #: .././front/widgets.php:167
831
  msgid "Totals"
832
  msgstr ""
833
 
834
+ #: .././front/widgets.php:171
835
  msgid "Anonymize stats:"
836
  msgstr ""
837
 
838
+ #: .././front/widgets.php:178
839
  msgid "Stats for:"
840
  msgstr ""
841
 
842
+ #: .././front/widgets.php:188
843
  msgid "Give credits:"
844
  msgstr ""
845
 
846
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
847
+ msgid "This is not allowed, read the documentation!"
848
+ msgstr ""
849
+
850
+ #: .././tools/gapi.php:141
851
  msgid "Use this link to get your access code:"
852
  msgstr ""
853
 
854
+ #: .././tools/gapi.php:141
855
  msgid "Get Access Code"
856
  msgstr ""
857
 
858
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
859
  msgid "Use the red link to get your access code!"
860
  msgstr ""
861
 
862
+ #: .././tools/gapi.php:146
863
  msgid "Access Code:"
864
  msgstr ""
865
 
866
+ #: .././tools/gapi.php:158
867
  msgid "Save Access Code"
868
  msgstr ""
869
 
870
+ #: .././tools/gapi.php:391
871
  msgid "Organic Searches"
872
  msgstr "Zoekopdrachten"
873
 
874
+ #: .././tools/gapi.php:394
875
+ msgid "Unique Page Views"
876
+ msgstr ""
877
+
878
+ #: .././tools/gapi.php:402
879
  msgid "Hour"
880
  msgstr "Uur"
881
 
882
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
883
  msgid "Date"
884
  msgstr "Datum"
885
 
886
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
887
  msgid "Views"
888
  msgstr "Weergaven"
889
 
890
+ #: .././tools/gapi.php:631
891
  msgid "Countries"
892
  msgstr "Landen"
893
 
894
+ #: .././tools/gapi.php:641
895
  msgid "Cities from"
896
  msgstr ""
897
 
898
+ #: .././tools/gapi.php:713
899
  msgid "Channels"
900
  msgstr ""
901
 
902
+ #: .././tools/gapi.php:776
903
  msgid "Type"
904
  msgstr ""
905
 
906
+ #: .././tools/gapi.php:871
907
  msgid "UniqueViews"
908
  msgstr ""
909
 
languages/ga-dash-pl_PL.mo DELETED
Binary file
languages/ga-dash-pl_PL.po CHANGED
@@ -1,737 +1,723 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr "Oszukujemy, co?"
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
 
43
  msgstr ""
44
 
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
49
  msgid "Errors & Debug"
50
  msgstr ""
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr ""
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "autoryzować wtyczkę"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Ustawienia Frontendu Google Analytics"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
  msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
  msgstr ""
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
- msgstr "pokaż wyszukiwania strony (po każdym artykule)"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr ""
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
92
  msgstr ""
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "wyłącz funkcjonalność Przełączanie Profilu/Widoku"
 
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
  msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
104
  msgstr ""
105
 
106
- #: .././admin/settings.php:313
 
 
 
 
107
  msgid "Real-Time Settings"
108
  msgstr "Ustawienia Czasu Rzeczywistego"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr "Maksymalna liczba stron wyświetlanych na karcie Czas Rzeczywisty:"
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
- msgstr ""
117
-
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
- msgstr "o tej opcji"
121
-
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr ""
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr ""
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr ""
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr ""
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
  msgstr ""
141
 
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
- msgstr "Włączone"
145
-
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr "Kod Śledzenia Google Analytics"
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr ""
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr "Śledzenie Zdarzeń"
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr ""
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr "Wyklucz Śledzenie"
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr ""
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
  msgstr "Ustawienia Śledzenia"
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr "Wyłączone"
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr "Nazwa widoku:"
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
  msgstr "Tracking ID:"
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr "Domyślny URL:"
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr "Strefa Czasowa:"
200
 
201
- #: .././admin/settings.php:430
202
  #, fuzzy
203
  msgid "Basic Tracking"
204
  msgstr "Śledzenie Zdarzeń"
205
 
206
- #: .././admin/settings.php:433
207
  msgid "Tracking Type:"
208
  msgstr ""
209
 
210
- #: .././admin/settings.php:437
211
  msgid "Classic Analytics"
212
  msgstr "Klasyczne Analytics"
213
 
214
- #: .././admin/settings.php:439
215
  msgid "Universal Analytics"
216
  msgstr "Uniwerslane Analytics"
217
 
218
- #: .././admin/settings.php:453
219
- msgid " anonymize IPs while tracking"
220
- msgstr "ukryj adresy IP podczas śledzenia"
221
 
222
- #: .././admin/settings.php:468
223
- msgid " enable remarketing, demographics and interests reports"
224
- msgstr "włącz raporty zainteresować, remarketingowe i demograficzne"
225
 
226
- #: .././admin/settings.php:490
227
- msgid " track downloads, mailto and outbound links"
228
- msgstr "śledź pobrania, wysyłanie maili i linki wychodzące"
229
 
230
- #: .././admin/settings.php:494
231
  #, fuzzy
232
  msgid "Downloads Regex:"
233
  msgstr "Filtry Pobierania:"
234
 
235
- #: .././admin/settings.php:511
236
- msgid " track affiliate links matching this regex"
237
  msgstr ""
238
 
239
- #: .././admin/settings.php:515
240
  msgid "Affiliates Regex:"
241
  msgstr ""
242
 
243
- #: .././admin/settings.php:532
244
- msgid " track fragment identifiers, hashmarks (#) in URI links"
245
  msgstr ""
246
 
247
- #: .././admin/settings.php:543
248
  msgid "Authors:"
249
  msgstr ""
250
 
251
- #: .././admin/settings.php:553
252
  msgid "Publication Year:"
253
  msgstr ""
254
 
255
- #: .././admin/settings.php:563
256
  msgid "Categories:"
257
  msgstr ""
258
 
259
- #: .././admin/settings.php:573
260
  msgid "User Type:"
261
  msgstr ""
262
 
263
- #: .././admin/settings.php:587
264
  #, fuzzy
265
  msgid "Advanced Tracking"
266
  msgstr "Śledzenie Zdarzeń"
267
 
268
- #: .././admin/settings.php:590
269
  msgid "Page Speed SR:"
270
  msgstr "Page Speed SR:"
271
 
272
- #: .././admin/settings.php:608
273
- #, fuzzy
274
- msgid " exclude events from bounce-rate calculation"
275
- msgstr "wyklucz zdarzenie kliknięcia z kalkulacji stawki odrzuceń"
276
 
277
- #: .././admin/settings.php:623
278
- msgid " enable enhanced link attribution"
279
- msgstr "włącz rozszerzone przypisywanie linków"
280
 
281
- #: .././admin/settings.php:637
282
- msgid " enable AdSense account linking"
283
- msgstr " włącz linkowanie konta AdSense"
284
 
285
- #: .././admin/settings.php:653
286
- msgid " enable cross domain tracking"
287
  msgstr ""
288
 
289
- #: .././admin/settings.php:657
290
  msgid "Cross Domains:"
291
  msgstr ""
292
 
293
- #: .././admin/settings.php:671
294
  msgid "Exclude tracking for:"
295
  msgstr ""
296
 
297
- #: .././admin/settings.php:741
298
  msgid "Google Analytics Errors & Debugging"
299
  msgstr ""
300
 
301
- #: .././admin/settings.php:751
302
  msgid "Errors & Details"
303
  msgstr ""
304
 
305
- #: .././admin/settings.php:752
306
  msgid "Plugin Settings"
307
  msgstr ""
308
 
309
- #: .././admin/settings.php:760
310
- msgid "For errors and/or other issues please check"
 
311
  msgstr ""
312
 
313
- #: .././admin/settings.php:760
314
- msgid "this documentation page"
315
- msgstr ""
316
-
317
- #: .././admin/settings.php:760
318
- msgid "and related tutorials"
319
- msgstr ""
320
-
321
- #: .././admin/settings.php:764
322
  msgid "Last Error detected"
323
  msgstr ""
324
 
325
- #: .././admin/settings.php:769 .././admin/settings.php:782
326
  msgid "None"
327
  msgstr ""
328
 
329
- #: .././admin/settings.php:776
330
  msgid "Error Details"
331
  msgstr ""
332
 
333
- #: .././admin/settings.php:796
334
  msgid "Plugin Configuration"
335
  msgstr ""
336
 
337
- #: .././admin/settings.php:840 .././admin/settings.php:1149
338
  msgid ""
339
  "Loading the required libraries. If this results in a blank screen or a fatal "
340
  "error, try this solution:"
341
  msgstr ""
342
 
343
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
344
  msgid "Plugin authorization succeeded."
345
  msgstr "Autoryzacja wtyczki pomyślna."
346
 
347
- #: .././admin/settings.php:868 .././admin/settings.php:1186
348
  msgid ""
349
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
350
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
351
  msgstr ""
352
 
353
- #: .././admin/settings.php:891 .././admin/settings.php:1218
354
  msgid "Cleared Cache."
355
  msgstr "Cache wyczyszczony."
356
 
357
- #: .././admin/settings.php:900 .././admin/settings.php:1227
358
  msgid "Token Reseted and Revoked."
359
  msgstr "Token wyczyszczony i wycofany."
360
 
361
- #: .././admin/settings.php:910
362
  msgid "All errors reseted."
363
  msgstr ""
364
 
365
- #: .././admin/settings.php:923 .././admin/settings.php:1241
366
  msgid "All other domains/properties were removed."
367
  msgstr "Wszystkie inne domeny/właściwości zostały usunięte."
368
 
369
- #: .././admin/settings.php:935 .././admin/settings.php:1253
370
  msgid "Google Analytics Settings"
371
  msgstr "Ustawienia Google Analytics"
372
 
373
- #: .././admin/settings.php:948 .././admin/settings.php:1266
374
  msgid "Use the red link (see below) to generate and get your access code!"
375
  msgstr ""
376
 
377
- #: .././admin/settings.php:959 .././admin/settings.php:1301
378
  msgid "Plugin Authorization"
379
  msgstr "Autoryzacja Wtyczki"
380
 
381
- #: .././admin/settings.php:963 .././admin/settings.php:1305
382
- msgid "You should watch the"
383
- msgstr "Powinienieś obejrzeć"
 
 
 
 
384
 
385
- #: .././admin/settings.php:963 .././admin/settings.php:1305
386
  msgid "video"
387
  msgstr "film"
388
 
389
- #: .././admin/settings.php:963 .././admin/settings.php:1305
390
- msgid "and read this"
391
- msgstr "i przeczytać"
392
-
393
- #: .././admin/settings.php:963 .././admin/settings.php:1305
394
  msgid "tutorial"
395
  msgstr "tutorial"
396
 
397
- #: .././admin/settings.php:963 .././admin/settings.php:1305
398
- msgid ""
399
- "before proceeding to authorization. This plugin requires a properly "
400
- "configured Google Analytics account"
401
  msgstr ""
402
- "przed ukończeniem autoryzacji. Ta wtyczka wymaga poprawnie skonfigurowanego "
403
- "konta Google Analytics"
404
-
405
- #: .././admin/settings.php:975 .././admin/settings.php:1316
406
- msgid " use your own API Project credentials"
407
- msgstr "użyj własnych danych logowania do API Projektu"
408
 
409
- #: .././admin/settings.php:982 .././admin/settings.php:1323
410
  msgid "API Key:"
411
  msgstr "Klucz API:"
412
 
413
- #: .././admin/settings.php:989 .././admin/settings.php:1331
414
  msgid "Client ID:"
415
  msgstr "ID Klienta:"
416
 
417
- #: .././admin/settings.php:997 .././admin/settings.php:1340
418
  msgid "Client Secret:"
419
  msgstr "Hasło Klienta:"
420
 
421
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
422
  msgid "Clear Authorization"
423
  msgstr "Czyść Autoryzację"
424
 
425
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
426
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
427
  msgid "Clear Cache"
428
  msgstr "Czyść Cache"
429
 
430
- #: .././admin/settings.php:1022
431
  msgid "Reset Errors"
432
  msgstr ""
433
 
434
- #: .././admin/settings.php:1028 .././admin/setup.php:73
435
- #: .././admin/setup.php:109
436
  msgid "General Settings"
437
  msgstr "Ustawienia główne"
438
 
439
- #: .././admin/settings.php:1031
440
  msgid "Select Domain:"
441
  msgstr ""
442
 
443
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
444
  msgid "Property not found"
445
  msgstr ""
446
 
447
- #: .././admin/settings.php:1049
448
  msgid "and/or hide all other domains"
449
  msgstr "i/lub ukryj wszystkie inne domeny"
450
 
451
- #: .././admin/settings.php:1052
452
  msgid "Hide Now"
453
  msgstr "Ukryj Teraz"
454
 
455
- #: .././admin/settings.php:1071
456
  msgid "Theme Color:"
457
  msgstr ""
458
 
459
- #: .././admin/settings.php:1081
460
  msgid "Automatic Updates"
461
  msgstr ""
462
 
463
- #: .././admin/settings.php:1097
464
  msgid ""
465
- "automatic updates for minor versions (security and maintainance releases "
466
- "only)"
467
  msgstr ""
468
 
469
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
470
- #: .././admin/widgets.php:38
471
  msgid "Authorize Plugin"
472
  msgstr "Autoryzuj wtyczkę"
473
 
474
- #: .././admin/settings.php:1192
475
  msgid "Properties refreshed."
476
  msgstr "Właściwości Odświeżone"
477
 
478
- #: .././admin/settings.php:1278
479
  msgid "Network Setup"
480
  msgstr "Ustawienia Sieci"
481
 
482
- #: .././admin/settings.php:1293
483
- msgid " use a single Google Analytics account for the entire network"
484
- msgstr "Użyj jednego konta Google Analytics dla całej sieci"
485
 
486
- #: .././admin/settings.php:1365
487
  msgid "Refresh Properties"
488
  msgstr "Odśwież Właściwości"
489
 
490
- #: .././admin/settings.php:1371
491
  msgid "Properties/Views Settings"
492
  msgstr "Ustawienia Właściwości /Widoków"
493
 
494
- #: .././admin/settings.php:1419
495
- msgid " exclude Super Admin tracking for the entire network"
496
  msgstr ""
497
 
498
- #: .././admin/settings.php:1471
499
  msgid "Setup Tutorial & Demo"
500
  msgstr "Ustaw Tutorial & Demo"
501
 
502
- #: .././admin/settings.php:1483
503
  msgid "Support & Reviews"
504
  msgstr "Wsparcie techniczne & Recenzje"
505
 
506
- #: .././admin/settings.php:1491
507
- msgid "Plugin documentation and support on"
 
508
  msgstr ""
509
 
510
- #: .././admin/settings.php:1498
511
- msgid "Your feedback and review are both important,"
512
- msgstr "Twój komentarz i ocena ważne,"
 
513
 
514
- #: .././admin/settings.php:1498
515
  msgid "rate this plugin"
516
  msgstr "oceń tą wtyczkę"
517
 
518
- #: .././admin/settings.php:1503
519
  msgid "Further Reading"
520
  msgstr "Inne Dokumenty"
521
 
522
- #: .././admin/settings.php:1511
523
- msgid "Improve search rankings"
 
524
  msgstr ""
525
 
526
- #: .././admin/settings.php:1511
527
- msgid "by moving your website to HTTPS/SSL."
528
  msgstr ""
529
 
530
- #: .././admin/settings.php:1518
531
- msgid "Other"
532
- msgstr "Inne"
 
533
 
534
- #: .././admin/settings.php:1518
535
  msgid "WordPress Plugins"
536
  msgstr "Wtyczki WordPressa"
537
 
538
- #: .././admin/settings.php:1518
539
- msgid "written by the same author"
540
- msgstr "napisane przez tego samego autora"
541
-
542
- #: .././admin/settings.php:1523
543
  msgid "Other Services"
544
  msgstr ""
545
 
546
- #: .././admin/settings.php:1531
547
- msgid "Speed up your website and plug into a whole"
 
548
  msgstr ""
549
 
550
- #: .././admin/settings.php:1531
551
  msgid "new level of site speed"
552
  msgstr ""
553
 
554
- #: .././admin/settings.php:1538
 
 
 
 
 
555
  msgid "Web Analytics"
556
  msgstr "Web Analytics"
557
 
558
- #: .././admin/settings.php:1538
559
- msgid "service with users tracking at IP level."
560
- msgstr ""
561
-
562
- #: .././admin/setup.php:69 .././admin/setup.php:105
563
  msgid "Google Analytics"
564
  msgstr "Google Analytics"
565
 
566
- #: .././admin/setup.php:77
567
  msgid "Backend Settings"
568
  msgstr "Ustawienia backendu"
569
 
570
- #: .././admin/setup.php:81
571
  msgid "Frontend Settings"
572
  msgstr "Ustawienia Frontendu"
573
 
574
- #: .././admin/setup.php:85
575
  msgid "Tracking Code"
576
  msgstr "Kod śledzenia"
577
 
578
- #: .././admin/setup.php:190 .././admin/widgets.php:123
579
  msgid "Today"
580
  msgstr "Dzisiaj"
581
 
582
- #: .././admin/setup.php:191 .././admin/widgets.php:125
583
  msgid "Yesterday"
584
  msgstr "Wczoraj"
585
 
586
- #: .././admin/setup.php:192 .././admin/widgets.php:127
587
- #: .././front/widgets.php:68 .././front/widgets.php:176
588
  msgid "Last 7 Days"
589
  msgstr "Ostatnie 7 dni"
590
 
591
- #: .././admin/setup.php:193 .././admin/widgets.php:131
592
- #: .././front/widgets.php:74 .././front/widgets.php:178
593
  msgid "Last 30 Days"
594
  msgstr "Ostatnie 30 dni"
595
 
596
- #: .././admin/setup.php:194 .././admin/widgets.php:133
597
  msgid "Last 90 Days"
598
  msgstr "Ostatnie 90 dni"
599
 
600
- #: .././admin/setup.php:197 .././admin/setup.php:213
601
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
602
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
603
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
604
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
605
- msgid "Sessions"
606
  msgstr ""
607
 
608
- #: .././admin/setup.php:198 .././admin/setup.php:214
609
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
610
- #: .././tools/gapi.php:372
611
  msgid "Users"
612
  msgstr ""
613
 
614
- #: .././admin/setup.php:199 .././admin/widgets.php:142
615
  msgid "Organic"
616
  msgstr "Organiczne"
617
 
618
- #: .././admin/setup.php:200 .././admin/setup.php:215
619
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
620
- #: .././tools/gapi.php:375
621
  msgid "Page Views"
622
  msgstr "Wyświetleń strony"
623
 
624
- #: .././admin/setup.php:201 .././admin/setup.php:216
625
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
626
- #: .././tools/gapi.php:378
627
  msgid "Bounce Rate"
628
  msgstr "Współczynnik odrzuceń"
629
 
630
- #: .././admin/setup.php:202 .././admin/widgets.php:148
631
  msgid "Location"
632
  msgstr ""
633
 
634
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
635
  msgid "Referrers"
636
  msgstr ""
637
 
638
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
639
- #: .././tools/gapi.php:898
640
  msgid "Searches"
641
  msgstr ""
642
 
643
- #: .././admin/setup.php:205 .././admin/widgets.php:156
644
  msgid "Traffic Details"
645
  msgstr ""
646
 
647
- #: .././admin/setup.php:208 .././admin/widgets.php:522
648
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
649
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
650
  msgid "A JavaScript Error is blocking plugin resources!"
651
  msgstr ""
652
 
653
- #: .././admin/setup.php:209 .././admin/widgets.php:724
654
  msgid "Traffic Mediums"
655
  msgstr ""
656
 
657
- #: .././admin/setup.php:210 .././admin/widgets.php:740
658
  msgid "Visitor Type"
659
  msgstr ""
660
 
661
- #: .././admin/setup.php:211 .././admin/widgets.php:756
662
  msgid "Social Networks"
663
  msgstr ""
664
 
665
- #: .././admin/setup.php:212 .././admin/widgets.php:772
666
  msgid "Search Engines"
667
  msgstr ""
668
 
669
- #: .././admin/setup.php:217 .././admin/widgets.php:897
670
  msgid "Organic Search"
671
  msgstr ""
672
 
673
- #: .././admin/setup.php:218 .././admin/widgets.php:901
674
  msgid "Pages/Session"
675
  msgstr ""
676
 
677
- #: .././admin/setup.php:219 .././admin/widgets.php:535
678
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
679
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
680
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
681
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
682
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
683
- #: .././front/item-reports.php:115
684
  msgid "Invalid response, more details in JavaScript Console (F12)."
685
  msgstr ""
686
 
687
- #: .././admin/setup.php:220
688
  msgid "Not enough data collected"
689
  msgstr ""
690
 
691
- #: .././admin/setup.php:221 .././admin/widgets.php:540
692
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
693
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
694
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
695
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
696
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
697
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
698
- #: .././front/widgets.php:104
699
  msgid "This report is unavailable"
700
  msgstr ""
701
 
702
- #: .././admin/setup.php:222
703
  msgid "report generated by"
704
  msgstr ""
705
 
706
- #: .././admin/setup.php:260
707
  msgid "Settings"
708
  msgstr "Ustawienia"
709
 
710
- #: .././admin/widgets.php:27 .././front/widgets.php:14
711
  msgid "Google Analytics Dashboard"
712
  msgstr "Pulpit Google Analytics"
713
 
714
- #: .././admin/widgets.php:38
715
  msgid "This plugin needs an authorization:"
716
  msgstr "Ta wtyczka wymaga autoryzacji:"
717
 
718
- #: .././admin/widgets.php:72
719
  msgid "Something went wrong while retrieving profiles list."
720
  msgstr "Coś poszło nie tak podczas pobierania listy profili."
721
 
722
- #: .././admin/widgets.php:72
723
  msgid "More details"
724
  msgstr "Więcej szczegółów"
725
 
726
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
727
  msgid "An admin should asign a default Google Analytics Profile."
728
  msgstr "Administrator poiwnien ustawić domyślny profil Google Analytics."
729
 
730
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
731
  msgid "Select Domain"
732
  msgstr "Wybierz domenę"
733
 
734
- #: .././admin/widgets.php:101
735
  msgid ""
736
  "Something went wrong while retrieving property data. You need to create and "
737
  "properly configure a Google Analytics account:"
@@ -739,178 +725,249 @@ msgstr ""
739
  "Coś poszło nie tak podczas pobierania danych. Musisz stworzyc i odpowiednio "
740
  "skonfigurować konto Google Analytics:"
741
 
742
- #: .././admin/widgets.php:101
743
  msgid "Find out more!"
744
  msgstr "Dowiedz sie więcej!"
745
 
746
- #: .././admin/widgets.php:122
747
  msgid "Real-Time"
748
  msgstr "Czas rzeczywisty"
749
 
750
- #: .././admin/widgets.php:129 .././front/widgets.php:71
751
- #: .././front/widgets.php:177
752
  msgid "Last 14 Days"
753
  msgstr "Ostatnie 14 dni"
754
 
755
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
756
  msgid "Pages"
757
  msgstr ""
758
 
759
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
760
  msgid "REFERRAL"
761
  msgstr "REFERUJĄCY"
762
 
763
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
764
  msgid "ORGANIC"
765
  msgstr "ORGANICZNE"
766
 
767
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
768
- #: .././admin/widgets.php:486
769
  msgid "SOCIAL"
770
  msgstr "SPOŁECZNE"
771
 
772
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
773
- #: .././admin/widgets.php:487
774
  msgid "CAMPAIGN"
775
  msgstr ""
776
 
777
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
778
- #: .././admin/widgets.php:490
779
  msgid "DIRECT"
780
  msgstr "BEZPOŚREDNIE"
781
 
782
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
783
  msgid "NEW"
784
  msgstr "NOWE"
785
 
786
- #: .././admin/widgets.php:366
787
  msgid "REFERRALS"
788
  msgstr "REFERUJĄCY"
789
 
790
- #: .././admin/widgets.php:369
791
  msgid "KEYWORDS"
792
  msgstr "SŁOWA KLUCZOWE"
793
 
794
- #: .././front/item-reports.php:130
795
  msgid "Views vs UniqueViews"
796
  msgstr "Odsłon vs Odsłon Unikalnych"
797
 
798
- #: .././front/item-reports.php:180
799
  msgid "Google Analytics Reports"
800
  msgstr ""
801
 
802
- #: .././front/widgets.php:15
803
  msgid "Will display your google analytics stats in a widget"
804
  msgstr "Wyświetli twoje statystyki Google Analytics na widgecie"
805
 
806
- #: .././front/widgets.php:40 .././tools/gapi.php:803
807
  msgid "trend"
808
  msgstr ""
809
 
810
- #: .././front/widgets.php:127
811
  msgid "Period:"
812
  msgstr "Okres:"
813
 
814
- #: .././front/widgets.php:127
815
  msgid "Sessions:"
816
  msgstr ""
817
 
818
- #: .././front/widgets.php:131
819
  msgid "generated by"
820
  msgstr "wygenerowane przez"
821
 
822
- #: .././front/widgets.php:141
823
  msgid "Google Analytics Stats"
824
  msgstr "Statystyki Google Analytics"
825
 
826
- #: .././front/widgets.php:148
827
  msgid "Title:"
828
  msgstr "Tytuł:"
829
 
830
- #: .././front/widgets.php:155
831
  msgid "Display:"
832
  msgstr "Wyświetlenie:"
833
 
834
- #: .././front/widgets.php:159
835
  msgid "Chart & Totals"
836
  msgstr "Wykres & Podsumowania"
837
 
838
- #: .././front/widgets.php:160
839
  msgid "Chart"
840
  msgstr "Wykres"
841
 
842
- #: .././front/widgets.php:161
843
  msgid "Totals"
844
  msgstr "Podsumowania"
845
 
846
- #: .././front/widgets.php:165
847
  msgid "Anonymize stats:"
848
  msgstr ""
849
 
850
- #: .././front/widgets.php:172
851
  msgid "Stats for:"
852
  msgstr "Statystyki dla:"
853
 
854
- #: .././front/widgets.php:182
855
  msgid "Give credits:"
856
  msgstr "Podziękuj:"
857
 
858
- #: .././tools/gapi.php:128
 
 
 
 
859
  msgid "Use this link to get your access code:"
860
  msgstr "Użyj tego linku, aby uzyskać kod dostępu:"
861
 
862
- #: .././tools/gapi.php:128
863
  msgid "Get Access Code"
864
  msgstr "Zdobądź Kod Dostępu"
865
 
866
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
867
  msgid "Use the red link to get your access code!"
868
  msgstr ""
869
 
870
- #: .././tools/gapi.php:133
871
  msgid "Access Code:"
872
  msgstr "Kod Dostępu:"
873
 
874
- #: .././tools/gapi.php:145
875
  msgid "Save Access Code"
876
  msgstr "Zapisz Kod Dostępu"
877
 
878
- #: .././tools/gapi.php:381
879
  msgid "Organic Searches"
880
  msgstr "Wyszukiwania organiczne"
881
 
882
- #: .././tools/gapi.php:389
 
 
 
 
883
  msgid "Hour"
884
  msgstr "Godzina"
885
 
886
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
887
  msgid "Date"
888
  msgstr "Data"
889
 
890
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
891
  msgid "Views"
892
  msgstr "Odsłon"
893
 
894
- #: .././tools/gapi.php:617
895
  msgid "Countries"
896
  msgstr ""
897
 
898
- #: .././tools/gapi.php:626
899
  msgid "Cities from"
900
  msgstr ""
901
 
902
- #: .././tools/gapi.php:698
903
  msgid "Channels"
904
  msgstr ""
905
 
906
- #: .././tools/gapi.php:761
907
  msgid "Type"
908
  msgstr "Typ"
909
 
910
- #: .././tools/gapi.php:856
911
  msgid "UniqueViews"
912
  msgstr "Odsłon Unikalnych"
913
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
914
  #~ msgid "Google Analytics Dashboard Settings"
915
  #~ msgstr "Ustawienia Pulpitu Google Analytics"
916
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
+ "POT-Creation-Date: 2015-04-10 09:32+0200\n"
5
+ "PO-Revision-Date: 2015-04-10 09:32+0200\n"
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
+ "Language-Team: Alin Marcu\n"
8
+ "Language: pl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
+ #: .././admin/item-reports.php:66
20
  msgid "Analytics"
21
  msgstr ""
22
 
23
+ #: .././admin/settings.php:94 .././admin/settings.php:202
24
+ #: .././admin/settings.php:338 .././admin/settings.php:819
25
+ #: .././admin/settings.php:1088
26
  msgid "Settings saved."
27
  msgstr ""
28
 
29
+ #: .././admin/settings.php:96 .././admin/settings.php:204
30
+ #: .././admin/settings.php:340 .././admin/settings.php:796
31
+ #: .././admin/settings.php:806 .././admin/settings.php:815
32
+ #: .././admin/settings.php:821 .././admin/settings.php:833
33
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
34
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
35
+ #: .././admin/settings.php:1102
36
  msgid "Cheating Huh?"
37
  msgstr "Oszukujemy, co?"
38
 
39
+ #: .././admin/settings.php:100 .././admin/settings.php:208
40
+ #: .././admin/settings.php:344 .././admin/settings.php:659
41
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
42
+ #, php-format
43
+ msgid "Something went wrong, check %1$s or %2$s."
44
  msgstr ""
45
 
46
+ #: .././admin/settings.php:100 .././admin/settings.php:208
47
+ #: .././admin/settings.php:344 .././admin/settings.php:659
48
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
49
+ #: .././admin/setup.php:96 .././admin/setup.php:119
50
  msgid "Errors & Debug"
51
  msgstr ""
52
 
53
+ #: .././admin/settings.php:100 .././admin/settings.php:208
54
+ #: .././admin/settings.php:344 .././admin/settings.php:659
55
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
56
  msgid "authorize the plugin"
57
  msgstr "autoryzować wtyczkę"
58
 
59
+ #: .././admin/settings.php:105
60
  msgid "Google Analytics Frontend Settings"
61
  msgstr "Ustawienia Frontendu Google Analytics"
62
 
63
+ #: .././admin/settings.php:116
64
+ #, php-format
65
+ msgid "Read %s for more information about Frontend Features and Options."
66
+ msgstr ""
67
+
68
+ #: .././admin/settings.php:116 .././admin/settings.php:224
69
+ #: .././admin/settings.php:369 .././admin/settings.php:682
70
+ msgid "this documentation page"
71
+ msgstr ""
72
+
73
+ #: .././admin/settings.php:120 .././admin/settings.php:228
74
  msgid "Permissions"
75
  msgstr ""
76
 
77
+ #: .././admin/settings.php:123 .././admin/settings.php:231
78
  msgid "Show stats to:"
79
  msgstr ""
80
 
81
+ #: .././admin/settings.php:162
82
+ msgid "show page sessions and users in frontend (after each article)"
83
  msgstr ""
84
 
85
+ #: .././admin/settings.php:173
86
+ msgid "show page searches (after each article)"
87
+ msgstr ""
88
 
89
+ #: .././admin/settings.php:180 .././admin/settings.php:318
90
+ #: .././admin/settings.php:617 .././admin/settings.php:965
91
+ #: .././admin/settings.php:1252
92
  msgid "Save Changes"
93
  msgstr ""
94
 
95
+ #: .././admin/settings.php:213
96
  msgid "Google Analytics Backend Settings"
97
  msgstr ""
98
 
99
+ #: .././admin/settings.php:224
100
+ #, php-format
101
+ msgid "Read %s for more information about Backend Features and Options."
102
+ msgstr ""
103
 
104
+ #: .././admin/settings.php:272
105
+ msgid "enable Switch Profile/View functionality"
106
  msgstr ""
107
 
108
+ #: .././admin/settings.php:283
109
+ msgid "enable reports on Posts List and Pages List"
110
  msgstr ""
111
 
112
+ #: .././admin/settings.php:294
113
+ msgid "enable the main Dashboard Widget"
114
+ msgstr ""
115
+
116
+ #: .././admin/settings.php:298
117
  msgid "Real-Time Settings"
118
  msgstr "Ustawienia Czasu Rzeczywistego"
119
 
120
+ #: .././admin/settings.php:301
121
  msgid "Maximum number of pages to display on real-time tab:"
122
  msgstr "Maksymalna liczba stron wyświetlanych na karcie Czas Rzeczywisty:"
123
 
124
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
125
  msgid "Location Settings"
126
  msgstr ""
127
 
128
+ #: .././admin/settings.php:310
129
  msgid "Target Geo Map to country:"
130
  msgstr ""
131
 
132
+ #: .././admin/settings.php:347
133
+ msgid ""
134
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
135
+ "strong> to <strong>Enabled</strong>"
 
 
 
 
 
 
136
  msgstr ""
137
 
138
+ #: .././admin/settings.php:352
 
 
 
 
139
  msgid "Google Analytics Tracking Code"
140
  msgstr "Kod Śledzenia Google Analytics"
141
 
142
+ #: .././admin/settings.php:361
143
  msgid "Basic Settings"
144
  msgstr ""
145
 
146
+ #: .././admin/settings.php:362 .././admin/settings.php:429
147
  msgid "Events Tracking"
148
  msgstr "Śledzenie Zdarzeń"
149
 
150
+ #: .././admin/settings.php:363 .././admin/settings.php:477
151
  msgid "Custom Definitions"
152
  msgstr ""
153
 
154
+ #: .././admin/settings.php:364 .././admin/settings.php:575
155
+ #: .././admin/settings.php:1235
156
  msgid "Exclude Tracking"
157
  msgstr "Wyklucz Śledzenie"
158
 
159
+ #: .././admin/settings.php:365
160
  msgid "Advanced Settings"
161
  msgstr ""
162
 
163
+ #: .././admin/settings.php:369
164
+ #, php-format
165
+ msgid "For more information about Tracking Options read %s."
166
+ msgstr ""
167
+
168
+ #: .././admin/settings.php:374
169
  msgid "Tracking Settings"
170
  msgstr "Ustawienia Śledzenia"
171
 
172
+ #: .././admin/settings.php:377
173
  msgid "Tracking Options:"
174
  msgstr ""
175
 
176
+ #: .././admin/settings.php:379
177
  msgid "Disabled"
178
  msgstr "Wyłączone"
179
 
180
+ #: .././admin/settings.php:380
181
+ msgid "Enabled"
182
+ msgstr "Włączone"
183
+
184
+ #: .././admin/settings.php:388 .././admin/settings.php:911
185
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
186
+ #: .././admin/widgets.php:72
187
  msgid "View Name:"
188
  msgstr "Nazwa widoku:"
189
 
190
+ #: .././admin/settings.php:388 .././admin/settings.php:933
191
  msgid "Tracking ID:"
192
  msgstr "Tracking ID:"
193
 
194
+ #: .././admin/settings.php:388 .././admin/settings.php:933
195
  msgid "Default URL:"
196
  msgstr "Domyślny URL:"
197
 
198
+ #: .././admin/settings.php:388 .././admin/settings.php:933
199
  msgid "Time Zone:"
200
  msgstr "Strefa Czasowa:"
201
 
202
+ #: .././admin/settings.php:393
203
  #, fuzzy
204
  msgid "Basic Tracking"
205
  msgstr "Śledzenie Zdarzeń"
206
 
207
+ #: .././admin/settings.php:396
208
  msgid "Tracking Type:"
209
  msgstr ""
210
 
211
+ #: .././admin/settings.php:398
212
  msgid "Classic Analytics"
213
  msgstr "Klasyczne Analytics"
214
 
215
+ #: .././admin/settings.php:399
216
  msgid "Universal Analytics"
217
  msgstr "Uniwerslane Analytics"
218
 
219
+ #: .././admin/settings.php:410
220
+ msgid "anonymize IPs while tracking"
221
+ msgstr ""
222
 
223
+ #: .././admin/settings.php:421
224
+ msgid "enable remarketing, demographics and interests reports"
225
+ msgstr ""
226
 
227
+ #: .././admin/settings.php:439
228
+ msgid "track downloads, mailto and outbound links"
229
+ msgstr ""
230
 
231
+ #: .././admin/settings.php:443
232
  #, fuzzy
233
  msgid "Downloads Regex:"
234
  msgstr "Filtry Pobierania:"
235
 
236
+ #: .././admin/settings.php:454
237
+ msgid "track affiliate links matching this regex"
238
  msgstr ""
239
 
240
+ #: .././admin/settings.php:458
241
  msgid "Affiliates Regex:"
242
  msgstr ""
243
 
244
+ #: .././admin/settings.php:469
245
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
246
  msgstr ""
247
 
248
+ #: .././admin/settings.php:480
249
  msgid "Authors:"
250
  msgstr ""
251
 
252
+ #: .././admin/settings.php:488
253
  msgid "Publication Year:"
254
  msgstr ""
255
 
256
+ #: .././admin/settings.php:496
257
  msgid "Categories:"
258
  msgstr ""
259
 
260
+ #: .././admin/settings.php:504
261
  msgid "User Type:"
262
  msgstr ""
263
 
264
+ #: .././admin/settings.php:516
265
  #, fuzzy
266
  msgid "Advanced Tracking"
267
  msgstr "Śledzenie Zdarzeń"
268
 
269
+ #: .././admin/settings.php:519
270
  msgid "Page Speed SR:"
271
  msgstr "Page Speed SR:"
272
 
273
+ #: .././admin/settings.php:530
274
+ msgid "exclude events from bounce-rate calculation"
275
+ msgstr ""
 
276
 
277
+ #: .././admin/settings.php:541
278
+ msgid "enable enhanced link attribution"
279
+ msgstr ""
280
 
281
+ #: .././admin/settings.php:552
282
+ msgid "enable AdSense account linking"
283
+ msgstr ""
284
 
285
+ #: .././admin/settings.php:563
286
+ msgid "enable cross domain tracking"
287
  msgstr ""
288
 
289
+ #: .././admin/settings.php:567
290
  msgid "Cross Domains:"
291
  msgstr ""
292
 
293
+ #: .././admin/settings.php:578
294
  msgid "Exclude tracking for:"
295
  msgstr ""
296
 
297
+ #: .././admin/settings.php:663
298
  msgid "Google Analytics Errors & Debugging"
299
  msgstr ""
300
 
301
+ #: .././admin/settings.php:673
302
  msgid "Errors & Details"
303
  msgstr ""
304
 
305
+ #: .././admin/settings.php:674
306
  msgid "Plugin Settings"
307
  msgstr ""
308
 
309
+ #: .././admin/settings.php:682
310
+ #, php-format
311
+ msgid "For errors and/or other issues please check %s and related tutorials."
312
  msgstr ""
313
 
314
+ #: .././admin/settings.php:687
 
 
 
 
 
 
 
 
315
  msgid "Last Error detected"
316
  msgstr ""
317
 
318
+ #: .././admin/settings.php:693 .././admin/settings.php:706
319
  msgid "None"
320
  msgstr ""
321
 
322
+ #: .././admin/settings.php:700
323
  msgid "Error Details"
324
  msgstr ""
325
 
326
+ #: .././admin/settings.php:720
327
  msgid "Plugin Configuration"
328
  msgstr ""
329
 
330
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
331
  msgid ""
332
  "Loading the required libraries. If this results in a blank screen or a fatal "
333
  "error, try this solution:"
334
  msgstr ""
335
 
336
+ #: .././admin/settings.php:742
337
+ msgid "Library conflicts between WordPress plugins"
338
+ msgstr ""
339
+
340
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
341
  msgid "Plugin authorization succeeded."
342
  msgstr "Autoryzacja wtyczki pomyślna."
343
 
344
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
345
  msgid ""
346
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
347
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
348
  msgstr ""
349
 
350
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
351
  msgid "Cleared Cache."
352
  msgstr "Cache wyczyszczony."
353
 
354
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
355
  msgid "Token Reseted and Revoked."
356
  msgstr "Token wyczyszczony i wycofany."
357
 
358
+ #: .././admin/settings.php:813
359
  msgid "All errors reseted."
360
  msgstr ""
361
 
362
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
363
  msgid "All other domains/properties were removed."
364
  msgstr "Wszystkie inne domeny/właściwości zostały usunięte."
365
 
366
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
367
  msgid "Google Analytics Settings"
368
  msgstr "Ustawienia Google Analytics"
369
 
370
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
371
  msgid "Use the red link (see below) to generate and get your access code!"
372
  msgstr ""
373
 
374
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
375
  msgid "Plugin Authorization"
376
  msgstr "Autoryzacja Wtyczki"
377
 
378
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
379
+ #, php-format
380
+ msgid ""
381
+ "You should watch the %1$s and read this %2$s before proceeding to "
382
+ "authorization. This plugin requires a properly configured Google Analytics "
383
+ "account!"
384
+ msgstr ""
385
 
386
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
387
  msgid "video"
388
  msgstr "film"
389
 
390
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
391
  msgid "tutorial"
392
  msgstr "tutorial"
393
 
394
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
395
+ msgid "use your own API Project credentials"
 
 
396
  msgstr ""
 
 
 
 
 
 
397
 
398
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
399
  msgid "API Key:"
400
  msgstr "Klucz API:"
401
 
402
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
403
  msgid "Client ID:"
404
  msgstr "ID Klienta:"
405
 
406
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
407
  msgid "Client Secret:"
408
  msgstr "Hasło Klienta:"
409
 
410
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
411
  msgid "Clear Authorization"
412
  msgstr "Czyść Autoryzację"
413
 
414
+ #: .././admin/settings.php:895 .././admin/settings.php:971
415
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
416
  msgid "Clear Cache"
417
  msgstr "Czyść Cache"
418
 
419
+ #: .././admin/settings.php:895
420
  msgid "Reset Errors"
421
  msgstr ""
422
 
423
+ #: .././admin/settings.php:901 .././admin/setup.php:80
424
+ #: .././admin/setup.php:115
425
  msgid "General Settings"
426
  msgstr "Ustawienia główne"
427
 
428
+ #: .././admin/settings.php:904
429
  msgid "Select Domain:"
430
  msgstr ""
431
 
432
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
433
  msgid "Property not found"
434
  msgstr ""
435
 
436
+ #: .././admin/settings.php:920
437
  msgid "and/or hide all other domains"
438
  msgstr "i/lub ukryj wszystkie inne domeny"
439
 
440
+ #: .././admin/settings.php:921
441
  msgid "Hide Now"
442
  msgstr "Ukryj Teraz"
443
 
444
+ #: .././admin/settings.php:939
445
  msgid "Theme Color:"
446
  msgstr ""
447
 
448
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
449
  msgid "Automatic Updates"
450
  msgstr ""
451
 
452
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
453
  msgid ""
454
+ "automatic updates for minor versions (security and maintenance releases only)"
 
455
  msgstr ""
456
 
457
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
458
+ #: .././admin/widgets.php:43
459
  msgid "Authorize Plugin"
460
  msgstr "Autoryzuj wtyczkę"
461
 
462
+ #: .././admin/settings.php:1046
463
  msgid "Properties refreshed."
464
  msgstr "Właściwości Odświeżone"
465
 
466
+ #: .././admin/settings.php:1130
467
  msgid "Network Setup"
468
  msgstr "Ustawienia Sieci"
469
 
470
+ #: .././admin/settings.php:1140
471
+ msgid "use a single Google Analytics account for the entire network"
472
+ msgstr ""
473
 
474
+ #: .././admin/settings.php:1184
475
  msgid "Refresh Properties"
476
  msgstr "Odśwież Właściwości"
477
 
478
+ #: .././admin/settings.php:1190
479
  msgid "Properties/Views Settings"
480
  msgstr "Ustawienia Właściwości /Widoków"
481
 
482
+ #: .././admin/settings.php:1245
483
+ msgid "exclude Super Admin tracking for the entire network"
484
  msgstr ""
485
 
486
+ #: .././admin/settings.php:1290
487
  msgid "Setup Tutorial & Demo"
488
  msgstr "Ustaw Tutorial & Demo"
489
 
490
+ #: .././admin/settings.php:1298
491
  msgid "Support & Reviews"
492
  msgstr "Wsparcie techniczne & Recenzje"
493
 
494
+ #: .././admin/settings.php:1305
495
+ #, php-format
496
+ msgid "Plugin documentation and support on %s"
497
  msgstr ""
498
 
499
+ #: .././admin/settings.php:1312
500
+ #, php-format
501
+ msgid "Your feedback and review are both important, %s!"
502
+ msgstr ""
503
 
504
+ #: .././admin/settings.php:1312
505
  msgid "rate this plugin"
506
  msgstr "oceń tą wtyczkę"
507
 
508
+ #: .././admin/settings.php:1318
509
  msgid "Further Reading"
510
  msgstr "Inne Dokumenty"
511
 
512
+ #: .././admin/settings.php:1325
513
+ #, php-format
514
+ msgid "%s by moving your website to HTTPS/SSL."
515
  msgstr ""
516
 
517
+ #: .././admin/settings.php:1325
518
+ msgid "Improve search rankings"
519
  msgstr ""
520
 
521
+ #: .././admin/settings.php:1332
522
+ #, php-format
523
+ msgid "Other %s written by the same author"
524
+ msgstr ""
525
 
526
+ #: .././admin/settings.php:1332
527
  msgid "WordPress Plugins"
528
  msgstr "Wtyczki WordPressa"
529
 
530
+ #: .././admin/settings.php:1338
 
 
 
 
531
  msgid "Other Services"
532
  msgstr ""
533
 
534
+ #: .././admin/settings.php:1345
535
+ #, php-format
536
+ msgid "Speed up your website and plug into a whole %s"
537
  msgstr ""
538
 
539
+ #: .././admin/settings.php:1345
540
  msgid "new level of site speed"
541
  msgstr ""
542
 
543
+ #: .././admin/settings.php:1352
544
+ #, php-format
545
+ msgid "%s service with users tracking at IP level."
546
+ msgstr ""
547
+
548
+ #: .././admin/settings.php:1352
549
  msgid "Web Analytics"
550
  msgstr "Web Analytics"
551
 
552
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
553
  msgid "Google Analytics"
554
  msgstr "Google Analytics"
555
 
556
+ #: .././admin/setup.php:84
557
  msgid "Backend Settings"
558
  msgstr "Ustawienia backendu"
559
 
560
+ #: .././admin/setup.php:88
561
  msgid "Frontend Settings"
562
  msgstr "Ustawienia Frontendu"
563
 
564
+ #: .././admin/setup.php:92
565
  msgid "Tracking Code"
566
  msgstr "Kod śledzenia"
567
 
568
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
569
  msgid "Today"
570
  msgstr "Dzisiaj"
571
 
572
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
573
  msgid "Yesterday"
574
  msgstr "Wczoraj"
575
 
576
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
577
+ #: .././front/widgets.php:74 .././front/widgets.php:182
578
  msgid "Last 7 Days"
579
  msgstr "Ostatnie 7 dni"
580
 
581
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
582
+ #: .././front/widgets.php:80 .././front/widgets.php:184
583
  msgid "Last 30 Days"
584
  msgstr "Ostatnie 30 dni"
585
 
586
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
587
  msgid "Last 90 Days"
588
  msgstr "Ostatnie 90 dni"
589
 
590
+ #: .././admin/setup.php:203 .././admin/setup.php:219
591
+ msgid "Unique Views"
 
 
 
 
592
  msgstr ""
593
 
594
+ #: .././admin/setup.php:204 .././admin/setup.php:220
595
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
596
+ #: .././tools/gapi.php:382
597
  msgid "Users"
598
  msgstr ""
599
 
600
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
601
  msgid "Organic"
602
  msgstr "Organiczne"
603
 
604
+ #: .././admin/setup.php:206 .././admin/setup.php:221
605
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
606
+ #: .././tools/gapi.php:385
607
  msgid "Page Views"
608
  msgstr "Wyświetleń strony"
609
 
610
+ #: .././admin/setup.php:207 .././admin/setup.php:222
611
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
612
+ #: .././tools/gapi.php:388
613
  msgid "Bounce Rate"
614
  msgstr "Współczynnik odrzuceń"
615
 
616
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
617
  msgid "Location"
618
  msgstr ""
619
 
620
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
621
  msgid "Referrers"
622
  msgstr ""
623
 
624
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
625
+ #: .././tools/gapi.php:913
626
  msgid "Searches"
627
  msgstr ""
628
 
629
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
630
  msgid "Traffic Details"
631
  msgstr ""
632
 
633
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
634
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
635
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
636
  msgid "A JavaScript Error is blocking plugin resources!"
637
  msgstr ""
638
 
639
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
640
  msgid "Traffic Mediums"
641
  msgstr ""
642
 
643
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
644
  msgid "Visitor Type"
645
  msgstr ""
646
 
647
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
648
  msgid "Social Networks"
649
  msgstr ""
650
 
651
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
652
  msgid "Search Engines"
653
  msgstr ""
654
 
655
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
656
  msgid "Organic Search"
657
  msgstr ""
658
 
659
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
660
  msgid "Pages/Session"
661
  msgstr ""
662
 
663
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
664
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
665
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
666
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
667
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
668
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
669
+ #: .././front/item-reports.php:118
670
  msgid "Invalid response, more details in JavaScript Console (F12)."
671
  msgstr ""
672
 
673
+ #: .././admin/setup.php:226
674
  msgid "Not enough data collected"
675
  msgstr ""
676
 
677
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
678
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
679
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
680
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
681
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
682
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
683
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
684
+ #: .././front/widgets.php:110
685
  msgid "This report is unavailable"
686
  msgstr ""
687
 
688
+ #: .././admin/setup.php:228
689
  msgid "report generated by"
690
  msgstr ""
691
 
692
+ #: .././admin/setup.php:268
693
  msgid "Settings"
694
  msgstr "Ustawienia"
695
 
696
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
697
  msgid "Google Analytics Dashboard"
698
  msgstr "Pulpit Google Analytics"
699
 
700
+ #: .././admin/widgets.php:43
701
  msgid "This plugin needs an authorization:"
702
  msgstr "Ta wtyczka wymaga autoryzacji:"
703
 
704
+ #: .././admin/widgets.php:77
705
  msgid "Something went wrong while retrieving profiles list."
706
  msgstr "Coś poszło nie tak podczas pobierania listy profili."
707
 
708
+ #: .././admin/widgets.php:77
709
  msgid "More details"
710
  msgstr "Więcej szczegółów"
711
 
712
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
713
  msgid "An admin should asign a default Google Analytics Profile."
714
  msgstr "Administrator poiwnien ustawić domyślny profil Google Analytics."
715
 
716
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
717
  msgid "Select Domain"
718
  msgstr "Wybierz domenę"
719
 
720
+ #: .././admin/widgets.php:106
721
  msgid ""
722
  "Something went wrong while retrieving property data. You need to create and "
723
  "properly configure a Google Analytics account:"
725
  "Coś poszło nie tak podczas pobierania danych. Musisz stworzyc i odpowiednio "
726
  "skonfigurować konto Google Analytics:"
727
 
728
+ #: .././admin/widgets.php:106
729
  msgid "Find out more!"
730
  msgstr "Dowiedz sie więcej!"
731
 
732
+ #: .././admin/widgets.php:127
733
  msgid "Real-Time"
734
  msgstr "Czas rzeczywisty"
735
 
736
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
737
+ #: .././front/widgets.php:183
738
  msgid "Last 14 Days"
739
  msgstr "Ostatnie 14 dni"
740
 
741
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
742
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
743
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
744
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
745
+ msgid "Sessions"
746
+ msgstr ""
747
+
748
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
749
  msgid "Pages"
750
  msgstr ""
751
 
752
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
753
  msgid "REFERRAL"
754
  msgstr "REFERUJĄCY"
755
 
756
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
757
  msgid "ORGANIC"
758
  msgstr "ORGANICZNE"
759
 
760
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
761
+ #: .././admin/widgets.php:491
762
  msgid "SOCIAL"
763
  msgstr "SPOŁECZNE"
764
 
765
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
766
+ #: .././admin/widgets.php:492
767
  msgid "CAMPAIGN"
768
  msgstr ""
769
 
770
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
771
+ #: .././admin/widgets.php:495
772
  msgid "DIRECT"
773
  msgstr "BEZPOŚREDNIE"
774
 
775
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
776
  msgid "NEW"
777
  msgstr "NOWE"
778
 
779
+ #: .././admin/widgets.php:371
780
  msgid "REFERRALS"
781
  msgstr "REFERUJĄCY"
782
 
783
+ #: .././admin/widgets.php:374
784
  msgid "KEYWORDS"
785
  msgstr "SŁOWA KLUCZOWE"
786
 
787
+ #: .././front/item-reports.php:133
788
  msgid "Views vs UniqueViews"
789
  msgstr "Odsłon vs Odsłon Unikalnych"
790
 
791
+ #: .././front/item-reports.php:183
792
  msgid "Google Analytics Reports"
793
  msgstr ""
794
 
795
+ #: .././front/widgets.php:23
796
  msgid "Will display your google analytics stats in a widget"
797
  msgstr "Wyświetli twoje statystyki Google Analytics na widgecie"
798
 
799
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
800
  msgid "trend"
801
  msgstr ""
802
 
803
+ #: .././front/widgets.php:133
804
  msgid "Period:"
805
  msgstr "Okres:"
806
 
807
+ #: .././front/widgets.php:133
808
  msgid "Sessions:"
809
  msgstr ""
810
 
811
+ #: .././front/widgets.php:137
812
  msgid "generated by"
813
  msgstr "wygenerowane przez"
814
 
815
+ #: .././front/widgets.php:147
816
  msgid "Google Analytics Stats"
817
  msgstr "Statystyki Google Analytics"
818
 
819
+ #: .././front/widgets.php:154
820
  msgid "Title:"
821
  msgstr "Tytuł:"
822
 
823
+ #: .././front/widgets.php:161
824
  msgid "Display:"
825
  msgstr "Wyświetlenie:"
826
 
827
+ #: .././front/widgets.php:165
828
  msgid "Chart & Totals"
829
  msgstr "Wykres & Podsumowania"
830
 
831
+ #: .././front/widgets.php:166
832
  msgid "Chart"
833
  msgstr "Wykres"
834
 
835
+ #: .././front/widgets.php:167
836
  msgid "Totals"
837
  msgstr "Podsumowania"
838
 
839
+ #: .././front/widgets.php:171
840
  msgid "Anonymize stats:"
841
  msgstr ""
842
 
843
+ #: .././front/widgets.php:178
844
  msgid "Stats for:"
845
  msgstr "Statystyki dla:"
846
 
847
+ #: .././front/widgets.php:188
848
  msgid "Give credits:"
849
  msgstr "Podziękuj:"
850
 
851
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
852
+ msgid "This is not allowed, read the documentation!"
853
+ msgstr ""
854
+
855
+ #: .././tools/gapi.php:141
856
  msgid "Use this link to get your access code:"
857
  msgstr "Użyj tego linku, aby uzyskać kod dostępu:"
858
 
859
+ #: .././tools/gapi.php:141
860
  msgid "Get Access Code"
861
  msgstr "Zdobądź Kod Dostępu"
862
 
863
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
864
  msgid "Use the red link to get your access code!"
865
  msgstr ""
866
 
867
+ #: .././tools/gapi.php:146
868
  msgid "Access Code:"
869
  msgstr "Kod Dostępu:"
870
 
871
+ #: .././tools/gapi.php:158
872
  msgid "Save Access Code"
873
  msgstr "Zapisz Kod Dostępu"
874
 
875
+ #: .././tools/gapi.php:391
876
  msgid "Organic Searches"
877
  msgstr "Wyszukiwania organiczne"
878
 
879
+ #: .././tools/gapi.php:394
880
+ msgid "Unique Page Views"
881
+ msgstr ""
882
+
883
+ #: .././tools/gapi.php:402
884
  msgid "Hour"
885
  msgstr "Godzina"
886
 
887
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
888
  msgid "Date"
889
  msgstr "Data"
890
 
891
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
892
  msgid "Views"
893
  msgstr "Odsłon"
894
 
895
+ #: .././tools/gapi.php:631
896
  msgid "Countries"
897
  msgstr ""
898
 
899
+ #: .././tools/gapi.php:641
900
  msgid "Cities from"
901
  msgstr ""
902
 
903
+ #: .././tools/gapi.php:713
904
  msgid "Channels"
905
  msgstr ""
906
 
907
+ #: .././tools/gapi.php:776
908
  msgid "Type"
909
  msgstr "Typ"
910
 
911
+ #: .././tools/gapi.php:871
912
  msgid "UniqueViews"
913
  msgstr "Odsłon Unikalnych"
914
 
915
+ #~ msgid "about this feature"
916
+ #~ msgstr "o tej opcji"
917
+
918
+ #~ msgid " show page searches (after each article)"
919
+ #~ msgstr "pokaż wyszukiwania strony (po każdym artykule)"
920
+
921
+ #~ msgid " anonymize IPs while tracking"
922
+ #~ msgstr "ukryj adresy IP podczas śledzenia"
923
+
924
+ #~ msgid " enable remarketing, demographics and interests reports"
925
+ #~ msgstr "włącz raporty zainteresować, remarketingowe i demograficzne"
926
+
927
+ #~ msgid " track downloads, mailto and outbound links"
928
+ #~ msgstr "śledź pobrania, wysyłanie maili i linki wychodzące"
929
+
930
+ #, fuzzy
931
+ #~ msgid " exclude events from bounce-rate calculation"
932
+ #~ msgstr "wyklucz zdarzenie kliknięcia z kalkulacji stawki odrzuceń"
933
+
934
+ #~ msgid " enable enhanced link attribution"
935
+ #~ msgstr "włącz rozszerzone przypisywanie linków"
936
+
937
+ #~ msgid " enable AdSense account linking"
938
+ #~ msgstr " włącz linkowanie konta AdSense"
939
+
940
+ #~ msgid " use your own API Project credentials"
941
+ #~ msgstr "użyj własnych danych logowania do API Projektu"
942
+
943
+ #~ msgid " use a single Google Analytics account for the entire network"
944
+ #~ msgstr "Użyj jednego konta Google Analytics dla całej sieci"
945
+
946
+ #~ msgid "disable Switch Profile/View functionality"
947
+ #~ msgstr "wyłącz funkcjonalność Przełączanie Profilu/Widoku"
948
+
949
+ #~ msgid "You should watch the"
950
+ #~ msgstr "Powinienieś obejrzeć"
951
+
952
+ #~ msgid "and read this"
953
+ #~ msgstr "i przeczytać"
954
+
955
+ #~ msgid ""
956
+ #~ "before proceeding to authorization. This plugin requires a properly "
957
+ #~ "configured Google Analytics account"
958
+ #~ msgstr ""
959
+ #~ "przed ukończeniem autoryzacji. Ta wtyczka wymaga poprawnie "
960
+ #~ "skonfigurowanego konta Google Analytics"
961
+
962
+ #~ msgid "Your feedback and review are both important,"
963
+ #~ msgstr "Twój komentarz i ocena są ważne,"
964
+
965
+ #~ msgid "Other"
966
+ #~ msgstr "Inne"
967
+
968
+ #~ msgid "written by the same author"
969
+ #~ msgstr "napisane przez tego samego autora"
970
+
971
  #~ msgid "Google Analytics Dashboard Settings"
972
  #~ msgstr "Ustawienia Pulpitu Google Analytics"
973
 
languages/ga-dash-pt_BR.mo CHANGED
Binary file
languages/ga-dash-pt_BR.po CHANGED
@@ -1,336 +1,338 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Google Analytics Dashboard for WP 4.4.7\n"
4
- "POT-Creation-Date: 2015-03-10 19:16+0200\n"
5
- "PO-Revision-Date: 2015-03-10 19:16+0200\n"
6
- "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf, Treedbox.com <admin@deconf.com, treedbox@gmail.com>\n"
 
 
8
  "Language: pt_BR\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.4\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
  msgid "Analytics"
21
- msgstr ""
22
 
23
- #: .././admin/settings.php:86 .././admin/settings.php:205
24
- #: .././admin/settings.php:372 .././admin/settings.php:916
25
- #: .././admin/settings.php:1234
26
  msgid "Settings saved."
27
  msgstr "Definições Salvas"
28
 
29
- #: .././admin/settings.php:88 .././admin/settings.php:207
30
- #: .././admin/settings.php:374 .././admin/settings.php:893
31
- #: .././admin/settings.php:903 .././admin/settings.php:912
32
- #: .././admin/settings.php:918 .././admin/settings.php:930
33
- #: .././admin/settings.php:1195 .././admin/settings.php:1220
34
- #: .././admin/settings.php:1230 .././admin/settings.php:1236
35
- #: .././admin/settings.php:1248
36
  msgid "Cheating Huh?"
37
  msgstr "A Curiosidade Matou o Gato :F"
38
 
39
- #: .././admin/settings.php:92 .././admin/settings.php:211
40
- #: .././admin/settings.php:378 .././admin/settings.php:737
41
- #: .././admin/settings.php:943 .././admin/settings.php:1261
42
- msgid "Something went wrong, check"
43
- msgstr "Algo deu errado, verifique"
44
-
45
- #: .././admin/settings.php:92 .././admin/settings.php:211
46
- #: .././admin/settings.php:378 .././admin/settings.php:737
47
- #: .././admin/settings.php:943 .././admin/settings.php:1261
48
- #: .././admin/setup.php:89 .././admin/setup.php:113
 
49
  msgid "Errors & Debug"
50
  msgstr "Erros & Depuração"
51
 
52
- #: .././admin/settings.php:92 .././admin/settings.php:211
53
- #: .././admin/settings.php:378 .././admin/settings.php:737
54
- #: .././admin/settings.php:943 .././admin/settings.php:1261
55
- msgid "or"
56
- msgstr "ou"
57
-
58
- #: .././admin/settings.php:92 .././admin/settings.php:211
59
- #: .././admin/settings.php:378 .././admin/settings.php:737
60
- #: .././admin/settings.php:943 .././admin/settings.php:1261
61
  msgid "authorize the plugin"
62
  msgstr "Autorize o Plugin"
63
 
64
- #: .././admin/settings.php:98
65
  msgid "Google Analytics Frontend Settings"
66
  msgstr "Configurações Externas do Google Analytics"
67
 
68
- #: .././admin/settings.php:108 .././admin/settings.php:227
 
 
 
 
 
 
 
 
 
 
69
  msgid "Permissions"
70
- msgstr ""
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:230
73
  msgid "Show stats to:"
74
  msgstr "Mostrar Status de:"
75
 
76
- #: .././admin/settings.php:159
77
- msgid " show page sessions and users in frontend (after each article)"
78
- msgstr "mostrar sessões de página e usuários na Frente (após cada artigo)"
79
 
80
- #: .././admin/settings.php:175
81
- msgid " show page searches (after each article)"
82
  msgstr "Mostram pesquisas da página (após cada artigo)"
83
 
84
- #: .././admin/settings.php:184 .././admin/settings.php:350
85
- #: .././admin/settings.php:715 .././admin/settings.php:1106
86
- #: .././admin/settings.php:1428
87
  msgid "Save Changes"
88
  msgstr "Salvar Mudanças"
89
 
90
- #: .././admin/settings.php:217
91
  msgid "Google Analytics Backend Settings"
 
 
 
 
 
92
  msgstr ""
 
 
93
 
94
- #: .././admin/settings.php:279
95
- msgid "disable Switch Profile/View functionality"
96
- msgstr "desativar mudar perfil/Ver funcionalidade"
97
 
98
- #: .././admin/settings.php:294
99
- msgid "disable stats on Posts List and Pages List"
100
- msgstr ""
101
 
102
- #: .././admin/settings.php:309
103
- msgid "disable the main Dashboard Widget"
104
- msgstr ""
105
 
106
- #: .././admin/settings.php:313
107
  msgid "Real-Time Settings"
108
  msgstr "Definições de Tempo Real"
109
 
110
- #: .././admin/settings.php:316
111
  msgid "Maximum number of pages to display on real-time tab:"
112
  msgstr "Número máximo de páginas para mostrar na guia Tempo Real:"
113
 
114
- #: .././admin/settings.php:321 .././admin/settings.php:337
115
- msgid "find out more"
116
- msgstr "Saiba mais"
117
-
118
- #: .././admin/settings.php:323 .././admin/settings.php:340
119
- msgid "about this feature"
120
- msgstr "sobre este recurso"
121
-
122
- #: .././admin/settings.php:328
123
  msgid "Location Settings"
124
  msgstr "Configurações de Localização"
125
 
126
- #: .././admin/settings.php:332
127
  msgid "Target Geo Map to country:"
128
  msgstr "Mapa Geográfico alvo para o país:"
129
 
130
- #: .././admin/settings.php:381
131
- msgid "The tracking component is disabled. You should set"
132
- msgstr "O componente de rastreamento está desativado. Você deve configurar"
133
-
134
- #: .././admin/settings.php:381
135
- msgid "Tracking Options"
136
- msgstr "Opções de Rastreio"
137
-
138
- #: .././admin/settings.php:381
139
- msgid "to"
140
- msgstr "para"
141
-
142
- #: .././admin/settings.php:381 .././admin/settings.php:417
143
- msgid "Enabled"
144
- msgstr "Habilitar"
145
 
146
- #: .././admin/settings.php:387
147
  msgid "Google Analytics Tracking Code"
148
  msgstr "Código de rastreamento do Google Analytics"
149
 
150
- #: .././admin/settings.php:396
151
  msgid "Basic Settings"
152
  msgstr "Configurações básicas"
153
 
154
- #: .././admin/settings.php:397 .././admin/settings.php:476
155
  msgid "Events Tracking"
156
  msgstr "Eventos de rastreamento"
157
 
158
- #: .././admin/settings.php:398 .././admin/settings.php:540
159
  msgid "Custom Definitions"
160
  msgstr "Definições personalizadas"
161
 
162
- #: .././admin/settings.php:399 .././admin/settings.php:668
163
- #: .././admin/settings.php:1405
164
  msgid "Exclude Tracking"
165
  msgstr "Excluir Rastreamento"
166
 
167
- #: .././admin/settings.php:400
168
  msgid "Advanced Settings"
169
  msgstr "Configurações avançadas"
170
 
171
- #: .././admin/settings.php:408
 
 
 
 
 
172
  msgid "Tracking Settings"
173
  msgstr "Configurações de rastreamento"
174
 
175
- #: .././admin/settings.php:411
176
  msgid "Tracking Options:"
177
  msgstr "Opções de Rastreio"
178
 
179
- #: .././admin/settings.php:415
180
  msgid "Disabled"
181
  msgstr "Desabilitar"
182
 
183
- #: .././admin/settings.php:425 .././admin/settings.php:1040
184
- #: .././admin/settings.php:1065 .././admin/settings.php:1392
185
- #: .././admin/widgets.php:67
 
 
 
 
186
  msgid "View Name:"
187
  msgstr "Ver Nome:"
188
 
189
- #: .././admin/settings.php:425 .././admin/settings.php:1065
190
  msgid "Tracking ID:"
191
  msgstr "ID de rastreamento:"
192
 
193
- #: .././admin/settings.php:425 .././admin/settings.php:1065
194
  msgid "Default URL:"
195
  msgstr "URL Padrão:"
196
 
197
- #: .././admin/settings.php:425 .././admin/settings.php:1065
198
  msgid "Time Zone:"
199
  msgstr "Fuso horário:"
200
 
201
- #: .././admin/settings.php:430
202
  msgid "Basic Tracking"
203
  msgstr "Rastreamento Básico"
204
 
205
- #: .././admin/settings.php:433
206
  msgid "Tracking Type:"
207
  msgstr "Tipo de Rastreio"
208
 
209
- #: .././admin/settings.php:437
210
  msgid "Classic Analytics"
211
  msgstr "Analytics clássico"
212
 
213
- #: .././admin/settings.php:439
214
  msgid "Universal Analytics"
215
  msgstr "Analytics Universal"
216
 
217
- #: .././admin/settings.php:453
218
- msgid " anonymize IPs while tracking"
219
  msgstr "IPs anônimos ao rastreamento"
220
 
221
- #: .././admin/settings.php:468
222
- msgid " enable remarketing, demographics and interests reports"
223
  msgstr "permitir recolocação, demográficas e relatórios de interesses"
224
 
225
- #: .././admin/settings.php:490
226
- msgid " track downloads, mailto and outbound links"
227
- msgstr "baixe faixas, e-mail para e links de saída"
228
 
229
- #: .././admin/settings.php:494
230
  msgid "Downloads Regex:"
231
  msgstr "Expressões Regulares de Download:"
232
 
233
- #: .././admin/settings.php:511
234
- msgid " track affiliate links matching this regex"
235
- msgstr "Link Afiliado de Rastreio que coincidem com esta expressão regular"
236
 
237
- #: .././admin/settings.php:515
238
  msgid "Affiliates Regex:"
239
  msgstr "Expressão Regular Afiliada:"
240
 
241
- #: .././admin/settings.php:532
242
- msgid " track fragment identifiers, hashmarks (#) in URI links"
243
- msgstr "rastrear identificadores de fragmento, Marcas de hash (#) no link"
244
 
245
- #: .././admin/settings.php:543
246
  msgid "Authors:"
247
  msgstr "Autores:"
248
 
249
- #: .././admin/settings.php:553
250
  msgid "Publication Year:"
251
  msgstr "Ano de Publicação:"
252
 
253
- #: .././admin/settings.php:563
254
  msgid "Categories:"
255
  msgstr "Categorias:"
256
 
257
- #: .././admin/settings.php:573
258
  msgid "User Type:"
259
  msgstr "Tipo de Usuário:"
260
 
261
- #: .././admin/settings.php:587
262
  msgid "Advanced Tracking"
263
  msgstr "Rastreio Avançado"
264
 
265
- #: .././admin/settings.php:590
266
  msgid "Page Speed SR:"
267
  msgstr "Velocidade de Página SR:"
268
 
269
- #: .././admin/settings.php:608
270
- msgid " exclude events from bounce-rate calculation"
271
  msgstr "Excluir eventos de cálculo de taxa de rejeição"
272
 
273
- #: .././admin/settings.php:623
274
- msgid " enable enhanced link attribution"
275
- msgstr "permitir reforço a atribuição de link"
276
 
277
- #: .././admin/settings.php:637
278
- msgid " enable AdSense account linking"
279
  msgstr "habilitar link da conta do AdSense"
280
 
281
- #: .././admin/settings.php:653
282
- msgid " enable cross domain tracking"
283
  msgstr "habilitar Rastreio de domínio cruzado"
284
 
285
- #: .././admin/settings.php:657
286
  msgid "Cross Domains:"
287
  msgstr "Domínio Cruzado:"
288
 
289
- #: .././admin/settings.php:671
290
  msgid "Exclude tracking for:"
291
  msgstr "Excluir Rastreio para:"
292
 
293
- #: .././admin/settings.php:741
294
  msgid "Google Analytics Errors & Debugging"
295
  msgstr "Erros & Depuração do Google Analytics"
296
 
297
- #: .././admin/settings.php:751
298
  msgid "Errors & Details"
299
  msgstr "Erros & Detalhes"
300
 
301
- #: .././admin/settings.php:752
302
  msgid "Plugin Settings"
303
  msgstr "Configurações do Plugin"
304
 
305
- #: .././admin/settings.php:760
306
- msgid "For errors and/or other issues please check"
307
- msgstr "Para erros e/ou outras questões por favor, verifique"
308
-
309
- #: .././admin/settings.php:760
310
- msgid "this documentation page"
311
- msgstr "Página de Documentação do Plugin"
312
-
313
- #: .././admin/settings.php:760
314
- msgid "and related tutorials"
315
- msgstr "e tutoriais relacionados"
316
 
317
- #: .././admin/settings.php:764
318
  msgid "Last Error detected"
319
  msgstr "Último erro detectado"
320
 
321
- #: .././admin/settings.php:769 .././admin/settings.php:782
322
  msgid "None"
323
  msgstr "Nenhum"
324
 
325
- #: .././admin/settings.php:776
326
  msgid "Error Details"
327
  msgstr "Detalhes do Erro"
328
 
329
- #: .././admin/settings.php:796
330
  msgid "Plugin Configuration"
331
  msgstr "Configuração do Plugin"
332
 
333
- #: .././admin/settings.php:840 .././admin/settings.php:1149
334
  msgid ""
335
  "Loading the required libraries. If this results in a blank screen or a fatal "
336
  "error, try this solution:"
@@ -338,11 +340,15 @@ msgstr ""
338
  "Carregando as bibliotecas necessárias. Se isso resulta em uma tela em branco "
339
  "ou um erro fatal, tente esta solução:"
340
 
341
- #: .././admin/settings.php:852 .././admin/settings.php:1161
 
 
 
 
342
  msgid "Plugin authorization succeeded."
343
  msgstr "Plugin autorizado com sucesso."
344
 
345
- #: .././admin/settings.php:868 .././admin/settings.php:1186
346
  msgid ""
347
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
348
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
@@ -351,388 +357,382 @@ msgstr ""
351
  "</ strong> (UA-XXXXX-X). Tente de novo, e use o link vermelho para obter o "
352
  "seu código de acesso"
353
 
354
- #: .././admin/settings.php:891 .././admin/settings.php:1218
355
  msgid "Cleared Cache."
356
  msgstr "Cache Limpo."
357
 
358
- #: .././admin/settings.php:900 .././admin/settings.php:1227
359
  msgid "Token Reseted and Revoked."
360
  msgstr "Token redefinido e revogado"
361
 
362
- #: .././admin/settings.php:910
363
  msgid "All errors reseted."
364
- msgstr ""
365
 
366
- #: .././admin/settings.php:923 .././admin/settings.php:1241
367
  msgid "All other domains/properties were removed."
368
  msgstr "Todos os outros domínios/propriedades foram removidas."
369
 
370
- #: .././admin/settings.php:935 .././admin/settings.php:1253
371
  msgid "Google Analytics Settings"
372
  msgstr "Configurações do Google Analytics"
373
 
374
- #: .././admin/settings.php:948 .././admin/settings.php:1266
375
  msgid "Use the red link (see below) to generate and get your access code!"
376
  msgstr "Use o link vermelho (abaixo) para gerar e pegar seu código de acesso."
377
 
378
- #: .././admin/settings.php:959 .././admin/settings.php:1301
379
  msgid "Plugin Authorization"
380
  msgstr "Autorização do Plugin"
381
 
382
- #: .././admin/settings.php:963 .././admin/settings.php:1305
383
- msgid "You should watch the"
384
- msgstr "Você deveria assistir ao"
 
 
 
 
 
 
 
385
 
386
- #: .././admin/settings.php:963 .././admin/settings.php:1305
387
  msgid "video"
388
  msgstr "vídeo"
389
 
390
- #: .././admin/settings.php:963 .././admin/settings.php:1305
391
- msgid "and read this"
392
- msgstr "e ler este"
393
-
394
- #: .././admin/settings.php:963 .././admin/settings.php:1305
395
  msgid "tutorial"
396
  msgstr "tutorial"
397
 
398
- #: .././admin/settings.php:963 .././admin/settings.php:1305
399
- msgid ""
400
- "before proceeding to authorization. This plugin requires a properly "
401
- "configured Google Analytics account"
402
- msgstr ""
403
- "antes de prosseguir para a autorização. Este Plugin requer uma conta do "
404
- "Google Analytics configurada corretamente"
405
-
406
- #: .././admin/settings.php:975 .././admin/settings.php:1316
407
- msgid " use your own API Project credentials"
408
  msgstr "usar suas próprias credenciais da API do projeto"
409
 
410
- #: .././admin/settings.php:982 .././admin/settings.php:1323
411
  msgid "API Key:"
412
  msgstr "Chave API:"
413
 
414
- #: .././admin/settings.php:989 .././admin/settings.php:1331
415
  msgid "Client ID:"
416
  msgstr "ID do cliente:"
417
 
418
- #: .././admin/settings.php:997 .././admin/settings.php:1340
419
  msgid "Client Secret:"
420
  msgstr "Cliente Secreto:"
421
 
422
- #: .././admin/settings.php:1015 .././admin/settings.php:1359
423
  msgid "Clear Authorization"
424
  msgstr "Limpar Autorização"
425
 
426
- #: .././admin/settings.php:1019 .././admin/settings.php:1120
427
- #: .././admin/settings.php:1362 .././admin/settings.php:1440
428
  msgid "Clear Cache"
429
  msgstr "Limpar Cache"
430
 
431
- #: .././admin/settings.php:1022
432
  msgid "Reset Errors"
433
- msgstr ""
434
 
435
- #: .././admin/settings.php:1028 .././admin/setup.php:73
436
- #: .././admin/setup.php:109
437
  msgid "General Settings"
438
  msgstr "Configurações Gerais"
439
 
440
- #: .././admin/settings.php:1031
441
  msgid "Select Domain:"
442
  msgstr "Selecionar Domínio:"
443
 
444
- #: .././admin/settings.php:1044 .././admin/settings.php:1396
445
  msgid "Property not found"
446
  msgstr "Propriedade não econtrada"
447
 
448
- #: .././admin/settings.php:1049
449
  msgid "and/or hide all other domains"
450
  msgstr "e/ou esconder todos os outros domínios"
451
 
452
- #: .././admin/settings.php:1052
453
  msgid "Hide Now"
454
  msgstr "Ocultar Agora"
455
 
456
- #: .././admin/settings.php:1071
457
  msgid "Theme Color:"
458
  msgstr "Cor do Tema:"
459
 
460
- #: .././admin/settings.php:1081
461
  msgid "Automatic Updates"
462
- msgstr ""
463
 
464
- #: .././admin/settings.php:1097
465
  msgid ""
466
- "automatic updates for minor versions (security and maintainance releases "
467
- "only)"
468
  msgstr ""
 
 
469
 
470
- #: .././admin/settings.php:1116 .././admin/settings.php:1437
471
- #: .././admin/widgets.php:38
472
  msgid "Authorize Plugin"
473
  msgstr "Autorize o Plugin"
474
 
475
- #: .././admin/settings.php:1192
476
  msgid "Properties refreshed."
477
  msgstr "Propriedades Atualizadas"
478
 
479
- #: .././admin/settings.php:1278
480
  msgid "Network Setup"
481
  msgstr "Configuração de Rede"
482
 
483
- #: .././admin/settings.php:1293
484
- msgid " use a single Google Analytics account for the entire network"
485
  msgstr "Use uma única conta do Google Analytics para toda a Rede"
486
 
487
- #: .././admin/settings.php:1365
488
  msgid "Refresh Properties"
489
  msgstr "Atualizar Propriedades"
490
 
491
- #: .././admin/settings.php:1371
492
  msgid "Properties/Views Settings"
493
  msgstr "Propriedades/Ver Definições"
494
 
495
- #: .././admin/settings.php:1419
496
- msgid " exclude Super Admin tracking for the entire network"
497
- msgstr "Excluir rastreamento do Administrador para toda a rede"
498
 
499
- #: .././admin/settings.php:1471
500
  msgid "Setup Tutorial & Demo"
501
  msgstr "Tutorial de Instalação e demonstrações"
502
 
503
- #: .././admin/settings.php:1483
504
  msgid "Support & Reviews"
505
  msgstr "Suporte e Revisões"
506
 
507
- #: .././admin/settings.php:1491
508
- msgid "Plugin documentation and support on"
509
- msgstr "Documentação e Suporte do Plugin em"
 
510
 
511
- #: .././admin/settings.php:1498
512
- msgid "Your feedback and review are both important,"
513
- msgstr "O seu Feedback e Revisão são ambos importantes,"
 
514
 
515
- #: .././admin/settings.php:1498
516
  msgid "rate this plugin"
517
  msgstr "Avaliar este Plugin"
518
 
519
- #: .././admin/settings.php:1503
520
  msgid "Further Reading"
521
  msgstr "Leitura adicional"
522
 
523
- #: .././admin/settings.php:1511
 
 
 
 
 
524
  msgid "Improve search rankings"
525
  msgstr "Melhorar classificação em buscas"
526
 
527
- #: .././admin/settings.php:1511
528
- msgid "by moving your website to HTTPS/SSL."
529
- msgstr "movendo seu site para HTTPS/SSL."
 
530
 
531
- #: .././admin/settings.php:1518
532
- msgid "Other"
533
- msgstr "Outro"
534
-
535
- #: .././admin/settings.php:1518
536
  msgid "WordPress Plugins"
537
  msgstr "Plugin do Wordpress"
538
 
539
- #: .././admin/settings.php:1518
540
- msgid "written by the same author"
541
- msgstr "escrito pelo mesmo autor"
542
-
543
- #: .././admin/settings.php:1523
544
  msgid "Other Services"
545
  msgstr "Outros Serviços"
546
 
547
- #: .././admin/settings.php:1531
548
- msgid "Speed up your website and plug into a whole"
549
- msgstr "Aumente a velocidade de seu site na web e conecte-o ao seu conjunto"
 
550
 
551
- #: .././admin/settings.php:1531
552
  msgid "new level of site speed"
553
  msgstr "Novo nível de velocidade do site"
554
 
555
- #: .././admin/settings.php:1538
 
 
 
 
 
556
  msgid "Web Analytics"
557
  msgstr "Web Analytics"
558
 
559
- #: .././admin/settings.php:1538
560
- msgid "service with users tracking at IP level."
561
- msgstr "serviço com os usuários de rastreamento a nível de IP."
562
-
563
- #: .././admin/setup.php:69 .././admin/setup.php:105
564
  msgid "Google Analytics"
565
  msgstr "Google Analytics"
566
 
567
- #: .././admin/setup.php:77
568
  msgid "Backend Settings"
569
  msgstr "Configurações Internas"
570
 
571
- #: .././admin/setup.php:81
572
  msgid "Frontend Settings"
573
  msgstr "Configurações Externas"
574
 
575
- #: .././admin/setup.php:85
576
  msgid "Tracking Code"
577
  msgstr "Código de Rastreio"
578
 
579
- #: .././admin/setup.php:190 .././admin/widgets.php:123
580
  msgid "Today"
581
  msgstr "Hoje"
582
 
583
- #: .././admin/setup.php:191 .././admin/widgets.php:125
584
  msgid "Yesterday"
585
  msgstr "Ontem"
586
 
587
- #: .././admin/setup.php:192 .././admin/widgets.php:127
588
- #: .././front/widgets.php:68 .././front/widgets.php:176
589
  msgid "Last 7 Days"
590
  msgstr "Últimos 7 dias"
591
 
592
- #: .././admin/setup.php:193 .././admin/widgets.php:131
593
- #: .././front/widgets.php:74 .././front/widgets.php:178
594
  msgid "Last 30 Days"
595
  msgstr "Últimos 30 dias"
596
 
597
- #: .././admin/setup.php:194 .././admin/widgets.php:133
598
  msgid "Last 90 Days"
599
  msgstr "Últimos 90 dias"
600
 
601
- #: .././admin/setup.php:197 .././admin/setup.php:213
602
- #: .././admin/widgets.php:139 .././admin/widgets.php:881
603
- #: .././front/widgets.php:40 .././tools/gapi.php:384 .././tools/gapi.php:543
604
- #: .././tools/gapi.php:589 .././tools/gapi.php:652 .././tools/gapi.php:762
605
- #: .././tools/gapi.php:803 .././tools/gapi.php:899
606
- msgid "Sessions"
607
- msgstr "Sessão"
608
 
609
- #: .././admin/setup.php:198 .././admin/setup.php:214
610
- #: .././admin/widgets.php:140 .././admin/widgets.php:885
611
- #: .././tools/gapi.php:372
612
  msgid "Users"
613
  msgstr "Usuários"
614
 
615
- #: .././admin/setup.php:199 .././admin/widgets.php:142
616
  msgid "Organic"
617
  msgstr "Orgânica"
618
 
619
- #: .././admin/setup.php:200 .././admin/setup.php:215
620
- #: .././admin/widgets.php:144 .././admin/widgets.php:889
621
- #: .././tools/gapi.php:375
622
  msgid "Page Views"
623
  msgstr "Visualizações de Páginas"
624
 
625
- #: .././admin/setup.php:201 .././admin/setup.php:216
626
- #: .././admin/widgets.php:146 .././admin/widgets.php:893
627
- #: .././tools/gapi.php:378
628
  msgid "Bounce Rate"
629
  msgstr "Taxa de Rejeição"
630
 
631
- #: .././admin/setup.php:202 .././admin/widgets.php:148
632
  msgid "Location"
633
  msgstr "Localização"
634
 
635
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:542
636
  msgid "Referrers"
637
  msgstr "Referências"
638
 
639
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:588
640
- #: .././tools/gapi.php:898
641
  msgid "Searches"
642
  msgstr "Pesquisas"
643
 
644
- #: .././admin/setup.php:205 .././admin/widgets.php:156
645
  msgid "Traffic Details"
646
  msgstr "Detalhe do Tráfego"
647
 
648
- #: .././admin/setup.php:208 .././admin/widgets.php:522
649
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
650
- #: .././admin/widgets.php:927 .././front/item-reports.php:84
651
  msgid "A JavaScript Error is blocking plugin resources!"
652
  msgstr "Um JavaScript está bloqueando os recursos do plugin!"
653
 
654
- #: .././admin/setup.php:209 .././admin/widgets.php:724
655
  msgid "Traffic Mediums"
656
  msgstr "Média de Tráfego"
657
 
658
- #: .././admin/setup.php:210 .././admin/widgets.php:740
659
  msgid "Visitor Type"
660
  msgstr "Tipo de Visitantes"
661
 
662
- #: .././admin/setup.php:211 .././admin/widgets.php:756
663
  msgid "Social Networks"
664
  msgstr "Rede Social"
665
 
666
- #: .././admin/setup.php:212 .././admin/widgets.php:772
667
  msgid "Search Engines"
668
  msgstr "Mecanismos de Busca"
669
 
670
- #: .././admin/setup.php:217 .././admin/widgets.php:897
671
  msgid "Organic Search"
672
  msgstr "Pesquisa Orgânica"
673
 
674
- #: .././admin/setup.php:218 .././admin/widgets.php:901
675
  msgid "Pages/Session"
676
  msgstr "Página/Sessão"
677
 
678
- #: .././admin/setup.php:219 .././admin/widgets.php:535
679
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
680
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
681
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
682
- #: .././admin/widgets.php:830 .././admin/widgets.php:940
683
- #: .././admin/widgets.php:959 .././front/item-reports.php:96
684
- #: .././front/item-reports.php:115
685
  msgid "Invalid response, more details in JavaScript Console (F12)."
686
  msgstr "Resposta inválida, mais detalhes no JavaScript Console (F12)."
687
 
688
- #: .././admin/setup.php:220
689
  msgid "Not enough data collected"
690
- msgstr ""
691
-
692
- #: .././admin/setup.php:221 .././admin/widgets.php:540
693
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
694
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
695
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
696
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
697
- #: .././admin/widgets.php:945 .././admin/widgets.php:964
698
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
699
- #: .././front/widgets.php:104
700
  msgid "This report is unavailable"
701
  msgstr "Este Relatório não está disponível"
702
 
703
- #: .././admin/setup.php:222
704
  msgid "report generated by"
705
- msgstr ""
706
 
707
- #: .././admin/setup.php:260
708
  msgid "Settings"
709
  msgstr "Configurações"
710
 
711
- #: .././admin/widgets.php:27 .././front/widgets.php:14
712
  msgid "Google Analytics Dashboard"
713
  msgstr "Painel do Google Analytics"
714
 
715
- #: .././admin/widgets.php:38
716
  msgid "This plugin needs an authorization:"
717
  msgstr "Este Plugin precisa de uma autorização:"
718
 
719
- #: .././admin/widgets.php:72
720
  msgid "Something went wrong while retrieving profiles list."
721
  msgstr "Algo deu errado durante a recuperação da lista de perfis."
722
 
723
- #: .././admin/widgets.php:72
724
  msgid "More details"
725
  msgstr "Mais detalhes"
726
 
727
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
728
  msgid "An admin should asign a default Google Analytics Profile."
729
  msgstr "Um administrador deve atribuir um Perfil Google Analytics padrão."
730
 
731
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
732
  msgid "Select Domain"
733
  msgstr "Selecionar Domínio"
734
 
735
- #: .././admin/widgets.php:101
736
  msgid ""
737
  "Something went wrong while retrieving property data. You need to create and "
738
  "properly configure a Google Analytics account:"
@@ -740,178 +740,317 @@ msgstr ""
740
  "Algo deu errado ao recuperar os dados da propriedade. Você precisa criar e "
741
  "configurar corretamente uma conta do Google Analytics:"
742
 
743
- #: .././admin/widgets.php:101
744
  msgid "Find out more!"
745
  msgstr "Saber mais!"
746
 
747
- #: .././admin/widgets.php:122
748
  msgid "Real-Time"
749
  msgstr "Tempo Real"
750
 
751
- #: .././admin/widgets.php:129 .././front/widgets.php:71
752
- #: .././front/widgets.php:177
753
  msgid "Last 14 Days"
754
  msgstr "Últimos 14 dias"
755
 
756
- #: .././admin/widgets.php:150 .././tools/gapi.php:497
 
 
 
 
 
 
 
757
  msgid "Pages"
758
  msgstr "Páginas"
759
 
760
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
761
  msgid "REFERRAL"
762
  msgstr "REFERÊNCIA"
763
 
764
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
765
  msgid "ORGANIC"
766
  msgstr "ORGÂNICO"
767
 
768
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
769
- #: .././admin/widgets.php:486
770
  msgid "SOCIAL"
771
  msgstr "SOCIAL"
772
 
773
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
774
- #: .././admin/widgets.php:487
775
  msgid "CAMPAIGN"
776
  msgstr "CAMPANHA"
777
 
778
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
779
- #: .././admin/widgets.php:490
780
  msgid "DIRECT"
781
  msgstr "DIRETO"
782
 
783
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
784
  msgid "NEW"
785
  msgstr "NOVO"
786
 
787
- #: .././admin/widgets.php:366
788
  msgid "REFERRALS"
789
  msgstr "REFERÊNCIAS"
790
 
791
- #: .././admin/widgets.php:369
792
  msgid "KEYWORDS"
793
  msgstr "PALAVRAS-CHAVE"
794
 
795
- #: .././front/item-reports.php:130
796
  msgid "Views vs UniqueViews"
797
  msgstr "Visualizações x Visualização única"
798
 
799
- #: .././front/item-reports.php:180
800
  msgid "Google Analytics Reports"
801
  msgstr "Relatórios do Google Analytics"
802
 
803
- #: .././front/widgets.php:15
804
  msgid "Will display your google analytics stats in a widget"
805
  msgstr "Exibirá suas estatísticas google analytics em um Widget"
806
 
807
- #: .././front/widgets.php:40 .././tools/gapi.php:803
808
  msgid "trend"
809
  msgstr "Tendência"
810
 
811
- #: .././front/widgets.php:127
812
  msgid "Period:"
813
  msgstr "período:"
814
 
815
- #: .././front/widgets.php:127
816
  msgid "Sessions:"
817
  msgstr "Sessões:"
818
 
819
- #: .././front/widgets.php:131
820
  msgid "generated by"
821
  msgstr "gerado por"
822
 
823
- #: .././front/widgets.php:141
824
  msgid "Google Analytics Stats"
825
  msgstr "Estatísticas do Google Analytics"
826
 
827
- #: .././front/widgets.php:148
828
  msgid "Title:"
829
  msgstr "Título:"
830
 
831
- #: .././front/widgets.php:155
832
  msgid "Display:"
833
  msgstr "Exibir:"
834
 
835
- #: .././front/widgets.php:159
836
  msgid "Chart & Totals"
837
  msgstr "Gráfico e Totais"
838
 
839
- #: .././front/widgets.php:160
840
  msgid "Chart"
841
  msgstr "Gráfico"
842
 
843
- #: .././front/widgets.php:161
844
  msgid "Totals"
845
  msgstr "Totais"
846
 
847
- #: .././front/widgets.php:165
848
  msgid "Anonymize stats:"
849
  msgstr "Anonimizar estatísticas:"
850
 
851
- #: .././front/widgets.php:172
852
  msgid "Stats for:"
853
  msgstr "Estatísticas para:"
854
 
855
- #: .././front/widgets.php:182
856
  msgid "Give credits:"
857
  msgstr "Créditos para:"
858
 
859
- #: .././tools/gapi.php:128
 
 
 
 
860
  msgid "Use this link to get your access code:"
861
  msgstr "Use este link para obter o seu código de acesso:"
862
 
863
- #: .././tools/gapi.php:128
864
  msgid "Get Access Code"
865
  msgstr "Obter Código de Acesso"
866
 
867
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
868
  msgid "Use the red link to get your access code!"
869
  msgstr "Use o link vermelho para pegar seu código de acesso!"
870
 
871
- #: .././tools/gapi.php:133
872
  msgid "Access Code:"
873
  msgstr "Código de acesso:"
874
 
875
- #: .././tools/gapi.php:145
876
  msgid "Save Access Code"
877
  msgstr "Salvar Código de Acesso"
878
 
879
- #: .././tools/gapi.php:381
880
  msgid "Organic Searches"
881
  msgstr "Pesquisas Ôrganicas"
882
 
883
- #: .././tools/gapi.php:389
 
 
 
 
884
  msgid "Hour"
885
  msgstr "Hora"
886
 
887
- #: .././tools/gapi.php:392 .././tools/gapi.php:802 .././tools/gapi.php:854
888
  msgid "Date"
889
  msgstr "Dia"
890
 
891
- #: .././tools/gapi.php:498 .././tools/gapi.php:855
892
  msgid "Views"
893
  msgstr "Visualizações"
894
 
895
- #: .././tools/gapi.php:617
896
  msgid "Countries"
897
  msgstr "Países"
898
 
899
- #: .././tools/gapi.php:626
900
  msgid "Cities from"
901
  msgstr "das Cidades"
902
 
903
- #: .././tools/gapi.php:698
904
  msgid "Channels"
905
  msgstr "Canal"
906
 
907
- #: .././tools/gapi.php:761
908
  msgid "Type"
909
  msgstr "Tipo"
910
 
911
- #: .././tools/gapi.php:856
912
  msgid "UniqueViews"
913
  msgstr "Visualização Única "
914
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915
  #~ msgid "Google Analytics Dashboard Settings"
916
  #~ msgstr "Configurações de Painel do Google Analytics"
917
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Google Analytics Dashboard for WP 4.6\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-"
5
+ "dashboard-for-wp\n"
6
+ "POT-Creation-Date: 2015-04-10 09:32+0200\n"
7
+ "PO-Revision-Date: 2015-04-10 12:54-0300\n"
8
+ "Last-Translator: Treedbox <contato@treedbox.com.br>\n"
9
+ "Language-Team: Treedbox.com <treedbox@gmail.com>\n"
10
  "Language: pt_BR\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.5.4\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-Basepath: .\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19
  "X-Poedit-SearchPath-0: ../.\n"
20
 
21
+ #: .././admin/item-reports.php:66
22
  msgid "Analytics"
23
+ msgstr "Analytics"
24
 
25
+ #: .././admin/settings.php:94 .././admin/settings.php:202
26
+ #: .././admin/settings.php:338 .././admin/settings.php:819
27
+ #: .././admin/settings.php:1088
28
  msgid "Settings saved."
29
  msgstr "Definições Salvas"
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204
32
+ #: .././admin/settings.php:340 .././admin/settings.php:796
33
+ #: .././admin/settings.php:806 .././admin/settings.php:815
34
+ #: .././admin/settings.php:821 .././admin/settings.php:833
35
+ #: .././admin/settings.php:1049 .././admin/settings.php:1074
36
+ #: .././admin/settings.php:1084 .././admin/settings.php:1090
37
+ #: .././admin/settings.php:1102
38
  msgid "Cheating Huh?"
39
  msgstr "A Curiosidade Matou o Gato :F"
40
 
41
+ #: .././admin/settings.php:100 .././admin/settings.php:208
42
+ #: .././admin/settings.php:344 .././admin/settings.php:659
43
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
44
+ #, php-format
45
+ msgid "Something went wrong, check %1$s or %2$s."
46
+ msgstr "Algo deu errado, verifique %1$s ou %2$s."
47
+
48
+ #: .././admin/settings.php:100 .././admin/settings.php:208
49
+ #: .././admin/settings.php:344 .././admin/settings.php:659
50
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
51
+ #: .././admin/setup.php:96 .././admin/setup.php:119
52
  msgid "Errors & Debug"
53
  msgstr "Erros & Depuração"
54
 
55
+ #: .././admin/settings.php:100 .././admin/settings.php:208
56
+ #: .././admin/settings.php:344 .././admin/settings.php:659
57
+ #: .././admin/settings.php:847 .././admin/settings.php:1115
 
 
 
 
 
 
58
  msgid "authorize the plugin"
59
  msgstr "Autorize o Plugin"
60
 
61
+ #: .././admin/settings.php:105
62
  msgid "Google Analytics Frontend Settings"
63
  msgstr "Configurações Externas do Google Analytics"
64
 
65
+ #: .././admin/settings.php:116
66
+ #, php-format
67
+ msgid "Read %s for more information about Frontend Features and Options."
68
+ msgstr "Leia %s para mais informações sobre Características e Opções do Site"
69
+
70
+ #: .././admin/settings.php:116 .././admin/settings.php:224
71
+ #: .././admin/settings.php:369 .././admin/settings.php:682
72
+ msgid "this documentation page"
73
+ msgstr "Página de Documentação do Plugin"
74
+
75
+ #: .././admin/settings.php:120 .././admin/settings.php:228
76
  msgid "Permissions"
77
+ msgstr "Permissões"
78
 
79
+ #: .././admin/settings.php:123 .././admin/settings.php:231
80
  msgid "Show stats to:"
81
  msgstr "Mostrar Status de:"
82
 
83
+ #: .././admin/settings.php:162
84
+ msgid "show page sessions and users in frontend (after each article)"
85
+ msgstr "mostrar sessões de página e usuários no Site (após cada artigo)"
86
 
87
+ #: .././admin/settings.php:173
88
+ msgid "show page searches (after each article)"
89
  msgstr "Mostram pesquisas da página (após cada artigo)"
90
 
91
+ #: .././admin/settings.php:180 .././admin/settings.php:318
92
+ #: .././admin/settings.php:617 .././admin/settings.php:965
93
+ #: .././admin/settings.php:1252
94
  msgid "Save Changes"
95
  msgstr "Salvar Mudanças"
96
 
97
+ #: .././admin/settings.php:213
98
  msgid "Google Analytics Backend Settings"
99
+ msgstr "Configurações de back-end do Google Analytics"
100
+
101
+ #: .././admin/settings.php:224
102
+ #, php-format
103
+ msgid "Read %s for more information about Backend Features and Options."
104
  msgstr ""
105
+ "Leia %s para mais informações sobre Características e Opções da "
106
+ "Administração."
107
 
108
+ #: .././admin/settings.php:272
109
+ msgid "enable Switch Profile/View functionality"
110
+ msgstr "Ative a alternar perfil / Ver funcionalidade"
111
 
112
+ #: .././admin/settings.php:283
113
+ msgid "enable reports on Posts List and Pages List"
114
+ msgstr "habilitar relatórios nas listas de Posts e Páginas"
115
 
116
+ #: .././admin/settings.php:294
117
+ msgid "enable the main Dashboard Widget"
118
+ msgstr "habilitar Widget no Painel principal"
119
 
120
+ #: .././admin/settings.php:298
121
  msgid "Real-Time Settings"
122
  msgstr "Definições de Tempo Real"
123
 
124
+ #: .././admin/settings.php:301
125
  msgid "Maximum number of pages to display on real-time tab:"
126
  msgstr "Número máximo de páginas para mostrar na guia Tempo Real:"
127
 
128
+ #: .././admin/settings.php:306
 
 
 
 
 
 
 
 
129
  msgid "Location Settings"
130
  msgstr "Configurações de Localização"
131
 
132
+ #: .././admin/settings.php:310
133
  msgid "Target Geo Map to country:"
134
  msgstr "Mapa Geográfico alvo para o país:"
135
 
136
+ #: .././admin/settings.php:347
137
+ msgid ""
138
+ "The tracking component is disabled. You should set <strong>Tracking Options</"
139
+ "strong> to <strong>Enabled</strong>"
140
+ msgstr ""
141
+ "O componente de rastreamento está desativado. Você deve acesar "
142
+ "<strong>Opções de Rastreio</strong> para <strong>Habilitar</strong>"
 
 
 
 
 
 
 
 
143
 
144
+ #: .././admin/settings.php:352
145
  msgid "Google Analytics Tracking Code"
146
  msgstr "Código de rastreamento do Google Analytics"
147
 
148
+ #: .././admin/settings.php:361
149
  msgid "Basic Settings"
150
  msgstr "Configurações básicas"
151
 
152
+ #: .././admin/settings.php:362 .././admin/settings.php:429
153
  msgid "Events Tracking"
154
  msgstr "Eventos de rastreamento"
155
 
156
+ #: .././admin/settings.php:363 .././admin/settings.php:477
157
  msgid "Custom Definitions"
158
  msgstr "Definições personalizadas"
159
 
160
+ #: .././admin/settings.php:364 .././admin/settings.php:575
161
+ #: .././admin/settings.php:1235
162
  msgid "Exclude Tracking"
163
  msgstr "Excluir Rastreamento"
164
 
165
+ #: .././admin/settings.php:365
166
  msgid "Advanced Settings"
167
  msgstr "Configurações avançadas"
168
 
169
+ #: .././admin/settings.php:369
170
+ #, php-format
171
+ msgid "For more information about Tracking Options read %s."
172
+ msgstr "Para mais informações sobre Opções de Rastreio, leia %s."
173
+
174
+ #: .././admin/settings.php:374
175
  msgid "Tracking Settings"
176
  msgstr "Configurações de rastreamento"
177
 
178
+ #: .././admin/settings.php:377
179
  msgid "Tracking Options:"
180
  msgstr "Opções de Rastreio"
181
 
182
+ #: .././admin/settings.php:379
183
  msgid "Disabled"
184
  msgstr "Desabilitar"
185
 
186
+ #: .././admin/settings.php:380
187
+ msgid "Enabled"
188
+ msgstr "Habilitar"
189
+
190
+ #: .././admin/settings.php:388 .././admin/settings.php:911
191
+ #: .././admin/settings.php:933 .././admin/settings.php:1208
192
+ #: .././admin/widgets.php:72
193
  msgid "View Name:"
194
  msgstr "Ver Nome:"
195
 
196
+ #: .././admin/settings.php:388 .././admin/settings.php:933
197
  msgid "Tracking ID:"
198
  msgstr "ID de rastreamento:"
199
 
200
+ #: .././admin/settings.php:388 .././admin/settings.php:933
201
  msgid "Default URL:"
202
  msgstr "URL Padrão:"
203
 
204
+ #: .././admin/settings.php:388 .././admin/settings.php:933
205
  msgid "Time Zone:"
206
  msgstr "Fuso horário:"
207
 
208
+ #: .././admin/settings.php:393
209
  msgid "Basic Tracking"
210
  msgstr "Rastreamento Básico"
211
 
212
+ #: .././admin/settings.php:396
213
  msgid "Tracking Type:"
214
  msgstr "Tipo de Rastreio"
215
 
216
+ #: .././admin/settings.php:398
217
  msgid "Classic Analytics"
218
  msgstr "Analytics clássico"
219
 
220
+ #: .././admin/settings.php:399
221
  msgid "Universal Analytics"
222
  msgstr "Analytics Universal"
223
 
224
+ #: .././admin/settings.php:410
225
+ msgid "anonymize IPs while tracking"
226
  msgstr "IPs anônimos ao rastreamento"
227
 
228
+ #: .././admin/settings.php:421
229
+ msgid "enable remarketing, demographics and interests reports"
230
  msgstr "permitir recolocação, demográficas e relatórios de interesses"
231
 
232
+ #: .././admin/settings.php:439
233
+ msgid "track downloads, mailto and outbound links"
234
+ msgstr "Rastrear Downloads, encaminhamentos para e-mail e links de saída"
235
 
236
+ #: .././admin/settings.php:443
237
  msgid "Downloads Regex:"
238
  msgstr "Expressões Regulares de Download:"
239
 
240
+ #: .././admin/settings.php:454
241
+ msgid "track affiliate links matching this regex"
242
+ msgstr "Rastrear Links de Afiliados que coincidem com esta expressão regular"
243
 
244
+ #: .././admin/settings.php:458
245
  msgid "Affiliates Regex:"
246
  msgstr "Expressão Regular Afiliada:"
247
 
248
+ #: .././admin/settings.php:469
249
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
250
+ msgstr "rastrear identificadores de fragmento, hash (#) nos links"
251
 
252
+ #: .././admin/settings.php:480
253
  msgid "Authors:"
254
  msgstr "Autores:"
255
 
256
+ #: .././admin/settings.php:488
257
  msgid "Publication Year:"
258
  msgstr "Ano de Publicação:"
259
 
260
+ #: .././admin/settings.php:496
261
  msgid "Categories:"
262
  msgstr "Categorias:"
263
 
264
+ #: .././admin/settings.php:504
265
  msgid "User Type:"
266
  msgstr "Tipo de Usuário:"
267
 
268
+ #: .././admin/settings.php:516
269
  msgid "Advanced Tracking"
270
  msgstr "Rastreio Avançado"
271
 
272
+ #: .././admin/settings.php:519
273
  msgid "Page Speed SR:"
274
  msgstr "Velocidade de Página SR:"
275
 
276
+ #: .././admin/settings.php:530
277
+ msgid "exclude events from bounce-rate calculation"
278
  msgstr "Excluir eventos de cálculo de taxa de rejeição"
279
 
280
+ #: .././admin/settings.php:541
281
+ msgid "enable enhanced link attribution"
282
+ msgstr "permitir atribuição de link aprimorada"
283
 
284
+ #: .././admin/settings.php:552
285
+ msgid "enable AdSense account linking"
286
  msgstr "habilitar link da conta do AdSense"
287
 
288
+ #: .././admin/settings.php:563
289
+ msgid "enable cross domain tracking"
290
  msgstr "habilitar Rastreio de domínio cruzado"
291
 
292
+ #: .././admin/settings.php:567
293
  msgid "Cross Domains:"
294
  msgstr "Domínio Cruzado:"
295
 
296
+ #: .././admin/settings.php:578
297
  msgid "Exclude tracking for:"
298
  msgstr "Excluir Rastreio para:"
299
 
300
+ #: .././admin/settings.php:663
301
  msgid "Google Analytics Errors & Debugging"
302
  msgstr "Erros & Depuração do Google Analytics"
303
 
304
+ #: .././admin/settings.php:673
305
  msgid "Errors & Details"
306
  msgstr "Erros & Detalhes"
307
 
308
+ #: .././admin/settings.php:674
309
  msgid "Plugin Settings"
310
  msgstr "Configurações do Plugin"
311
 
312
+ #: .././admin/settings.php:682
313
+ #, php-format
314
+ msgid "For errors and/or other issues please check %s and related tutorials."
315
+ msgstr ""
316
+ "Para erros e/ou outras questões, por favor, verifique %s e tutoriais "
317
+ "realcionados."
 
 
 
 
 
318
 
319
+ #: .././admin/settings.php:687
320
  msgid "Last Error detected"
321
  msgstr "Último erro detectado"
322
 
323
+ #: .././admin/settings.php:693 .././admin/settings.php:706
324
  msgid "None"
325
  msgstr "Nenhum"
326
 
327
+ #: .././admin/settings.php:700
328
  msgid "Error Details"
329
  msgstr "Detalhes do Erro"
330
 
331
+ #: .././admin/settings.php:720
332
  msgid "Plugin Configuration"
333
  msgstr "Configuração do Plugin"
334
 
335
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
336
  msgid ""
337
  "Loading the required libraries. If this results in a blank screen or a fatal "
338
  "error, try this solution:"
340
  "Carregando as bibliotecas necessárias. Se isso resulta em uma tela em branco "
341
  "ou um erro fatal, tente esta solução:"
342
 
343
+ #: .././admin/settings.php:742
344
+ msgid "Library conflicts between WordPress plugins"
345
+ msgstr "Conflito de Bibliotecas entre Plugins do Wordpress"
346
+
347
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
348
  msgid "Plugin authorization succeeded."
349
  msgstr "Plugin autorizado com sucesso."
350
 
351
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
352
  msgid ""
353
  "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
354
  "(UA-XXXXX-X). Try again, and use the red link to get your access code"
357
  "</ strong> (UA-XXXXX-X). Tente de novo, e use o link vermelho para obter o "
358
  "seu código de acesso"
359
 
360
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
361
  msgid "Cleared Cache."
362
  msgstr "Cache Limpo."
363
 
364
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
365
  msgid "Token Reseted and Revoked."
366
  msgstr "Token redefinido e revogado"
367
 
368
+ #: .././admin/settings.php:813
369
  msgid "All errors reseted."
370
+ msgstr "Todos erros reiniciados"
371
 
372
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
373
  msgid "All other domains/properties were removed."
374
  msgstr "Todos os outros domínios/propriedades foram removidas."
375
 
376
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
377
  msgid "Google Analytics Settings"
378
  msgstr "Configurações do Google Analytics"
379
 
380
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
381
  msgid "Use the red link (see below) to generate and get your access code!"
382
  msgstr "Use o link vermelho (abaixo) para gerar e pegar seu código de acesso."
383
 
384
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
385
  msgid "Plugin Authorization"
386
  msgstr "Autorização do Plugin"
387
 
388
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
389
+ #, php-format
390
+ msgid ""
391
+ "You should watch the %1$s and read this %2$s before proceeding to "
392
+ "authorization. This plugin requires a properly configured Google Analytics "
393
+ "account!"
394
+ msgstr ""
395
+ "Você deveria assistir %1$s e ler isso %2$s antes de prosseguir com a "
396
+ "autorização. Este plugin requer uma conta no Google Analytics corretamente "
397
+ "configurada!"
398
 
399
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
400
  msgid "video"
401
  msgstr "vídeo"
402
 
403
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
 
 
 
404
  msgid "tutorial"
405
  msgstr "tutorial"
406
 
407
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
408
+ msgid "use your own API Project credentials"
 
 
 
 
 
 
 
 
409
  msgstr "usar suas próprias credenciais da API do projeto"
410
 
411
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
412
  msgid "API Key:"
413
  msgstr "Chave API:"
414
 
415
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
416
  msgid "Client ID:"
417
  msgstr "ID do cliente:"
418
 
419
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
420
  msgid "Client Secret:"
421
  msgstr "Cliente Secreto:"
422
 
423
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
424
  msgid "Clear Authorization"
425
  msgstr "Limpar Autorização"
426
 
427
+ #: .././admin/settings.php:895 .././admin/settings.php:971
428
+ #: .././admin/settings.php:1184 .././admin/settings.php:1259
429
  msgid "Clear Cache"
430
  msgstr "Limpar Cache"
431
 
432
+ #: .././admin/settings.php:895
433
  msgid "Reset Errors"
434
+ msgstr "Reiniciar Erros"
435
 
436
+ #: .././admin/settings.php:901 .././admin/setup.php:80
437
+ #: .././admin/setup.php:115
438
  msgid "General Settings"
439
  msgstr "Configurações Gerais"
440
 
441
+ #: .././admin/settings.php:904
442
  msgid "Select Domain:"
443
  msgstr "Selecionar Domínio:"
444
 
445
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
446
  msgid "Property not found"
447
  msgstr "Propriedade não econtrada"
448
 
449
+ #: .././admin/settings.php:920
450
  msgid "and/or hide all other domains"
451
  msgstr "e/ou esconder todos os outros domínios"
452
 
453
+ #: .././admin/settings.php:921
454
  msgid "Hide Now"
455
  msgstr "Ocultar Agora"
456
 
457
+ #: .././admin/settings.php:939
458
  msgid "Theme Color:"
459
  msgstr "Cor do Tema:"
460
 
461
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
462
  msgid "Automatic Updates"
463
+ msgstr "Atualizações Automáticas"
464
 
465
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
466
  msgid ""
467
+ "automatic updates for minor versions (security and maintenance releases only)"
 
468
  msgstr ""
469
+ "atualizações automáticas para versões menores (Só correções de Segurança e "
470
+ "de Manutenção)"
471
 
472
+ #: .././admin/settings.php:971 .././admin/settings.php:1259
473
+ #: .././admin/widgets.php:43
474
  msgid "Authorize Plugin"
475
  msgstr "Autorize o Plugin"
476
 
477
+ #: .././admin/settings.php:1046
478
  msgid "Properties refreshed."
479
  msgstr "Propriedades Atualizadas"
480
 
481
+ #: .././admin/settings.php:1130
482
  msgid "Network Setup"
483
  msgstr "Configuração de Rede"
484
 
485
+ #: .././admin/settings.php:1140
486
+ msgid "use a single Google Analytics account for the entire network"
487
  msgstr "Use uma única conta do Google Analytics para toda a Rede"
488
 
489
+ #: .././admin/settings.php:1184
490
  msgid "Refresh Properties"
491
  msgstr "Atualizar Propriedades"
492
 
493
+ #: .././admin/settings.php:1190
494
  msgid "Properties/Views Settings"
495
  msgstr "Propriedades/Ver Definições"
496
 
497
+ #: .././admin/settings.php:1245
498
+ msgid "exclude Super Admin tracking for the entire network"
499
+ msgstr "Excluir rastreamento do Super Administrador para toda a rede"
500
 
501
+ #: .././admin/settings.php:1290
502
  msgid "Setup Tutorial & Demo"
503
  msgstr "Tutorial de Instalação e demonstrações"
504
 
505
+ #: .././admin/settings.php:1298
506
  msgid "Support & Reviews"
507
  msgstr "Suporte e Revisões"
508
 
509
+ #: .././admin/settings.php:1305
510
+ #, php-format
511
+ msgid "Plugin documentation and support on %s"
512
+ msgstr "Documentação e Suporte do Plugin em %s"
513
 
514
+ #: .././admin/settings.php:1312
515
+ #, php-format
516
+ msgid "Your feedback and review are both important, %s!"
517
+ msgstr "Seu Feedback e Review são importantes, %s!"
518
 
519
+ #: .././admin/settings.php:1312
520
  msgid "rate this plugin"
521
  msgstr "Avaliar este Plugin"
522
 
523
+ #: .././admin/settings.php:1318
524
  msgid "Further Reading"
525
  msgstr "Leitura adicional"
526
 
527
+ #: .././admin/settings.php:1325
528
+ #, php-format
529
+ msgid "%s by moving your website to HTTPS/SSL."
530
+ msgstr "%s movendo seu site para HTTPS/SSL."
531
+
532
+ #: .././admin/settings.php:1325
533
  msgid "Improve search rankings"
534
  msgstr "Melhorar classificação em buscas"
535
 
536
+ #: .././admin/settings.php:1332
537
+ #, php-format
538
+ msgid "Other %s written by the same author"
539
+ msgstr "Outros %s escritos pelo mesmo autor"
540
 
541
+ #: .././admin/settings.php:1332
 
 
 
 
542
  msgid "WordPress Plugins"
543
  msgstr "Plugin do Wordpress"
544
 
545
+ #: .././admin/settings.php:1338
 
 
 
 
546
  msgid "Other Services"
547
  msgstr "Outros Serviços"
548
 
549
+ #: .././admin/settings.php:1345
550
+ #, php-format
551
+ msgid "Speed up your website and plug into a whole %s"
552
+ msgstr "Aumente a velocidade do seu site em completamente %s"
553
 
554
+ #: .././admin/settings.php:1345
555
  msgid "new level of site speed"
556
  msgstr "Novo nível de velocidade do site"
557
 
558
+ #: .././admin/settings.php:1352
559
+ #, php-format
560
+ msgid "%s service with users tracking at IP level."
561
+ msgstr "%s serviços com rastreamento de usuário a nível de ip."
562
+
563
+ #: .././admin/settings.php:1352
564
  msgid "Web Analytics"
565
  msgstr "Web Analytics"
566
 
567
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
 
 
 
568
  msgid "Google Analytics"
569
  msgstr "Google Analytics"
570
 
571
+ #: .././admin/setup.php:84
572
  msgid "Backend Settings"
573
  msgstr "Configurações Internas"
574
 
575
+ #: .././admin/setup.php:88
576
  msgid "Frontend Settings"
577
  msgstr "Configurações Externas"
578
 
579
+ #: .././admin/setup.php:92
580
  msgid "Tracking Code"
581
  msgstr "Código de Rastreio"
582
 
583
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
584
  msgid "Today"
585
  msgstr "Hoje"
586
 
587
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
588
  msgid "Yesterday"
589
  msgstr "Ontem"
590
 
591
+ #: .././admin/setup.php:198 .././admin/widgets.php:132
592
+ #: .././front/widgets.php:74 .././front/widgets.php:182
593
  msgid "Last 7 Days"
594
  msgstr "Últimos 7 dias"
595
 
596
+ #: .././admin/setup.php:199 .././admin/widgets.php:136
597
+ #: .././front/widgets.php:80 .././front/widgets.php:184
598
  msgid "Last 30 Days"
599
  msgstr "Últimos 30 dias"
600
 
601
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
602
  msgid "Last 90 Days"
603
  msgstr "Últimos 90 dias"
604
 
605
+ #: .././admin/setup.php:203 .././admin/setup.php:219
606
+ msgid "Unique Views"
607
+ msgstr "Visão Única"
 
 
 
 
608
 
609
+ #: .././admin/setup.php:204 .././admin/setup.php:220
610
+ #: .././admin/widgets.php:145 .././admin/widgets.php:891
611
+ #: .././tools/gapi.php:382
612
  msgid "Users"
613
  msgstr "Usuários"
614
 
615
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
616
  msgid "Organic"
617
  msgstr "Orgânica"
618
 
619
+ #: .././admin/setup.php:206 .././admin/setup.php:221
620
+ #: .././admin/widgets.php:149 .././admin/widgets.php:895
621
+ #: .././tools/gapi.php:385
622
  msgid "Page Views"
623
  msgstr "Visualizações de Páginas"
624
 
625
+ #: .././admin/setup.php:207 .././admin/setup.php:222
626
+ #: .././admin/widgets.php:151 .././admin/widgets.php:899
627
+ #: .././tools/gapi.php:388
628
  msgid "Bounce Rate"
629
  msgstr "Taxa de Rejeição"
630
 
631
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
632
  msgid "Location"
633
  msgstr "Localização"
634
 
635
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
636
  msgid "Referrers"
637
  msgstr "Referências"
638
 
639
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
640
+ #: .././tools/gapi.php:913
641
  msgid "Searches"
642
  msgstr "Pesquisas"
643
 
644
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
645
  msgid "Traffic Details"
646
  msgstr "Detalhe do Tráfego"
647
 
648
+ #: .././admin/setup.php:214 .././admin/widgets.php:527
649
+ #: .././admin/widgets.php:623 .././admin/widgets.php:821
650
+ #: .././admin/widgets.php:933 .././front/item-reports.php:87
651
  msgid "A JavaScript Error is blocking plugin resources!"
652
  msgstr "Um JavaScript está bloqueando os recursos do plugin!"
653
 
654
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
655
  msgid "Traffic Mediums"
656
  msgstr "Média de Tráfego"
657
 
658
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
659
  msgid "Visitor Type"
660
  msgstr "Tipo de Visitantes"
661
 
662
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
663
  msgid "Social Networks"
664
  msgstr "Rede Social"
665
 
666
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
667
  msgid "Search Engines"
668
  msgstr "Mecanismos de Busca"
669
 
670
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
671
  msgid "Organic Search"
672
  msgstr "Pesquisa Orgânica"
673
 
674
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
675
  msgid "Pages/Session"
676
  msgstr "Página/Sessão"
677
 
678
+ #: .././admin/setup.php:225 .././admin/widgets.php:540
679
+ #: .././admin/widgets.php:558 .././admin/widgets.php:636
680
+ #: .././admin/widgets.php:654 .././admin/widgets.php:673
681
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712
682
+ #: .././admin/widgets.php:835 .././admin/widgets.php:946
683
+ #: .././admin/widgets.php:965 .././front/item-reports.php:99
684
+ #: .././front/item-reports.php:118
685
  msgid "Invalid response, more details in JavaScript Console (F12)."
686
  msgstr "Resposta inválida, mais detalhes no JavaScript Console (F12)."
687
 
688
+ #: .././admin/setup.php:226
689
  msgid "Not enough data collected"
690
+ msgstr "Dados coletados insuficientes"
691
+
692
+ #: .././admin/setup.php:227 .././admin/widgets.php:545
693
+ #: .././admin/widgets.php:563 .././admin/widgets.php:641
694
+ #: .././admin/widgets.php:659 .././admin/widgets.php:678
695
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717
696
+ #: .././admin/widgets.php:840 .././admin/widgets.php:843
697
+ #: .././admin/widgets.php:951 .././admin/widgets.php:970
698
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123
699
+ #: .././front/widgets.php:110
700
  msgid "This report is unavailable"
701
  msgstr "Este Relatório não está disponível"
702
 
703
+ #: .././admin/setup.php:228
704
  msgid "report generated by"
705
+ msgstr "Relatório gerado por"
706
 
707
+ #: .././admin/setup.php:268
708
  msgid "Settings"
709
  msgstr "Configurações"
710
 
711
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
712
  msgid "Google Analytics Dashboard"
713
  msgstr "Painel do Google Analytics"
714
 
715
+ #: .././admin/widgets.php:43
716
  msgid "This plugin needs an authorization:"
717
  msgstr "Este Plugin precisa de uma autorização:"
718
 
719
+ #: .././admin/widgets.php:77
720
  msgid "Something went wrong while retrieving profiles list."
721
  msgstr "Algo deu errado durante a recuperação da lista de perfis."
722
 
723
+ #: .././admin/widgets.php:77
724
  msgid "More details"
725
  msgstr "Mais detalhes"
726
 
727
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
728
  msgid "An admin should asign a default Google Analytics Profile."
729
  msgstr "Um administrador deve atribuir um Perfil Google Analytics padrão."
730
 
731
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
732
  msgid "Select Domain"
733
  msgstr "Selecionar Domínio"
734
 
735
+ #: .././admin/widgets.php:106
736
  msgid ""
737
  "Something went wrong while retrieving property data. You need to create and "
738
  "properly configure a Google Analytics account:"
740
  "Algo deu errado ao recuperar os dados da propriedade. Você precisa criar e "
741
  "configurar corretamente uma conta do Google Analytics:"
742
 
743
+ #: .././admin/widgets.php:106
744
  msgid "Find out more!"
745
  msgstr "Saber mais!"
746
 
747
+ #: .././admin/widgets.php:127
748
  msgid "Real-Time"
749
  msgstr "Tempo Real"
750
 
751
+ #: .././admin/widgets.php:134 .././front/widgets.php:77
752
+ #: .././front/widgets.php:183
753
  msgid "Last 14 Days"
754
  msgstr "Últimos 14 dias"
755
 
756
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887
757
+ #: .././front/widgets.php:46 .././tools/gapi.php:397 .././tools/gapi.php:558
758
+ #: .././tools/gapi.php:604 .././tools/gapi.php:667 .././tools/gapi.php:777
759
+ #: .././tools/gapi.php:818 .././tools/gapi.php:914
760
+ msgid "Sessions"
761
+ msgstr "Sessão"
762
+
763
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
764
  msgid "Pages"
765
  msgstr "Páginas"
766
 
767
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
768
  msgid "REFERRAL"
769
  msgstr "REFERÊNCIA"
770
 
771
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
772
  msgid "ORGANIC"
773
  msgstr "ORGÂNICO"
774
 
775
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377
776
+ #: .././admin/widgets.php:491
777
  msgid "SOCIAL"
778
  msgstr "SOCIAL"
779
 
780
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380
781
+ #: .././admin/widgets.php:492
782
  msgid "CAMPAIGN"
783
  msgstr "CAMPANHA"
784
 
785
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383
786
+ #: .././admin/widgets.php:495
787
  msgid "DIRECT"
788
  msgstr "DIRETO"
789
 
790
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
791
  msgid "NEW"
792
  msgstr "NOVO"
793
 
794
+ #: .././admin/widgets.php:371
795
  msgid "REFERRALS"
796
  msgstr "REFERÊNCIAS"
797
 
798
+ #: .././admin/widgets.php:374
799
  msgid "KEYWORDS"
800
  msgstr "PALAVRAS-CHAVE"
801
 
802
+ #: .././front/item-reports.php:133
803
  msgid "Views vs UniqueViews"
804
  msgstr "Visualizações x Visualização única"
805
 
806
+ #: .././front/item-reports.php:183
807
  msgid "Google Analytics Reports"
808
  msgstr "Relatórios do Google Analytics"
809
 
810
+ #: .././front/widgets.php:23
811
  msgid "Will display your google analytics stats in a widget"
812
  msgstr "Exibirá suas estatísticas google analytics em um Widget"
813
 
814
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
815
  msgid "trend"
816
  msgstr "Tendência"
817
 
818
+ #: .././front/widgets.php:133
819
  msgid "Period:"
820
  msgstr "período:"
821
 
822
+ #: .././front/widgets.php:133
823
  msgid "Sessions:"
824
  msgstr "Sessões:"
825
 
826
+ #: .././front/widgets.php:137
827
  msgid "generated by"
828
  msgstr "gerado por"
829
 
830
+ #: .././front/widgets.php:147
831
  msgid "Google Analytics Stats"
832
  msgstr "Estatísticas do Google Analytics"
833
 
834
+ #: .././front/widgets.php:154
835
  msgid "Title:"
836
  msgstr "Título:"
837
 
838
+ #: .././front/widgets.php:161
839
  msgid "Display:"
840
  msgstr "Exibir:"
841
 
842
+ #: .././front/widgets.php:165
843
  msgid "Chart & Totals"
844
  msgstr "Gráfico e Totais"
845
 
846
+ #: .././front/widgets.php:166
847
  msgid "Chart"
848
  msgstr "Gráfico"
849
 
850
+ #: .././front/widgets.php:167
851
  msgid "Totals"
852
  msgstr "Totais"
853
 
854
+ #: .././front/widgets.php:171
855
  msgid "Anonymize stats:"
856
  msgstr "Anonimizar estatísticas:"
857
 
858
+ #: .././front/widgets.php:178
859
  msgid "Stats for:"
860
  msgstr "Estatísticas para:"
861
 
862
+ #: .././front/widgets.php:188
863
  msgid "Give credits:"
864
  msgstr "Créditos para:"
865
 
866
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
867
+ msgid "This is not allowed, read the documentation!"
868
+ msgstr "Isso não é permitido, leia a documentação!"
869
+
870
+ #: .././tools/gapi.php:141
871
  msgid "Use this link to get your access code:"
872
  msgstr "Use este link para obter o seu código de acesso:"
873
 
874
+ #: .././tools/gapi.php:141
875
  msgid "Get Access Code"
876
  msgstr "Obter Código de Acesso"
877
 
878
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
879
  msgid "Use the red link to get your access code!"
880
  msgstr "Use o link vermelho para pegar seu código de acesso!"
881
 
882
+ #: .././tools/gapi.php:146
883
  msgid "Access Code:"
884
  msgstr "Código de acesso:"
885
 
886
+ #: .././tools/gapi.php:158
887
  msgid "Save Access Code"
888
  msgstr "Salvar Código de Acesso"
889
 
890
+ #: .././tools/gapi.php:391
891
  msgid "Organic Searches"
892
  msgstr "Pesquisas Ôrganicas"
893
 
894
+ #: .././tools/gapi.php:394
895
+ msgid "Unique Page Views"
896
+ msgstr "Visualização única de página"
897
+
898
+ #: .././tools/gapi.php:402
899
  msgid "Hour"
900
  msgstr "Hora"
901
 
902
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
903
  msgid "Date"
904
  msgstr "Dia"
905
 
906
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
907
  msgid "Views"
908
  msgstr "Visualizações"
909
 
910
+ #: .././tools/gapi.php:631
911
  msgid "Countries"
912
  msgstr "Países"
913
 
914
+ #: .././tools/gapi.php:641
915
  msgid "Cities from"
916
  msgstr "das Cidades"
917
 
918
+ #: .././tools/gapi.php:713
919
  msgid "Channels"
920
  msgstr "Canal"
921
 
922
+ #: .././tools/gapi.php:776
923
  msgid "Type"
924
  msgstr "Tipo"
925
 
926
+ #: .././tools/gapi.php:871
927
  msgid "UniqueViews"
928
  msgstr "Visualização Única "
929
 
930
+ #~ msgid "find out more %s"
931
+ #~ msgstr "Saiba mais %s"
932
+
933
+ #~ msgid "about this feature"
934
+ #~ msgstr "sobre este recurso"
935
+
936
+ #, fuzzy
937
+ #~ msgid " show page sessions and users in frontend (after each article)"
938
+ #~ msgstr "mostrar sessões de página e usuários no Site (após cada artigo)"
939
+
940
+ #, fuzzy
941
+ #~ msgid " show page searches (after each article)"
942
+ #~ msgstr "Mostram pesquisas da página (após cada artigo)"
943
+
944
+ #, fuzzy
945
+ #~ msgid " anonymize IPs while tracking"
946
+ #~ msgstr "IPs anônimos ao rastreamento"
947
+
948
+ #, fuzzy
949
+ #~ msgid " enable remarketing, demographics and interests reports"
950
+ #~ msgstr "permitir recolocação, demográficas e relatórios de interesses"
951
+
952
+ #, fuzzy
953
+ #~ msgid " track downloads, mailto and outbound links"
954
+ #~ msgstr "Rastrear Downloads, encaminhamentos para e-mail e links de saída"
955
+
956
+ #, fuzzy
957
+ #~ msgid " track affiliate links matching this regex"
958
+ #~ msgstr ""
959
+ #~ "Rastrear Links de Afiliados que coincidem com esta expressão regular"
960
+
961
+ #, fuzzy
962
+ #~ msgid " track fragment identifiers, hashmarks (#) in URI links"
963
+ #~ msgstr "rastrear identificadores de fragmento, hash (#) nos links"
964
+
965
+ #, fuzzy
966
+ #~ msgid " exclude events from bounce-rate calculation"
967
+ #~ msgstr "Excluir eventos de cálculo de taxa de rejeição"
968
+
969
+ #, fuzzy
970
+ #~ msgid " enable enhanced link attribution"
971
+ #~ msgstr "permitir atribuição de link aprimorada"
972
+
973
+ #, fuzzy
974
+ #~ msgid " enable AdSense account linking"
975
+ #~ msgstr "habilitar link da conta do AdSense"
976
+
977
+ #, fuzzy
978
+ #~ msgid " enable cross domain tracking"
979
+ #~ msgstr "habilitar Rastreio de domínio cruzado"
980
+
981
+ #, fuzzy
982
+ #~ msgid " use your own API Project credentials"
983
+ #~ msgstr "usar suas próprias credenciais da API do projeto"
984
+
985
+ #, fuzzy
986
+ #~ msgid " use a single Google Analytics account for the entire network"
987
+ #~ msgstr "Use uma única conta do Google Analytics para toda a Rede"
988
+
989
+ #, fuzzy
990
+ #~ msgid " exclude Super Admin tracking for the entire network"
991
+ #~ msgstr "Excluir rastreamento do Super Administrador para toda a rede"
992
+
993
+ #~ msgid "Something went wrong, check"
994
+ #~ msgstr "Algo deu errado, verifique"
995
+
996
+ #~ msgid "or"
997
+ #~ msgstr "ou"
998
+
999
+ #~ msgid "disable Switch Profile/View functionality"
1000
+ #~ msgstr "desativar mudar perfil/Ver funcionalidade"
1001
+
1002
+ #~ msgid "find out more"
1003
+ #~ msgstr "Saiba mais"
1004
+
1005
+ #~ msgid "The tracking component is disabled. You should set"
1006
+ #~ msgstr "O componente de rastreamento está desativado. Você deve configurar"
1007
+
1008
+ #~ msgid "Tracking Options"
1009
+ #~ msgstr "Opções de Rastreio"
1010
+
1011
+ #~ msgid "to"
1012
+ #~ msgstr "para"
1013
+
1014
+ #~ msgid "For errors and/or other issues please check"
1015
+ #~ msgstr "Para erros e/ou outras questões por favor, verifique"
1016
+
1017
+ #~ msgid "and related tutorials"
1018
+ #~ msgstr "e tutoriais relacionados"
1019
+
1020
+ #~ msgid "You should watch the"
1021
+ #~ msgstr "Você deveria assistir ao"
1022
+
1023
+ #~ msgid "and read this"
1024
+ #~ msgstr "e ler este"
1025
+
1026
+ #~ msgid ""
1027
+ #~ "before proceeding to authorization. This plugin requires a properly "
1028
+ #~ "configured Google Analytics account"
1029
+ #~ msgstr ""
1030
+ #~ "antes de prosseguir para a autorização. Este Plugin requer uma conta do "
1031
+ #~ "Google Analytics configurada corretamente"
1032
+
1033
+ #~ msgid "Plugin documentation and support on"
1034
+ #~ msgstr "Documentação e Suporte do Plugin em"
1035
+
1036
+ #~ msgid "Your feedback and review are both important,"
1037
+ #~ msgstr "O seu Feedback e Revisão são ambos importantes,"
1038
+
1039
+ #~ msgid "by moving your website to HTTPS/SSL."
1040
+ #~ msgstr "movendo seu site para HTTPS/SSL."
1041
+
1042
+ #~ msgid "Other"
1043
+ #~ msgstr "Outro"
1044
+
1045
+ #~ msgid "written by the same author"
1046
+ #~ msgstr "escrito pelo mesmo autor"
1047
+
1048
+ #~ msgid "Speed up your website and plug into a whole"
1049
+ #~ msgstr "Aumente a velocidade de seu site na web e conecte-o ao seu conjunto"
1050
+
1051
+ #~ msgid "service with users tracking at IP level."
1052
+ #~ msgstr "serviço com os usuários de rastreamento a nível de IP."
1053
+
1054
  #~ msgid "Google Analytics Dashboard Settings"
1055
  #~ msgstr "Configurações de Painel do Google Analytics"
1056
 
languages/ga-dash.pot CHANGED
@@ -1,1054 +1,884 @@
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
4
- "POT-Creation-Date: 2015-03-24 09:26+0200\n"
5
- "PO-Revision-Date: 2015-03-24 09:26+0200\n"
 
6
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
7
- "Language-Team: Deconf <admin@deconf.com>\n"
8
- "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
12
  "X-Generator: Poedit 1.7.5\n"
13
- "X-Poedit-KeywordsList: _e;__\n"
14
- "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
17
  "X-Poedit-SearchPath-0: ../.\n"
18
 
19
- #: .././admin/item-reports.php:56
20
- #, fuzzy
21
  msgid "Analytics"
22
- msgstr "Ustawienia Frontendu Google Analytics"
23
 
24
- #: .././admin/settings.php:89 .././admin/settings.php:201
25
- #: .././admin/settings.php:359 .././admin/settings.php:895
26
- #: .././admin/settings.php:1215
27
  msgid "Settings saved."
28
  msgstr ""
29
 
30
- #: .././admin/settings.php:91 .././admin/settings.php:203
31
- #: .././admin/settings.php:361 .././admin/settings.php:872
32
- #: .././admin/settings.php:882 .././admin/settings.php:891
33
- #: .././admin/settings.php:897 .././admin/settings.php:909
34
- #: .././admin/settings.php:1176 .././admin/settings.php:1201
35
- #: .././admin/settings.php:1211 .././admin/settings.php:1217
36
- #: .././admin/settings.php:1229
37
- #, fuzzy
38
  msgid "Cheating Huh?"
39
- msgstr "Oszukujemy, co?"
40
-
41
- #: .././admin/settings.php:95 .././admin/settings.php:207
42
- #: .././admin/settings.php:365 .././admin/settings.php:716
43
- #: .././admin/settings.php:922 .././admin/settings.php:1242
44
- msgid "Something went wrong, check"
45
  msgstr ""
46
 
47
- #: .././admin/settings.php:95 .././admin/settings.php:207
48
- #: .././admin/settings.php:365 .././admin/settings.php:716
49
- #: .././admin/settings.php:922 .././admin/settings.php:1242
50
- #: .././admin/setup.php:89 .././admin/setup.php:113
51
- msgid "Errors & Debug"
52
  msgstr ""
53
 
54
- #: .././admin/settings.php:95 .././admin/settings.php:207
55
- #: .././admin/settings.php:365 .././admin/settings.php:716
56
- #: .././admin/settings.php:922 .././admin/settings.php:1242
57
- msgid "or"
58
  msgstr ""
59
 
60
- #: .././admin/settings.php:95 .././admin/settings.php:207
61
- #: .././admin/settings.php:365 .././admin/settings.php:716
62
- #: .././admin/settings.php:922 .././admin/settings.php:1242
63
- #, fuzzy
64
  msgid "authorize the plugin"
65
- msgstr "Autoryzuj wtyczkę"
66
 
67
- #: .././admin/settings.php:101
68
- #, fuzzy
69
  msgid "Google Analytics Frontend Settings"
70
- msgstr "Ustawienia Frontendu Google Analytics"
 
 
 
 
 
71
 
72
- #: .././admin/settings.php:111 .././admin/settings.php:223
 
 
 
 
 
73
  msgid "Permissions"
74
  msgstr ""
75
 
76
- #: .././admin/settings.php:114 .././admin/settings.php:226
77
- #, fuzzy
78
  msgid "Show stats to:"
79
- msgstr "Pokazuj statystyki do: "
80
 
81
- #: .././admin/settings.php:159
82
- #, fuzzy
83
- msgid " show page sessions and users in frontend (after each article)"
84
- msgstr "pokaż wizyty i odwiedzających na stronie (po każdym artykule)"
85
 
86
- #: .././admin/settings.php:175
87
- #, fuzzy
88
- msgid " show page searches (after each article)"
89
- msgstr "pokaż wyszukiwania strony (po każdym artykule)"
90
 
91
- #: .././admin/settings.php:184 .././admin/settings.php:341
92
- #: .././admin/settings.php:698 .././admin/settings.php:1087
93
- #: .././admin/settings.php:1429
94
  msgid "Save Changes"
95
  msgstr ""
96
 
97
  #: .././admin/settings.php:213
98
- #, fuzzy
99
  msgid "Google Analytics Backend Settings"
100
- msgstr "Ustawienia Frontendu Google Analytics"
 
 
 
 
 
101
 
102
  #: .././admin/settings.php:272
103
- #, fuzzy
104
  msgid "enable Switch Profile/View functionality"
105
- msgstr "wyłącz funkcjonalność Przełączanie Profilu/Widoku"
106
 
107
- #: .././admin/settings.php:286
108
  msgid "enable reports on Posts List and Pages List"
109
  msgstr ""
110
 
111
- #: .././admin/settings.php:300
112
  msgid "enable the main Dashboard Widget"
113
  msgstr ""
114
 
115
- #: .././admin/settings.php:304
116
- #, fuzzy
117
  msgid "Real-Time Settings"
118
- msgstr "Ustawienia Czasu Rzeczywistego"
119
 
120
- #: .././admin/settings.php:307
121
- #, fuzzy
122
  msgid "Maximum number of pages to display on real-time tab:"
123
- msgstr "Maksymalna liczba stron wyświetlanych na karcie Czas Rzeczywisty:"
124
-
125
- #: .././admin/settings.php:312 .././admin/settings.php:328
126
- #, fuzzy
127
- msgid "find out more"
128
- msgstr "Dowiedz sie więcej!"
129
-
130
- #: .././admin/settings.php:314 .././admin/settings.php:331
131
- #, fuzzy
132
- msgid "about this feature"
133
- msgstr "o tej opcji"
134
 
135
- #: .././admin/settings.php:319
136
  msgid "Location Settings"
137
  msgstr ""
138
 
139
- #: .././admin/settings.php:323
140
  msgid "Target Geo Map to country:"
141
  msgstr ""
142
 
143
- #: .././admin/settings.php:368
144
- msgid "The tracking component is disabled. You should set"
145
- msgstr ""
146
-
147
- #: .././admin/settings.php:368
148
- #, fuzzy
149
- msgid "Tracking Options"
150
- msgstr "Opcje Śledzenia:"
151
-
152
- #: .././admin/settings.php:368
153
- msgid "to"
154
  msgstr ""
155
 
156
- #: .././admin/settings.php:368 .././admin/settings.php:404
157
- #, fuzzy
158
- msgid "Enabled"
159
- msgstr "Włączone"
160
-
161
- #: .././admin/settings.php:374
162
- #, fuzzy
163
  msgid "Google Analytics Tracking Code"
164
- msgstr "Kod Śledzenia Google Analytics"
165
 
166
- #: .././admin/settings.php:383
167
  msgid "Basic Settings"
168
  msgstr ""
169
 
170
- #: .././admin/settings.php:384 .././admin/settings.php:463
171
- #, fuzzy
172
  msgid "Events Tracking"
173
- msgstr "Śledzenie Zdarzeń"
174
 
175
- #: .././admin/settings.php:385 .././admin/settings.php:527
176
  msgid "Custom Definitions"
177
  msgstr ""
178
 
179
- #: .././admin/settings.php:386 .././admin/settings.php:655
180
- #: .././admin/settings.php:1406
181
- #, fuzzy
182
  msgid "Exclude Tracking"
183
- msgstr "Wyklucz Śledzenie"
184
 
185
- #: .././admin/settings.php:387
186
  msgid "Advanced Settings"
187
  msgstr ""
188
 
189
- #: .././admin/settings.php:395
190
- #, fuzzy
 
 
 
 
191
  msgid "Tracking Settings"
192
- msgstr "Ustawienia Śledzenia"
193
 
194
- #: .././admin/settings.php:398
195
- #, fuzzy
196
  msgid "Tracking Options:"
197
- msgstr "Opcje Śledzenia:"
198
 
199
- #: .././admin/settings.php:402
200
- #, fuzzy
201
  msgid "Disabled"
202
- msgstr "Wyłączone"
 
 
 
 
203
 
204
- #: .././admin/settings.php:412 .././admin/settings.php:1019
205
- #: .././admin/settings.php:1044 .././admin/settings.php:1373
206
- #: .././admin/widgets.php:67
207
- #, fuzzy
208
  msgid "View Name:"
209
- msgstr "Nazwa widoku:"
210
 
211
- #: .././admin/settings.php:412 .././admin/settings.php:1044
212
- #, fuzzy
213
  msgid "Tracking ID:"
214
- msgstr "Tracking ID:"
215
 
216
- #: .././admin/settings.php:412 .././admin/settings.php:1044
217
- #, fuzzy
218
  msgid "Default URL:"
219
- msgstr "Domyślny URL:"
220
 
221
- #: .././admin/settings.php:412 .././admin/settings.php:1044
222
- #, fuzzy
223
  msgid "Time Zone:"
224
- msgstr "Strefa Czasowa:"
225
 
226
- #: .././admin/settings.php:417
227
  msgid "Basic Tracking"
228
  msgstr ""
229
 
230
- #: .././admin/settings.php:420
231
- #, fuzzy
232
  msgid "Tracking Type:"
233
- msgstr "Typ Śledzenia: "
234
 
235
- #: .././admin/settings.php:424
236
- #, fuzzy
237
  msgid "Classic Analytics"
238
- msgstr "Klasyczne Analytics"
239
 
240
- #: .././admin/settings.php:426
241
- #, fuzzy
242
  msgid "Universal Analytics"
243
- msgstr "Uniwerslane Analytics"
244
 
245
- #: .././admin/settings.php:440
246
- #, fuzzy
247
- msgid " anonymize IPs while tracking"
248
- msgstr "ukryj adresy IP podczas śledzenia"
249
 
250
- #: .././admin/settings.php:455
251
- #, fuzzy
252
- msgid " enable remarketing, demographics and interests reports"
253
- msgstr "włącz raporty zainteresować, remarketingowe i demograficzne"
254
 
255
- #: .././admin/settings.php:477
256
- #, fuzzy
257
- msgid " track downloads, mailto and outbound links"
258
- msgstr "śledź pobrania, wysyłanie maili i linki wychodzące"
259
 
260
- #: .././admin/settings.php:481
261
  msgid "Downloads Regex:"
262
  msgstr ""
263
 
264
- #: .././admin/settings.php:498
265
- msgid " track affiliate links matching this regex"
266
  msgstr ""
267
 
268
- #: .././admin/settings.php:502
269
  msgid "Affiliates Regex:"
270
  msgstr ""
271
 
272
- #: .././admin/settings.php:519
273
- msgid " track fragment identifiers, hashmarks (#) in URI links"
274
  msgstr ""
275
 
276
- #: .././admin/settings.php:530
277
  msgid "Authors:"
278
  msgstr ""
279
 
280
- #: .././admin/settings.php:540
281
  msgid "Publication Year:"
282
  msgstr ""
283
 
284
- #: .././admin/settings.php:550
285
  msgid "Categories:"
286
  msgstr ""
287
 
288
- #: .././admin/settings.php:560
289
  msgid "User Type:"
290
  msgstr ""
291
 
292
- #: .././admin/settings.php:574
293
- #, fuzzy
294
  msgid "Advanced Tracking"
295
- msgstr "Ustawienia Śledzenia"
296
 
297
- #: .././admin/settings.php:577
298
- #, fuzzy
299
  msgid "Page Speed SR:"
300
- msgstr "Page Speed SR:"
301
 
302
- #: .././admin/settings.php:595
303
- msgid " exclude events from bounce-rate calculation"
304
  msgstr ""
305
 
306
- #: .././admin/settings.php:610
307
- #, fuzzy
308
- msgid " enable enhanced link attribution"
309
- msgstr "włącz rozszerzone przypisywanie linków"
310
 
311
- #: .././admin/settings.php:624
312
- #, fuzzy
313
- msgid " enable AdSense account linking"
314
- msgstr " włącz linkowanie konta AdSense"
315
 
316
- #: .././admin/settings.php:640
317
- msgid " enable cross domain tracking"
318
  msgstr ""
319
 
320
- #: .././admin/settings.php:644
321
  msgid "Cross Domains:"
322
  msgstr ""
323
 
324
- #: .././admin/settings.php:658
325
- #, fuzzy
326
  msgid "Exclude tracking for:"
327
- msgstr "Wyklucz śledzenie dla: "
328
 
329
- #: .././admin/settings.php:720
330
  msgid "Google Analytics Errors & Debugging"
331
  msgstr ""
332
 
333
- #: .././admin/settings.php:730
334
  msgid "Errors & Details"
335
  msgstr ""
336
 
337
- #: .././admin/settings.php:731
338
  msgid "Plugin Settings"
339
  msgstr ""
340
 
341
- #: .././admin/settings.php:739
342
- msgid "For errors and/or other issues please check"
343
- msgstr ""
344
-
345
- #: .././admin/settings.php:739
346
- msgid "this documentation page"
347
- msgstr ""
348
-
349
- #: .././admin/settings.php:739
350
- msgid "and related tutorials"
351
  msgstr ""
352
 
353
- #: .././admin/settings.php:743
354
  msgid "Last Error detected"
355
  msgstr ""
356
 
357
- #: .././admin/settings.php:748 .././admin/settings.php:761
358
  msgid "None"
359
  msgstr ""
360
 
361
- #: .././admin/settings.php:755
362
  msgid "Error Details"
363
  msgstr ""
364
 
365
- #: .././admin/settings.php:775
366
- #, fuzzy
367
  msgid "Plugin Configuration"
368
- msgstr "Autoryzacja Wtyczki"
369
 
370
- #: .././admin/settings.php:819 .././admin/settings.php:1130
371
  msgid ""
372
- "Loading the required libraries. If this results in a blank screen or a fatal "
373
- "error, try this solution:"
 
 
 
 
374
  msgstr ""
375
 
376
- #: .././admin/settings.php:831 .././admin/settings.php:1142
377
- #, fuzzy
378
  msgid "Plugin authorization succeeded."
379
- msgstr "Autoryzacja wtyczki pomyślna."
380
 
381
- #: .././admin/settings.php:847 .././admin/settings.php:1167
382
  msgid ""
383
- "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> "
384
- "(UA-XXXXX-X). Try again, and use the red link to get your access code"
385
  msgstr ""
386
 
387
- #: .././admin/settings.php:870 .././admin/settings.php:1199
388
- #, fuzzy
389
  msgid "Cleared Cache."
390
- msgstr "Cache wyczyszczony."
391
 
392
- #: .././admin/settings.php:879 .././admin/settings.php:1208
393
- #, fuzzy
394
  msgid "Token Reseted and Revoked."
395
- msgstr "Token wyczyszczony i wycofany."
396
 
397
- #: .././admin/settings.php:889
398
  msgid "All errors reseted."
399
  msgstr ""
400
 
401
- #: .././admin/settings.php:902 .././admin/settings.php:1222
402
- #, fuzzy
403
  msgid "All other domains/properties were removed."
404
- msgstr "Wszystkie inne domeny/właściwości zostały usunięte."
405
 
406
- #: .././admin/settings.php:914 .././admin/settings.php:1234
407
- #, fuzzy
408
  msgid "Google Analytics Settings"
409
- msgstr "Ustawienia Google Analytics"
410
 
411
- #: .././admin/settings.php:927 .././admin/settings.php:1247
412
  msgid "Use the red link (see below) to generate and get your access code!"
413
  msgstr ""
414
 
415
- #: .././admin/settings.php:938 .././admin/settings.php:1282
416
- #, fuzzy
417
  msgid "Plugin Authorization"
418
- msgstr "Autoryzacja Wtyczki"
419
 
420
- #: .././admin/settings.php:942 .././admin/settings.php:1286
421
- #, fuzzy
422
- msgid "You should watch the"
423
- msgstr "Powinienieś obejrzeć"
 
 
424
 
425
- #: .././admin/settings.php:942 .././admin/settings.php:1286
426
- #, fuzzy
427
  msgid "video"
428
- msgstr "film"
429
-
430
- #: .././admin/settings.php:942 .././admin/settings.php:1286
431
- #, fuzzy
432
- msgid "and read this"
433
- msgstr "i przeczytać"
434
 
435
- #: .././admin/settings.php:942 .././admin/settings.php:1286
436
- #, fuzzy
437
  msgid "tutorial"
438
- msgstr "tutorial"
439
-
440
- #: .././admin/settings.php:942 .././admin/settings.php:1286
441
- #, fuzzy
442
- msgid ""
443
- "before proceeding to authorization. This plugin requires a properly "
444
- "configured Google Analytics account"
445
  msgstr ""
446
- "przed ukończeniem autoryzacji. Ta wtyczka wymaga poprawnie skonfigurowanego "
447
- "konta Google Analytics"
448
 
449
- #: .././admin/settings.php:954 .././admin/settings.php:1297
450
- #, fuzzy
451
- msgid " use your own API Project credentials"
452
- msgstr "użyj własnych danych logowania do API Projektu"
453
 
454
- #: .././admin/settings.php:961 .././admin/settings.php:1304
455
- #, fuzzy
456
  msgid "API Key:"
457
- msgstr "Klucz API:"
458
 
459
- #: .././admin/settings.php:968 .././admin/settings.php:1312
460
- #, fuzzy
461
  msgid "Client ID:"
462
- msgstr "ID Klienta:"
463
 
464
- #: .././admin/settings.php:976 .././admin/settings.php:1321
465
- #, fuzzy
466
  msgid "Client Secret:"
467
- msgstr "Hasło Klienta:"
468
 
469
- #: .././admin/settings.php:994 .././admin/settings.php:1340
470
- #, fuzzy
471
  msgid "Clear Authorization"
472
- msgstr "Czyść Autoryzację"
473
 
474
- #: .././admin/settings.php:998 .././admin/settings.php:1101
475
- #: .././admin/settings.php:1343 .././admin/settings.php:1441
476
- #, fuzzy
477
  msgid "Clear Cache"
478
- msgstr "Czyść Cache"
479
 
480
- #: .././admin/settings.php:1001
481
  msgid "Reset Errors"
482
  msgstr ""
483
 
484
- #: .././admin/settings.php:1007 .././admin/setup.php:73
485
- #: .././admin/setup.php:109
486
- #, fuzzy
487
  msgid "General Settings"
488
- msgstr "Ustawienia główne"
489
 
490
- #: .././admin/settings.php:1010
491
- #, fuzzy
492
  msgid "Select Domain:"
493
- msgstr "Wybierz Domenę: "
494
 
495
- #: .././admin/settings.php:1023 .././admin/settings.php:1377
496
  msgid "Property not found"
497
  msgstr ""
498
 
499
- #: .././admin/settings.php:1028
500
- #, fuzzy
501
  msgid "and/or hide all other domains"
502
- msgstr "i/lub ukryj wszystkie inne domeny"
503
 
504
- #: .././admin/settings.php:1031
505
- #, fuzzy
506
  msgid "Hide Now"
507
- msgstr "Ukryj Teraz"
508
 
509
- #: .././admin/settings.php:1050
510
- #, fuzzy
511
  msgid "Theme Color:"
512
- msgstr "Kolor tematu: "
513
 
514
- #: .././admin/settings.php:1061 .././admin/settings.php:1386
515
  msgid "Automatic Updates"
516
  msgstr ""
517
 
518
- #: .././admin/settings.php:1077 .././admin/settings.php:1402
519
- msgid ""
520
- "automatic updates for minor versions (security and maintenance releases only)"
521
  msgstr ""
522
 
523
- #: .././admin/settings.php:1097 .././admin/settings.php:1438
524
- #: .././admin/widgets.php:38
525
- #, fuzzy
526
  msgid "Authorize Plugin"
527
- msgstr "Autoryzuj wtyczkę"
528
 
529
- #: .././admin/settings.php:1173
530
- #, fuzzy
531
  msgid "Properties refreshed."
532
- msgstr "Właściwości Odświeżone"
533
 
534
- #: .././admin/settings.php:1259
535
- #, fuzzy
536
  msgid "Network Setup"
537
- msgstr "Ustawienia Sieci"
538
 
539
- #: .././admin/settings.php:1274
540
- #, fuzzy
541
- msgid " use a single Google Analytics account for the entire network"
542
- msgstr "Użyj jednego konta Google Analytics dla całej sieci"
543
 
544
- #: .././admin/settings.php:1346
545
- #, fuzzy
546
  msgid "Refresh Properties"
547
- msgstr "Odśwież Właściwości"
548
 
549
- #: .././admin/settings.php:1352
550
- #, fuzzy
551
  msgid "Properties/Views Settings"
552
- msgstr "Ustawienia Właściwości /Widoków"
553
 
554
- #: .././admin/settings.php:1420
555
- msgid " exclude Super Admin tracking for the entire network"
556
  msgstr ""
557
 
558
- #: .././admin/settings.php:1472
559
- #, fuzzy
560
  msgid "Setup Tutorial & Demo"
561
- msgstr "Ustaw Tutorial & Demo"
562
 
563
- #: .././admin/settings.php:1484
564
- #, fuzzy
565
  msgid "Support & Reviews"
566
- msgstr "Wsparcie techniczne & Recenzje"
567
 
568
- #: .././admin/settings.php:1492
569
- msgid "Plugin documentation and support on"
 
570
  msgstr ""
571
 
572
- #: .././admin/settings.php:1499
573
- #, fuzzy
574
- msgid "Your feedback and review are both important,"
575
- msgstr "Twój komentarz i ocena są ważne,"
576
 
577
- #: .././admin/settings.php:1499
578
- #, fuzzy
579
  msgid "rate this plugin"
580
- msgstr "oceń tą wtyczkę"
581
 
582
- #: .././admin/settings.php:1504
583
- #, fuzzy
584
  msgid "Further Reading"
585
- msgstr "Inne Dokumenty"
586
 
587
- #: .././admin/settings.php:1512
588
- msgid "Improve search rankings"
 
589
  msgstr ""
590
 
591
- #: .././admin/settings.php:1512
592
- msgid "by moving your website to HTTPS/SSL."
593
  msgstr ""
594
 
595
- #: .././admin/settings.php:1519
596
- #, fuzzy
597
- msgid "Other"
598
- msgstr "Inne"
599
 
600
- #: .././admin/settings.php:1519
601
- #, fuzzy
602
  msgid "WordPress Plugins"
603
- msgstr "Wtyczki WordPressa"
604
-
605
- #: .././admin/settings.php:1519
606
- #, fuzzy
607
- msgid "written by the same author"
608
- msgstr "napisane przez tego samego autora"
609
 
610
- #: .././admin/settings.php:1524
611
  msgid "Other Services"
612
  msgstr ""
613
 
614
- #: .././admin/settings.php:1532
615
- msgid "Speed up your website and plug into a whole"
 
616
  msgstr ""
617
 
618
- #: .././admin/settings.php:1532
619
  msgid "new level of site speed"
620
  msgstr ""
621
 
622
- #: .././admin/settings.php:1539
623
- #, fuzzy
624
- msgid "Web Analytics"
625
- msgstr "Web Analytics"
626
 
627
- #: .././admin/settings.php:1539
628
- msgid "service with users tracking at IP level."
629
  msgstr ""
630
 
631
- #: .././admin/setup.php:69 .././admin/setup.php:105
632
- #, fuzzy
633
  msgid "Google Analytics"
634
- msgstr "Google Analytics"
635
 
636
- #: .././admin/setup.php:77
637
- #, fuzzy
638
  msgid "Backend Settings"
639
- msgstr "Ustawienia backendu"
640
 
641
- #: .././admin/setup.php:81
642
- #, fuzzy
643
  msgid "Frontend Settings"
644
- msgstr "Ustawienia Frontendu"
645
 
646
- #: .././admin/setup.php:85
647
- #, fuzzy
648
  msgid "Tracking Code"
649
- msgstr "Kod śledzenia"
650
 
651
- #: .././admin/setup.php:190 .././admin/widgets.php:123
652
- #, fuzzy
653
  msgid "Today"
654
- msgstr "Dzisiaj"
655
 
656
- #: .././admin/setup.php:191 .././admin/widgets.php:125
657
- #, fuzzy
658
  msgid "Yesterday"
659
- msgstr "Wczoraj"
660
 
661
- #: .././admin/setup.php:192 .././admin/widgets.php:127
662
- #: .././front/widgets.php:68 .././front/widgets.php:176
663
- #, fuzzy
664
  msgid "Last 7 Days"
665
- msgstr "Ostatnie 7 dni"
666
 
667
- #: .././admin/setup.php:193 .././admin/widgets.php:131
668
- #: .././front/widgets.php:74 .././front/widgets.php:178
669
- #, fuzzy
670
  msgid "Last 30 Days"
671
- msgstr "Ostatnie 30 dni"
672
 
673
- #: .././admin/setup.php:194 .././admin/widgets.php:133
674
- #, fuzzy
675
  msgid "Last 90 Days"
676
- msgstr "Ostatnie 90 dni"
677
 
678
- #: .././admin/setup.php:197 .././admin/setup.php:213
679
  msgid "Unique Views"
680
  msgstr ""
681
 
682
- #: .././admin/setup.php:198 .././admin/setup.php:214
683
- #: .././admin/widgets.php:140 .././admin/widgets.php:886
684
- #: .././tools/gapi.php:372
685
  msgid "Users"
686
  msgstr ""
687
 
688
- #: .././admin/setup.php:199 .././admin/widgets.php:142
689
- #, fuzzy
690
  msgid "Organic"
691
- msgstr "Organiczne"
692
 
693
- #: .././admin/setup.php:200 .././admin/setup.php:215
694
- #: .././admin/widgets.php:144 .././admin/widgets.php:890
695
- #: .././tools/gapi.php:375
696
- #, fuzzy
697
  msgid "Page Views"
698
- msgstr "Wyświetleń strony"
699
 
700
- #: .././admin/setup.php:201 .././admin/setup.php:216
701
- #: .././admin/widgets.php:146 .././admin/widgets.php:894
702
- #: .././tools/gapi.php:378
703
- #, fuzzy
704
  msgid "Bounce Rate"
705
- msgstr "Współczynnik odrzuceń"
706
 
707
- #: .././admin/setup.php:202 .././admin/widgets.php:148
708
  msgid "Location"
709
  msgstr ""
710
 
711
- #: .././admin/setup.php:203 .././admin/widgets.php:152 .././tools/gapi.php:547
712
- #, fuzzy
713
  msgid "Referrers"
714
- msgstr "pokaż najlepszych referujących"
715
 
716
- #: .././admin/setup.php:204 .././admin/widgets.php:154 .././tools/gapi.php:593
717
- #: .././tools/gapi.php:904
718
- #, fuzzy
719
  msgid "Searches"
720
- msgstr "pokaż najlepsze wyszukiwania"
721
 
722
- #: .././admin/setup.php:205 .././admin/widgets.php:156
723
- #, fuzzy
724
  msgid "Traffic Details"
725
- msgstr "Źródła ruchu"
726
 
727
- #: .././admin/setup.php:208 .././admin/widgets.php:522
728
- #: .././admin/widgets.php:618 .././admin/widgets.php:816
729
- #: .././admin/widgets.php:928 .././front/item-reports.php:84
730
  msgid "A JavaScript Error is blocking plugin resources!"
731
  msgstr ""
732
 
733
- #: .././admin/setup.php:209 .././admin/widgets.php:724
734
- #, fuzzy
735
  msgid "Traffic Mediums"
736
- msgstr "Źródła ruchu"
737
 
738
- #: .././admin/setup.php:210 .././admin/widgets.php:740
739
  msgid "Visitor Type"
740
  msgstr ""
741
 
742
- #: .././admin/setup.php:211 .././admin/widgets.php:756
743
  msgid "Social Networks"
744
  msgstr ""
745
 
746
- #: .././admin/setup.php:212 .././admin/widgets.php:772
747
  msgid "Search Engines"
748
  msgstr ""
749
 
750
- #: .././admin/setup.php:217 .././admin/widgets.php:898
751
- #, fuzzy
752
  msgid "Organic Search"
753
- msgstr "Wyszukiwań organicznych:"
754
 
755
- #: .././admin/setup.php:218 .././admin/widgets.php:902
756
  msgid "Pages/Session"
757
  msgstr ""
758
 
759
- #: .././admin/setup.php:219 .././admin/widgets.php:535
760
- #: .././admin/widgets.php:553 .././admin/widgets.php:631
761
- #: .././admin/widgets.php:649 .././admin/widgets.php:668
762
- #: .././admin/widgets.php:687 .././admin/widgets.php:707
763
- #: .././admin/widgets.php:830 .././admin/widgets.php:941
764
- #: .././admin/widgets.php:960 .././front/item-reports.php:96
765
- #: .././front/item-reports.php:115
766
  msgid "Invalid response, more details in JavaScript Console (F12)."
767
  msgstr ""
768
 
769
- #: .././admin/setup.php:220
770
  msgid "Not enough data collected"
771
  msgstr ""
772
 
773
- #: .././admin/setup.php:221 .././admin/widgets.php:540
774
- #: .././admin/widgets.php:558 .././admin/widgets.php:636
775
- #: .././admin/widgets.php:654 .././admin/widgets.php:673
776
- #: .././admin/widgets.php:692 .././admin/widgets.php:712
777
- #: .././admin/widgets.php:835 .././admin/widgets.php:838
778
- #: .././admin/widgets.php:946 .././admin/widgets.php:965
779
- #: .././front/item-reports.php:101 .././front/item-reports.php:120
780
- #: .././front/widgets.php:104
781
  msgid "This report is unavailable"
782
  msgstr ""
783
 
784
- #: .././admin/setup.php:222
785
  msgid "report generated by"
786
  msgstr ""
787
 
788
- #: .././admin/setup.php:260
789
- #, fuzzy
790
  msgid "Settings"
791
- msgstr "Ustawienia"
792
 
793
- #: .././admin/widgets.php:27 .././front/widgets.php:14
794
- #, fuzzy
795
  msgid "Google Analytics Dashboard"
796
- msgstr "Pulpit Google Analytics"
797
 
798
- #: .././admin/widgets.php:38
799
- #, fuzzy
800
  msgid "This plugin needs an authorization:"
801
- msgstr "Ta wtyczka wymaga autoryzacji:"
802
 
803
- #: .././admin/widgets.php:72
804
- #, fuzzy
805
  msgid "Something went wrong while retrieving profiles list."
806
- msgstr "Coś poszło nie tak podczas pobierania listy profili."
807
 
808
- #: .././admin/widgets.php:72
809
- #, fuzzy
810
  msgid "More details"
811
- msgstr "Więcej szczegółów"
812
 
813
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
814
- #, fuzzy
815
  msgid "An admin should asign a default Google Analytics Profile."
816
- msgstr "Administrator poiwnien ustawić domyślny profil Google Analytics."
817
 
818
- #: .././admin/widgets.php:85 .././admin/widgets.php:96
819
- #, fuzzy
820
  msgid "Select Domain"
821
- msgstr "Wybierz domenę"
822
 
823
- #: .././admin/widgets.php:101
824
- #, fuzzy
825
  msgid ""
826
- "Something went wrong while retrieving property data. You need to create and "
827
- "properly configure a Google Analytics account:"
828
  msgstr ""
829
- "Coś poszło nie tak podczas pobierania danych. Musisz stworzyc i odpowiednio "
830
- "skonfigurować konto Google Analytics:"
831
 
832
- #: .././admin/widgets.php:101
833
- #, fuzzy
834
  msgid "Find out more!"
835
- msgstr "Dowiedz sie więcej!"
836
 
837
- #: .././admin/widgets.php:122
838
- #, fuzzy
839
  msgid "Real-Time"
840
- msgstr "Czas rzeczywisty"
841
 
842
- #: .././admin/widgets.php:129 .././front/widgets.php:71
843
- #: .././front/widgets.php:177
844
- #, fuzzy
845
  msgid "Last 14 Days"
846
- msgstr "Ostatnie 14 dni"
847
 
848
- #: .././admin/widgets.php:139 .././admin/widgets.php:882
849
- #: .././front/widgets.php:40 .././tools/gapi.php:387 .././tools/gapi.php:548
850
- #: .././tools/gapi.php:594 .././tools/gapi.php:658 .././tools/gapi.php:768
851
- #: .././tools/gapi.php:809 .././tools/gapi.php:905
852
  msgid "Sessions"
853
  msgstr ""
854
 
855
- #: .././admin/widgets.php:150 .././tools/gapi.php:502
856
- #, fuzzy
857
  msgid "Pages"
858
- msgstr "pokaż najlepsze strony"
859
 
860
- #: .././admin/widgets.php:244 .././admin/widgets.php:484
861
- #, fuzzy
862
  msgid "REFERRAL"
863
- msgstr "REFERUJĄCY"
864
 
865
- #: .././admin/widgets.php:248 .././admin/widgets.php:485
866
- #, fuzzy
867
  msgid "ORGANIC"
868
- msgstr "ORGANICZNE"
869
 
870
- #: .././admin/widgets.php:252 .././admin/widgets.php:372
871
- #: .././admin/widgets.php:486
872
- #, fuzzy
873
  msgid "SOCIAL"
874
- msgstr "SPOŁECZNE"
875
 
876
- #: .././admin/widgets.php:256 .././admin/widgets.php:375
877
- #: .././admin/widgets.php:487
878
  msgid "CAMPAIGN"
879
  msgstr ""
880
 
881
- #: .././admin/widgets.php:260 .././admin/widgets.php:378
882
- #: .././admin/widgets.php:490
883
- #, fuzzy
884
  msgid "DIRECT"
885
- msgstr "BEZPOŚREDNIE"
886
 
887
- #: .././admin/widgets.php:264 .././admin/widgets.php:491
888
- #, fuzzy
889
  msgid "NEW"
890
- msgstr "NOWE"
891
 
892
- #: .././admin/widgets.php:366
893
- #, fuzzy
894
  msgid "REFERRALS"
895
- msgstr "REFERUJĄCY"
896
 
897
- #: .././admin/widgets.php:369
898
- #, fuzzy
899
  msgid "KEYWORDS"
900
- msgstr "SŁOWA KLUCZOWE"
901
 
902
- #: .././front/item-reports.php:130
903
- #, fuzzy
904
  msgid "Views vs UniqueViews"
905
- msgstr "Odsłon vs Odsłon Unikalnych"
906
 
907
- #: .././front/item-reports.php:180
908
  msgid "Google Analytics Reports"
909
  msgstr ""
910
 
911
- #: .././front/widgets.php:15
912
- #, fuzzy
913
  msgid "Will display your google analytics stats in a widget"
914
- msgstr "Wyświetli twoje statystyki Google Analytics na widgecie"
915
 
916
- #: .././front/widgets.php:40 .././tools/gapi.php:809
917
- #, fuzzy
918
  msgid "trend"
919
- msgstr "\\' trend"
920
 
921
- #: .././front/widgets.php:127
922
- #, fuzzy
923
  msgid "Period:"
924
- msgstr "Okres:"
925
 
926
- #: .././front/widgets.php:127
927
  msgid "Sessions:"
928
  msgstr ""
929
 
930
- #: .././front/widgets.php:131
931
- #, fuzzy
932
  msgid "generated by"
933
- msgstr "wygenerowane przez"
934
 
935
- #: .././front/widgets.php:141
936
- #, fuzzy
937
  msgid "Google Analytics Stats"
938
- msgstr "Statystyki Google Analytics"
939
 
940
- #: .././front/widgets.php:148
941
- #, fuzzy
942
  msgid "Title:"
943
- msgstr "Tytuł:"
944
 
945
- #: .././front/widgets.php:155
946
- #, fuzzy
947
  msgid "Display:"
948
- msgstr "Wyświetlenie:"
949
 
950
- #: .././front/widgets.php:159
951
- #, fuzzy
952
  msgid "Chart & Totals"
953
- msgstr "Wykres & Podsumowania"
954
 
955
- #: .././front/widgets.php:160
956
- #, fuzzy
957
  msgid "Chart"
958
- msgstr "Wykres"
959
 
960
- #: .././front/widgets.php:161
961
- #, fuzzy
962
  msgid "Totals"
963
- msgstr "Podsumowania"
964
 
965
- #: .././front/widgets.php:165
966
  msgid "Anonymize stats:"
967
  msgstr ""
968
 
969
- #: .././front/widgets.php:172
970
- #, fuzzy
971
  msgid "Stats for:"
972
- msgstr "Statystyki dla:"
973
 
974
- #: .././front/widgets.php:182
975
- #, fuzzy
976
  msgid "Give credits:"
977
- msgstr "Podziękuj:"
978
 
979
- #: .././tools/gapi.php:128
980
- #, fuzzy
 
 
 
981
  msgid "Use this link to get your access code:"
982
- msgstr "Użyj tego linku, aby uzyskać kod dostępu:"
983
 
984
- #: .././tools/gapi.php:128
985
- #, fuzzy
986
  msgid "Get Access Code"
987
- msgstr "Zdobądź Kod Dostępu"
988
 
989
- #: .././tools/gapi.php:133 .././tools/gapi.php:137
990
  msgid "Use the red link to get your access code!"
991
  msgstr ""
992
 
993
- #: .././tools/gapi.php:133
994
- #, fuzzy
995
  msgid "Access Code:"
996
- msgstr "Kod Dostępu:"
997
 
998
- #: .././tools/gapi.php:145
999
- #, fuzzy
1000
  msgid "Save Access Code"
1001
- msgstr "Zapisz Kod Dostępu"
1002
 
1003
- #: .././tools/gapi.php:381
1004
- #, fuzzy
1005
  msgid "Organic Searches"
1006
- msgstr "Wyszukiwania organiczne"
1007
 
1008
- #: .././tools/gapi.php:384
1009
  msgid "Unique Page Views"
1010
  msgstr ""
1011
 
1012
- #: .././tools/gapi.php:392
1013
- #, fuzzy
1014
  msgid "Hour"
1015
- msgstr "Godzina"
1016
 
1017
- #: .././tools/gapi.php:395 .././tools/gapi.php:808 .././tools/gapi.php:860
1018
- #, fuzzy
1019
  msgid "Date"
1020
- msgstr "Data"
1021
 
1022
- #: .././tools/gapi.php:503 .././tools/gapi.php:861
1023
- #, fuzzy
1024
  msgid "Views"
1025
- msgstr "Odsłon"
1026
 
1027
- #: .././tools/gapi.php:622
1028
  msgid "Countries"
1029
  msgstr ""
1030
 
1031
- #: .././tools/gapi.php:632
1032
  msgid "Cities from"
1033
  msgstr ""
1034
 
1035
- #: .././tools/gapi.php:704
1036
  msgid "Channels"
1037
  msgstr ""
1038
 
1039
- #: .././tools/gapi.php:767
1040
- #, fuzzy
1041
  msgid "Type"
1042
- msgstr "Typ"
1043
 
1044
- #: .././tools/gapi.php:862
1045
- #, fuzzy
1046
  msgid "UniqueViews"
1047
- msgstr "Odsłon Unikalnych"
1048
-
1049
- #~ msgid ""
1050
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1051
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1052
- #~ msgstr ""
1053
- #~ " (watch this <a href='http://deconf.com/projects/google-analytics-"
1054
- #~ "dashboard-for-wordpress/' target='_blank'>Step by step video tutorial</a>)"
1
+ # Copyright (C) 2015 Google Analytics Dashboard for WP
2
+ # This file is distributed under the same license as the Google Analytics Dashboard for WP package.
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Google Analytics Dashboard for WP\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/google-analytics-dashboard-for-wp\n"
7
+ "POT-Creation-Date: 2015-04-10 09:30+0200\n"
8
+ "PO-Revision-Date: 2015-04-10 09:31+0200\n"
9
  "Last-Translator: Alin Marcu <admin@deconf.com>\n"
10
+ "Language-Team: Alin Marcu\n"
11
+ "Language: en_US\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Generator: Poedit 1.7.5\n"
 
 
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: __;_e\n"
19
+ "X-Poedit-Basepath: .\n"
20
  "X-Poedit-SearchPath-0: ../.\n"
21
 
22
+ #: .././admin/item-reports.php:66
 
23
  msgid "Analytics"
24
+ msgstr ""
25
 
26
+ #: .././admin/settings.php:94 .././admin/settings.php:202 .././admin/settings.php:338
27
+ #: .././admin/settings.php:819 .././admin/settings.php:1088
 
28
  msgid "Settings saved."
29
  msgstr ""
30
 
31
+ #: .././admin/settings.php:96 .././admin/settings.php:204 .././admin/settings.php:340
32
+ #: .././admin/settings.php:796 .././admin/settings.php:806 .././admin/settings.php:815
33
+ #: .././admin/settings.php:821 .././admin/settings.php:833 .././admin/settings.php:1049
34
+ #: .././admin/settings.php:1074 .././admin/settings.php:1084 .././admin/settings.php:1090
35
+ #: .././admin/settings.php:1102
 
 
 
36
  msgid "Cheating Huh?"
 
 
 
 
 
 
37
  msgstr ""
38
 
39
+ #: .././admin/settings.php:100 .././admin/settings.php:208 .././admin/settings.php:344
40
+ #: .././admin/settings.php:659 .././admin/settings.php:847 .././admin/settings.php:1115
41
+ #, php-format
42
+ msgid "Something went wrong, check %1$s or %2$s."
 
43
  msgstr ""
44
 
45
+ #: .././admin/settings.php:100 .././admin/settings.php:208 .././admin/settings.php:344
46
+ #: .././admin/settings.php:659 .././admin/settings.php:847 .././admin/settings.php:1115
47
+ #: .././admin/setup.php:96 .././admin/setup.php:119
48
+ msgid "Errors & Debug"
49
  msgstr ""
50
 
51
+ #: .././admin/settings.php:100 .././admin/settings.php:208 .././admin/settings.php:344
52
+ #: .././admin/settings.php:659 .././admin/settings.php:847 .././admin/settings.php:1115
 
 
53
  msgid "authorize the plugin"
54
+ msgstr ""
55
 
56
+ #: .././admin/settings.php:105
 
57
  msgid "Google Analytics Frontend Settings"
58
+ msgstr ""
59
+
60
+ #: .././admin/settings.php:116
61
+ #, php-format
62
+ msgid "Read %s for more information about Frontend Features and Options."
63
+ msgstr ""
64
 
65
+ #: .././admin/settings.php:116 .././admin/settings.php:224 .././admin/settings.php:369
66
+ #: .././admin/settings.php:682
67
+ msgid "this documentation page"
68
+ msgstr ""
69
+
70
+ #: .././admin/settings.php:120 .././admin/settings.php:228
71
  msgid "Permissions"
72
  msgstr ""
73
 
74
+ #: .././admin/settings.php:123 .././admin/settings.php:231
 
75
  msgid "Show stats to:"
76
+ msgstr ""
77
 
78
+ #: .././admin/settings.php:162
79
+ msgid "show page sessions and users in frontend (after each article)"
80
+ msgstr ""
 
81
 
82
+ #: .././admin/settings.php:173
83
+ msgid "show page searches (after each article)"
84
+ msgstr ""
 
85
 
86
+ #: .././admin/settings.php:180 .././admin/settings.php:318 .././admin/settings.php:617
87
+ #: .././admin/settings.php:965 .././admin/settings.php:1252
 
88
  msgid "Save Changes"
89
  msgstr ""
90
 
91
  #: .././admin/settings.php:213
 
92
  msgid "Google Analytics Backend Settings"
93
+ msgstr ""
94
+
95
+ #: .././admin/settings.php:224
96
+ #, php-format
97
+ msgid "Read %s for more information about Backend Features and Options."
98
+ msgstr ""
99
 
100
  #: .././admin/settings.php:272
 
101
  msgid "enable Switch Profile/View functionality"
102
+ msgstr ""
103
 
104
+ #: .././admin/settings.php:283
105
  msgid "enable reports on Posts List and Pages List"
106
  msgstr ""
107
 
108
+ #: .././admin/settings.php:294
109
  msgid "enable the main Dashboard Widget"
110
  msgstr ""
111
 
112
+ #: .././admin/settings.php:298
 
113
  msgid "Real-Time Settings"
114
+ msgstr ""
115
 
116
+ #: .././admin/settings.php:301
 
117
  msgid "Maximum number of pages to display on real-time tab:"
118
+ msgstr ""
 
 
 
 
 
 
 
 
 
 
119
 
120
+ #: .././admin/settings.php:306
121
  msgid "Location Settings"
122
  msgstr ""
123
 
124
+ #: .././admin/settings.php:310
125
  msgid "Target Geo Map to country:"
126
  msgstr ""
127
 
128
+ #: .././admin/settings.php:347
129
+ msgid ""
130
+ "The tracking component is disabled. You should set <strong>Tracking Options</strong> to "
131
+ "<strong>Enabled</strong>"
 
 
 
 
 
 
 
132
  msgstr ""
133
 
134
+ #: .././admin/settings.php:352
 
 
 
 
 
 
135
  msgid "Google Analytics Tracking Code"
136
+ msgstr ""
137
 
138
+ #: .././admin/settings.php:361
139
  msgid "Basic Settings"
140
  msgstr ""
141
 
142
+ #: .././admin/settings.php:362 .././admin/settings.php:429
 
143
  msgid "Events Tracking"
144
+ msgstr ""
145
 
146
+ #: .././admin/settings.php:363 .././admin/settings.php:477
147
  msgid "Custom Definitions"
148
  msgstr ""
149
 
150
+ #: .././admin/settings.php:364 .././admin/settings.php:575 .././admin/settings.php:1235
 
 
151
  msgid "Exclude Tracking"
152
+ msgstr ""
153
 
154
+ #: .././admin/settings.php:365
155
  msgid "Advanced Settings"
156
  msgstr ""
157
 
158
+ #: .././admin/settings.php:369
159
+ #, php-format
160
+ msgid "For more information about Tracking Options read %s."
161
+ msgstr ""
162
+
163
+ #: .././admin/settings.php:374
164
  msgid "Tracking Settings"
165
+ msgstr ""
166
 
167
+ #: .././admin/settings.php:377
 
168
  msgid "Tracking Options:"
169
+ msgstr ""
170
 
171
+ #: .././admin/settings.php:379
 
172
  msgid "Disabled"
173
+ msgstr ""
174
+
175
+ #: .././admin/settings.php:380
176
+ msgid "Enabled"
177
+ msgstr ""
178
 
179
+ #: .././admin/settings.php:388 .././admin/settings.php:911 .././admin/settings.php:933
180
+ #: .././admin/settings.php:1208 .././admin/widgets.php:72
 
 
181
  msgid "View Name:"
182
+ msgstr ""
183
 
184
+ #: .././admin/settings.php:388 .././admin/settings.php:933
 
185
  msgid "Tracking ID:"
186
+ msgstr ""
187
 
188
+ #: .././admin/settings.php:388 .././admin/settings.php:933
 
189
  msgid "Default URL:"
190
+ msgstr ""
191
 
192
+ #: .././admin/settings.php:388 .././admin/settings.php:933
 
193
  msgid "Time Zone:"
194
+ msgstr ""
195
 
196
+ #: .././admin/settings.php:393
197
  msgid "Basic Tracking"
198
  msgstr ""
199
 
200
+ #: .././admin/settings.php:396
 
201
  msgid "Tracking Type:"
202
+ msgstr ""
203
 
204
+ #: .././admin/settings.php:398
 
205
  msgid "Classic Analytics"
206
+ msgstr ""
207
 
208
+ #: .././admin/settings.php:399
 
209
  msgid "Universal Analytics"
210
+ msgstr ""
211
 
212
+ #: .././admin/settings.php:410
213
+ msgid "anonymize IPs while tracking"
214
+ msgstr ""
 
215
 
216
+ #: .././admin/settings.php:421
217
+ msgid "enable remarketing, demographics and interests reports"
218
+ msgstr ""
 
219
 
220
+ #: .././admin/settings.php:439
221
+ msgid "track downloads, mailto and outbound links"
222
+ msgstr ""
 
223
 
224
+ #: .././admin/settings.php:443
225
  msgid "Downloads Regex:"
226
  msgstr ""
227
 
228
+ #: .././admin/settings.php:454
229
+ msgid "track affiliate links matching this regex"
230
  msgstr ""
231
 
232
+ #: .././admin/settings.php:458
233
  msgid "Affiliates Regex:"
234
  msgstr ""
235
 
236
+ #: .././admin/settings.php:469
237
+ msgid "track fragment identifiers, hashmarks (#) in URI links"
238
  msgstr ""
239
 
240
+ #: .././admin/settings.php:480
241
  msgid "Authors:"
242
  msgstr ""
243
 
244
+ #: .././admin/settings.php:488
245
  msgid "Publication Year:"
246
  msgstr ""
247
 
248
+ #: .././admin/settings.php:496
249
  msgid "Categories:"
250
  msgstr ""
251
 
252
+ #: .././admin/settings.php:504
253
  msgid "User Type:"
254
  msgstr ""
255
 
256
+ #: .././admin/settings.php:516
 
257
  msgid "Advanced Tracking"
258
+ msgstr ""
259
 
260
+ #: .././admin/settings.php:519
 
261
  msgid "Page Speed SR:"
262
+ msgstr ""
263
 
264
+ #: .././admin/settings.php:530
265
+ msgid "exclude events from bounce-rate calculation"
266
  msgstr ""
267
 
268
+ #: .././admin/settings.php:541
269
+ msgid "enable enhanced link attribution"
270
+ msgstr ""
 
271
 
272
+ #: .././admin/settings.php:552
273
+ msgid "enable AdSense account linking"
274
+ msgstr ""
 
275
 
276
+ #: .././admin/settings.php:563
277
+ msgid "enable cross domain tracking"
278
  msgstr ""
279
 
280
+ #: .././admin/settings.php:567
281
  msgid "Cross Domains:"
282
  msgstr ""
283
 
284
+ #: .././admin/settings.php:578
 
285
  msgid "Exclude tracking for:"
286
+ msgstr ""
287
 
288
+ #: .././admin/settings.php:663
289
  msgid "Google Analytics Errors & Debugging"
290
  msgstr ""
291
 
292
+ #: .././admin/settings.php:673
293
  msgid "Errors & Details"
294
  msgstr ""
295
 
296
+ #: .././admin/settings.php:674
297
  msgid "Plugin Settings"
298
  msgstr ""
299
 
300
+ #: .././admin/settings.php:682
301
+ #, php-format
302
+ msgid "For errors and/or other issues please check %s and related tutorials."
 
 
 
 
 
 
 
303
  msgstr ""
304
 
305
+ #: .././admin/settings.php:687
306
  msgid "Last Error detected"
307
  msgstr ""
308
 
309
+ #: .././admin/settings.php:693 .././admin/settings.php:706
310
  msgid "None"
311
  msgstr ""
312
 
313
+ #: .././admin/settings.php:700
314
  msgid "Error Details"
315
  msgstr ""
316
 
317
+ #: .././admin/settings.php:720
 
318
  msgid "Plugin Configuration"
319
+ msgstr ""
320
 
321
+ #: .././admin/settings.php:742 .././admin/settings.php:1000
322
  msgid ""
323
+ "Loading the required libraries. If this results in a blank screen or a fatal error, try this "
324
+ "solution:"
325
+ msgstr ""
326
+
327
+ #: .././admin/settings.php:742
328
+ msgid "Library conflicts between WordPress plugins"
329
  msgstr ""
330
 
331
+ #: .././admin/settings.php:756 .././admin/settings.php:1016
 
332
  msgid "Plugin authorization succeeded."
333
+ msgstr ""
334
 
335
+ #: .././admin/settings.php:771 .././admin/settings.php:1040
336
  msgid ""
337
+ "The access code is <strong>NOT</strong> your <strong>Tracking ID</strong> (UA-XXXXX-X). Try "
338
+ "again, and use the red link to get your access code"
339
  msgstr ""
340
 
341
+ #: .././admin/settings.php:794 .././admin/settings.php:1072
 
342
  msgid "Cleared Cache."
343
+ msgstr ""
344
 
345
+ #: .././admin/settings.php:803 .././admin/settings.php:1081
 
346
  msgid "Token Reseted and Revoked."
347
+ msgstr ""
348
 
349
+ #: .././admin/settings.php:813
350
  msgid "All errors reseted."
351
  msgstr ""
352
 
353
+ #: .././admin/settings.php:826 .././admin/settings.php:1095
 
354
  msgid "All other domains/properties were removed."
355
+ msgstr ""
356
 
357
+ #: .././admin/settings.php:838 .././admin/settings.php:1107
 
358
  msgid "Google Analytics Settings"
359
+ msgstr ""
360
 
361
+ #: .././admin/settings.php:852 .././admin/settings.php:1120
362
  msgid "Use the red link (see below) to generate and get your access code!"
363
  msgstr ""
364
 
365
+ #: .././admin/settings.php:863 .././admin/settings.php:1148
 
366
  msgid "Plugin Authorization"
367
+ msgstr ""
368
 
369
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
370
+ #, php-format
371
+ msgid ""
372
+ "You should watch the %1$s and read this %2$s before proceeding to authorization. This plugin "
373
+ "requires a properly configured Google Analytics account!"
374
+ msgstr ""
375
 
376
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
377
  msgid "video"
378
+ msgstr ""
 
 
 
 
 
379
 
380
+ #: .././admin/settings.php:868 .././admin/settings.php:1152
 
381
  msgid "tutorial"
 
 
 
 
 
 
 
382
  msgstr ""
 
 
383
 
384
+ #: .././admin/settings.php:873 .././admin/settings.php:1159
385
+ msgid "use your own API Project credentials"
386
+ msgstr ""
 
387
 
388
+ #: .././admin/settings.php:877 .././admin/settings.php:1166
 
389
  msgid "API Key:"
390
+ msgstr ""
391
 
392
+ #: .././admin/settings.php:881 .././admin/settings.php:1170
 
393
  msgid "Client ID:"
394
+ msgstr ""
395
 
396
+ #: .././admin/settings.php:885 .././admin/settings.php:1174
 
397
  msgid "Client Secret:"
398
+ msgstr ""
399
 
400
+ #: .././admin/settings.php:895 .././admin/settings.php:1184
 
401
  msgid "Clear Authorization"
402
+ msgstr ""
403
 
404
+ #: .././admin/settings.php:895 .././admin/settings.php:971 .././admin/settings.php:1184
405
+ #: .././admin/settings.php:1259
 
406
  msgid "Clear Cache"
407
+ msgstr ""
408
 
409
+ #: .././admin/settings.php:895
410
  msgid "Reset Errors"
411
  msgstr ""
412
 
413
+ #: .././admin/settings.php:901 .././admin/setup.php:80 .././admin/setup.php:115
 
 
414
  msgid "General Settings"
415
+ msgstr ""
416
 
417
+ #: .././admin/settings.php:904
 
418
  msgid "Select Domain:"
419
+ msgstr ""
420
 
421
+ #: .././admin/settings.php:915 .././admin/settings.php:1212
422
  msgid "Property not found"
423
  msgstr ""
424
 
425
+ #: .././admin/settings.php:920
 
426
  msgid "and/or hide all other domains"
427
+ msgstr ""
428
 
429
+ #: .././admin/settings.php:921
 
430
  msgid "Hide Now"
431
+ msgstr ""
432
 
433
+ #: .././admin/settings.php:939
 
434
  msgid "Theme Color:"
435
+ msgstr ""
436
 
437
+ #: .././admin/settings.php:947 .././admin/settings.php:1221
438
  msgid "Automatic Updates"
439
  msgstr ""
440
 
441
+ #: .././admin/settings.php:957 .././admin/settings.php:1231
442
+ msgid "automatic updates for minor versions (security and maintenance releases only)"
 
443
  msgstr ""
444
 
445
+ #: .././admin/settings.php:971 .././admin/settings.php:1259 .././admin/widgets.php:43
 
 
446
  msgid "Authorize Plugin"
447
+ msgstr ""
448
 
449
+ #: .././admin/settings.php:1046
 
450
  msgid "Properties refreshed."
451
+ msgstr ""
452
 
453
+ #: .././admin/settings.php:1130
 
454
  msgid "Network Setup"
455
+ msgstr ""
456
 
457
+ #: .././admin/settings.php:1140
458
+ msgid "use a single Google Analytics account for the entire network"
459
+ msgstr ""
 
460
 
461
+ #: .././admin/settings.php:1184
 
462
  msgid "Refresh Properties"
463
+ msgstr ""
464
 
465
+ #: .././admin/settings.php:1190
 
466
  msgid "Properties/Views Settings"
467
+ msgstr ""
468
 
469
+ #: .././admin/settings.php:1245
470
+ msgid "exclude Super Admin tracking for the entire network"
471
  msgstr ""
472
 
473
+ #: .././admin/settings.php:1290
 
474
  msgid "Setup Tutorial & Demo"
475
+ msgstr ""
476
 
477
+ #: .././admin/settings.php:1298
 
478
  msgid "Support & Reviews"
479
+ msgstr ""
480
 
481
+ #: .././admin/settings.php:1305
482
+ #, php-format
483
+ msgid "Plugin documentation and support on %s"
484
  msgstr ""
485
 
486
+ #: .././admin/settings.php:1312
487
+ #, php-format
488
+ msgid "Your feedback and review are both important, %s!"
489
+ msgstr ""
490
 
491
+ #: .././admin/settings.php:1312
 
492
  msgid "rate this plugin"
493
+ msgstr ""
494
 
495
+ #: .././admin/settings.php:1318
 
496
  msgid "Further Reading"
497
+ msgstr ""
498
 
499
+ #: .././admin/settings.php:1325
500
+ #, php-format
501
+ msgid "%s by moving your website to HTTPS/SSL."
502
  msgstr ""
503
 
504
+ #: .././admin/settings.php:1325
505
+ msgid "Improve search rankings"
506
  msgstr ""
507
 
508
+ #: .././admin/settings.php:1332
509
+ #, php-format
510
+ msgid "Other %s written by the same author"
511
+ msgstr ""
512
 
513
+ #: .././admin/settings.php:1332
 
514
  msgid "WordPress Plugins"
515
+ msgstr ""
 
 
 
 
 
516
 
517
+ #: .././admin/settings.php:1338
518
  msgid "Other Services"
519
  msgstr ""
520
 
521
+ #: .././admin/settings.php:1345
522
+ #, php-format
523
+ msgid "Speed up your website and plug into a whole %s"
524
  msgstr ""
525
 
526
+ #: .././admin/settings.php:1345
527
  msgid "new level of site speed"
528
  msgstr ""
529
 
530
+ #: .././admin/settings.php:1352
531
+ #, php-format
532
+ msgid "%s service with users tracking at IP level."
533
+ msgstr ""
534
 
535
+ #: .././admin/settings.php:1352
536
+ msgid "Web Analytics"
537
  msgstr ""
538
 
539
+ #: .././admin/setup.php:76 .././admin/setup.php:111
 
540
  msgid "Google Analytics"
541
+ msgstr ""
542
 
543
+ #: .././admin/setup.php:84
 
544
  msgid "Backend Settings"
545
+ msgstr ""
546
 
547
+ #: .././admin/setup.php:88
 
548
  msgid "Frontend Settings"
549
+ msgstr ""
550
 
551
+ #: .././admin/setup.php:92
 
552
  msgid "Tracking Code"
553
+ msgstr ""
554
 
555
+ #: .././admin/setup.php:196 .././admin/widgets.php:128
 
556
  msgid "Today"
557
+ msgstr ""
558
 
559
+ #: .././admin/setup.php:197 .././admin/widgets.php:130
 
560
  msgid "Yesterday"
561
+ msgstr ""
562
 
563
+ #: .././admin/setup.php:198 .././admin/widgets.php:132 .././front/widgets.php:74
564
+ #: .././front/widgets.php:182
 
565
  msgid "Last 7 Days"
566
+ msgstr ""
567
 
568
+ #: .././admin/setup.php:199 .././admin/widgets.php:136 .././front/widgets.php:80
569
+ #: .././front/widgets.php:184
 
570
  msgid "Last 30 Days"
571
+ msgstr ""
572
 
573
+ #: .././admin/setup.php:200 .././admin/widgets.php:138
 
574
  msgid "Last 90 Days"
575
+ msgstr ""
576
 
577
+ #: .././admin/setup.php:203 .././admin/setup.php:219
578
  msgid "Unique Views"
579
  msgstr ""
580
 
581
+ #: .././admin/setup.php:204 .././admin/setup.php:220 .././admin/widgets.php:145
582
+ #: .././admin/widgets.php:891 .././tools/gapi.php:382
 
583
  msgid "Users"
584
  msgstr ""
585
 
586
+ #: .././admin/setup.php:205 .././admin/widgets.php:147
 
587
  msgid "Organic"
588
+ msgstr ""
589
 
590
+ #: .././admin/setup.php:206 .././admin/setup.php:221 .././admin/widgets.php:149
591
+ #: .././admin/widgets.php:895 .././tools/gapi.php:385
 
 
592
  msgid "Page Views"
593
+ msgstr ""
594
 
595
+ #: .././admin/setup.php:207 .././admin/setup.php:222 .././admin/widgets.php:151
596
+ #: .././admin/widgets.php:899 .././tools/gapi.php:388
 
 
597
  msgid "Bounce Rate"
598
+ msgstr ""
599
 
600
+ #: .././admin/setup.php:208 .././admin/widgets.php:153
601
  msgid "Location"
602
  msgstr ""
603
 
604
+ #: .././admin/setup.php:209 .././admin/widgets.php:157 .././tools/gapi.php:557
 
605
  msgid "Referrers"
606
+ msgstr ""
607
 
608
+ #: .././admin/setup.php:210 .././admin/widgets.php:159 .././tools/gapi.php:603
609
+ #: .././tools/gapi.php:913
 
610
  msgid "Searches"
611
+ msgstr ""
612
 
613
+ #: .././admin/setup.php:211 .././admin/widgets.php:161
 
614
  msgid "Traffic Details"
615
+ msgstr ""
616
 
617
+ #: .././admin/setup.php:214 .././admin/widgets.php:527 .././admin/widgets.php:623
618
+ #: .././admin/widgets.php:821 .././admin/widgets.php:933 .././front/item-reports.php:87
 
619
  msgid "A JavaScript Error is blocking plugin resources!"
620
  msgstr ""
621
 
622
+ #: .././admin/setup.php:215 .././admin/widgets.php:729
 
623
  msgid "Traffic Mediums"
624
+ msgstr ""
625
 
626
+ #: .././admin/setup.php:216 .././admin/widgets.php:745
627
  msgid "Visitor Type"
628
  msgstr ""
629
 
630
+ #: .././admin/setup.php:217 .././admin/widgets.php:761
631
  msgid "Social Networks"
632
  msgstr ""
633
 
634
+ #: .././admin/setup.php:218 .././admin/widgets.php:777
635
  msgid "Search Engines"
636
  msgstr ""
637
 
638
+ #: .././admin/setup.php:223 .././admin/widgets.php:903
 
639
  msgid "Organic Search"
640
+ msgstr ""
641
 
642
+ #: .././admin/setup.php:224 .././admin/widgets.php:907
643
  msgid "Pages/Session"
644
  msgstr ""
645
 
646
+ #: .././admin/setup.php:225 .././admin/widgets.php:540 .././admin/widgets.php:558
647
+ #: .././admin/widgets.php:636 .././admin/widgets.php:654 .././admin/widgets.php:673
648
+ #: .././admin/widgets.php:692 .././admin/widgets.php:712 .././admin/widgets.php:835
649
+ #: .././admin/widgets.php:946 .././admin/widgets.php:965 .././front/item-reports.php:99
650
+ #: .././front/item-reports.php:118
 
 
651
  msgid "Invalid response, more details in JavaScript Console (F12)."
652
  msgstr ""
653
 
654
+ #: .././admin/setup.php:226
655
  msgid "Not enough data collected"
656
  msgstr ""
657
 
658
+ #: .././admin/setup.php:227 .././admin/widgets.php:545 .././admin/widgets.php:563
659
+ #: .././admin/widgets.php:641 .././admin/widgets.php:659 .././admin/widgets.php:678
660
+ #: .././admin/widgets.php:697 .././admin/widgets.php:717 .././admin/widgets.php:840
661
+ #: .././admin/widgets.php:843 .././admin/widgets.php:951 .././admin/widgets.php:970
662
+ #: .././front/item-reports.php:104 .././front/item-reports.php:123 .././front/widgets.php:110
 
 
 
663
  msgid "This report is unavailable"
664
  msgstr ""
665
 
666
+ #: .././admin/setup.php:228
667
  msgid "report generated by"
668
  msgstr ""
669
 
670
+ #: .././admin/setup.php:268
 
671
  msgid "Settings"
672
+ msgstr ""
673
 
674
+ #: .././admin/widgets.php:33 .././front/widgets.php:22
 
675
  msgid "Google Analytics Dashboard"
676
+ msgstr ""
677
 
678
+ #: .././admin/widgets.php:43
 
679
  msgid "This plugin needs an authorization:"
680
+ msgstr ""
681
 
682
+ #: .././admin/widgets.php:77
 
683
  msgid "Something went wrong while retrieving profiles list."
684
+ msgstr ""
685
 
686
+ #: .././admin/widgets.php:77
 
687
  msgid "More details"
688
+ msgstr ""
689
 
690
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
 
691
  msgid "An admin should asign a default Google Analytics Profile."
692
+ msgstr ""
693
 
694
+ #: .././admin/widgets.php:90 .././admin/widgets.php:101
 
695
  msgid "Select Domain"
696
+ msgstr ""
697
 
698
+ #: .././admin/widgets.php:106
 
699
  msgid ""
700
+ "Something went wrong while retrieving property data. You need to create and properly configure a "
701
+ "Google Analytics account:"
702
  msgstr ""
 
 
703
 
704
+ #: .././admin/widgets.php:106
 
705
  msgid "Find out more!"
706
+ msgstr ""
707
 
708
+ #: .././admin/widgets.php:127
 
709
  msgid "Real-Time"
710
+ msgstr ""
711
 
712
+ #: .././admin/widgets.php:134 .././front/widgets.php:77 .././front/widgets.php:183
 
 
713
  msgid "Last 14 Days"
714
+ msgstr ""
715
 
716
+ #: .././admin/widgets.php:144 .././admin/widgets.php:887 .././front/widgets.php:46
717
+ #: .././tools/gapi.php:397 .././tools/gapi.php:558 .././tools/gapi.php:604 .././tools/gapi.php:667
718
+ #: .././tools/gapi.php:777 .././tools/gapi.php:818 .././tools/gapi.php:914
 
719
  msgid "Sessions"
720
  msgstr ""
721
 
722
+ #: .././admin/widgets.php:155 .././tools/gapi.php:512
 
723
  msgid "Pages"
724
+ msgstr ""
725
 
726
+ #: .././admin/widgets.php:249 .././admin/widgets.php:489
 
727
  msgid "REFERRAL"
728
+ msgstr ""
729
 
730
+ #: .././admin/widgets.php:253 .././admin/widgets.php:490
 
731
  msgid "ORGANIC"
732
+ msgstr ""
733
 
734
+ #: .././admin/widgets.php:257 .././admin/widgets.php:377 .././admin/widgets.php:491
 
 
735
  msgid "SOCIAL"
736
+ msgstr ""
737
 
738
+ #: .././admin/widgets.php:261 .././admin/widgets.php:380 .././admin/widgets.php:492
 
739
  msgid "CAMPAIGN"
740
  msgstr ""
741
 
742
+ #: .././admin/widgets.php:265 .././admin/widgets.php:383 .././admin/widgets.php:495
 
 
743
  msgid "DIRECT"
744
+ msgstr ""
745
 
746
+ #: .././admin/widgets.php:269 .././admin/widgets.php:496
 
747
  msgid "NEW"
748
+ msgstr ""
749
 
750
+ #: .././admin/widgets.php:371
 
751
  msgid "REFERRALS"
752
+ msgstr ""
753
 
754
+ #: .././admin/widgets.php:374
 
755
  msgid "KEYWORDS"
756
+ msgstr ""
757
 
758
+ #: .././front/item-reports.php:133
 
759
  msgid "Views vs UniqueViews"
760
+ msgstr ""
761
 
762
+ #: .././front/item-reports.php:183
763
  msgid "Google Analytics Reports"
764
  msgstr ""
765
 
766
+ #: .././front/widgets.php:23
 
767
  msgid "Will display your google analytics stats in a widget"
768
+ msgstr ""
769
 
770
+ #: .././front/widgets.php:46 .././tools/gapi.php:818
 
771
  msgid "trend"
772
+ msgstr ""
773
 
774
+ #: .././front/widgets.php:133
 
775
  msgid "Period:"
776
+ msgstr ""
777
 
778
+ #: .././front/widgets.php:133
779
  msgid "Sessions:"
780
  msgstr ""
781
 
782
+ #: .././front/widgets.php:137
 
783
  msgid "generated by"
784
+ msgstr ""
785
 
786
+ #: .././front/widgets.php:147
 
787
  msgid "Google Analytics Stats"
788
+ msgstr ""
789
 
790
+ #: .././front/widgets.php:154
 
791
  msgid "Title:"
792
+ msgstr ""
793
 
794
+ #: .././front/widgets.php:161
 
795
  msgid "Display:"
796
+ msgstr ""
797
 
798
+ #: .././front/widgets.php:165
 
799
  msgid "Chart & Totals"
800
+ msgstr ""
801
 
802
+ #: .././front/widgets.php:166
 
803
  msgid "Chart"
804
+ msgstr ""
805
 
806
+ #: .././front/widgets.php:167
 
807
  msgid "Totals"
808
+ msgstr ""
809
 
810
+ #: .././front/widgets.php:171
811
  msgid "Anonymize stats:"
812
  msgstr ""
813
 
814
+ #: .././front/widgets.php:178
 
815
  msgid "Stats for:"
816
+ msgstr ""
817
 
818
+ #: .././front/widgets.php:188
 
819
  msgid "Give credits:"
820
+ msgstr ""
821
 
822
+ #: .././gadwp.php:46 .././gadwp.php:55 .././gadwp.php:63
823
+ msgid "This is not allowed, read the documentation!"
824
+ msgstr ""
825
+
826
+ #: .././tools/gapi.php:141
827
  msgid "Use this link to get your access code:"
828
+ msgstr ""
829
 
830
+ #: .././tools/gapi.php:141
 
831
  msgid "Get Access Code"
832
+ msgstr ""
833
 
834
+ #: .././tools/gapi.php:146 .././tools/gapi.php:150
835
  msgid "Use the red link to get your access code!"
836
  msgstr ""
837
 
838
+ #: .././tools/gapi.php:146
 
839
  msgid "Access Code:"
840
+ msgstr ""
841
 
842
+ #: .././tools/gapi.php:158
 
843
  msgid "Save Access Code"
844
+ msgstr ""
845
 
846
+ #: .././tools/gapi.php:391
 
847
  msgid "Organic Searches"
848
+ msgstr ""
849
 
850
+ #: .././tools/gapi.php:394
851
  msgid "Unique Page Views"
852
  msgstr ""
853
 
854
+ #: .././tools/gapi.php:402
 
855
  msgid "Hour"
856
+ msgstr ""
857
 
858
+ #: .././tools/gapi.php:405 .././tools/gapi.php:817 .././tools/gapi.php:869
 
859
  msgid "Date"
860
+ msgstr ""
861
 
862
+ #: .././tools/gapi.php:513 .././tools/gapi.php:870
 
863
  msgid "Views"
864
+ msgstr ""
865
 
866
+ #: .././tools/gapi.php:631
867
  msgid "Countries"
868
  msgstr ""
869
 
870
+ #: .././tools/gapi.php:641
871
  msgid "Cities from"
872
  msgstr ""
873
 
874
+ #: .././tools/gapi.php:713
875
  msgid "Channels"
876
  msgstr ""
877
 
878
+ #: .././tools/gapi.php:776
 
879
  msgid "Type"
880
+ msgstr ""
881
 
882
+ #: .././tools/gapi.php:871
 
883
  msgid "UniqueViews"
884
+ msgstr ""
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://deconf.com/donate/
4
  Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
5
  Requires at least: 3.5
6
  Tested up to: 4.2
7
- Stable tag: 4.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -118,7 +118,7 @@ A dedicated section for WordPress Plugins is available here: [Wordpress Plugins
118
 
119
  1. Google Analytics Dashboard Blue Color
120
  2. Google Analytics Dashboard Real-Time
121
- 3. Google Analytics Dashboard Settings
122
  4. Google Analytics Dashboard Geo Map
123
  5. Google Analytics Dashboard Top Pages, Top Referrers and Top Searches
124
  6. Google Analytics Dashboard Traffic Overview
@@ -132,9 +132,25 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  = 4.5.1 =
136
- - Bug Fix: analytics icons get added to all custom columns
137
- - Bug Fix: unable to switch tabs in plugin options for some languages
138
 
139
  = 4.5 =
140
  - Requirements: WordPress 3.5 and above
@@ -144,10 +160,10 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
144
  - Enhancement: reports per page in Page List (new feature)
145
  - Enhancement: gadwp_backenditem_uri allows URI corrections for backend item reports
146
  - Enhancement: option to enable/disable the custom dashboard widget
147
- - Enhancement: Japanese translation, translated by [塀シスター](https://plus.google.com/u/0/+tk072110)
148
  - Enhancement: Dutch translation, translated by [Willem-Jan Meerkerk](https://github.com/WillemJann)
149
  - Enhancement: Portuguese (Brazil) translation, updated by [Treed Box](http://treedbox.com.br/)
150
- - Enhancement: UI improvements props by [Paal Joachim Romdahl](https://github.com/paaljoachim)
151
  - Bug Fix: Arabic translation not loading properly
152
  - Bug Fix: initialize time-shift for all API calls
153
  - Bug Fix: include GAPI only when a API call is made
@@ -261,7 +277,7 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
261
  - Enhancement: better escaping to avoid javascript errors
262
 
263
  = 4.3.7 =
264
- - Enhancement: option to exclude Super Administrator tracking for the entire network, suggested by [Marie](https://wordpress.org/support/profile/yamaryam)
265
  - Bug Fix: warning during Network Activate, reported by [JoelStickney](https://wordpress.org/support/profile/joelstickney)
266
  - Bug Fix: track affiliates while downloads, mailto and outbound links tracking is disabled
267
  - Bug Fix: avoid reload loops for realtime component
@@ -279,7 +295,7 @@ This plugin it's released under the GPLv2, you can use it free of charge on your
279
  - Bug Fix: fixed unicode issue, reported by [Haruka_Suzuki](https://wordpress.org/support/profile/haruka_suzuki)
280
  - Bug Fix: properly display cities with same name from different regions, reported by [matt6303](https://wordpress.org/support/profile/matt6303)
281
  - Enhancement: removed image extensions from default download filter
282
- - Enhancement: add day of week to dashboard dates, suggested by [nethrs](https://deconf.com/ask/author/timnethers/)
283
  - Enhancement: Arabic translation, translated by [Ahmed Majed](https://deconf.com/ask/author/almobdaa/)
284
  - Bug Fix: multiple fixes for real time reports
285
 
4
  Tags: google,analytics,google analytics,dashboard,analytics dashboard,google analytics dashboard,google analytics widget,tracking,realtime,wpmu,multisite
5
  Requires at least: 3.5
6
  Tested up to: 4.2
7
+ Stable tag: 4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
118
 
119
  1. Google Analytics Dashboard Blue Color
120
  2. Google Analytics Dashboard Real-Time
121
+ 3. Google Analytics Dashboard reports per Posts/Pages
122
  4. Google Analytics Dashboard Geo Map
123
  5. Google Analytics Dashboard Top Pages, Top Referrers and Top Searches
124
  6. Google Analytics Dashboard Traffic Overview
132
 
133
  == Changelog ==
134
 
135
+ = 4.6 =
136
+ - Enhancement: Italian translation, updated by [Leo](https://www.facebook.com/leo.thestrategist)
137
+ - Enhancement: Japanese translation, updated by [Hinaloe](https://github.com/hinaloe)
138
+ - Enhancement: Portuguese (Brazil) translation, updated by [Treed Box](http://treedbox.com.br/)
139
+ - Enhancement: introducing a manager class to keep track of all instances and their references
140
+ - Enhancement: push the tracking code at the end of head section, props by [Caleb Evans](https://github.com/caleb531)
141
+ - Enhancement: better support for remove_action and wp_dequeue_script
142
+ - Enhancement: Ajax calls optimization
143
+ - Bug Fix: loading bar issues while not all frontend features are enabled
144
+ - Bug Fix: in-existent script enqueued in frontend component, reported by [mmokrejs](https://wordpress.org/support/profile/mmokrejs)
145
+ - Bug Fix: i18n improvements, committed by [Hinaloe](https://github.com/hinaloe)
146
+ - Bug Fix: PHP notice when using bbPress, reported by [sheridencharles](https://wordpress.org/support/profile/sheridencharles)
147
+ - Bug Fix: inexistent script enqueued in frontend component, reported by [mmokrejs](https://wordpress.org/support/profile/mmokrejs)
148
+ - Bug Fix: improved URI detection in Pages and Posts backend reports
149
+ - Bug Fix: color picker and settings page tabs not working when per posts/pages reports are disabled
150
+
151
  = 4.5.1 =
152
+ - Bug Fix: analytics icons get added to all custom columns, reported by [FTRINITE](https://wordpress.org/support/profile/ftrinite)
153
+ - Bug Fix: unable to switch tabs in plugin options for some languages, reported by [Hinaloe](https://github.com/hinaloe)
154
 
155
  = 4.5 =
156
  - Requirements: WordPress 3.5 and above
160
  - Enhancement: reports per page in Page List (new feature)
161
  - Enhancement: gadwp_backenditem_uri allows URI corrections for backend item reports
162
  - Enhancement: option to enable/disable the custom dashboard widget
163
+ - Enhancement: Japanese translation, translated by [tk072110](https://plus.google.com/u/0/+tk072110)
164
  - Enhancement: Dutch translation, translated by [Willem-Jan Meerkerk](https://github.com/WillemJann)
165
  - Enhancement: Portuguese (Brazil) translation, updated by [Treed Box](http://treedbox.com.br/)
166
+ - Enhancement: UI improvements, props by [Paal Joachim Romdahl](https://github.com/paaljoachim)
167
  - Bug Fix: Arabic translation not loading properly
168
  - Bug Fix: initialize time-shift for all API calls
169
  - Bug Fix: include GAPI only when a API call is made
277
  - Enhancement: better escaping to avoid javascript errors
278
 
279
  = 4.3.7 =
280
+ - Enhancement: option to exclude Super Administrator tracking for the entire network, props by [Marie](https://wordpress.org/support/profile/yamaryam)
281
  - Bug Fix: warning during Network Activate, reported by [JoelStickney](https://wordpress.org/support/profile/joelstickney)
282
  - Bug Fix: track affiliates while downloads, mailto and outbound links tracking is disabled
283
  - Bug Fix: avoid reload loops for realtime component
295
  - Bug Fix: fixed unicode issue, reported by [Haruka_Suzuki](https://wordpress.org/support/profile/haruka_suzuki)
296
  - Bug Fix: properly display cities with same name from different regions, reported by [matt6303](https://wordpress.org/support/profile/matt6303)
297
  - Enhancement: removed image extensions from default download filter
298
+ - Enhancement: add day of week to dashboard dates, props by [nethrs](https://deconf.com/ask/author/timnethers/)
299
  - Enhancement: Arabic translation, translated by [Ahmed Majed](https://deconf.com/ask/author/almobdaa/)
300
  - Bug Fix: multiple fixes for real time reports
301
 
tools/autoload.php CHANGED
@@ -15,19 +15,24 @@
15
  * See the License for the specific language governing permissions and
16
  * limitations under the License.
17
  */
 
 
 
 
 
18
  function google_api_php_client_autoload_gadwp($className)
19
  {
20
- $classPath = explode('_', $className);
21
- if ($classPath[0] != 'Google') {
22
- return;
23
- }
24
- if (count($classPath) > 3) {
25
- // Maximum class file path depth in this project is 3.
26
- $classPath = array_slice($classPath, 0, 3);
27
- }
28
- $filePath = dirname(__FILE__) . '/src/' . implode('/', $classPath) . '.php';
29
- if (file_exists($filePath)) {
30
- require_once ($filePath);
31
- }
32
  }
33
  spl_autoload_register('google_api_php_client_autoload_gadwp');
15
  * See the License for the specific language governing permissions and
16
  * limitations under the License.
17
  */
18
+
19
+ // Exit if accessed directly
20
+ if (! defined('ABSPATH'))
21
+ exit();
22
+
23
  function google_api_php_client_autoload_gadwp($className)
24
  {
25
+ $classPath = explode('_', $className);
26
+ if ($classPath[0] != 'Google') {
27
+ return;
28
+ }
29
+ if (count($classPath) > 3) {
30
+ // Maximum class file path depth in this project is 3.
31
+ $classPath = array_slice($classPath, 0, 3);
32
+ }
33
+ $filePath = dirname(__FILE__) . '/src/' . implode('/', $classPath) . '.php';
34
+ if (file_exists($filePath)) {
35
+ require_once ($filePath);
36
+ }
37
  }
38
  spl_autoload_register('google_api_php_client_autoload_gadwp');
tools/gapi.php CHANGED
@@ -5,120 +5,133 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
- if (! class_exists('GADASH_GAPI')) {
9
 
10
- final class GADASH_GAPI
11
- {
12
- public $client, $service;
13
- public $timeshift;
14
- public $error_timeout;
15
- private $managequota;
16
 
17
- function __construct()
 
 
18
  {
19
- global $GADASH_Config;
20
- include_once ($GADASH_Config->plugin_path . '/tools/autoload.php');
21
- ;
22
- $config = new Google_Config();
23
- $config->setCacheClass('Google_Cache_Null');
24
- if (function_exists('curl_version')) {
25
- $curlversion = curl_version();
26
- if (isset($curlversion['version']) and (version_compare(PHP_VERSION, '5.3.0') >= 0) and version_compare($curlversion['version'], '7.10.8') >= 0 and defined('GADWP_IP_VERSION') and GADWP_IP_VERSION) {
27
- $config->setClassConfig('Google_IO_Curl', array(
28
- 'options' => array(
29
- CURLOPT_IPRESOLVE => GADWP_IP_VERSION
30
- )
31
- )); // Force CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6
32
- }
33
- }
34
- $this->client = new Google_Client($config);
35
- $this->client->setScopes('https://www.googleapis.com/auth/analytics.readonly');
36
- $this->client->setAccessType('offline');
37
- $this->client->setApplicationName('Google Analytics Dashboard');
38
- $this->client->setRedirectUri('urn:ietf:wg:oauth:2.0:oob');
39
- $this->set_error_timeout();
40
- $this->managequota = 'u' . get_current_user_id() . 's' . get_current_blog_id();
41
- if ($GADASH_Config->options['ga_dash_userapi']) {
42
- $this->client->setClientId($GADASH_Config->options['ga_dash_clientid']);
43
- $this->client->setClientSecret($GADASH_Config->options['ga_dash_clientsecret']);
44
- $this->client->setDeveloperKey($GADASH_Config->options['ga_dash_apikey']);
45
- } else {
46
- $this->client->setClientId($GADASH_Config->access[0]);
47
- $this->client->setClientSecret($GADASH_Config->access[1]);
48
- $this->client->setDeveloperKey($GADASH_Config->access[2]);
49
- }
50
- $this->service = new Google_Service_Analytics($this->client);
51
- if ($GADASH_Config->options['ga_dash_token']) {
52
- $token = $GADASH_Config->options['ga_dash_token'];
53
- $token = $this->refresh_token();
54
- if ($token) {
55
- $this->client->setAccessToken($token);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  }
57
- }
58
- }
59
 
60
- private function set_error_timeout()
61
- {
62
- $midnight = strtotime("tomorrow 00:00:00"); // UTC midnight
63
- $midnight = $midnight + 8 * 3600; // UTC 8 AM
64
- $this->error_timeout = $midnight - time();
65
- return;
66
- }
67
 
68
- private function prepare_json($value)
69
- {
70
- return esc_html(str_replace('\\', '&#92;', stripslashes($value)));
71
- }
72
 
73
- /**
74
- * Handles errors returned by GAPI and allows exponential backoff
75
- *
76
- * @return boolean
77
- */
78
- function gapi_errors_handler()
79
- {
80
- $errors = get_transient('ga_dash_gapi_errors');
81
- if ($errors === false or ! isset($errors[0])) { // invalid error
82
- return FALSE;
83
- }
84
- if (isset($errors[1][0]['reason']) and ($errors[1][0]['reason'] == 'invalidCredentials' or $errors[1][0]['reason'] == 'authError' or $errors[1][0]['reason'] == 'insufficientPermissions' or $errors[1][0]['reason'] == 'required' or $errors[1][0]['reason'] == 'keyExpired')) {
85
- $this->reset_token(false);
86
- return TRUE;
87
- }
88
- if (isset($errors[1][0]['reason']) and ($errors[1][0]['reason'] == 'userRateLimitExceeded' or $errors[1][0]['reason'] == 'quotaExceeded')) { // allow retry
89
- return FALSE;
90
- }
91
- if ($errors[0] == 400 or $errors[0] == 401 or $errors[0] == 403) {
92
- return TRUE;
93
- }
94
- return FALSE;
95
- }
96
 
97
- /**
98
- * Calculates proper timeouts for each GAPI query
99
- *
100
- * @param
101
- * $daily
102
- * @return number
103
- */
104
- function get_timeouts($daily)
105
- {
106
- $local_time = time() + $this->timeshift;
107
- if ($daily) {
108
- $nextday = explode('-', date('n-j-Y', strtotime(' +1 day', $local_time)));
109
- $midnight = mktime(0, 0, 0, $nextday[0], $nextday[1], $nextday[2]);
110
- return $midnight - $local_time;
111
- } else {
112
- $nexthour = explode('-', date('H-n-j-Y', strtotime(' +1 hour', $local_time)));
113
- $newhour = mktime($nexthour[0], 0, 0, $nexthour[1], $nexthour[2], $nexthour[3]);
114
- return $newhour - $local_time;
115
- }
116
- }
117
 
118
- function token_request()
119
- {
120
- $authUrl = $this->client->createAuthUrl();
121
- ?>
122
  <form name="input"
123
  action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>" method="post">
124
 
@@ -147,865 +160,858 @@ if (! class_exists('GADASH_GAPI')) {
147
  </table>
148
  </form>
149
  <?php
150
- }
151
-
152
- /**
153
- * Retrives all Google Analytics Views with details
154
- *
155
- * @return array|string
156
- */
157
- function refresh_profiles()
158
- {
159
- global $GADASH_Config;
160
- try {
161
- $profiles = $this->service->management_profiles->listManagementProfiles('~all', '~all');
162
- $items = $profiles->getItems();
163
- if (count($items) != 0) {
164
- $ga_dash_profile_list = array();
165
- foreach ($items as $profile) {
166
- $timetz = new DateTimeZone($profile->getTimezone());
167
- $localtime = new DateTime('now', $timetz);
168
- $timeshift = strtotime($localtime->format('Y-m-d H:i:s')) - time();
169
- $ga_dash_profile_list[] = array(
170
- $profile->getName(),
171
- $profile->getId(),
172
- $profile->getwebPropertyId(),
173
- $profile->getwebsiteUrl(),
174
- $timeshift,
175
- $profile->getTimezone()
176
- );
177
- }
178
- set_transient('ga_dash_lasterror', 'None');
179
- return $ga_dash_profile_list;
180
- } else {
181
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': No properties were found in this account!', $this->error_timeout);
182
- return '';
183
  }
184
- } catch (Google_IO_Exception $e) {
185
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
186
- return '';
187
- } catch (Google_Service_Exception $e) {
188
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
189
- set_transient('ga_dash_gapi_errors', array(
190
- $e->getCode(),
191
- (array) $e->getErrors()
192
- ), $this->error_timeout);
193
- } catch (Exception $e) {
194
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
195
- return '';
196
- }
197
- }
198
 
199
- /**
200
- * Handles the token refresh process
201
- *
202
- * @return token|boolean
203
- */
204
- private function refresh_token()
205
- {
206
- global $GADASH_Config;
207
- try {
208
- if (is_multisite() && $GADASH_Config->options['ga_dash_network']) {
209
- $transient = get_site_transient("ga_dash_refresh_token");
210
- } else {
211
- $transient = get_transient("ga_dash_refresh_token");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  }
213
- if ($transient === false) {
214
- if (! $GADASH_Config->options['ga_dash_refresh_token']) {
215
- $google_token = json_decode($GADASH_Config->options['ga_dash_token']);
216
- $GADASH_Config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
217
- $this->client->refreshToken($google_token->refresh_token);
218
- } else {
219
- $this->client->refreshToken($GADASH_Config->options['ga_dash_refresh_token']);
220
- }
221
- $token = $this->client->getAccessToken();
222
- $google_token = json_decode($token);
223
- $GADASH_Config->options['ga_dash_token'] = $token;
224
- if (is_multisite() && $GADASH_Config->options['ga_dash_network']) {
225
- set_site_transient("ga_dash_refresh_token", $token, $google_token->expires_in);
226
- $GADASH_Config->set_plugin_options(true);
227
- } else {
228
- set_transient("ga_dash_refresh_token", $token, $google_token->expires_in);
229
- $GADASH_Config->set_plugin_options();
230
- }
231
- return $token;
232
- } else {
233
- return $transient;
234
- }
235
- } catch (Google_IO_Exception $e) {
236
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
237
- return false;
238
- } catch (Google_Service_Exception $e) {
239
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
240
- set_transient('ga_dash_gapi_errors', array(
241
- $e->getCode(),
242
- (array) $e->getErrors()
243
- ), $this->error_timeout);
244
- return $e->getCode();
245
- } catch (Exception $e) {
246
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
247
- return false;
248
- }
249
- }
250
 
251
- /**
252
- * Handles the token reset process
253
- *
254
- * @param
255
- * $all
256
- */
257
- function reset_token($all = true)
258
- {
259
- global $GADASH_Config;
260
- if (is_multisite() && $GADASH_Config->options['ga_dash_network']) {
261
- delete_site_transient('ga_dash_refresh_token');
262
- } else {
263
- delete_transient('ga_dash_refresh_token');
264
- }
265
- $GADASH_Config->options['ga_dash_token'] = "";
266
- $GADASH_Config->options['ga_dash_refresh_token'] = "";
267
- if ($all) {
268
- $GADASH_Config->options['ga_dash_tableid'] = "";
269
- $GADASH_Config->options['ga_dash_tableid_jail'] = "";
270
- $GADASH_Config->options['ga_dash_profile_list'] = "";
271
- try {
272
- $this->client->revokeToken();
273
- } catch (Exception $e) {
274
- if (is_multisite() && $GADASH_Config->options['ga_dash_network']) {
275
- $GADASH_Config->set_plugin_options(true);
276
- } else {
277
- $GADASH_Config->set_plugin_options();
278
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  }
280
- }
281
- if (is_multisite() && $GADASH_Config->options['ga_dash_network']) {
282
- $GADASH_Config->set_plugin_options(true);
283
- } else {
284
- $GADASH_Config->set_plugin_options();
285
- }
286
- }
287
 
288
- /**
289
- * Get and cache Core Reports
290
- *
291
- * @todo implement retries with exponential backoff
292
- *
293
- * @param
294
- * $projecId
295
- * @param
296
- * $from
297
- * @param
298
- * $to
299
- * @param
300
- * $metrics
301
- * @param
302
- * $options
303
- * @param
304
- * $serial
305
- * @return int|Google_Service_Analytics_GaData
306
- */
307
- private function handle_corereports($projectId, $from, $to, $metrics, $options, $serial)
308
- {
309
- try {
310
- if ($from == "today") {
311
- $timeouts = 0;
312
- } else {
313
- $timeouts = 1;
314
- }
315
- $transient = get_transient($serial);
316
- if ($transient === false) {
317
- if ($this->gapi_errors_handler()) {
318
- return - 23;
319
- }
320
- $data = $this->service->data_ga->get('ga:' . $projectId, $from, $to, $metrics, $options);
321
- set_transient($serial, $data, $this->get_timeouts($timeouts));
322
- } else {
323
- $data = $transient;
324
  }
325
- } catch (Google_Service_Exception $e) {
326
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
327
- set_transient('ga_dash_gapi_errors', array(
328
- $e->getCode(),
329
- (array) $e->getErrors()
330
- ), $this->error_timeout);
331
- return $e->getCode();
332
- } catch (Exception $e) {
333
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
334
- return $e->getCode();
335
- }
336
- if ($data->getRows() > 0) {
337
- return $data;
338
- } else {
339
- return - 21;
340
- }
341
- }
342
 
343
- /**
344
- * Generates serials for transients
345
- *
346
- * @param
347
- * $serial
348
- * @return string
349
- */
350
- function get_serial($serial)
351
- {
352
- return sprintf("%u", crc32($serial));
353
- }
354
-
355
- /**
356
- * Analytics data for backend reports (Admin Widget main report)
357
- *
358
- * @param
359
- * $projectId
360
- * @param
361
- * $from
362
- * @param
363
- * $to
364
- * @param
365
- * $query
366
- * @return array|int
367
- */
368
- function get_mainreport($projectId, $from, $to, $query, $filter = '')
369
- {
370
- switch ($query) {
371
- case 'users':
372
- $title = __("Users", 'ga-dash');
373
- break;
374
- case 'pageviews':
375
- $title = __("Page Views", 'ga-dash');
376
- break;
377
- case 'visitBounceRate':
378
- $title = __("Bounce Rate", 'ga-dash');
379
- break;
380
- case 'organicSearches':
381
- $title = __("Organic Searches", 'ga-dash');
382
- break;
383
- case 'uniquePageviews':
384
- $title = __("Unique Page Views", 'ga-dash');
385
- break;
386
- default:
387
- $title = __("Sessions", 'ga-dash');
388
- }
389
- $metrics = 'ga:' . $query;
390
- if ($from == "today" or $from == "yesterday") {
391
- $dimensions = 'ga:hour';
392
- $dayorhour = __("Hour", 'ga-dash');
393
- } else {
394
- $dimensions = 'ga:date,ga:dayOfWeekName';
395
- $dayorhour = __("Date", 'ga-dash');
396
- }
397
- $options = array(
398
- 'dimensions' => $dimensions,
399
- 'quotaUser' => $this->managequota . 'p' . $projectId
400
- );
401
- if ($filter) {
402
- $options['filters'] = 'ga:pagePath==' . $filter;
403
- }
404
- $serial = 'gadash_qr2_' . $this->get_serial($projectId . $from . $metrics . $filter);
405
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
406
- if (is_numeric($data)) {
407
- return $data;
408
- }
409
- $ga_dash_data = array(
410
- array(
411
- $dayorhour,
412
- $title
413
- )
414
- );
415
- if ($from == "today" or $from == "yesterday") {
416
- foreach ($data->getRows() as $row) {
417
- $ga_dash_data[] = array(
418
- (int) $row[0] . ':00',
419
- round($row[1], 2)
420
- );
421
- }
422
- } else {
423
- foreach ($data->getRows() as $row) {
424
- $ga_dash_data[] = array(
425
- esc_html(ucfirst(__($row[1]))) . ',' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
426
- round($row[2], 2)
427
- );
428
  }
429
- }
430
- return $ga_dash_data;
431
- }
432
 
433
- /**
434
- * Analytics data for backend reports (bottom stats main report)
435
- *
436
- * @param
437
- * $projectId
438
- * @param
439
- * $from
440
- * @param
441
- * $to
442
- * @return array|int
443
- */
444
- function get_bottomstats($projectId, $from, $to, $filter = '')
445
- {
446
- $options = array(
447
- 'dimensions' => NULL,
448
- 'quotaUser' => $this->managequota . 'p' . $projectId
449
- );
450
- if ($filter) {
451
- $options['filters'] = 'ga:pagePath==' . $filter;
452
- $metrics = 'ga:uniquePageviews,ga:users,ga:pageviews,ga:BounceRate,ga:organicSearches,ga:pageviewsPerSession';
453
- } else {
454
- $metrics = 'ga:sessions,ga:users,ga:pageviews,ga:BounceRate,ga:organicSearches,ga:pageviewsPerSession';
455
- }
456
- $serial = 'gadash_qr3_' . $this->get_serial($projectId . $from . $filter);
457
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
458
- if (is_numeric($data)) {
459
- if ($data == - 21) {
460
- return array_fill(0, 6, 0);
461
- } else {
462
- return $data;
463
  }
464
- }
465
- $ga_dash_data = array();
466
- foreach ($data->getRows() as $row) {
467
- $ga_dash_data = array_map('floatval', $row);
468
- }
469
- return $ga_dash_data;
470
- }
471
-
472
- /**
473
- * Analytics data for backend reports (contentpages)
474
- *
475
- * @param
476
- * $projectId
477
- * @param
478
- * $from
479
- * @param
480
- * $to
481
- * @return array|int
482
- */
483
- function get_contentpages($projectId, $from, $to, $filter = '')
484
- {
485
- $metrics = 'ga:pageviews';
486
- $dimensions = 'ga:pageTitle';
487
- $options = array(
488
- 'dimensions' => $dimensions,
489
- 'sort' => '-ga:pageviews',
490
- 'quotaUser' => $this->managequota . 'p' . $projectId
491
- );
492
- if ($filter) {
493
- $options['filters'] = 'ga:pagePath==' . $filter;
494
- }
495
- $serial = 'gadash_qr4_' . $this->get_serial($projectId . $from . $filter);
496
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
497
- if (is_numeric($data)) {
498
- return $data;
499
- }
500
- $ga_dash_data = array(
501
- array(
502
- __("Pages", 'ga-dash'),
503
- __("Views", 'ga-dash')
504
- )
505
- );
506
- foreach ($data->getRows() as $row) {
507
- $ga_dash_data[] = array(
508
- $this->prepare_json($row[0]),
509
- (int) $row[1]
510
- );
511
- }
512
- return $ga_dash_data;
513
- }
514
-
515
- /**
516
- * Analytics data for backend reports (referrers)
517
- *
518
- * @param
519
- * $projectId
520
- * @param
521
- * $from
522
- * @param
523
- * $to
524
- * @return array|int
525
- */
526
- function get_referrers($projectId, $from, $to, $filter = '')
527
- {
528
- $metrics = 'ga:sessions';
529
- $dimensions = 'ga:source';
530
- $options = array(
531
- 'dimensions' => $dimensions,
532
- 'sort' => '-ga:sessions',
533
- 'quotaUser' => $this->managequota . 'p' . $projectId
534
- );
535
- if ($filter) {
536
- $options['filters'] = 'ga:medium==referral;ga:pagePath==' . $filter;
537
- } else {
538
- $options['filters'] = 'ga:medium==referral';
539
- }
540
- $serial = 'gadash_qr5_' . $this->get_serial($projectId . $from . $filter);
541
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
542
- if (is_numeric($data)) {
543
- return $data;
544
- }
545
- $ga_dash_data = array(
546
- array(
547
- __("Referrers", 'ga-dash'),
548
- __("Sessions", 'ga-dash')
549
- )
550
- );
551
- foreach ($data->getRows() as $row) {
552
- $ga_dash_data[] = array(
553
- $this->prepare_json($row[0]),
554
- (int) $row[1]
555
- );
556
- }
557
- return $ga_dash_data;
558
- }
559
 
560
- /**
561
- * Analytics data for backend reports (searches)
562
- *
563
- * @param
564
- * $projectId
565
- * @param
566
- * $from
567
- * @param
568
- * $to
569
- * @return array|int
570
- */
571
- function get_searches($projectId, $from, $to, $filter = '')
572
- {
573
- $metrics = 'ga:sessions';
574
- $dimensions = 'ga:keyword';
575
- $options = array(
576
- 'dimensions' => $dimensions,
577
- 'sort' => '-ga:sessions',
578
- 'quotaUser' => $this->managequota . 'p' . $projectId
579
- );
580
- if ($filter) {
581
- $options['filters'] = 'ga:keyword!=(not set);ga:pagePath==' . $filter;
582
- } else {
583
- $options['filters'] = 'ga:keyword!=(not set)';
584
- }
585
- $serial = 'gadash_qr6_' . $this->get_serial($projectId . $from . $filter);
586
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
587
- if (is_numeric($data)) {
588
- return $data;
589
- }
590
-
591
- $ga_dash_data = array(
592
- array(
593
- __("Searches", 'ga-dash'),
594
- __("Sessions", 'ga-dash')
595
- )
596
- );
597
- foreach ($data->getRows() as $row) {
598
- $ga_dash_data[] = array(
599
- $this->prepare_json($row[0]),
600
- (int) $row[1]
601
- );
602
- }
603
- return $ga_dash_data;
604
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
605
 
606
- /**
607
- * Analytics data for backend reports (location reports)
608
- *
609
- * @param
610
- * $projectId
611
- * @param
612
- * $from
613
- * @param
614
- * $to
615
- * @return array|int
616
- */
617
- function get_locations($projectId, $from, $to, $filter = '')
618
- {
619
- global $GADASH_Config;
620
- $metrics = 'ga:sessions';
621
- $options = "";
622
- $title = __("Countries", 'ga-dash');
623
- $serial = 'gadash_qr7_' . $this->get_serial($projectId . $from . $filter);
624
- $dimensions = 'ga:country';
625
- $local_filter = '';
626
- if ($GADASH_Config->options['ga_target_geomap']) {
627
- $dimensions = 'ga:city, ga:region';
628
- $tools = new GADASH_Tools();
629
- $tools->getcountrycodes();
630
- if (isset($tools->country_codes[$GADASH_Config->options['ga_target_geomap']])) {
631
- $local_filter = 'ga:country==' . ($tools->country_codes[$GADASH_Config->options['ga_target_geomap']]);
632
- $title = __("Cities from", 'ga-dash') . ' ' . __($tools->country_codes[$GADASH_Config->options['ga_target_geomap']]);
633
- $serial = 'gadash_qr7_' . $this->get_serial($projectId . $from . $GADASH_Config->options['ga_target_geomap'] . $filter);
 
 
 
 
 
 
 
 
 
634
  }
635
- }
636
- $options = array(
637
- 'dimensions' => $dimensions,
638
- 'sort' => '-ga:sessions',
639
- 'quotaUser' => $this->managequota . 'p' . $projectId
640
- );
641
- if ($filter) {
642
- $options['filters'] = 'ga:pagePath==' . $filter;
643
- if ($local_filter) {
644
- $options['filters'] .= ';' . $local_filter;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
645
  }
646
- } else {
647
- if ($local_filter) {
648
- $options['filters'] = $local_filter;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
649
  }
650
- }
651
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
652
- if (is_numeric($data)) {
653
- return $data;
654
- }
655
- $ga_dash_data = array(
656
- array(
657
- $title,
658
- __("Sessions", 'ga-dash')
659
- )
660
- );
661
- foreach ($data->getRows() as $row) {
662
- if (isset($row[2])) {
663
- $ga_dash_data[] = array(
664
- $this->prepare_json($row[0]) . ', ' . $this->prepare_json($row[1]),
665
- (int) $row[2]
666
- );
667
- } else {
668
- $ga_dash_data[] = array(
669
- $this->prepare_json($row[0]),
670
- (int) $row[1]
671
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
672
  }
673
- }
674
- return $ga_dash_data;
675
- }
676
 
677
- /**
678
- * Analytics data for backend reports (traffic channels)
679
- *
680
- * @param
681
- * $projectId
682
- * @param
683
- * $from
684
- * @param
685
- * $to
686
- * @return array|int
687
- */
688
- function get_trafficchannels($projectId, $from, $to, $filter = '')
689
- {
690
- $metrics = 'ga:sessions';
691
- $dimensions = 'ga:channelGrouping';
692
- $options = array(
693
- 'dimensions' => $dimensions,
694
- 'quotaUser' => $this->managequota . 'p' . $projectId
695
- );
696
- if ($filter) {
697
- $options['filters'] = 'ga:pagePath==' . $filter;
698
- }
699
- $serial = 'gadash_qr8_' . $this->get_serial($projectId . $from . $filter);
700
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
701
- if (is_numeric($data)) {
702
- return $data;
703
- }
704
- $title = __("Channels", 'ga-dash');
705
- $ga_dash_data = array(
706
- array(
707
- '<div style="color:black; font-size:1.1em">' . $title . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $data['totalsForAllResults']["ga:sessions"] . '</div>',
708
- ""
709
- )
710
- );
711
- foreach ($data->getRows() as $row) {
712
- $shrink = explode(" ", $row[0]);
713
- $ga_dash_data[] = array(
714
- '<div style="color:black; font-size:1.1em">' . esc_html($shrink[0]) . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $row[1] . '</div>',
715
- '<div style="color:black; font-size:1.1em">' . $title . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $data['totalsForAllResults']["ga:sessions"] . '</div>'
716
- );
717
- }
718
- return $ga_dash_data;
719
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
 
721
- /**
722
- * Analytics data for backend reports (traffic mediums, type, serach engines, social networks)
723
- *
724
- * @param
725
- * $projectId
726
- * @param
727
- * $from
728
- * @param
729
- * $to
730
- * @param
731
- * $query
732
- * @return array|int
733
- */
734
- function get_trafficdetails($projectId, $from, $to, $query, $filter = '')
735
- {
736
- $metrics = 'ga:sessions';
737
- $dimensions = 'ga:' . $query;
738
-
739
- if ($query == 'source') {
740
- $options = array(
741
- 'dimensions' => $dimensions,
742
- 'quotaUser' => $this->managequota . 'p' . $projectId
743
- );
744
- if ($filter) {
745
- $options['filters'] = 'ga:medium==organic;ga:keyword!=(not set);ga:pagePath==' . $filter;
746
- } else {
747
- $options['filters'] = 'ga:medium==organic;ga:keyword!=(not set)';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
748
  }
749
- } else {
750
- $options = array(
751
- 'dimensions' => $dimensions,
752
- 'quotaUser' => $this->managequota . 'p' . $projectId
753
- );
754
- if ($filter) {
755
- $options['filters'] = 'ga:' . $query . '!=(not set);ga:pagePath==' . $filter;
756
- } else {
757
- $options['filters'] = 'ga:' . $query . '!=(not set)';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
758
  }
759
- }
760
- $serial = 'gadash_qr10_' . $this->get_serial($projectId . $from . $query . $filter);
761
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
762
- if (is_numeric($data)) {
763
- return $data;
764
- }
765
- $ga_dash_data = array(
766
- array(
767
- __("Type", 'ga-dash'),
768
- __("Sessions", 'ga-dash')
769
- )
770
- );
771
- foreach ($data->getRows() as $row) {
772
- $ga_dash_data[] = array(
773
- str_replace("(none)", "direct", esc_html($row[0])),
774
- (int) $row[1]
775
- );
776
- }
777
- return $ga_dash_data;
778
- }
779
 
780
- /**
781
- * Analytics data for frontend Widget (chart data and totals)
782
- *
783
- * @param
784
- * $projectId
785
- * @param
786
- * $period
787
- * @param
788
- * $anonim
789
- * @return array|int
790
- */
791
- function frontend_widget_stats($projectId, $from, $anonim)
792
- {
793
- $content = '';
794
- $to = 'yesterday';
795
- $metrics = 'ga:sessions';
796
- $dimensions = 'ga:date,ga:dayOfWeekName';
797
- $options = array(
798
- 'dimensions' => $dimensions,
799
- 'quotaUser' => $this->managequota . 'p' . $projectId
800
- );
801
- $serial = 'gadash_qr2_' . $this->get_serial($projectId . $from . $metrics);
802
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
803
- if (is_numeric($data)) {
804
- return $data;
805
- }
806
- $ga_dash_data = array(
807
- array(
808
- __("Date", 'ga-dash'),
809
- __("Sessions", 'ga-dash') . ($anonim ? "' " . __("trend", 'ga-dash') : '')
810
- )
811
- );
812
- if ($anonim) {
813
- $max_array = array();
814
- foreach ($data->getRows() as $item) {
815
- $max_array[] = $item[2];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
816
  }
817
- $max = max($max_array) ? max($max_array) : 1;
818
- }
819
- foreach ($data->getRows() as $row) {
820
- $ga_dash_data[] = array(
821
- ucfirst(esc_html((__($row[1])))) . ', ' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
822
- ($anonim ? round($row[2] * 100 / $max, 2) : (int) $row[2])
823
- );
824
- }
825
- $totals = $data->getTotalsForAllResults();
826
- return array(
827
- $ga_dash_data,
828
- $anonim ? 0 : $totals['ga:sessions']
829
- );
830
- }
831
 
832
- /**
833
- * Analytics data for frontend reports (pagviews and unique pageviews per page)
834
- *
835
- * @param
836
- * $projectId
837
- * @param
838
- * $page_url
839
- * @param
840
- * $post_id
841
- * @return array|int
842
- */
843
- function frontend_afterpost_pageviews($projectId, $page_url, $post_id)
844
- {
845
- $from = '30daysAgo';
846
- $to = 'yesterday';
847
- $metrics = 'ga:pageviews,ga:uniquePageviews';
848
- $dimensions = 'ga:date,ga:dayOfWeekName';
849
- $serial = 'gadash_qr21_' . $this->get_serial($post_id . 'stats');
850
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, array(
851
- 'dimensions' => $dimensions,
852
- 'filters' => 'ga:pagePath==' . $page_url,
853
- 'quotaUser' => $this->managequota . 'p' . $projectId
854
- ), $serial);
855
- if (is_numeric($data)) {
856
- return $data;
857
- }
858
- $ga_dash_data = array(
859
- array(
860
- __("Date", 'ga-dash'),
861
- __("Views", 'ga-dash'),
862
- __('UniqueViews', "ga-dash")
863
- )
864
- );
865
- foreach ($data->getRows() as $row) {
866
- $ga_dash_data[] = array(
867
- ucfirst(esc_html(__($row[1]))) . ',' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
868
- round($row[2], 2),
869
- round($row[3], 2)
870
- );
871
- }
872
- return $ga_dash_data;
873
- }
874
 
875
- /**
876
- * Analytics data for frontend reports (searches per page)
877
- *
878
- * @param
879
- * $projectId
880
- * @param
881
- * $page_url
882
- * @param
883
- * $post_id
884
- * @return array|int
885
- */
886
- function frontend_afterpost_searches($projectId, $page_url, $post_id)
887
- {
888
- $from = '30daysAgo';
889
- $to = 'yesterday';
890
- $metrics = 'ga:sessions';
891
- $dimensions = 'ga:keyword';
892
- $serial = 'gadash_qr22_' . $this->get_serial($post_id . 'search');
893
- $data = $this->handle_corereports($projectId, $from, $to, $metrics, array(
894
- 'dimensions' => $dimensions,
895
- 'sort' => '-ga:sessions',
896
- 'filters' => 'ga:pagePath==' . $page_url . ';ga:keyword!=(not set)',
897
- 'quotaUser' => $this->managequota . 'p' . $projectId
898
- ), $serial);
899
- if (is_numeric($data)) {
900
- return $data;
901
- }
902
- $ga_dash_data = array(
903
- array(
904
- __("Searches", 'ga-dash'),
905
- __("Sessions", 'ga-dash')
906
- )
907
- );
908
- foreach ($data->getRows() as $row) {
909
- $ga_dash_data[] = array(
910
- $this->prepare_json($row[0]),
911
- (int) $row[1]
912
- );
913
- }
914
- return $ga_dash_data;
915
- }
916
 
917
- /**
918
- * Analytics data for backend reports (Real-Time)
919
- *
920
- * @param
921
- * $projectId
922
- * @return array|int
923
- */
924
- function get_realtime_data($projectId)
925
- {
926
- $metrics = 'rt:activeUsers';
927
- $dimensions = 'rt:pagePath,rt:source,rt:keyword,rt:trafficType,rt:visitorType,rt:pageTitle';
928
- try {
929
- $serial = 'gadash_realtimecache_' . $this->get_serial($projectId);
930
- $transient = get_transient($serial);
931
- if ($transient === false) {
932
- if ($this->gapi_errors_handler()) {
933
- return - 23;
934
- }
935
- $data = $this->service->data_realtime->get('ga:' . $projectId, $metrics, array(
936
- 'dimensions' => $dimensions,
937
- 'quotaUser' => $this->managequota . 'p' . $projectId
938
- ));
939
- set_transient($serial, $data, 55);
940
- } else {
941
- $data = $transient;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
942
  }
943
- } catch (Google_Service_Exception $e) {
944
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
945
- set_transient('ga_dash_gapi_errors', array(
946
- $e->getCode(),
947
- (array) $e->getErrors()
948
- ), $this->error_timeout);
949
- return $e->getCode();
950
- } catch (Exception $e) {
951
- set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
952
- return $e->getCode();
953
- }
954
- if ($data->getRows() < 1) {
955
- return - 21;
956
- }
957
- $i = 0;
958
- $ga_dash_data = $data;
959
- foreach ($data->getRows() as $row) {
960
- $ga_dash_data->rows[$i] = array_map('esc_html', $row);
961
- $i ++;
962
- }
963
- return $ga_dash_data;
964
- }
965
 
966
- function get($projectId, $query, $from = false, $to = false, $filter = '')
967
- {
968
- switch ($query) {
969
- case 'referrers':
970
- wp_send_json($this->get_referrers($projectId, $from, $to, $filter));
971
- break;
972
- case 'contentpages':
973
- wp_send_json($this->get_contentpages($projectId, $from, $to, $filter));
974
- break;
975
- case 'locations':
976
- wp_send_json($this->get_locations($projectId, $from, $to, $filter));
977
- break;
978
- case 'bottomstats':
979
- wp_send_json($this->get_bottomstats($projectId, $from, $to, $filter));
980
- break;
981
- case 'trafficchannels':
982
- wp_send_json($this->get_trafficchannels($projectId, $from, $to, $filter));
983
- break;
984
- case 'medium':
985
- wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'medium', $filter));
986
- break;
987
- case 'visitorType':
988
- wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'visitorType', $filter));
989
- break;
990
- case 'socialNetwork':
991
- wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'socialNetwork', $filter));
992
- break;
993
- case 'source':
994
- wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'source', $filter));
995
- break;
996
- case 'searches':
997
- wp_send_json($this->get_searches($projectId, $from, $to, $filter));
998
- break;
999
- case 'realtime':
1000
- wp_send_json($this->get_realtime_data($projectId));
1001
- break;
1002
- default:
1003
- wp_send_json($this->get_mainreport($projectId, $from, $to, $query, $filter));
1004
- break;
1005
- }
 
1006
  }
1007
- }
1008
- }
1009
- if (! isset($GLOBALS['GADASH_GAPI'])) {
1010
- $GLOBALS['GADASH_GAPI'] = new GADASH_GAPI();
1011
  }
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
8
 
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
 
 
 
12
 
13
+ if (! class_exists('GADWP_GAPI_Controller')) {
14
+
15
+ final class GADWP_GAPI_Controller
16
  {
17
+
18
+ public $client;
19
+
20
+ public $service;
21
+
22
+ public $timeshift;
23
+
24
+ public $error_timeout;
25
+
26
+ private $managequota;
27
+
28
+ private $gadwp;
29
+
30
+ public function __construct()
31
+ {
32
+ $this->gadwp = GADWP();
33
+
34
+ include_once (GADWP_DIR . 'tools/autoload.php');
35
+ $config = new Google_Config();
36
+ $config->setCacheClass('Google_Cache_Null');
37
+ if (function_exists('curl_version')) {
38
+ $curlversion = curl_version();
39
+ if (isset($curlversion['version']) && (version_compare(PHP_VERSION, '5.3.0') >= 0) && version_compare($curlversion['version'], '7.10.8') >= 0 && defined('GADWP_IP_VERSION') && GADWP_IP_VERSION) {
40
+ $config->setClassConfig('Google_IO_Curl', array(
41
+ 'options' => array(
42
+ CURLOPT_IPRESOLVE => GADWP_IP_VERSION
43
+ )
44
+ )); // Force CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6
45
+ }
46
+ }
47
+ $this->client = new Google_Client($config);
48
+ $this->client->setScopes('https://www.googleapis.com/auth/analytics.readonly');
49
+ $this->client->setAccessType('offline');
50
+ $this->client->setApplicationName('Google Analytics Dashboard');
51
+ $this->client->setRedirectUri('urn:ietf:wg:oauth:2.0:oob');
52
+ $this->set_error_timeout();
53
+ $this->managequota = 'u' . get_current_user_id() . 's' . get_current_blog_id();
54
+ if ($this->gadwp->config->options['ga_dash_userapi']) {
55
+ $this->client->setClientId($this->gadwp->config->options['ga_dash_clientid']);
56
+ $this->client->setClientSecret($this->gadwp->config->options['ga_dash_clientsecret']);
57
+ $this->client->setDeveloperKey($this->gadwp->config->options['ga_dash_apikey']);
58
+ } else {
59
+ $this->client->setClientId($this->gadwp->config->access[0]);
60
+ $this->client->setClientSecret($this->gadwp->config->access[1]);
61
+ $this->client->setDeveloperKey($this->gadwp->config->access[2]);
62
+ }
63
+ $this->service = new Google_Service_Analytics($this->client);
64
+ if ($this->gadwp->config->options['ga_dash_token']) {
65
+ $token = $this->gadwp->config->options['ga_dash_token'];
66
+ $token = $this->refresh_token();
67
+ if ($token) {
68
+ $this->client->setAccessToken($token);
69
+ }
70
+ }
71
  }
 
 
72
 
73
+ private function set_error_timeout()
74
+ {
75
+ $midnight = strtotime("tomorrow 00:00:00"); // UTC midnight
76
+ $midnight = $midnight + 8 * 3600; // UTC 8 AM
77
+ $this->error_timeout = $midnight - time();
78
+ return;
79
+ }
80
 
81
+ private function prepare_json($value)
82
+ {
83
+ return esc_html(str_replace('\\', '&#92;', stripslashes($value)));
84
+ }
85
 
86
+ /**
87
+ * Handles errors returned by GAPI and allows exponential backoff
88
+ *
89
+ * @return boolean
90
+ */
91
+ public function gapi_errors_handler()
92
+ {
93
+ $errors = get_transient('ga_dash_gapi_errors');
94
+ if ($errors === false || ! isset($errors[0])) { // invalid error
95
+ return false;
96
+ }
97
+ if (isset($errors[1][0]['reason']) && ($errors[1][0]['reason'] == 'invalidCredentials' || $errors[1][0]['reason'] == 'authError' || $errors[1][0]['reason'] == 'insufficientPermissions' || $errors[1][0]['reason'] == 'required' || $errors[1][0]['reason'] == 'keyExpired')) {
98
+ $this->reset_token(false);
99
+ return true;
100
+ }
101
+ if (isset($errors[1][0]['reason']) && ($errors[1][0]['reason'] == 'userRateLimitExceeded' || $errors[1][0]['reason'] == 'quotaExceeded')) { // allow retry
102
+ return false;
103
+ }
104
+ if ($errors[0] == 400 || $errors[0] == 401 || $errors[0] == 403) {
105
+ return true;
106
+ }
107
+ return false;
108
+ }
109
 
110
+ /**
111
+ * Calculates proper timeouts for each GAPI query
112
+ *
113
+ * @param
114
+ * $daily
115
+ * @return number
116
+ */
117
+ public function get_timeouts($daily)
118
+ {
119
+ $local_time = time() + $this->timeshift;
120
+ if ($daily) {
121
+ $nextday = explode('-', date('n-j-Y', strtotime(' +1 day', $local_time)));
122
+ $midnight = mktime(0, 0, 0, $nextday[0], $nextday[1], $nextday[2]);
123
+ return $midnight - $local_time;
124
+ } else {
125
+ $nexthour = explode('-', date('H-n-j-Y', strtotime(' +1 hour', $local_time)));
126
+ $newhour = mktime($nexthour[0], 0, 0, $nexthour[1], $nexthour[2], $nexthour[3]);
127
+ return $newhour - $local_time;
128
+ }
129
+ }
130
 
131
+ public function token_request()
132
+ {
133
+ $authUrl = $this->client->createAuthUrl();
134
+ ?>
135
  <form name="input"
136
  action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>" method="post">
137
 
160
  </table>
161
  </form>
162
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
 
165
+ /**
166
+ * Retrives all Google Analytics Views with details
167
+ *
168
+ * @return array|string
169
+ */
170
+ public function refresh_profiles()
171
+ {
172
+ try {
173
+ $profiles = $this->service->management_profiles->listManagementProfiles('~all', '~all');
174
+ $items = $profiles->getItems();
175
+ if (count($items) != 0) {
176
+ $ga_dash_profile_list = array();
177
+ foreach ($items as $profile) {
178
+ $timetz = new DateTimeZone($profile->getTimezone());
179
+ $localtime = new DateTime('now', $timetz);
180
+ $timeshift = strtotime($localtime->format('Y-m-d H:i:s')) - time();
181
+ $ga_dash_profile_list[] = array(
182
+ $profile->getName(),
183
+ $profile->getId(),
184
+ $profile->getwebPropertyId(),
185
+ $profile->getwebsiteUrl(),
186
+ $timeshift,
187
+ $profile->getTimezone()
188
+ );
189
+ }
190
+ set_transient('ga_dash_lasterror', 'None');
191
+ return $ga_dash_profile_list;
192
+ } else {
193
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': No properties were found in this account!', $this->error_timeout);
194
+ return '';
195
+ }
196
+ } catch (Google_IO_Exception $e) {
197
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
198
+ return '';
199
+ } catch (Google_Service_Exception $e) {
200
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
201
+ set_transient('ga_dash_gapi_errors', array(
202
+ $e->getCode(),
203
+ (array) $e->getErrors()
204
+ ), $this->error_timeout);
205
+ } catch (Exception $e) {
206
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
207
+ return '';
208
+ }
209
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
+ /**
212
+ * Handles the token refresh process
213
+ *
214
+ * @return token|boolean
215
+ */
216
+ private function refresh_token()
217
+ {
218
+ try {
219
+ if (is_multisite() && $this->gadwp->config->options['ga_dash_network']) {
220
+ $transient = get_site_transient("ga_dash_refresh_token");
221
+ } else {
222
+ $transient = get_transient("ga_dash_refresh_token");
223
+ }
224
+ if ($transient === false) {
225
+ if (! $this->gadwp->config->options['ga_dash_refresh_token']) {
226
+ $google_token = json_decode($this->gadwp->config->options['ga_dash_token']);
227
+ $this->gadwp->config->options['ga_dash_refresh_token'] = $google_token->refresh_token;
228
+ $this->client->refreshToken($google_token->refresh_token);
229
+ } else {
230
+ $this->client->refreshToken($this->gadwp->config->options['ga_dash_refresh_token']);
231
+ }
232
+ $token = $this->client->getAccessToken();
233
+ $google_token = json_decode($token);
234
+ $this->gadwp->config->options['ga_dash_token'] = $token;
235
+ if (is_multisite() && $this->gadwp->config->options['ga_dash_network']) {
236
+ set_site_transient("ga_dash_refresh_token", $token, $google_token->expires_in);
237
+ $this->gadwp->config->set_plugin_options(true);
238
+ } else {
239
+ set_transient("ga_dash_refresh_token", $token, $google_token->expires_in);
240
+ $this->gadwp->config->set_plugin_options();
241
+ }
242
+ return $token;
243
+ } else {
244
+ return $transient;
245
+ }
246
+ } catch (Google_IO_Exception $e) {
247
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
248
+ return false;
249
+ } catch (Google_Service_Exception $e) {
250
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
251
+ set_transient('ga_dash_gapi_errors', array(
252
+ $e->getCode(),
253
+ (array) $e->getErrors()
254
+ ), $this->error_timeout);
255
+ return $e->getCode();
256
+ } catch (Exception $e) {
257
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
258
+ return false;
259
+ }
260
  }
 
 
 
 
 
 
 
261
 
262
+ /**
263
+ * Handles the token reset process
264
+ *
265
+ * @param
266
+ * $all
267
+ */
268
+ public function reset_token($all = true)
269
+ {
270
+ if (is_multisite() && $this->gadwp->config->options['ga_dash_network']) {
271
+ delete_site_transient('ga_dash_refresh_token');
272
+ } else {
273
+ delete_transient('ga_dash_refresh_token');
274
+ }
275
+ $this->gadwp->config->options['ga_dash_token'] = "";
276
+ $this->gadwp->config->options['ga_dash_refresh_token'] = "";
277
+ if ($all) {
278
+ $this->gadwp->config->options['ga_dash_tableid'] = "";
279
+ $this->gadwp->config->options['ga_dash_tableid_jail'] = "";
280
+ $this->gadwp->config->options['ga_dash_profile_list'] = "";
281
+ try {
282
+ $this->client->revokeToken();
283
+ } catch (Exception $e) {
284
+ if (is_multisite() && $this->gadwp->config->options['ga_dash_network']) {
285
+ $this->gadwp->config->set_plugin_options(true);
286
+ } else {
287
+ $this->gadwp->config->set_plugin_options();
288
+ }
289
+ }
290
+ }
291
+ if (is_multisite() && $this->gadwp->config->options['ga_dash_network']) {
292
+ $this->gadwp->config->set_plugin_options(true);
293
+ } else {
294
+ $this->gadwp->config->set_plugin_options();
295
+ }
 
 
296
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
 
298
+ /**
299
+ * Get and cache Core Reports
300
+ *
301
+ * @todo implement retries with exponential backoff
302
+ *
303
+ * @param
304
+ * $projecId
305
+ * @param
306
+ * $from
307
+ * @param
308
+ * $to
309
+ * @param
310
+ * $metrics
311
+ * @param
312
+ * $options
313
+ * @param
314
+ * $serial
315
+ * @return int|Google_Service_Analytics_GaData
316
+ */
317
+ private function handle_corereports($projectId, $from, $to, $metrics, $options, $serial)
318
+ {
319
+ try {
320
+ if ($from == "today") {
321
+ $timeouts = 0;
322
+ } else {
323
+ $timeouts = 1;
324
+ }
325
+ $transient = get_transient($serial);
326
+ if ($transient === false) {
327
+ if ($this->gapi_errors_handler()) {
328
+ return - 23;
329
+ }
330
+ $data = $this->service->data_ga->get('ga:' . $projectId, $from, $to, $metrics, $options);
331
+ set_transient($serial, $data, $this->get_timeouts($timeouts));
332
+ } else {
333
+ $data = $transient;
334
+ }
335
+ } catch (Google_Service_Exception $e) {
336
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
337
+ set_transient('ga_dash_gapi_errors', array(
338
+ $e->getCode(),
339
+ (array) $e->getErrors()
340
+ ), $this->error_timeout);
341
+ return $e->getCode();
342
+ } catch (Exception $e) {
343
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
344
+ return $e->getCode();
345
+ }
346
+ if ($data->getRows() > 0) {
347
+ return $data;
348
+ } else {
349
+ return - 21;
350
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
351
  }
 
 
 
352
 
353
+ /**
354
+ * Generates serials for transients
355
+ *
356
+ * @param
357
+ * $serial
358
+ * @return string
359
+ */
360
+ public function get_serial($serial)
361
+ {
362
+ return sprintf("%u", crc32($serial));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
 
365
+ /**
366
+ * Analytics data for backend reports (Admin Widget main report)
367
+ *
368
+ * @param
369
+ * $projectId
370
+ * @param
371
+ * $from
372
+ * @param
373
+ * $to
374
+ * @param
375
+ * $query
376
+ * @return array|int
377
+ */
378
+ public function get_mainreport($projectId, $from, $to, $query, $filter = '')
379
+ {
380
+ switch ($query) {
381
+ case 'users':
382
+ $title = __("Users", 'ga-dash');
383
+ break;
384
+ case 'pageviews':
385
+ $title = __("Page Views", 'ga-dash');
386
+ break;
387
+ case 'visitBounceRate':
388
+ $title = __("Bounce Rate", 'ga-dash');
389
+ break;
390
+ case 'organicSearches':
391
+ $title = __("Organic Searches", 'ga-dash');
392
+ break;
393
+ case 'uniquePageviews':
394
+ $title = __("Unique Page Views", 'ga-dash');
395
+ break;
396
+ default:
397
+ $title = __("Sessions", 'ga-dash');
398
+ }
399
+ $metrics = 'ga:' . $query;
400
+ if ($from == "today" || $from == "yesterday") {
401
+ $dimensions = 'ga:hour';
402
+ $dayorhour = __("Hour", 'ga-dash');
403
+ } else {
404
+ $dimensions = 'ga:date,ga:dayOfWeekName';
405
+ $dayorhour = __("Date", 'ga-dash');
406
+ }
407
+ $options = array(
408
+ 'dimensions' => $dimensions,
409
+ 'quotaUser' => $this->managequota . 'p' . $projectId
410
+ );
411
+ if ($filter) {
412
+ $options['filters'] = 'ga:pagePath==' . $filter;
413
+ }
414
+ $serial = 'gadash_qr2_' . $this->get_serial($projectId . $from . $metrics . $filter);
415
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
416
+ if (is_numeric($data)) {
417
+ return $data;
418
+ }
419
+ $ga_dash_data = array(
420
+ array(
421
+ $dayorhour,
422
+ $title
423
+ )
424
+ );
425
+ if ($from == "today" || $from == "yesterday") {
426
+ foreach ($data->getRows() as $row) {
427
+ $ga_dash_data[] = array(
428
+ (int) $row[0] . ':00',
429
+ round($row[1], 2)
430
+ );
431
+ }
432
+ } else {
433
+ foreach ($data->getRows() as $row) {
434
+ $ga_dash_data[] = array(
435
+ esc_html(ucfirst(__($row[1]))) . ',' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
436
+ round($row[2], 2)
437
+ );
438
+ }
439
+ }
440
+ return $ga_dash_data;
441
+ }
442
 
443
+ /**
444
+ * Analytics data for backend reports (bottom stats main report)
445
+ *
446
+ * @param
447
+ * $projectId
448
+ * @param
449
+ * $from
450
+ * @param
451
+ * $to
452
+ * @return array|int
453
+ */
454
+ public function get_bottomstats($projectId, $from, $to, $filter = '')
455
+ {
456
+ $options = array(
457
+ 'dimensions' => null,
458
+ 'quotaUser' => $this->managequota . 'p' . $projectId
459
+ );
460
+ if ($filter) {
461
+ $options['filters'] = 'ga:pagePath==' . $filter;
462
+ $metrics = 'ga:uniquePageviews,ga:users,ga:pageviews,ga:BounceRate,ga:organicSearches,ga:pageviewsPerSession';
463
+ } else {
464
+ $metrics = 'ga:sessions,ga:users,ga:pageviews,ga:BounceRate,ga:organicSearches,ga:pageviewsPerSession';
465
+ }
466
+ $serial = 'gadash_qr3_' . $this->get_serial($projectId . $from . $filter);
467
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
468
+ if (is_numeric($data)) {
469
+ if ($data == - 21) {
470
+ return array_fill(0, 6, 0);
471
+ } else {
472
+ return $data;
473
+ }
474
+ }
475
+ $ga_dash_data = array();
476
+ foreach ($data->getRows() as $row) {
477
+ $ga_dash_data = array_map('floatval', $row);
478
+ }
479
+ return $ga_dash_data;
480
  }
481
+
482
+ /**
483
+ * Analytics data for backend reports (contentpages)
484
+ *
485
+ * @param
486
+ * $projectId
487
+ * @param
488
+ * $from
489
+ * @param
490
+ * $to
491
+ * @return array|int
492
+ */
493
+ public function get_contentpages($projectId, $from, $to, $filter = '')
494
+ {
495
+ $metrics = 'ga:pageviews';
496
+ $dimensions = 'ga:pageTitle';
497
+ $options = array(
498
+ 'dimensions' => $dimensions,
499
+ 'sort' => '-ga:pageviews',
500
+ 'quotaUser' => $this->managequota . 'p' . $projectId
501
+ );
502
+ if ($filter) {
503
+ $options['filters'] = 'ga:pagePath==' . $filter;
504
+ }
505
+ $serial = 'gadash_qr4_' . $this->get_serial($projectId . $from . $filter);
506
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
507
+ if (is_numeric($data)) {
508
+ return $data;
509
+ }
510
+ $ga_dash_data = array(
511
+ array(
512
+ __("Pages", 'ga-dash'),
513
+ __("Views", 'ga-dash')
514
+ )
515
+ );
516
+ foreach ($data->getRows() as $row) {
517
+ $ga_dash_data[] = array(
518
+ $this->prepare_json($row[0]),
519
+ (int) $row[1]
520
+ );
521
+ }
522
+ return $ga_dash_data;
523
  }
524
+
525
+ /**
526
+ * Analytics data for backend reports (referrers)
527
+ *
528
+ * @param
529
+ * $projectId
530
+ * @param
531
+ * $from
532
+ * @param
533
+ * $to
534
+ * @return array|int
535
+ */
536
+ public function get_referrers($projectId, $from, $to, $filter = '')
537
+ {
538
+ $metrics = 'ga:sessions';
539
+ $dimensions = 'ga:source';
540
+ $options = array(
541
+ 'dimensions' => $dimensions,
542
+ 'sort' => '-ga:sessions',
543
+ 'quotaUser' => $this->managequota . 'p' . $projectId
544
+ );
545
+ if ($filter) {
546
+ $options['filters'] = 'ga:medium==referral;ga:pagePath==' . $filter;
547
+ } else {
548
+ $options['filters'] = 'ga:medium==referral';
549
+ }
550
+ $serial = 'gadash_qr5_' . $this->get_serial($projectId . $from . $filter);
551
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
552
+ if (is_numeric($data)) {
553
+ return $data;
554
+ }
555
+ $ga_dash_data = array(
556
+ array(
557
+ __("Referrers", 'ga-dash'),
558
+ __("Sessions", 'ga-dash')
559
+ )
560
+ );
561
+ foreach ($data->getRows() as $row) {
562
+ $ga_dash_data[] = array(
563
+ $this->prepare_json($row[0]),
564
+ (int) $row[1]
565
+ );
566
+ }
567
+ return $ga_dash_data;
568
  }
569
+
570
+ /**
571
+ * Analytics data for backend reports (searches)
572
+ *
573
+ * @param
574
+ * $projectId
575
+ * @param
576
+ * $from
577
+ * @param
578
+ * $to
579
+ * @return array|int
580
+ */
581
+ public function get_searches($projectId, $from, $to, $filter = '')
582
+ {
583
+ $metrics = 'ga:sessions';
584
+ $dimensions = 'ga:keyword';
585
+ $options = array(
586
+ 'dimensions' => $dimensions,
587
+ 'sort' => '-ga:sessions',
588
+ 'quotaUser' => $this->managequota . 'p' . $projectId
589
+ );
590
+ if ($filter) {
591
+ $options['filters'] = 'ga:keyword!=(not set);ga:pagePath==' . $filter;
592
+ } else {
593
+ $options['filters'] = 'ga:keyword!=(not set)';
594
+ }
595
+ $serial = 'gadash_qr6_' . $this->get_serial($projectId . $from . $filter);
596
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
597
+ if (is_numeric($data)) {
598
+ return $data;
599
+ }
600
+
601
+ $ga_dash_data = array(
602
+ array(
603
+ __("Searches", 'ga-dash'),
604
+ __("Sessions", 'ga-dash')
605
+ )
606
+ );
607
+ foreach ($data->getRows() as $row) {
608
+ $ga_dash_data[] = array(
609
+ $this->prepare_json($row[0]),
610
+ (int) $row[1]
611
+ );
612
+ }
613
+ return $ga_dash_data;
614
  }
 
 
 
615
 
616
+ /**
617
+ * Analytics data for backend reports (location reports)
618
+ *
619
+ * @param
620
+ * $projectId
621
+ * @param
622
+ * $from
623
+ * @param
624
+ * $to
625
+ * @return array|int
626
+ */
627
+ public function get_locations($projectId, $from, $to, $filter = '')
628
+ {
629
+ $metrics = 'ga:sessions';
630
+ $options = "";
631
+ $title = __("Countries", 'ga-dash');
632
+ $serial = 'gadash_qr7_' . $this->get_serial($projectId . $from . $filter);
633
+ $dimensions = 'ga:country';
634
+ $local_filter = '';
635
+ if ($this->gadwp->config->options['ga_target_geomap']) {
636
+ $dimensions = 'ga:city, ga:region';
637
+
638
+ $country_codes = GADWP_Tools::get_countrycodes();
639
+ if (isset($country_codes[$this->gadwp->config->options['ga_target_geomap']])) {
640
+ $local_filter = 'ga:country==' . ($country_codes[$this->gadwp->config->options['ga_target_geomap']]);
641
+ $title = __("Cities from", 'ga-dash') . ' ' . __($country_codes[$this->gadwp->config->options['ga_target_geomap']]);
642
+ $serial = 'gadash_qr7_' . $this->get_serial($projectId . $from . $this->gadwp->config->options['ga_target_geomap'] . $filter);
643
+ }
644
+ }
645
+ $options = array(
646
+ 'dimensions' => $dimensions,
647
+ 'sort' => '-ga:sessions',
648
+ 'quotaUser' => $this->managequota . 'p' . $projectId
649
+ );
650
+ if ($filter) {
651
+ $options['filters'] = 'ga:pagePath==' . $filter;
652
+ if ($local_filter) {
653
+ $options['filters'] .= ';' . $local_filter;
654
+ }
655
+ } else {
656
+ if ($local_filter) {
657
+ $options['filters'] = $local_filter;
658
+ }
659
+ }
660
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
661
+ if (is_numeric($data)) {
662
+ return $data;
663
+ }
664
+ $ga_dash_data = array(
665
+ array(
666
+ $title,
667
+ __("Sessions", 'ga-dash')
668
+ )
669
+ );
670
+ foreach ($data->getRows() as $row) {
671
+ if (isset($row[2])) {
672
+ $ga_dash_data[] = array(
673
+ $this->prepare_json($row[0]) . ', ' . $this->prepare_json($row[1]),
674
+ (int) $row[2]
675
+ );
676
+ } else {
677
+ $ga_dash_data[] = array(
678
+ $this->prepare_json($row[0]),
679
+ (int) $row[1]
680
+ );
681
+ }
682
+ }
683
+ return $ga_dash_data;
684
+ }
685
 
686
+ /**
687
+ * Analytics data for backend reports (traffic channels)
688
+ *
689
+ * @param
690
+ * $projectId
691
+ * @param
692
+ * $from
693
+ * @param
694
+ * $to
695
+ * @return array|int
696
+ */
697
+ public function get_trafficchannels($projectId, $from, $to, $filter = '')
698
+ {
699
+ $metrics = 'ga:sessions';
700
+ $dimensions = 'ga:channelGrouping';
701
+ $options = array(
702
+ 'dimensions' => $dimensions,
703
+ 'quotaUser' => $this->managequota . 'p' . $projectId
704
+ );
705
+ if ($filter) {
706
+ $options['filters'] = 'ga:pagePath==' . $filter;
707
+ }
708
+ $serial = 'gadash_qr8_' . $this->get_serial($projectId . $from . $filter);
709
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
710
+ if (is_numeric($data)) {
711
+ return $data;
712
+ }
713
+ $title = __("Channels", 'ga-dash');
714
+ $ga_dash_data = array(
715
+ array(
716
+ '<div style="color:black; font-size:1.1em">' . $title . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $data['totalsForAllResults']["ga:sessions"] . '</div>',
717
+ ""
718
+ )
719
+ );
720
+ foreach ($data->getRows() as $row) {
721
+ $shrink = explode(" ", $row[0]);
722
+ $ga_dash_data[] = array(
723
+ '<div style="color:black; font-size:1.1em">' . esc_html($shrink[0]) . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $row[1] . '</div>',
724
+ '<div style="color:black; font-size:1.1em">' . $title . '</div><div style="color:darkblue; font-size:1.2em">' . (int) $data['totalsForAllResults']["ga:sessions"] . '</div>'
725
+ );
726
+ }
727
+ return $ga_dash_data;
728
  }
729
+
730
+ /**
731
+ * Analytics data for backend reports (traffic mediums, type, serach engines, social networks)
732
+ *
733
+ * @param
734
+ * $projectId
735
+ * @param
736
+ * $from
737
+ * @param
738
+ * $to
739
+ * @param
740
+ * $query
741
+ * @return array|int
742
+ */
743
+ public function get_trafficdetails($projectId, $from, $to, $query, $filter = '')
744
+ {
745
+ $metrics = 'ga:sessions';
746
+ $dimensions = 'ga:' . $query;
747
+
748
+ if ($query == 'source') {
749
+ $options = array(
750
+ 'dimensions' => $dimensions,
751
+ 'quotaUser' => $this->managequota . 'p' . $projectId
752
+ );
753
+ if ($filter) {
754
+ $options['filters'] = 'ga:medium==organic;ga:keyword!=(not set);ga:pagePath==' . $filter;
755
+ } else {
756
+ $options['filters'] = 'ga:medium==organic;ga:keyword!=(not set)';
757
+ }
758
+ } else {
759
+ $options = array(
760
+ 'dimensions' => $dimensions,
761
+ 'quotaUser' => $this->managequota . 'p' . $projectId
762
+ );
763
+ if ($filter) {
764
+ $options['filters'] = 'ga:' . $query . '!=(not set);ga:pagePath==' . $filter;
765
+ } else {
766
+ $options['filters'] = 'ga:' . $query . '!=(not set)';
767
+ }
768
+ }
769
+ $serial = 'gadash_qr10_' . $this->get_serial($projectId . $from . $query . $filter);
770
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
771
+ if (is_numeric($data)) {
772
+ return $data;
773
+ }
774
+ $ga_dash_data = array(
775
+ array(
776
+ __("Type", 'ga-dash'),
777
+ __("Sessions", 'ga-dash')
778
+ )
779
+ );
780
+ foreach ($data->getRows() as $row) {
781
+ $ga_dash_data[] = array(
782
+ str_replace("(none)", "direct", esc_html($row[0])),
783
+ (int) $row[1]
784
+ );
785
+ }
786
+ return $ga_dash_data;
787
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
 
789
+ /**
790
+ * Analytics data for frontend Widget (chart data and totals)
791
+ *
792
+ * @param
793
+ * $projectId
794
+ * @param
795
+ * $period
796
+ * @param
797
+ * $anonim
798
+ * @return array|int
799
+ */
800
+ public function frontend_widget_stats($projectId, $from, $anonim)
801
+ {
802
+ $content = '';
803
+ $to = 'yesterday';
804
+ $metrics = 'ga:sessions';
805
+ $dimensions = 'ga:date,ga:dayOfWeekName';
806
+ $options = array(
807
+ 'dimensions' => $dimensions,
808
+ 'quotaUser' => $this->managequota . 'p' . $projectId
809
+ );
810
+ $serial = 'gadash_qr2_' . $this->get_serial($projectId . $from . $metrics);
811
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, $options, $serial);
812
+ if (is_numeric($data)) {
813
+ return $data;
814
+ }
815
+ $ga_dash_data = array(
816
+ array(
817
+ __("Date", 'ga-dash'),
818
+ __("Sessions", 'ga-dash') . ($anonim ? "' " . __("trend", 'ga-dash') : '')
819
+ )
820
+ );
821
+ if ($anonim) {
822
+ $max_array = array();
823
+ foreach ($data->getRows() as $item) {
824
+ $max_array[] = $item[2];
825
+ }
826
+ $max = max($max_array) ? max($max_array) : 1;
827
+ }
828
+ foreach ($data->getRows() as $row) {
829
+ $ga_dash_data[] = array(
830
+ ucfirst(esc_html((__($row[1])))) . ', ' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
831
+ ($anonim ? round($row[2] * 100 / $max, 2) : (int) $row[2])
832
+ );
833
+ }
834
+ $totals = $data->getTotalsForAllResults();
835
+ return array(
836
+ $ga_dash_data,
837
+ $anonim ? 0 : $totals['ga:sessions']
838
+ );
839
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
840
 
841
+ /**
842
+ * Analytics data for frontend reports (pagviews and unique pageviews per page)
843
+ *
844
+ * @param
845
+ * $projectId
846
+ * @param
847
+ * $page_url
848
+ * @param
849
+ * $post_id
850
+ * @return array|int
851
+ */
852
+ public function frontend_afterpost_pageviews($projectId, $page_url, $post_id)
853
+ {
854
+ $from = '30daysAgo';
855
+ $to = 'yesterday';
856
+ $metrics = 'ga:pageviews,ga:uniquePageviews';
857
+ $dimensions = 'ga:date,ga:dayOfWeekName';
858
+ $serial = 'gadash_qr21_' . $this->get_serial($post_id . 'stats');
859
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, array(
860
+ 'dimensions' => $dimensions,
861
+ 'filters' => 'ga:pagePath==' . $page_url,
862
+ 'quotaUser' => $this->managequota . 'p' . $projectId
863
+ ), $serial);
864
+ if (is_numeric($data)) {
865
+ return $data;
866
+ }
867
+ $ga_dash_data = array(
868
+ array(
869
+ __("Date", 'ga-dash'),
870
+ __("Views", 'ga-dash'),
871
+ __('UniqueViews', "ga-dash")
872
+ )
873
+ );
874
+ foreach ($data->getRows() as $row) {
875
+ $ga_dash_data[] = array(
876
+ ucfirst(esc_html(__($row[1]))) . ',' . esc_html(substr_replace(substr_replace($row[0], "-", 4, 0), "-", 7, 0)),
877
+ round($row[2], 2),
878
+ round($row[3], 2)
879
+ );
880
+ }
881
+ return $ga_dash_data;
882
+ }
883
 
884
+ /**
885
+ * Analytics data for frontend reports (searches per page)
886
+ *
887
+ * @param
888
+ * $projectId
889
+ * @param
890
+ * $page_url
891
+ * @param
892
+ * $post_id
893
+ * @return array|int
894
+ */
895
+ public function frontend_afterpost_searches($projectId, $page_url, $post_id)
896
+ {
897
+ $from = '30daysAgo';
898
+ $to = 'yesterday';
899
+ $metrics = 'ga:sessions';
900
+ $dimensions = 'ga:keyword';
901
+ $serial = 'gadash_qr22_' . $this->get_serial($post_id . 'search');
902
+ $data = $this->handle_corereports($projectId, $from, $to, $metrics, array(
903
+ 'dimensions' => $dimensions,
904
+ 'sort' => '-ga:sessions',
905
+ 'filters' => 'ga:pagePath==' . $page_url . ';ga:keyword!=(not set)',
906
+ 'quotaUser' => $this->managequota . 'p' . $projectId
907
+ ), $serial);
908
+ if (is_numeric($data)) {
909
+ return $data;
910
+ }
911
+ $ga_dash_data = array(
912
+ array(
913
+ __("Searches", 'ga-dash'),
914
+ __("Sessions", 'ga-dash')
915
+ )
916
+ );
917
+ foreach ($data->getRows() as $row) {
918
+ $ga_dash_data[] = array(
919
+ $this->prepare_json($row[0]),
920
+ (int) $row[1]
921
+ );
922
+ }
923
+ return $ga_dash_data;
924
+ }
925
 
926
+ /**
927
+ * Analytics data for backend reports (Real-Time)
928
+ *
929
+ * @param
930
+ * $projectId
931
+ * @return array|int
932
+ */
933
+ public function get_realtime_data($projectId)
934
+ {
935
+ $metrics = 'rt:activeUsers';
936
+ $dimensions = 'rt:pagePath,rt:source,rt:keyword,rt:trafficType,rt:visitorType,rt:pageTitle';
937
+ try {
938
+ $serial = 'gadash_realtimecache_' . $this->get_serial($projectId);
939
+ $transient = get_transient($serial);
940
+ if ($transient === false) {
941
+ if ($this->gapi_errors_handler()) {
942
+ return - 23;
943
+ }
944
+ $data = $this->service->data_realtime->get('ga:' . $projectId, $metrics, array(
945
+ 'dimensions' => $dimensions,
946
+ 'quotaUser' => $this->managequota . 'p' . $projectId
947
+ ));
948
+ set_transient($serial, $data, 55);
949
+ } else {
950
+ $data = $transient;
951
+ }
952
+ } catch (Google_Service_Exception $e) {
953
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html("(" . $e->getCode() . ") " . $e->getMessage()), $this->error_timeout);
954
+ set_transient('ga_dash_gapi_errors', array(
955
+ $e->getCode(),
956
+ (array) $e->getErrors()
957
+ ), $this->error_timeout);
958
+ return $e->getCode();
959
+ } catch (Exception $e) {
960
+ set_transient('ga_dash_lasterror', date('Y-m-d H:i:s') . ': ' . esc_html($e), $this->error_timeout);
961
+ return $e->getCode();
962
+ }
963
+ if ($data->getRows() < 1) {
964
+ return - 21;
965
+ }
966
+ $i = 0;
967
+ $ga_dash_data = $data;
968
+ foreach ($data->getRows() as $row) {
969
+ $ga_dash_data->rows[$i] = array_map('esc_html', $row);
970
+ $i ++;
971
+ }
972
+ return $ga_dash_data;
973
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
974
 
975
+ public function get($projectId, $query, $from = false, $to = false, $filter = '')
976
+ {
977
+ switch ($query) {
978
+ case 'referrers':
979
+ wp_send_json($this->get_referrers($projectId, $from, $to, $filter));
980
+ break;
981
+ case 'contentpages':
982
+ wp_send_json($this->get_contentpages($projectId, $from, $to, $filter));
983
+ break;
984
+ case 'locations':
985
+ wp_send_json($this->get_locations($projectId, $from, $to, $filter));
986
+ break;
987
+ case 'bottomstats':
988
+ wp_send_json($this->get_bottomstats($projectId, $from, $to, $filter));
989
+ break;
990
+ case 'trafficchannels':
991
+ wp_send_json($this->get_trafficchannels($projectId, $from, $to, $filter));
992
+ break;
993
+ case 'medium':
994
+ wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'medium', $filter));
995
+ break;
996
+ case 'visitorType':
997
+ wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'visitorType', $filter));
998
+ break;
999
+ case 'socialNetwork':
1000
+ wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'socialNetwork', $filter));
1001
+ break;
1002
+ case 'source':
1003
+ wp_send_json($this->get_trafficdetails($projectId, $from, $to, 'source', $filter));
1004
+ break;
1005
+ case 'searches':
1006
+ wp_send_json($this->get_searches($projectId, $from, $to, $filter));
1007
+ break;
1008
+ case 'realtime':
1009
+ wp_send_json($this->get_realtime_data($projectId));
1010
+ break;
1011
+ default:
1012
+ wp_send_json($this->get_mainreport($projectId, $from, $to, $query, $filter));
1013
+ break;
1014
+ }
1015
+ }
1016
  }
 
 
 
 
1017
  }
tools/iso3166.php CHANGED
@@ -5,244 +5,249 @@
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
 
 
 
 
 
8
  $country_codes = array(
9
- 'AD' => 'Andorra',
10
- 'AE' => 'United Arab Emirates',
11
- 'AF' => 'Afghanistan',
12
- 'AG' => 'Antigua and Barbuda',
13
- 'AI' => 'Anguilla',
14
- 'AL' => 'Albania',
15
- 'AM' => 'Armenia',
16
- 'AN' => 'Netherlands Antilles',
17
- 'AO' => 'Angola',
18
- 'AQ' => 'Antarctica',
19
- 'AR' => 'Argentina',
20
- 'AS' => 'American Samoa',
21
- 'AT' => 'Austria',
22
- 'AU' => 'Australia',
23
- 'AW' => 'Aruba',
24
- 'AZ' => 'Azerbaijan',
25
- 'BA' => 'Bosnia and Herzegovina',
26
- 'BB' => 'Barbados',
27
- 'BD' => 'Bangladesh',
28
- 'BE' => 'Belgium',
29
- 'BF' => 'Burkina Faso',
30
- 'BG' => 'Bulgaria',
31
- 'BH' => 'Bahrain',
32
- 'BI' => 'Burundi',
33
- 'BJ' => 'Benin',
34
- 'BM' => 'Bermuda',
35
- 'BN' => 'Brunei',
36
- 'BO' => 'Bolivia',
37
- 'BR' => 'Brazil',
38
- 'BS' => 'Bahamas',
39
- 'BT' => 'Bhutan',
40
- 'BV' => 'Bouvet Island',
41
- 'BW' => 'Botswana',
42
- 'BY' => 'Belarus',
43
- 'BZ' => 'Belize',
44
- 'CA' => 'Canada',
45
- 'CC' => 'Cocos (Keeling) Islands',
46
- 'CD' => 'Congo, The Democratic Republic of the',
47
- 'CF' => 'Central African Republic',
48
- 'CG' => 'Congo',
49
- 'CH' => 'Switzerland',
50
- 'CI' => 'C�te d?Ivoire',
51
- 'CK' => 'Cook Islands',
52
- 'CL' => 'Chile',
53
- 'CM' => 'Cameroon',
54
- 'CN' => 'China',
55
- 'CO' => 'Colombia',
56
- 'CR' => 'Costa Rica',
57
- 'CU' => 'Cuba',
58
- 'CV' => 'Cape Verde',
59
- 'CX' => 'Christmas Island',
60
- 'CY' => 'Cyprus',
61
- 'CZ' => 'Czech Republic',
62
- 'DE' => 'Germany',
63
- 'DJ' => 'Djibouti',
64
- 'DK' => 'Denmark',
65
- 'DM' => 'Dominica',
66
- 'DO' => 'Dominican Republic',
67
- 'DZ' => 'Algeria',
68
- 'EC' => 'Ecuador',
69
- 'EE' => 'Estonia',
70
- 'EG' => 'Egypt',
71
- 'EH' => 'Western Sahara',
72
- 'ER' => 'Eritrea',
73
- 'ES' => 'Spain',
74
- 'ET' => 'Ethiopia',
75
- 'FI' => 'Finland',
76
- 'FJ' => 'Fiji Islands',
77
- 'FK' => 'Falkland Islands',
78
- 'FM' => 'Micronesia, Federated States of',
79
- 'FO' => 'Faroe Islands',
80
- 'FR' => 'France',
81
- 'GA' => 'Gabon',
82
- 'GB' => 'United Kingdom',
83
- 'GD' => 'Grenada',
84
- 'GE' => 'Georgia',
85
- 'GF' => 'French Guiana',
86
- 'GH' => 'Ghana',
87
- 'GI' => 'Gibraltar',
88
- 'GL' => 'Greenland',
89
- 'GM' => 'Gambia',
90
- 'GN' => 'Guinea',
91
- 'GP' => 'Guadeloupe',
92
- 'GQ' => 'Equatorial Guinea',
93
- 'GR' => 'Greece',
94
- 'GS' => 'South Georgia and the South Sandwich Islands',
95
- 'GT' => 'Guatemala',
96
- 'GU' => 'Guam',
97
- 'GW' => 'Guinea-Bissau',
98
- 'GY' => 'Guyana',
99
- 'HK' => 'Hong Kong',
100
- 'HM' => 'Heard Island and McDonald Islands',
101
- 'HN' => 'Honduras',
102
- 'HR' => 'Croatia',
103
- 'HT' => 'Haiti',
104
- 'HU' => 'Hungary',
105
- 'ID' => 'Indonesia',
106
- 'IE' => 'Ireland',
107
- 'IL' => 'Israel',
108
- 'IN' => 'India',
109
- 'IO' => 'British Indian Ocean Territory',
110
- 'IQ' => 'Iraq',
111
- 'IR' => 'Iran',
112
- 'IS' => 'Iceland',
113
- 'IT' => 'Italy',
114
- 'JM' => 'Jamaica',
115
- 'JO' => 'Jordan',
116
- 'JP' => 'Japan',
117
- 'KE' => 'Kenya',
118
- 'KG' => 'Kyrgyzstan',
119
- 'KH' => 'Cambodia',
120
- 'KI' => 'Kiribati',
121
- 'KM' => 'Comoros',
122
- 'KN' => 'Saint Kitts and Nevis',
123
- 'KP' => 'North Korea',
124
- 'KR' => 'South Korea',
125
- 'KW' => 'Kuwait',
126
- 'KY' => 'Cayman Islands',
127
- 'KZ' => 'Kazakstan',
128
- 'LA' => 'Laos',
129
- 'LB' => 'Lebanon',
130
- 'LC' => 'Saint Lucia',
131
- 'LI' => 'Liechtenstein',
132
- 'LK' => 'Sri Lanka',
133
- 'LR' => 'Liberia',
134
- 'LS' => 'Lesotho',
135
- 'LT' => 'Lithuania',
136
- 'LU' => 'Luxembourg',
137
- 'LV' => 'Latvia',
138
- 'LY' => 'Libyan Arab Jamahiriya',
139
- 'MA' => 'Morocco',
140
- 'MC' => 'Monaco',
141
- 'MD' => 'Moldova',
142
- 'MG' => 'Madagascar',
143
- 'MH' => 'Marshall Islands',
144
- 'MK' => 'Macedonia',
145
- 'ML' => 'Mali',
146
- 'MM' => 'Myanmar',
147
- 'MN' => 'Mongolia',
148
- 'MO' => 'Macao',
149
- 'MP' => 'Northern Mariana Islands',
150
- 'MQ' => 'Martinique',
151
- 'MR' => 'Mauritania',
152
- 'MS' => 'Montserrat',
153
- 'MT' => 'Malta',
154
- 'MU' => 'Mauritius',
155
- 'MV' => 'Maldives',
156
- 'MW' => 'Malawi',
157
- 'MX' => 'Mexico',
158
- 'MY' => 'Malaysia',
159
- 'MZ' => 'Mozambique',
160
- 'NA' => 'Namibia',
161
- 'NC' => 'New Caledonia',
162
- 'NE' => 'Niger',
163
- 'NF' => 'Norfolk Island',
164
- 'NG' => 'Nigeria',
165
- 'NI' => 'Nicaragua',
166
- 'NL' => 'Netherlands',
167
- 'NO' => 'Norway',
168
- 'NP' => 'Nepal',
169
- 'NR' => 'Nauru',
170
- 'NU' => 'Niue',
171
- 'NZ' => 'New Zealand',
172
- 'OM' => 'Oman',
173
- 'PA' => 'Panama',
174
- 'PE' => 'Peru',
175
- 'PF' => 'French Polynesia',
176
- 'PG' => 'Papua New Guinea',
177
- 'PH' => 'Philippines',
178
- 'PK' => 'Pakistan',
179
- 'PL' => 'Poland',
180
- 'PM' => 'Saint Pierre and Miquelon',
181
- 'PN' => 'Pitcairn',
182
- 'PR' => 'Puerto Rico',
183
- 'PS' => 'Palestine',
184
- 'PT' => 'Portugal',
185
- 'PW' => 'Palau',
186
- 'PY' => 'Paraguay',
187
- 'QA' => 'Qatar',
188
- 'RE' => 'Reunion',
189
- 'RO' => 'Romania',
190
- 'RU' => 'Russia',
191
- 'RW' => 'Rwanda',
192
- 'SA' => 'Saudi Arabia',
193
- 'SB' => 'Solomon Islands',
194
- 'SC' => 'Seychelles',
195
- 'SD' => 'Sudan',
196
- 'SE' => 'Sweden',
197
- 'SG' => 'Singapore',
198
- 'SH' => 'Saint Helena',
199
- 'SI' => 'Slovenia',
200
- 'SJ' => 'Svalbard and Jan Mayen',
201
- 'SK' => 'Slovakia',
202
- 'SL' => 'Sierra Leone',
203
- 'SM' => 'San Marino',
204
- 'SN' => 'Senegal',
205
- 'SO' => 'Somalia',
206
- 'SR' => 'Suriname',
207
- 'ST' => 'Sao Tome and Principe',
208
- 'SV' => 'El Salvador',
209
- 'SY' => 'Syria',
210
- 'SZ' => 'Swaziland',
211
- 'TC' => 'Turks and Caicos Islands',
212
- 'TD' => 'Chad',
213
- 'TF' => 'French Southern territories',
214
- 'TG' => 'Togo',
215
- 'TH' => 'Thailand',
216
- 'TJ' => 'Tajikistan',
217
- 'TK' => 'Tokelau',
218
- 'TM' => 'Turkmenistan',
219
- 'TN' => 'Tunisia',
220
- 'TO' => 'Tonga',
221
- 'TP' => 'East Timor',
222
- 'TR' => 'Turkey',
223
- 'TT' => 'Trinidad and Tobago',
224
- 'TV' => 'Tuvalu',
225
- 'TW' => 'Taiwan',
226
- 'TZ' => 'Tanzania',
227
- 'UA' => 'Ukraine',
228
- 'UG' => 'Uganda',
229
- 'UM' => 'United States Minor Outlying Islands',
230
- 'US' => 'United States',
231
- 'UY' => 'Uruguay',
232
- 'UZ' => 'Uzbekistan',
233
- 'VA' => 'Holy See (Vatican City State)',
234
- 'VC' => 'Saint Vincent and the Grenadines',
235
- 'VE' => 'Venezuela',
236
- 'VG' => 'Virgin Islands, British',
237
- 'VI' => 'Virgin Islands, U.S.',
238
- 'VN' => 'Vietnam',
239
- 'VU' => 'Vanuatu',
240
- 'WF' => 'Wallis and Futuna',
241
- 'WS' => 'Samoa',
242
- 'YE' => 'Yemen',
243
- 'YT' => 'Mayotte',
244
- 'YU' => 'Yugoslavia',
245
- 'ZA' => 'South Africa',
246
- 'ZM' => 'Zambia',
247
- 'ZW' => 'Zimbabwe'
248
  );
5
  * License: GPLv2 or later
6
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  */
8
+
9
+ // Exit if accessed directly
10
+ if (! defined('ABSPATH'))
11
+ exit();
12
+
13
  $country_codes = array(
14
+ 'AD' => 'Andorra',
15
+ 'AE' => 'United Arab Emirates',
16
+ 'AF' => 'Afghanistan',
17
+ 'AG' => 'Antigua and Barbuda',
18
+ 'AI' => 'Anguilla',
19
+ 'AL' => 'Albania',
20
+ 'AM' => 'Armenia',
21
+ 'AN' => 'Netherlands Antilles',
22
+ 'AO' => 'Angola',
23
+ 'AQ' => 'Antarctica',
24
+ 'AR' => 'Argentina',
25
+ 'AS' => 'American Samoa',
26
+ 'AT' => 'Austria',
27
+ 'AU' => 'Australia',
28
+ 'AW' => 'Aruba',
29
+ 'AZ' => 'Azerbaijan',
30
+ 'BA' => 'Bosnia and Herzegovina',
31
+ 'BB' => 'Barbados',
32
+ 'BD' => 'Bangladesh',
33
+ 'BE' => 'Belgium',
34
+ 'BF' => 'Burkina Faso',
35
+ 'BG' => 'Bulgaria',
36
+ 'BH' => 'Bahrain',
37
+ 'BI' => 'Burundi',
38
+ 'BJ' => 'Benin',
39
+ 'BM' => 'Bermuda',
40
+ 'BN' => 'Brunei',
41
+ 'BO' => 'Bolivia',
42
+ 'BR' => 'Brazil',
43
+ 'BS' => 'Bahamas',
44
+ 'BT' => 'Bhutan',
45
+ 'BV' => 'Bouvet Island',
46
+ 'BW' => 'Botswana',
47
+ 'BY' => 'Belarus',
48
+ 'BZ' => 'Belize',
49
+ 'CA' => 'Canada',
50
+ 'CC' => 'Cocos (Keeling) Islands',
51
+ 'CD' => 'Congo, The Democratic Republic of the',
52
+ 'CF' => 'Central African Republic',
53
+ 'CG' => 'Congo',
54
+ 'CH' => 'Switzerland',
55
+ 'CI' => 'C�te d?Ivoire',
56
+ 'CK' => 'Cook Islands',
57
+ 'CL' => 'Chile',
58
+ 'CM' => 'Cameroon',
59
+ 'CN' => 'China',
60
+ 'CO' => 'Colombia',
61
+ 'CR' => 'Costa Rica',
62
+ 'CU' => 'Cuba',
63
+ 'CV' => 'Cape Verde',
64
+ 'CX' => 'Christmas Island',
65
+ 'CY' => 'Cyprus',
66
+ 'CZ' => 'Czech Republic',
67
+ 'DE' => 'Germany',
68
+ 'DJ' => 'Djibouti',
69
+ 'DK' => 'Denmark',
70
+ 'DM' => 'Dominica',
71
+ 'DO' => 'Dominican Republic',
72
+ 'DZ' => 'Algeria',
73
+ 'EC' => 'Ecuador',
74
+ 'EE' => 'Estonia',
75
+ 'EG' => 'Egypt',
76
+ 'EH' => 'Western Sahara',
77
+ 'ER' => 'Eritrea',
78
+ 'ES' => 'Spain',
79
+ 'ET' => 'Ethiopia',
80
+ 'FI' => 'Finland',
81
+ 'FJ' => 'Fiji Islands',
82
+ 'FK' => 'Falkland Islands',
83
+ 'FM' => 'Micronesia, Federated States of',
84
+ 'FO' => 'Faroe Islands',
85
+ 'FR' => 'France',
86
+ 'GA' => 'Gabon',
87
+ 'GB' => 'United Kingdom',
88
+ 'GD' => 'Grenada',
89
+ 'GE' => 'Georgia',
90
+ 'GF' => 'French Guiana',
91
+ 'GH' => 'Ghana',
92
+ 'GI' => 'Gibraltar',
93
+ 'GL' => 'Greenland',
94
+ 'GM' => 'Gambia',
95
+ 'GN' => 'Guinea',
96
+ 'GP' => 'Guadeloupe',
97
+ 'GQ' => 'Equatorial Guinea',
98
+ 'GR' => 'Greece',
99
+ 'GS' => 'South Georgia and the South Sandwich Islands',
100
+ 'GT' => 'Guatemala',
101
+ 'GU' => 'Guam',
102
+ 'GW' => 'Guinea-Bissau',
103
+ 'GY' => 'Guyana',
104
+ 'HK' => 'Hong Kong',
105
+ 'HM' => 'Heard Island and McDonald Islands',
106
+ 'HN' => 'Honduras',
107
+ 'HR' => 'Croatia',
108
+ 'HT' => 'Haiti',
109
+ 'HU' => 'Hungary',
110
+ 'ID' => 'Indonesia',
111
+ 'IE' => 'Ireland',
112
+ 'IL' => 'Israel',
113
+ 'IN' => 'India',
114
+ 'IO' => 'British Indian Ocean Territory',
115
+ 'IQ' => 'Iraq',
116
+ 'IR' => 'Iran',
117
+ 'IS' => 'Iceland',
118
+ 'IT' => 'Italy',
119
+ 'JM' => 'Jamaica',
120
+ 'JO' => 'Jordan',
121
+ 'JP' => 'Japan',
122
+ 'KE' => 'Kenya',
123
+ 'KG' => 'Kyrgyzstan',
124
+ 'KH' => 'Cambodia',
125
+ 'KI' => 'Kiribati',
126
+ 'KM' => 'Comoros',
127
+ 'KN' => 'Saint Kitts and Nevis',
128
+ 'KP' => 'North Korea',
129
+ 'KR' => 'South Korea',
130
+ 'KW' => 'Kuwait',
131
+ 'KY' => 'Cayman Islands',
132
+ 'KZ' => 'Kazakstan',
133
+ 'LA' => 'Laos',
134
+ 'LB' => 'Lebanon',
135
+ 'LC' => 'Saint Lucia',
136
+ 'LI' => 'Liechtenstein',
137
+ 'LK' => 'Sri Lanka',
138
+ 'LR' => 'Liberia',
139
+ 'LS' => 'Lesotho',
140
+ 'LT' => 'Lithuania',
141
+ 'LU' => 'Luxembourg',
142
+ 'LV' => 'Latvia',
143
+ 'LY' => 'Libyan Arab Jamahiriya',
144
+ 'MA' => 'Morocco',
145
+ 'MC' => 'Monaco',
146
+ 'MD' => 'Moldova',
147
+ 'MG' => 'Madagascar',
148
+ 'MH' => 'Marshall Islands',
149
+ 'MK' => 'Macedonia',
150
+ 'ML' => 'Mali',
151
+ 'MM' => 'Myanmar',
152
+ 'MN' => 'Mongolia',
153
+ 'MO' => 'Macao',
154
+ 'MP' => 'Northern Mariana Islands',
155
+ 'MQ' => 'Martinique',
156
+ 'MR' => 'Mauritania',
157
+ 'MS' => 'Montserrat',
158
+ 'MT' => 'Malta',
159
+ 'MU' => 'Mauritius',
160
+ 'MV' => 'Maldives',
161
+ 'MW' => 'Malawi',
162
+ 'MX' => 'Mexico',
163
+ 'MY' => 'Malaysia',
164
+ 'MZ' => 'Mozambique',
165
+ 'NA' => 'Namibia',
166
+ 'NC' => 'New Caledonia',
167
+ 'NE' => 'Niger',
168
+ 'NF' => 'Norfolk Island',
169
+ 'NG' => 'Nigeria',
170
+ 'NI' => 'Nicaragua',
171
+ 'NL' => 'Netherlands',
172
+ 'NO' => 'Norway',
173
+ 'NP' => 'Nepal',
174
+ 'NR' => 'Nauru',
175
+ 'NU' => 'Niue',
176
+ 'NZ' => 'New Zealand',
177
+ 'OM' => 'Oman',
178
+ 'PA' => 'Panama',
179
+ 'PE' => 'Peru',
180
+ 'PF' => 'French Polynesia',
181
+ 'PG' => 'Papua New Guinea',
182
+ 'PH' => 'Philippines',
183
+ 'PK' => 'Pakistan',
184
+ 'PL' => 'Poland',
185
+ 'PM' => 'Saint Pierre and Miquelon',
186
+ 'PN' => 'Pitcairn',
187
+ 'PR' => 'Puerto Rico',
188
+ 'PS' => 'Palestine',
189
+ 'PT' => 'Portugal',
190
+ 'PW' => 'Palau',
191
+ 'PY' => 'Paraguay',
192
+ 'QA' => 'Qatar',
193
+ 'RE' => 'Reunion',
194
+ 'RO' => 'Romania',
195
+ 'RU' => 'Russia',
196
+ 'RW' => 'Rwanda',
197
+ 'SA' => 'Saudi Arabia',
198
+ 'SB' => 'Solomon Islands',
199
+ 'SC' => 'Seychelles',
200
+ 'SD' => 'Sudan',
201
+ 'SE' => 'Sweden',
202
+ 'SG' => 'Singapore',
203
+ 'SH' => 'Saint Helena',
204
+ 'SI' => 'Slovenia',
205
+ 'SJ' => 'Svalbard and Jan Mayen',
206
+ 'SK' => 'Slovakia',
207
+ 'SL' => 'Sierra Leone',
208
+ 'SM' => 'San Marino',
209
+ 'SN' => 'Senegal',
210
+ 'SO' => 'Somalia',
211
+ 'SR' => 'Suriname',
212
+ 'ST' => 'Sao Tome and Principe',
213
+ 'SV' => 'El Salvador',
214
+ 'SY' => 'Syria',
215
+ 'SZ' => 'Swaziland',
216
+ 'TC' => 'Turks and Caicos Islands',
217
+ 'TD' => 'Chad',
218
+ 'TF' => 'French Southern territories',
219
+ 'TG' => 'Togo',
220
+ 'TH' => 'Thailand',
221
+ 'TJ' => 'Tajikistan',
222
+ 'TK' => 'Tokelau',
223
+ 'TM' => 'Turkmenistan',
224
+ 'TN' => 'Tunisia',
225
+ 'TO' => 'Tonga',
226
+ 'TP' => 'East Timor',
227
+ 'TR' => 'Turkey',
228
+ 'TT' => 'Trinidad and Tobago',
229
+ 'TV' => 'Tuvalu',
230
+ 'TW' => 'Taiwan',
231
+ 'TZ' => 'Tanzania',
232
+ 'UA' => 'Ukraine',
233
+ 'UG' => 'Uganda',
234
+ 'UM' => 'United States Minor Outlying Islands',
235
+ 'US' => 'United States',
236
+ 'UY' => 'Uruguay',
237
+ 'UZ' => 'Uzbekistan',
238
+ 'VA' => 'Holy See (Vatican City State)',
239
+ 'VC' => 'Saint Vincent and the Grenadines',
240
+ 'VE' => 'Venezuela',
241
+ 'VG' => 'Virgin Islands, British',
242
+ 'VI' => 'Virgin Islands, U.S.',
243
+ 'VN' => 'Vietnam',
244
+ 'VU' => 'Vanuatu',
245
+ 'WF' => 'Wallis and Futuna',
246
+ 'WS' => 'Samoa',
247
+ 'YE' => 'Yemen',
248
+ 'YT' => 'Mayotte',
249
+ 'YU' => 'Yugoslavia',
250
+ 'ZA' => 'South Africa',
251
+ 'ZM' => 'Zambia',
252
+ 'ZW' => 'Zimbabwe'
253
  );
tools/nprogress/nprogress.css CHANGED
@@ -1,72 +1,88 @@
1
  #nprogress {
2
- pointer-events: none;
3
  }
4
 
5
  #nprogress .bar {
6
- background: #29d;
7
-
8
- position: fixed;
9
- z-index: 1031;
10
- top: 0;
11
- left: 0;
12
-
13
- width: 100%;
14
- height: 2px;
15
  }
16
 
17
  /* Fancy blur effect */
18
  #nprogress .peg {
19
- display: block;
20
- position: absolute;
21
- right: 0px;
22
- width: 100px;
23
- height: 100%;
24
- box-shadow: 0 0 10px #29d, 0 0 5px #29d;
25
- opacity: 1.0;
26
-
27
- -webkit-transform: rotate(3deg) translate(0px, -4px);
28
- -ms-transform: rotate(3deg) translate(0px, -4px);
29
- transform: rotate(3deg) translate(0px, -4px);
30
  }
31
 
32
  /* Remove these to get rid of the spinner */
33
  #nprogress .spinner {
34
- display: block;
35
- position: fixed;
36
- z-index: 1031;
37
- top: 15px;
38
- right: 15px;
39
  }
40
 
41
  #nprogress .spinner-icon {
42
- width: 18px;
43
- height: 18px;
44
- box-sizing: border-box;
45
-
46
- border: solid 2px transparent;
47
- border-top-color: #29d;
48
- border-left-color: #29d;
49
- border-radius: 50%;
50
-
51
- -webkit-animation: nprogress-spinner 400ms linear infinite;
52
- animation: nprogress-spinner 400ms linear infinite;
53
  }
54
 
55
  .nprogress-custom-parent {
56
- overflow: hidden;
57
- position: relative;
58
  }
59
 
60
- .nprogress-custom-parent #nprogress .spinner,
61
- .nprogress-custom-parent #nprogress .bar {
62
- position: absolute;
63
  }
64
 
65
- @-webkit-keyframes nprogress-spinner {
66
- 0% { -webkit-transform: rotate(0deg); }
67
- 100% { -webkit-transform: rotate(360deg); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
- @keyframes nprogress-spinner {
70
- 0% { transform: rotate(0deg); }
71
- 100% { transform: rotate(360deg); }
 
 
 
 
 
72
  }
 
1
  #nprogress {
2
+ pointer-events: none;
3
  }
4
 
5
  #nprogress .bar {
6
+ background: #29d;
7
+ position: fixed;
8
+ z-index: 1031;
9
+ top: 0;
10
+ left: 0;
11
+ width: 100%;
12
+ height: 2px;
 
 
13
  }
14
 
15
  /* Fancy blur effect */
16
  #nprogress .peg {
17
+ display: block;
18
+ position: absolute;
19
+ right: 0px;
20
+ width: 100px;
21
+ height: 100%;
22
+ box-shadow: 0 0 10px #29d, 0 0 5px #29d;
23
+ opacity: 1.0;
24
+ -webkit-transform: rotate(3deg) translate(0px, -4px);
25
+ -ms-transform: rotate(3deg) translate(0px, -4px);
26
+ transform: rotate(3deg) translate(0px, -4px);
 
27
  }
28
 
29
  /* Remove these to get rid of the spinner */
30
  #nprogress .spinner {
31
+ display: block;
32
+ position: fixed;
33
+ z-index: 1031;
34
+ top: 15px;
35
+ right: 15px;
36
  }
37
 
38
  #nprogress .spinner-icon {
39
+ width: 18px;
40
+ height: 18px;
41
+ box-sizing: border-box;
42
+ border: solid 2px transparent;
43
+ border-top-color: #29d;
44
+ border-left-color: #29d;
45
+ border-radius: 50%;
46
+ -webkit-animation: nprogress-spinner 400ms linear infinite;
47
+ animation: nprogress-spinner 400ms linear infinite;
 
 
48
  }
49
 
50
  .nprogress-custom-parent {
51
+ overflow: hidden;
52
+ position: relative;
53
  }
54
 
55
+ .nprogress-custom-parent #nprogress .spinner, .nprogress-custom-parent #nprogress .bar
56
+ {
57
+ position: absolute;
58
  }
59
 
60
+ @
61
+ -webkit-keyframes nprogress-spinner { 0% {
62
+ -webkit-transform: rotate(0deg);
63
+ }
64
+
65
+ 100%
66
+ {
67
+ -webkit-transform
68
+ :
69
+
70
+ rotate
71
+ (360deg);
72
+
73
+ }
74
+ }
75
+ @
76
+ keyframes nprogress-spinner { 0% {
77
+ transform: rotate(0deg);
78
  }
79
+ 100%
80
+ {
81
+ transform
82
+ :
83
+
84
+ rotate
85
+ (360deg);
86
+
87
  }
88
+ }
tools/src/Google/Auth/Abstract.php CHANGED
@@ -25,16 +25,16 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
25
  abstract class Google_Auth_Abstract
26
  {
27
 
28
- /**
29
- * An utility function that first calls $this->auth->sign($request) and then
30
- * executes makeRequest() on that signed request.
31
- * Used for when a request
32
- * should be authenticated
33
- *
34
- * @param Google_Http_Request $request
35
- * @return Google_Http_Request $request
36
- */
37
- abstract public function authenticatedRequest(Google_Http_Request $request);
38
 
39
- abstract public function sign(Google_Http_Request $request);
40
  }
25
  abstract class Google_Auth_Abstract
26
  {
27
 
28
+ /**
29
+ * An utility function that first calls $this->auth->sign($request) and then
30
+ * executes makeRequest() on that signed request.
31
+ * Used for when a request
32
+ * should be authenticated
33
+ *
34
+ * @param Google_Http_Request $request
35
+ * @return Google_Http_Request $request
36
+ */
37
+ abstract public function authenticatedRequest(Google_Http_Request $request);
38
 
39
+ abstract public function sign(Google_Http_Request $request);
40
  }
tools/src/Google/Auth/AppIdentity.php CHANGED
@@ -27,70 +27,75 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
27
  */
28
  class Google_Auth_AppIdentity extends Google_Auth_Abstract
29
  {
30
- const CACHE_PREFIX = "Google_Auth_AppIdentity::";
31
- private $key = null;
32
- private $client;
33
- private $token = false;
34
- private $tokenScopes = false;
35
 
36
- public function __construct(Google_Client $client, $config = null)
37
- {
38
- $this->client = $client;
39
- }
40
 
41
- /**
42
- * Retrieve an access token for the scopes supplied.
43
- */
44
- public function authenticateForScope($scopes)
45
- {
46
- if ($this->token && $this->tokenScopes == $scopes) {
47
- return $this->token;
 
 
 
 
48
  }
49
- $cacheKey = self::CACHE_PREFIX;
50
- if (is_string($scopes)) {
51
- $cacheKey .= $scopes;
52
- } else
53
- if (is_array($scopes)) {
54
- $cacheKey .= implode(":", $scopes);
55
- }
56
- $this->token = $this->client->getCache()->get($cacheKey);
57
- if (! $this->token) {
58
- $this->token = AppIdentityService::getAccessToken($scopes);
59
- if ($this->token) {
60
- $this->client->getCache()->set($cacheKey, $this->token);
61
- }
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
- $this->tokenScopes = $scopes;
64
- return $this->token;
65
- }
66
 
67
- /**
68
- * Perform an authenticated / signed apiHttpRequest.
69
- * This function takes the apiHttpRequest, calls apiAuth->sign on it
70
- * (which can modify the request in what ever way fits the auth mechanism)
71
- * and then calls apiCurlIO::makeRequest on the signed request
72
- *
73
- * @param Google_Http_Request $request
74
- * @return Google_Http_Request The resulting HTTP response including the
75
- * responseHttpCode, responseHeaders and responseBody.
76
- */
77
- public function authenticatedRequest(Google_Http_Request $request)
78
- {
79
- $request = $this->sign($request);
80
- return $this->client->getIo()->makeRequest($request);
81
- }
82
 
83
- public function sign(Google_Http_Request $request)
84
- {
85
- if (! $this->token) {
86
- // No token, so nothing to do.
87
- return $request;
 
 
 
 
 
 
 
88
  }
89
- $this->client->getLogger()->debug('App Identity authentication');
90
- // Add the OAuth2 header to the request
91
- $request->setRequestHeaders(array(
92
- 'Authorization' => 'Bearer ' . $this->token['access_token']
93
- ));
94
- return $request;
95
- }
96
  }
27
  */
28
  class Google_Auth_AppIdentity extends Google_Auth_Abstract
29
  {
 
 
 
 
 
30
 
31
+ const CACHE_PREFIX = "Google_Auth_AppIdentity::";
 
 
 
32
 
33
+ private $key = null;
34
+
35
+ private $client;
36
+
37
+ private $token = false;
38
+
39
+ private $tokenScopes = false;
40
+
41
+ public function __construct(Google_Client $client, $config = null)
42
+ {
43
+ $this->client = $client;
44
  }
45
+
46
+ /**
47
+ * Retrieve an access token for the scopes supplied.
48
+ */
49
+ public function authenticateForScope($scopes)
50
+ {
51
+ if ($this->token && $this->tokenScopes == $scopes) {
52
+ return $this->token;
53
+ }
54
+ $cacheKey = self::CACHE_PREFIX;
55
+ if (is_string($scopes)) {
56
+ $cacheKey .= $scopes;
57
+ } else
58
+ if (is_array($scopes)) {
59
+ $cacheKey .= implode(":", $scopes);
60
+ }
61
+ $this->token = $this->client->getCache()->get($cacheKey);
62
+ if (! $this->token) {
63
+ $this->token = AppIdentityService::getAccessToken($scopes);
64
+ if ($this->token) {
65
+ $this->client->getCache()->set($cacheKey, $this->token);
66
+ }
67
+ }
68
+ $this->tokenScopes = $scopes;
69
+ return $this->token;
70
  }
 
 
 
71
 
72
+ /**
73
+ * Perform an authenticated / signed apiHttpRequest.
74
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
75
+ * (which can modify the request in what ever way fits the auth mechanism)
76
+ * and then calls apiCurlIO::makeRequest on the signed request
77
+ *
78
+ * @param Google_Http_Request $request
79
+ * @return Google_Http_Request The resulting HTTP response including the
80
+ * responseHttpCode, responseHeaders and responseBody.
81
+ */
82
+ public function authenticatedRequest(Google_Http_Request $request)
83
+ {
84
+ $request = $this->sign($request);
85
+ return $this->client->getIo()->makeRequest($request);
86
+ }
87
 
88
+ public function sign(Google_Http_Request $request)
89
+ {
90
+ if (! $this->token) {
91
+ // No token, so nothing to do.
92
+ return $request;
93
+ }
94
+ $this->client->getLogger()->debug('App Identity authentication');
95
+ // Add the OAuth2 header to the request
96
+ $request->setRequestHeaders(array(
97
+ 'Authorization' => 'Bearer ' . $this->token['access_token']
98
+ ));
99
+ return $request;
100
  }
 
 
 
 
 
 
 
101
  }
tools/src/Google/Auth/AssertionCredentials.php CHANGED
@@ -23,112 +23,121 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
23
  */
24
  class Google_Auth_AssertionCredentials
25
  {
26
- const MAX_TOKEN_LIFETIME_SECS = 3600;
27
- public $serviceAccountName;
28
- public $scopes;
29
- public $privateKey;
30
- public $privateKeyPassword;
31
- public $assertionType;
32
- public $sub;
33
- /**
34
- *
35
- * @deprecated
36
- *
37
- * @link http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
38
- */
39
- public $prn;
40
- private $useCache;
41
 
42
- /**
43
- *
44
- * @param
45
- * $serviceAccountName
46
- * @param $scopes array
47
- * List of scopes
48
- * @param
49
- * $privateKey
50
- * @param string $privateKeyPassword
51
- * @param string $assertionType
52
- * @param bool|string $sub
53
- * The email address of the user for which the
54
- * application is requesting delegated access.
55
- * @param
56
- * bool useCache Whether to generate a cache key and allow
57
- * automatic caching of the generated token.
58
- */
59
- public function __construct($serviceAccountName, $scopes, $privateKey, $privateKeyPassword = 'notasecret', $assertionType = 'http://oauth.net/grant_type/jwt/1.0/bearer', $sub = false, $useCache = true)
60
- {
61
- $this->serviceAccountName = $serviceAccountName;
62
- $this->scopes = is_string($scopes) ? $scopes : implode(' ', $scopes);
63
- $this->privateKey = $privateKey;
64
- $this->privateKeyPassword = $privateKeyPassword;
65
- $this->assertionType = $assertionType;
66
- $this->sub = $sub;
67
- $this->prn = $sub;
68
- $this->useCache = $useCache;
69
- }
70
 
71
- /**
72
- * Generate a unique key to represent this credential.
73
- *
74
- * @return string
75
- */
76
- public function getCacheKey()
77
- {
78
- if (! $this->useCache) {
79
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
- $h = $this->sub;
82
- $h .= $this->assertionType;
83
- $h .= $this->privateKey;
84
- $h .= $this->scopes;
85
- $h .= $this->serviceAccountName;
86
- return md5($h);
87
- }
88
 
89
- public function generateAssertion()
90
- {
91
- $now = time();
92
- $jwtParams = array(
93
- 'aud' => Google_Auth_OAuth2::OAUTH2_TOKEN_URI,
94
- 'scope' => $this->scopes,
95
- 'iat' => $now,
96
- 'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS,
97
- 'iss' => $this->serviceAccountName
98
- );
99
- if ($this->sub !== false) {
100
- $jwtParams['sub'] = $this->sub;
101
- } else
102
- if ($this->prn !== false) {
103
- $jwtParams['prn'] = $this->prn;
104
- }
105
- return $this->makeSignedJwt($jwtParams);
106
- }
107
 
108
- /**
109
- * Creates a signed JWT.
110
- *
111
- * @param array $payload
112
- * @return string The signed JWT.
113
- */
114
- private function makeSignedJwt($payload)
115
- {
116
- $header = array(
117
- 'typ' => 'JWT',
118
- 'alg' => 'RS256'
119
- );
120
- $payload = json_encode($payload);
121
- // Handle some overzealous escaping in PHP json that seemed to cause some errors
122
- // with claimsets.
123
- $payload = str_replace('\/', '/', $payload);
124
- $segments = array(
125
- Google_Utils::urlSafeB64Encode(json_encode($header)),
126
- Google_Utils::urlSafeB64Encode($payload)
127
- );
128
- $signingInput = implode('.', $segments);
129
- $signer = new Google_Signer_P12($this->privateKey, $this->privateKeyPassword);
130
- $signature = $signer->sign($signingInput);
131
- $segments[] = Google_Utils::urlSafeB64Encode($signature);
132
- return implode(".", $segments);
133
- }
134
  }
23
  */
24
  class Google_Auth_AssertionCredentials
25
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
+ const MAX_TOKEN_LIFETIME_SECS = 3600;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ public $serviceAccountName;
30
+
31
+ public $scopes;
32
+
33
+ public $privateKey;
34
+
35
+ public $privateKeyPassword;
36
+
37
+ public $assertionType;
38
+
39
+ public $sub;
40
+
41
+ /**
42
+ *
43
+ * @deprecated
44
+ *
45
+ * @link http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
46
+ */
47
+ public $prn;
48
+
49
+ private $useCache;
50
+
51
+ /**
52
+ *
53
+ * @param
54
+ * $serviceAccountName
55
+ * @param $scopes array
56
+ * List of scopes
57
+ * @param
58
+ * $privateKey
59
+ * @param string $privateKeyPassword
60
+ * @param string $assertionType
61
+ * @param bool|string $sub
62
+ * The email address of the user for which the
63
+ * application is requesting delegated access.
64
+ * @param
65
+ * bool useCache Whether to generate a cache key and allow
66
+ * automatic caching of the generated token.
67
+ */
68
+ public function __construct($serviceAccountName, $scopes, $privateKey, $privateKeyPassword = 'notasecret', $assertionType = 'http://oauth.net/grant_type/jwt/1.0/bearer', $sub = false, $useCache = true)
69
+ {
70
+ $this->serviceAccountName = $serviceAccountName;
71
+ $this->scopes = is_string($scopes) ? $scopes : implode(' ', $scopes);
72
+ $this->privateKey = $privateKey;
73
+ $this->privateKeyPassword = $privateKeyPassword;
74
+ $this->assertionType = $assertionType;
75
+ $this->sub = $sub;
76
+ $this->prn = $sub;
77
+ $this->useCache = $useCache;
78
+ }
79
+
80
+ /**
81
+ * Generate a unique key to represent this credential.
82
+ *
83
+ * @return string
84
+ */
85
+ public function getCacheKey()
86
+ {
87
+ if (! $this->useCache) {
88
+ return false;
89
+ }
90
+ $h = $this->sub;
91
+ $h .= $this->assertionType;
92
+ $h .= $this->privateKey;
93
+ $h .= $this->scopes;
94
+ $h .= $this->serviceAccountName;
95
+ return md5($h);
96
  }
 
 
 
 
 
 
 
97
 
98
+ public function generateAssertion()
99
+ {
100
+ $now = time();
101
+ $jwtParams = array(
102
+ 'aud' => Google_Auth_OAuth2::OAUTH2_TOKEN_URI,
103
+ 'scope' => $this->scopes,
104
+ 'iat' => $now,
105
+ 'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS,
106
+ 'iss' => $this->serviceAccountName
107
+ );
108
+ if ($this->sub !== false) {
109
+ $jwtParams['sub'] = $this->sub;
110
+ } else
111
+ if ($this->prn !== false) {
112
+ $jwtParams['prn'] = $this->prn;
113
+ }
114
+ return $this->makeSignedJwt($jwtParams);
115
+ }
116
 
117
+ /**
118
+ * Creates a signed JWT.
119
+ *
120
+ * @param array $payload
121
+ * @return string The signed JWT.
122
+ */
123
+ private function makeSignedJwt($payload)
124
+ {
125
+ $header = array(
126
+ 'typ' => 'JWT',
127
+ 'alg' => 'RS256'
128
+ );
129
+ $payload = json_encode($payload);
130
+ // Handle some overzealous escaping in PHP json that seemed to cause some errors
131
+ // with claimsets.
132
+ $payload = str_replace('\/', '/', $payload);
133
+ $segments = array(
134
+ Google_Utils::urlSafeB64Encode(json_encode($header)),
135
+ Google_Utils::urlSafeB64Encode($payload)
136
+ );
137
+ $signingInput = implode('.', $segments);
138
+ $signer = new Google_Signer_P12($this->privateKey, $this->privateKeyPassword);
139
+ $signature = $signer->sign($signingInput);
140
+ $segments[] = Google_Utils::urlSafeB64Encode($signature);
141
+ return implode(".", $segments);
142
+ }
143
  }
tools/src/Google/Auth/LoginTicket.php CHANGED
@@ -23,53 +23,54 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
23
  */
24
  class Google_Auth_LoginTicket
25
  {
26
- const USER_ATTR = "sub";
27
- // Information from id token envelope.
28
- private $envelope;
29
- // Information from id token payload.
30
- private $payload;
31
 
32
- /**
33
- * Creates a user based on the supplied token.
34
- *
35
- * @param string $envelope
36
- * Header from a verified authentication token.
37
- * @param string $payload
38
- * Information from a verified authentication token.
39
- */
40
- public function __construct($envelope, $payload)
41
- {
42
- $this->envelope = $envelope;
43
- $this->payload = $payload;
44
- }
45
 
46
- /**
47
- * Returns the numeric identifier for the user.
48
- *
49
- * @throws Google_Auth_Exception
50
- * @return
51
- *
52
- */
53
- public function getUserId()
54
- {
55
- if (array_key_exists(self::USER_ATTR, $this->payload)) {
56
- return $this->payload[self::USER_ATTR];
 
57
  }
58
- throw new Google_Auth_Exception("No user_id in token");
59
- }
60
 
61
- /**
62
- * Returns attributes from the login ticket.
63
- * This can contain
64
- * various information about the user session.
65
- *
66
- * @return array
67
- */
68
- public function getAttributes()
69
- {
70
- return array(
71
- "envelope" => $this->envelope,
72
- "payload" => $this->payload
73
- );
74
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
23
  */
24
  class Google_Auth_LoginTicket
25
  {
 
 
 
 
 
26
 
27
+ const USER_ATTR = "sub";
28
+ // Information from id token envelope.
29
+ private $envelope;
30
+ // Information from id token payload.
31
+ private $payload;
 
 
 
 
 
 
 
 
32
 
33
+ /**
34
+ * Creates a user based on the supplied token.
35
+ *
36
+ * @param string $envelope
37
+ * Header from a verified authentication token.
38
+ * @param string $payload
39
+ * Information from a verified authentication token.
40
+ */
41
+ public function __construct($envelope, $payload)
42
+ {
43
+ $this->envelope = $envelope;
44
+ $this->payload = $payload;
45
  }
 
 
46
 
47
+ /**
48
+ * Returns the numeric identifier for the user.
49
+ *
50
+ * @throws Google_Auth_Exception
51
+ * @return
52
+ *
53
+ */
54
+ public function getUserId()
55
+ {
56
+ if (array_key_exists(self::USER_ATTR, $this->payload)) {
57
+ return $this->payload[self::USER_ATTR];
58
+ }
59
+ throw new Google_Auth_Exception("No user_id in token");
60
+ }
61
+
62
+ /**
63
+ * Returns attributes from the login ticket.
64
+ * This can contain
65
+ * various information about the user session.
66
+ *
67
+ * @return array
68
+ */
69
+ public function getAttributes()
70
+ {
71
+ return array(
72
+ "envelope" => $this->envelope,
73
+ "payload" => $this->payload
74
+ );
75
+ }
76
  }
tools/src/Google/Auth/OAuth2.php CHANGED
@@ -25,515 +25,523 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
25
  */
26
  class Google_Auth_OAuth2 extends Google_Auth_Abstract
27
  {
28
- const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
29
- const OAUTH2_TOKEN_URI = 'https://accounts.google.com/o/oauth2/token';
30
- const OAUTH2_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth';
31
- const CLOCK_SKEW_SECS = 300;
32
- // five minutes in seconds
33
- const AUTH_TOKEN_LIFETIME_SECS = 300;
34
- // five minutes in seconds
35
- const MAX_TOKEN_LIFETIME_SECS = 86400;
36
- // one day in seconds
37
- const OAUTH2_ISSUER = 'accounts.google.com';
38
- /**
39
- *
40
- * @var Google_Auth_AssertionCredentials $assertionCredentials
41
- */
42
- private $assertionCredentials;
43
- /**
44
- *
45
- * @var string The state parameters for CSRF and other forgery protection.
46
- */
47
- private $state;
48
- /**
49
- *
50
- * @var array The token bundle.
51
- */
52
- private $token = array();
53
- /**
54
- *
55
- * @var Google_Client the base client
56
- */
57
- private $client;
58
 
59
- /**
60
- * Instantiates the class, but does not initiate the login flow, leaving it
61
- * to the discretion of the caller.
62
- */
63
- public function __construct(Google_Client $client)
64
- {
65
- $this->client = $client;
66
- }
67
 
68
- /**
69
- * Perform an authenticated / signed apiHttpRequest.
70
- * This function takes the apiHttpRequest, calls apiAuth->sign on it
71
- * (which can modify the request in what ever way fits the auth mechanism)
72
- * and then calls apiCurlIO::makeRequest on the signed request
73
- *
74
- * @param Google_Http_Request $request
75
- * @return Google_Http_Request The resulting HTTP response including the
76
- * responseHttpCode, responseHeaders and responseBody.
77
- */
78
- public function authenticatedRequest(Google_Http_Request $request)
79
- {
80
- $request = $this->sign($request);
81
- return $this->client->getIo()->makeRequest($request);
82
- }
83
 
84
- /**
85
- *
86
- * @param string $code
87
- * @throws Google_Auth_Exception
88
- * @return string
89
- */
90
- public function authenticate($code)
91
- {
92
- if (strlen($code) == 0) {
93
- throw new Google_Auth_Exception("Invalid code");
94
- }
95
- // We got here from the redirect from a successful authorization grant,
96
- // fetch the access token
97
- $request = new Google_Http_Request(self::OAUTH2_TOKEN_URI, 'POST', array(), array(
98
- 'code' => $code,
99
- 'grant_type' => 'authorization_code',
100
- 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
101
- 'client_id' => $this->client->getClassConfig($this, 'client_id'),
102
- 'client_secret' => $this->client->getClassConfig($this, 'client_secret')
103
- ));
104
- $request->disableGzip();
105
- $response = $this->client->getIo()->makeRequest($request);
106
- if ($response->getResponseHttpCode() == 200) {
107
- $this->setAccessToken($response->getResponseBody());
108
- $this->token['created'] = time();
109
- return $this->getAccessToken();
110
- } else {
111
- $decodedResponse = json_decode($response->getResponseBody(), true);
112
- if ($decodedResponse != null && $decodedResponse['error']) {
113
- $errorText = $decodedResponse['error'];
114
- if (isset($decodedResponse['error_description'])) {
115
- $errorText .= ": " . $decodedResponse['error_description'];
116
- }
117
- }
118
- throw new Google_Auth_Exception(sprintf("Error fetching OAuth2 access token, message: '%s'", $errorText), $response->getResponseHttpCode());
119
- }
120
- }
121
-
122
- /**
123
- * Create a URL to obtain user authorization.
124
- * The authorization endpoint allows the user to first
125
- * authenticate, and then grant/deny the access request.
126
- *
127
- * @param string $scope
128
- * The scope is expressed as a list of space-delimited strings.
129
- * @return string
130
- */
131
- public function createAuthUrl($scope)
132
- {
133
- $params = array(
134
- 'response_type' => 'code',
135
- 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
136
- 'client_id' => $this->client->getClassConfig($this, 'client_id'),
137
- 'scope' => $scope,
138
- 'access_type' => $this->client->getClassConfig($this, 'access_type')
139
- );
140
- // Prefer prompt to approval prompt.
141
- if ($this->client->getClassConfig($this, 'prompt')) {
142
- $params = $this->maybeAddParam($params, 'prompt');
143
- } else {
144
- $params = $this->maybeAddParam($params, 'approval_prompt');
145
- }
146
- $params = $this->maybeAddParam($params, 'login_hint');
147
- $params = $this->maybeAddParam($params, 'hd');
148
- $params = $this->maybeAddParam($params, 'openid.realm');
149
- $params = $this->maybeAddParam($params, 'include_granted_scopes');
150
- // If the list of scopes contains plus.login, add request_visible_actions
151
- // to auth URL.
152
- $rva = $this->client->getClassConfig($this, 'request_visible_actions');
153
- if (strpos($scope, 'plus.login') && strlen($rva) > 0) {
154
- $params['request_visible_actions'] = $rva;
155
- }
156
- if (isset($this->state)) {
157
- $params['state'] = $this->state;
158
- }
159
- return self::OAUTH2_AUTH_URL . "?" . http_build_query($params, '', '&');
160
- }
161
 
162
- /**
163
- *
164
- * @param string $token
165
- * @throws Google_Auth_Exception
166
- */
167
- public function setAccessToken($token)
168
- {
169
- $token = json_decode($token, true);
170
- if ($token == null) {
171
- throw new Google_Auth_Exception('Could not json decode the token');
172
- }
173
- if (! isset($token['access_token'])) {
174
- throw new Google_Auth_Exception("Invalid token format");
175
- }
176
- $this->token = $token;
177
- }
178
 
179
- public function getAccessToken()
180
- {
181
- return json_encode($this->token);
182
- }
 
183
 
184
- public function getRefreshToken()
185
- {
186
- if (array_key_exists('refresh_token', $this->token)) {
187
- return $this->token['refresh_token'];
188
- } else {
189
- return null;
190
- }
191
- }
192
 
193
- public function setState($state)
194
- {
195
- $this->state = $state;
196
- }
 
197
 
198
- public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
199
- {
200
- $this->assertionCredentials = $creds;
201
- }
 
202
 
203
- /**
204
- * Include an accessToken in a given apiHttpRequest.
205
- *
206
- * @param Google_Http_Request $request
207
- * @return Google_Http_Request
208
- * @throws Google_Auth_Exception
209
- */
210
- public function sign(Google_Http_Request $request)
211
- {
212
- // add the developer key to the request before signing it
213
- if ($this->client->getClassConfig($this, 'developer_key')) {
214
- $request->setQueryParam('key', $this->client->getClassConfig($this, 'developer_key'));
215
  }
216
- // Cannot sign the request without an OAuth access token.
217
- if (null == $this->token && null == $this->assertionCredentials) {
218
- return $request;
 
 
 
 
 
 
 
 
 
 
 
 
219
  }
220
- // Check if the token is set to expire in the next 30 seconds
221
- // (or has already expired).
222
- if ($this->isAccessTokenExpired()) {
223
- if ($this->assertionCredentials) {
224
- $this->refreshTokenWithAssertion();
225
- } else {
226
- $this->client->getLogger()->debug('OAuth2 access token expired');
227
- if (! array_key_exists('refresh_token', $this->token)) {
228
- $error = "The OAuth 2.0 access token has expired," . " and a refresh token is not available. Refresh tokens" . " are not returned for responses that were auto-approved.";
229
- $this->client->getLogger()->error($error);
230
- throw new Google_Auth_Exception($error);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  }
232
- $this->refreshToken($this->token['refresh_token']);
233
- }
234
  }
235
- $this->client->getLogger()->debug('OAuth2 authentication');
236
- // Add the OAuth2 header to the request
237
- $request->setRequestHeaders(array(
238
- 'Authorization' => 'Bearer ' . $this->token['access_token']
239
- ));
240
- return $request;
241
- }
242
 
243
- /**
244
- * Fetches a fresh access token with the given refresh token.
245
- *
246
- * @param string $refreshToken
247
- * @return void
248
- */
249
- public function refreshToken($refreshToken)
250
- {
251
- $this->refreshTokenRequest(array(
252
- 'client_id' => $this->client->getClassConfig($this, 'client_id'),
253
- 'client_secret' => $this->client->getClassConfig($this, 'client_secret'),
254
- 'refresh_token' => $refreshToken,
255
- 'grant_type' => 'refresh_token'
256
- ));
257
- }
258
-
259
- /**
260
- * Fetches a fresh access token with a given assertion token.
261
- *
262
- * @param Google_Auth_AssertionCredentials $assertionCredentials
263
- * optional.
264
- * @return void
265
- */
266
- public function refreshTokenWithAssertion($assertionCredentials = null)
267
- {
268
- if (! $assertionCredentials) {
269
- $assertionCredentials = $this->assertionCredentials;
270
- }
271
- $cacheKey = $assertionCredentials->getCacheKey();
272
- if ($cacheKey) {
273
- // We can check whether we have a token available in the
274
- // cache. If it is expired, we can retrieve a new one from
275
- // the assertion.
276
- $token = $this->client->getCache()->get($cacheKey);
277
- if ($token) {
278
- $this->setAccessToken($token);
279
- }
280
- if (! $this->isAccessTokenExpired()) {
281
- return;
282
- }
283
- }
284
- $this->client->getLogger()->debug('OAuth2 access token expired');
285
- $this->refreshTokenRequest(array(
286
- 'grant_type' => 'assertion',
287
- 'assertion_type' => $assertionCredentials->assertionType,
288
- 'assertion' => $assertionCredentials->generateAssertion()
289
- ));
290
- if ($cacheKey) {
291
- // Attempt to cache the token.
292
- $this->client->getCache()->set($cacheKey, $this->getAccessToken());
293
  }
294
- }
295
 
296
- private function refreshTokenRequest($params)
297
- {
298
- if (isset($params['assertion'])) {
299
- $this->client->getLogger()->info('OAuth2 access token refresh with Signed JWT assertion grants.');
300
- } else {
301
- $this->client->getLogger()->info('OAuth2 access token refresh');
302
- }
303
- $http = new Google_Http_Request(self::OAUTH2_TOKEN_URI, 'POST', array(), $params);
304
- $http->disableGzip();
305
- $request = $this->client->getIo()->makeRequest($http);
306
- $code = $request->getResponseHttpCode();
307
- $body = $request->getResponseBody();
308
- if (200 == $code) {
309
- $token = json_decode($body, true);
310
- if ($token == null) {
311
- throw new Google_Auth_Exception("Could not json decode the access token");
312
- }
313
- if (! isset($token['access_token']) || ! isset($token['expires_in'])) {
314
- throw new Google_Auth_Exception("Invalid token format");
315
- }
316
- if (isset($token['id_token'])) {
317
- $this->token['id_token'] = $token['id_token'];
318
- }
319
- $this->token['access_token'] = $token['access_token'];
320
- $this->token['expires_in'] = $token['expires_in'];
321
- $this->token['created'] = time();
322
- } else {
323
- throw new Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code);
324
  }
325
- }
326
 
327
- /**
328
- * Revoke an OAuth2 access token or refresh token.
329
- * This method will revoke the current access
330
- * token, if a token isn't provided.
331
- *
332
- * @throws Google_Auth_Exception
333
- * @param string|null $token
334
- * The token (access token or a refresh token) that should be revoked.
335
- * @return boolean Returns True if the revocation was successful, otherwise False.
336
- */
337
- public function revokeToken($token = null)
338
- {
339
- if (! $token) {
340
- if (! $this->token) {
341
- // Not initialized, no token to actually revoke
342
- return false;
343
- } elseif (array_key_exists('refresh_token', $this->token)) {
344
- $token = $this->token['refresh_token'];
345
- } else {
346
- $token = $this->token['access_token'];
347
- }
348
- }
349
- $request = new Google_Http_Request(self::OAUTH2_REVOKE_URI, 'POST', array(), "token=$token");
350
- $request->disableGzip();
351
- $response = $this->client->getIo()->makeRequest($request);
352
- $code = $response->getResponseHttpCode();
353
- if ($code == 200) {
354
- $this->token = null;
355
- return true;
356
  }
357
- return false;
358
- }
359
 
360
- /**
361
- * Returns if the access_token is expired.
362
- *
363
- * @return bool Returns True if the access_token is expired.
364
- */
365
- public function isAccessTokenExpired()
366
- {
367
- if (! $this->token || ! isset($this->token['created'])) {
368
- return true;
369
  }
370
- // If the token is set to expire in the next 30 seconds.
371
- $expired = ($this->token['created'] + ($this->token['expires_in'] - 30)) < time();
372
- return $expired;
373
- }
374
- // Gets federated sign-on certificates to use for verifying identity tokens.
375
- // Returns certs as array structure, where keys are key ids, and values
376
- // are PEM encoded certificates.
377
- private function getFederatedSignOnCerts()
378
- {
379
- return $this->retrieveCertsFromLocation($this->client->getClassConfig($this, 'federated_signon_certs_url'));
380
- }
381
 
382
- /**
383
- * Retrieve and cache a certificates file.
384
- *
385
- * @param $url string
386
- * location
387
- * @throws Google_Auth_Exception
388
- * @return array certificates
389
- */
390
- public function retrieveCertsFromLocation($url)
391
- {
392
- // If we're retrieving a local file, just grab it.
393
- if ("http" != substr($url, 0, 4)) {
394
- $file = file_get_contents($url);
395
- if ($file) {
396
- return json_decode($file, true);
397
- } else {
398
- throw new Google_Auth_Exception("Failed to retrieve verification certificates: '" . $url . "'.");
399
- }
400
- }
401
- // This relies on makeRequest caching certificate responses.
402
- $request = $this->client->getIo()->makeRequest(new Google_Http_Request($url));
403
- if ($request->getResponseHttpCode() == 200) {
404
- $certs = json_decode($request->getResponseBody(), true);
405
- if ($certs) {
406
- return $certs;
407
- }
408
  }
409
- throw new Google_Auth_Exception("Failed to retrieve verification certificates: '" . $request->getResponseBody() . "'.", $request->getResponseHttpCode());
410
- }
411
 
412
- /**
413
- * Verifies an id token and returns the authenticated apiLoginTicket.
414
- * Throws an exception if the id token is not valid.
415
- * The audience parameter can be used to control which id tokens are
416
- * accepted. By default, the id token must have been issued to this OAuth2 client.
417
- *
418
- * @param
419
- * $id_token
420
- * @param
421
- * $audience
422
- * @return Google_Auth_LoginTicket
423
- */
424
- public function verifyIdToken($id_token = null, $audience = null)
425
- {
426
- if (! $id_token) {
427
- $id_token = $this->token['id_token'];
428
  }
429
- $certs = $this->getFederatedSignonCerts();
430
- if (! $audience) {
431
- $audience = $this->client->getClassConfig($this, 'client_id');
432
- }
433
- return $this->verifySignedJwtWithCerts($id_token, $certs, $audience, self::OAUTH2_ISSUER);
434
- }
435
 
436
- /**
437
- * Verifies the id token, returns the verified token contents.
438
- *
439
- * @param $jwt string
440
- * the token
441
- * @param $certs array
442
- * of certificates
443
- * @param $required_audience string
444
- * the expected consumer of the token
445
- * @param
446
- * [$issuer] the expected issues, defaults to Google
447
- * @param
448
- * [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
449
- * @throws Google_Auth_Exception
450
- * @return mixed token information if valid, false if not
451
- */
452
- public function verifySignedJwtWithCerts($jwt, $certs, $required_audience, $issuer = null, $max_expiry = null)
453
- {
454
- if (! $max_expiry) {
455
- // Set the maximum time we will accept a token for.
456
- $max_expiry = self::MAX_TOKEN_LIFETIME_SECS;
457
- }
458
- $segments = explode(".", $jwt);
459
- if (count($segments) != 3) {
460
- throw new Google_Auth_Exception("Wrong number of segments in token: $jwt");
461
- }
462
- $signed = $segments[0] . "." . $segments[1];
463
- $signature = Google_Utils::urlSafeB64Decode($segments[2]);
464
- // Parse envelope.
465
- $envelope = json_decode(Google_Utils::urlSafeB64Decode($segments[0]), true);
466
- if (! $envelope) {
467
- throw new Google_Auth_Exception("Can't parse token envelope: " . $segments[0]);
468
- }
469
- // Parse token
470
- $json_body = Google_Utils::urlSafeB64Decode($segments[1]);
471
- $payload = json_decode($json_body, true);
472
- if (! $payload) {
473
- throw new Google_Auth_Exception("Can't parse token payload: " . $segments[1]);
474
- }
475
- // Check signature
476
- $verified = false;
477
- foreach ($certs as $keyName => $pem) {
478
- $public_key = new Google_Verifier_Pem($pem);
479
- if ($public_key->verify($signed, $signature)) {
480
- $verified = true;
481
- break;
482
- }
483
- }
484
- if (! $verified) {
485
- throw new Google_Auth_Exception("Invalid token signature: $jwt");
486
  }
487
- // Check issued-at timestamp
488
- $iat = 0;
489
- if (array_key_exists("iat", $payload)) {
490
- $iat = $payload["iat"];
 
 
 
 
 
 
 
 
 
 
 
491
  }
492
- if (! $iat) {
493
- throw new Google_Auth_Exception("No issue time in token: $json_body");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  }
495
- $earliest = $iat - self::CLOCK_SKEW_SECS;
496
- // Check expiration timestamp
497
- $now = time();
498
- $exp = 0;
499
- if (array_key_exists("exp", $payload)) {
500
- $exp = $payload["exp"];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
501
  }
502
- if (! $exp) {
503
- throw new Google_Auth_Exception("No expiration time in token: $json_body");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  }
505
- if ($exp >= $now + $max_expiry) {
506
- throw new Google_Auth_Exception(sprintf("Expiration time too far in future: %s", $json_body));
 
 
 
 
 
 
 
 
 
 
 
 
507
  }
508
- $latest = $exp + self::CLOCK_SKEW_SECS;
509
- if ($now < $earliest) {
510
- throw new Google_Auth_Exception(sprintf("Token used too early, %s < %s: %s", $now, $earliest, $json_body));
 
 
 
511
  }
512
- if ($now > $latest) {
513
- throw new Google_Auth_Exception(sprintf("Token used too late, %s > %s: %s", $now, $latest, $json_body));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
514
  }
515
- $iss = $payload['iss'];
516
- if ($issuer && $iss != $issuer) {
517
- throw new Google_Auth_Exception(sprintf("Invalid issuer, %s != %s: %s", $iss, $issuer, $json_body));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
518
  }
519
- // Check audience
520
- $aud = $payload["aud"];
521
- if ($aud != $required_audience) {
522
- throw new Google_Auth_Exception(sprintf("Wrong recipient, %s != %s:", $aud, $required_audience, $json_body));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  }
524
- // All good.
525
- return new Google_Auth_LoginTicket($envelope, $payload);
526
- }
527
 
528
- /**
529
- * Add a parameter to the auth params if not empty string.
530
- */
531
- private function maybeAddParam($params, $name)
532
- {
533
- $param = $this->client->getClassConfig($this, $name);
534
- if ($param != '') {
535
- $params[$name] = $param;
 
 
536
  }
537
- return $params;
538
- }
539
  }
25
  */
26
  class Google_Auth_OAuth2 extends Google_Auth_Abstract
27
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
 
 
 
 
 
 
 
30
 
31
+ const OAUTH2_TOKEN_URI = 'https://accounts.google.com/o/oauth2/token';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
+ const OAUTH2_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ const CLOCK_SKEW_SECS = 300;
36
+ // five minutes in seconds
37
+ const AUTH_TOKEN_LIFETIME_SECS = 300;
38
+ // five minutes in seconds
39
+ const MAX_TOKEN_LIFETIME_SECS = 86400;
40
+ // one day in seconds
41
+ const OAUTH2_ISSUER = 'accounts.google.com';
 
 
 
 
 
 
 
 
 
42
 
43
+ /**
44
+ *
45
+ * @var Google_Auth_AssertionCredentials $assertionCredentials
46
+ */
47
+ private $assertionCredentials;
48
 
49
+ /**
50
+ *
51
+ * @var string The state parameters for CSRF and other forgery protection.
52
+ */
53
+ private $state;
 
 
 
54
 
55
+ /**
56
+ *
57
+ * @var array The token bundle.
58
+ */
59
+ private $token = array();
60
 
61
+ /**
62
+ *
63
+ * @var Google_Client the base client
64
+ */
65
+ private $client;
66
 
67
+ /**
68
+ * Instantiates the class, but does not initiate the login flow, leaving it
69
+ * to the discretion of the caller.
70
+ */
71
+ public function __construct(Google_Client $client)
72
+ {
73
+ $this->client = $client;
 
 
 
 
 
74
  }
75
+
76
+ /**
77
+ * Perform an authenticated / signed apiHttpRequest.
78
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
79
+ * (which can modify the request in what ever way fits the auth mechanism)
80
+ * and then calls apiCurlIO::makeRequest on the signed request
81
+ *
82
+ * @param Google_Http_Request $request
83
+ * @return Google_Http_Request The resulting HTTP response including the
84
+ * responseHttpCode, responseHeaders and responseBody.
85
+ */
86
+ public function authenticatedRequest(Google_Http_Request $request)
87
+ {
88
+ $request = $this->sign($request);
89
+ return $this->client->getIo()->makeRequest($request);
90
  }
91
+
92
+ /**
93
+ *
94
+ * @param string $code
95
+ * @throws Google_Auth_Exception
96
+ * @return string
97
+ */
98
+ public function authenticate($code)
99
+ {
100
+ if (strlen($code) == 0) {
101
+ throw new Google_Auth_Exception("Invalid code");
102
+ }
103
+ // We got here from the redirect from a successful authorization grant,
104
+ // fetch the access token
105
+ $request = new Google_Http_Request(self::OAUTH2_TOKEN_URI, 'POST', array(), array(
106
+ 'code' => $code,
107
+ 'grant_type' => 'authorization_code',
108
+ 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
109
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
110
+ 'client_secret' => $this->client->getClassConfig($this, 'client_secret')
111
+ ));
112
+ $request->disableGzip();
113
+ $response = $this->client->getIo()->makeRequest($request);
114
+ if ($response->getResponseHttpCode() == 200) {
115
+ $this->setAccessToken($response->getResponseBody());
116
+ $this->token['created'] = time();
117
+ return $this->getAccessToken();
118
+ } else {
119
+ $decodedResponse = json_decode($response->getResponseBody(), true);
120
+ if ($decodedResponse != null && $decodedResponse['error']) {
121
+ $errorText = $decodedResponse['error'];
122
+ if (isset($decodedResponse['error_description'])) {
123
+ $errorText .= ": " . $decodedResponse['error_description'];
124
+ }
125
+ }
126
+ throw new Google_Auth_Exception(sprintf("Error fetching OAuth2 access token, message: '%s'", $errorText), $response->getResponseHttpCode());
127
  }
 
 
128
  }
 
 
 
 
 
 
 
129
 
130
+ /**
131
+ * Create a URL to obtain user authorization.
132
+ * The authorization endpoint allows the user to first
133
+ * authenticate, and then grant/deny the access request.
134
+ *
135
+ * @param string $scope
136
+ * The scope is expressed as a list of space-delimited strings.
137
+ * @return string
138
+ */
139
+ public function createAuthUrl($scope)
140
+ {
141
+ $params = array(
142
+ 'response_type' => 'code',
143
+ 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
144
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
145
+ 'scope' => $scope,
146
+ 'access_type' => $this->client->getClassConfig($this, 'access_type')
147
+ );
148
+ // Prefer prompt to approval prompt.
149
+ if ($this->client->getClassConfig($this, 'prompt')) {
150
+ $params = $this->maybeAddParam($params, 'prompt');
151
+ } else {
152
+ $params = $this->maybeAddParam($params, 'approval_prompt');
153
+ }
154
+ $params = $this->maybeAddParam($params, 'login_hint');
155
+ $params = $this->maybeAddParam($params, 'hd');
156
+ $params = $this->maybeAddParam($params, 'openid.realm');
157
+ $params = $this->maybeAddParam($params, 'include_granted_scopes');
158
+ // If the list of scopes contains plus.login, add request_visible_actions
159
+ // to auth URL.
160
+ $rva = $this->client->getClassConfig($this, 'request_visible_actions');
161
+ if (strpos($scope, 'plus.login') && strlen($rva) > 0) {
162
+ $params['request_visible_actions'] = $rva;
163
+ }
164
+ if (isset($this->state)) {
165
+ $params['state'] = $this->state;
166
+ }
167
+ return self::OAUTH2_AUTH_URL . "?" . http_build_query($params, '', '&');
 
 
 
 
 
 
 
 
 
 
 
 
168
  }
 
169
 
170
+ /**
171
+ *
172
+ * @param string $token
173
+ * @throws Google_Auth_Exception
174
+ */
175
+ public function setAccessToken($token)
176
+ {
177
+ $token = json_decode($token, true);
178
+ if ($token == null) {
179
+ throw new Google_Auth_Exception('Could not json decode the token');
180
+ }
181
+ if (! isset($token['access_token'])) {
182
+ throw new Google_Auth_Exception("Invalid token format");
183
+ }
184
+ $this->token = $token;
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  }
 
186
 
187
+ public function getAccessToken()
188
+ {
189
+ return json_encode($this->token);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  }
 
 
191
 
192
+ public function getRefreshToken()
193
+ {
194
+ if (array_key_exists('refresh_token', $this->token)) {
195
+ return $this->token['refresh_token'];
196
+ } else {
197
+ return null;
198
+ }
 
 
199
  }
 
 
 
 
 
 
 
 
 
 
 
200
 
201
+ public function setState($state)
202
+ {
203
+ $this->state = $state;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  }
 
 
205
 
206
+ public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
207
+ {
208
+ $this->assertionCredentials = $creds;
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  }
 
 
 
 
 
 
210
 
211
+ /**
212
+ * Include an accessToken in a given apiHttpRequest.
213
+ *
214
+ * @param Google_Http_Request $request
215
+ * @return Google_Http_Request
216
+ * @throws Google_Auth_Exception
217
+ */
218
+ public function sign(Google_Http_Request $request)
219
+ {
220
+ // add the developer key to the request before signing it
221
+ if ($this->client->getClassConfig($this, 'developer_key')) {
222
+ $request->setQueryParam('key', $this->client->getClassConfig($this, 'developer_key'));
223
+ }
224
+ // Cannot sign the request without an OAuth access token.
225
+ if (null == $this->token && null == $this->assertionCredentials) {
226
+ return $request;
227
+ }
228
+ // Check if the token is set to expire in the next 30 seconds
229
+ // (or has already expired).
230
+ if ($this->isAccessTokenExpired()) {
231
+ if ($this->assertionCredentials) {
232
+ $this->refreshTokenWithAssertion();
233
+ } else {
234
+ $this->client->getLogger()->debug('OAuth2 access token expired');
235
+ if (! array_key_exists('refresh_token', $this->token)) {
236
+ $error = "The OAuth 2.0 access token has expired," . " and a refresh token is not available. Refresh tokens" . " are not returned for responses that were auto-approved.";
237
+ $this->client->getLogger()->error($error);
238
+ throw new Google_Auth_Exception($error);
239
+ }
240
+ $this->refreshToken($this->token['refresh_token']);
241
+ }
242
+ }
243
+ $this->client->getLogger()->debug('OAuth2 authentication');
244
+ // Add the OAuth2 header to the request
245
+ $request->setRequestHeaders(array(
246
+ 'Authorization' => 'Bearer ' . $this->token['access_token']
247
+ ));
248
+ return $request;
 
 
 
 
 
 
 
 
 
 
 
 
249
  }
250
+
251
+ /**
252
+ * Fetches a fresh access token with the given refresh token.
253
+ *
254
+ * @param string $refreshToken
255
+ * @return void
256
+ */
257
+ public function refreshToken($refreshToken)
258
+ {
259
+ $this->refreshTokenRequest(array(
260
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
261
+ 'client_secret' => $this->client->getClassConfig($this, 'client_secret'),
262
+ 'refresh_token' => $refreshToken,
263
+ 'grant_type' => 'refresh_token'
264
+ ));
265
  }
266
+
267
+ /**
268
+ * Fetches a fresh access token with a given assertion token.
269
+ *
270
+ * @param Google_Auth_AssertionCredentials $assertionCredentials
271
+ * optional.
272
+ * @return void
273
+ */
274
+ public function refreshTokenWithAssertion($assertionCredentials = null)
275
+ {
276
+ if (! $assertionCredentials) {
277
+ $assertionCredentials = $this->assertionCredentials;
278
+ }
279
+ $cacheKey = $assertionCredentials->getCacheKey();
280
+ if ($cacheKey) {
281
+ // We can check whether we have a token available in the
282
+ // cache. If it is expired, we can retrieve a new one from
283
+ // the assertion.
284
+ $token = $this->client->getCache()->get($cacheKey);
285
+ if ($token) {
286
+ $this->setAccessToken($token);
287
+ }
288
+ if (! $this->isAccessTokenExpired()) {
289
+ return;
290
+ }
291
+ }
292
+ $this->client->getLogger()->debug('OAuth2 access token expired');
293
+ $this->refreshTokenRequest(array(
294
+ 'grant_type' => 'assertion',
295
+ 'assertion_type' => $assertionCredentials->assertionType,
296
+ 'assertion' => $assertionCredentials->generateAssertion()
297
+ ));
298
+ if ($cacheKey) {
299
+ // Attempt to cache the token.
300
+ $this->client->getCache()->set($cacheKey, $this->getAccessToken());
301
+ }
302
  }
303
+
304
+ private function refreshTokenRequest($params)
305
+ {
306
+ if (isset($params['assertion'])) {
307
+ $this->client->getLogger()->info('OAuth2 access token refresh with Signed JWT assertion grants.');
308
+ } else {
309
+ $this->client->getLogger()->info('OAuth2 access token refresh');
310
+ }
311
+ $http = new Google_Http_Request(self::OAUTH2_TOKEN_URI, 'POST', array(), $params);
312
+ $http->disableGzip();
313
+ $request = $this->client->getIo()->makeRequest($http);
314
+ $code = $request->getResponseHttpCode();
315
+ $body = $request->getResponseBody();
316
+ if (200 == $code) {
317
+ $token = json_decode($body, true);
318
+ if ($token == null) {
319
+ throw new Google_Auth_Exception("Could not json decode the access token");
320
+ }
321
+ if (! isset($token['access_token']) || ! isset($token['expires_in'])) {
322
+ throw new Google_Auth_Exception("Invalid token format");
323
+ }
324
+ if (isset($token['id_token'])) {
325
+ $this->token['id_token'] = $token['id_token'];
326
+ }
327
+ $this->token['access_token'] = $token['access_token'];
328
+ $this->token['expires_in'] = $token['expires_in'];
329
+ $this->token['created'] = time();
330
+ } else {
331
+ throw new Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code);
332
+ }
333
  }
334
+
335
+ /**
336
+ * Revoke an OAuth2 access token or refresh token.
337
+ * This method will revoke the current access
338
+ * token, if a token isn't provided.
339
+ *
340
+ * @throws Google_Auth_Exception
341
+ * @param string|null $token
342
+ * The token (access token or a refresh token) that should be revoked.
343
+ * @return boolean Returns True if the revocation was successful, otherwise False.
344
+ */
345
+ public function revokeToken($token = null)
346
+ {
347
+ if (! $token) {
348
+ if (! $this->token) {
349
+ // Not initialized, no token to actually revoke
350
+ return false;
351
+ } elseif (array_key_exists('refresh_token', $this->token)) {
352
+ $token = $this->token['refresh_token'];
353
+ } else {
354
+ $token = $this->token['access_token'];
355
+ }
356
+ }
357
+ $request = new Google_Http_Request(self::OAUTH2_REVOKE_URI, 'POST', array(), "token=$token");
358
+ $request->disableGzip();
359
+ $response = $this->client->getIo()->makeRequest($request);
360
+ $code = $response->getResponseHttpCode();
361
+ if ($code == 200) {
362
+ $this->token = null;
363
+ return true;
364
+ }
365
+ return false;
366
  }
367
+
368
+ /**
369
+ * Returns if the access_token is expired.
370
+ *
371
+ * @return bool Returns True if the access_token is expired.
372
+ */
373
+ public function isAccessTokenExpired()
374
+ {
375
+ if (! $this->token || ! isset($this->token['created'])) {
376
+ return true;
377
+ }
378
+ // If the token is set to expire in the next 30 seconds.
379
+ $expired = ($this->token['created'] + ($this->token['expires_in'] - 30)) < time();
380
+ return $expired;
381
  }
382
+ // Gets federated sign-on certificates to use for verifying identity tokens.
383
+ // Returns certs as array structure, where keys are key ids, and values
384
+ // are PEM encoded certificates.
385
+ private function getFederatedSignOnCerts()
386
+ {
387
+ return $this->retrieveCertsFromLocation($this->client->getClassConfig($this, 'federated_signon_certs_url'));
388
  }
389
+
390
+ /**
391
+ * Retrieve and cache a certificates file.
392
+ *
393
+ * @param $url string
394
+ * location
395
+ * @throws Google_Auth_Exception
396
+ * @return array certificates
397
+ */
398
+ public function retrieveCertsFromLocation($url)
399
+ {
400
+ // If we're retrieving a local file, just grab it.
401
+ if ("http" != substr($url, 0, 4)) {
402
+ $file = file_get_contents($url);
403
+ if ($file) {
404
+ return json_decode($file, true);
405
+ } else {
406
+ throw new Google_Auth_Exception("Failed to retrieve verification certificates: '" . $url . "'.");
407
+ }
408
+ }
409
+ // This relies on makeRequest caching certificate responses.
410
+ $request = $this->client->getIo()->makeRequest(new Google_Http_Request($url));
411
+ if ($request->getResponseHttpCode() == 200) {
412
+ $certs = json_decode($request->getResponseBody(), true);
413
+ if ($certs) {
414
+ return $certs;
415
+ }
416
+ }
417
+ throw new Google_Auth_Exception("Failed to retrieve verification certificates: '" . $request->getResponseBody() . "'.", $request->getResponseHttpCode());
418
  }
419
+
420
+ /**
421
+ * Verifies an id token and returns the authenticated apiLoginTicket.
422
+ * Throws an exception if the id token is not valid.
423
+ * The audience parameter can be used to control which id tokens are
424
+ * accepted. By default, the id token must have been issued to this OAuth2 client.
425
+ *
426
+ * @param
427
+ * $id_token
428
+ * @param
429
+ * $audience
430
+ * @return Google_Auth_LoginTicket
431
+ */
432
+ public function verifyIdToken($id_token = null, $audience = null)
433
+ {
434
+ if (! $id_token) {
435
+ $id_token = $this->token['id_token'];
436
+ }
437
+ $certs = $this->getFederatedSignonCerts();
438
+ if (! $audience) {
439
+ $audience = $this->client->getClassConfig($this, 'client_id');
440
+ }
441
+ return $this->verifySignedJwtWithCerts($id_token, $certs, $audience, self::OAUTH2_ISSUER);
442
  }
443
+
444
+ /**
445
+ * Verifies the id token, returns the verified token contents.
446
+ *
447
+ * @param $jwt string
448
+ * the token
449
+ * @param $certs array
450
+ * of certificates
451
+ * @param $required_audience string
452
+ * the expected consumer of the token
453
+ * @param
454
+ * [$issuer] the expected issues, defaults to Google
455
+ * @param
456
+ * [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
457
+ * @throws Google_Auth_Exception
458
+ * @return mixed token information if valid, false if not
459
+ */
460
+ public function verifySignedJwtWithCerts($jwt, $certs, $required_audience, $issuer = null, $max_expiry = null)
461
+ {
462
+ if (! $max_expiry) {
463
+ // Set the maximum time we will accept a token for.
464
+ $max_expiry = self::MAX_TOKEN_LIFETIME_SECS;
465
+ }
466
+ $segments = explode(".", $jwt);
467
+ if (count($segments) != 3) {
468
+ throw new Google_Auth_Exception("Wrong number of segments in token: $jwt");
469
+ }
470
+ $signed = $segments[0] . "." . $segments[1];
471
+ $signature = Google_Utils::urlSafeB64Decode($segments[2]);
472
+ // Parse envelope.
473
+ $envelope = json_decode(Google_Utils::urlSafeB64Decode($segments[0]), true);
474
+ if (! $envelope) {
475
+ throw new Google_Auth_Exception("Can't parse token envelope: " . $segments[0]);
476
+ }
477
+ // Parse token
478
+ $json_body = Google_Utils::urlSafeB64Decode($segments[1]);
479
+ $payload = json_decode($json_body, true);
480
+ if (! $payload) {
481
+ throw new Google_Auth_Exception("Can't parse token payload: " . $segments[1]);
482
+ }
483
+ // Check signature
484
+ $verified = false;
485
+ foreach ($certs as $keyName => $pem) {
486
+ $public_key = new Google_Verifier_Pem($pem);
487
+ if ($public_key->verify($signed, $signature)) {
488
+ $verified = true;
489
+ break;
490
+ }
491
+ }
492
+ if (! $verified) {
493
+ throw new Google_Auth_Exception("Invalid token signature: $jwt");
494
+ }
495
+ // Check issued-at timestamp
496
+ $iat = 0;
497
+ if (array_key_exists("iat", $payload)) {
498
+ $iat = $payload["iat"];
499
+ }
500
+ if (! $iat) {
501
+ throw new Google_Auth_Exception("No issue time in token: $json_body");
502
+ }
503
+ $earliest = $iat - self::CLOCK_SKEW_SECS;
504
+ // Check expiration timestamp
505
+ $now = time();
506
+ $exp = 0;
507
+ if (array_key_exists("exp", $payload)) {
508
+ $exp = $payload["exp"];
509
+ }
510
+ if (! $exp) {
511
+ throw new Google_Auth_Exception("No expiration time in token: $json_body");
512
+ }
513
+ if ($exp >= $now + $max_expiry) {
514
+ throw new Google_Auth_Exception(sprintf("Expiration time too far in future: %s", $json_body));
515
+ }
516
+ $latest = $exp + self::CLOCK_SKEW_SECS;
517
+ if ($now < $earliest) {
518
+ throw new Google_Auth_Exception(sprintf("Token used too early, %s < %s: %s", $now, $earliest, $json_body));
519
+ }
520
+ if ($now > $latest) {
521
+ throw new Google_Auth_Exception(sprintf("Token used too late, %s > %s: %s", $now, $latest, $json_body));
522
+ }
523
+ $iss = $payload['iss'];
524
+ if ($issuer && $iss != $issuer) {
525
+ throw new Google_Auth_Exception(sprintf("Invalid issuer, %s != %s: %s", $iss, $issuer, $json_body));
526
+ }
527
+ // Check audience
528
+ $aud = $payload["aud"];
529
+ if ($aud != $required_audience) {
530
+ throw new Google_Auth_Exception(sprintf("Wrong recipient, %s != %s:", $aud, $required_audience, $json_body));
531
+ }
532
+ // All good.
533
+ return new Google_Auth_LoginTicket($envelope, $payload);
534
  }
 
 
 
535
 
536
+ /**
537
+ * Add a parameter to the auth params if not empty string.
538
+ */
539
+ private function maybeAddParam($params, $name)
540
+ {
541
+ $param = $this->client->getClassConfig($this, $name);
542
+ if ($param != '') {
543
+ $params[$name] = $param;
544
+ }
545
+ return $params;
546
  }
 
 
547
  }
tools/src/Google/Auth/Simple.php CHANGED
@@ -27,37 +27,39 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
27
  */
28
  class Google_Auth_Simple extends Google_Auth_Abstract
29
  {
30
- private $key = null;
31
- private $client;
32
 
33
- public function __construct(Google_Client $client, $config = null)
34
- {
35
- $this->client = $client;
36
- }
37
 
38
- /**
39
- * Perform an authenticated / signed apiHttpRequest.
40
- * This function takes the apiHttpRequest, calls apiAuth->sign on it
41
- * (which can modify the request in what ever way fits the auth mechanism)
42
- * and then calls apiCurlIO::makeRequest on the signed request
43
- *
44
- * @param Google_Http_Request $request
45
- * @return Google_Http_Request The resulting HTTP response including the
46
- * responseHttpCode, responseHeaders and responseBody.
47
- */
48
- public function authenticatedRequest(Google_Http_Request $request)
49
- {
50
- $request = $this->sign($request);
51
- return $this->io->makeRequest($request);
52
- }
53
 
54
- public function sign(Google_Http_Request $request)
55
- {
56
- $key = $this->client->getClassConfig($this, 'developer_key');
57
- if ($key) {
58
- $this->client->getLogger()->debug('Simple API Access developer key authentication');
59
- $request->setQueryParam('key', $key);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
- return $request;
62
- }
63
  }
27
  */
28
  class Google_Auth_Simple extends Google_Auth_Abstract
29
  {
 
 
30
 
31
+ private $key = null;
 
 
 
32
 
33
+ private $client;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ public function __construct(Google_Client $client, $config = null)
36
+ {
37
+ $this->client = $client;
38
+ }
39
+
40
+ /**
41
+ * Perform an authenticated / signed apiHttpRequest.
42
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
43
+ * (which can modify the request in what ever way fits the auth mechanism)
44
+ * and then calls apiCurlIO::makeRequest on the signed request
45
+ *
46
+ * @param Google_Http_Request $request
47
+ * @return Google_Http_Request The resulting HTTP response including the
48
+ * responseHttpCode, responseHeaders and responseBody.
49
+ */
50
+ public function authenticatedRequest(Google_Http_Request $request)
51
+ {
52
+ $request = $this->sign($request);
53
+ return $this->io->makeRequest($request);
54
+ }
55
+
56
+ public function sign(Google_Http_Request $request)
57
+ {
58
+ $key = $this->client->getClassConfig($this, 'developer_key');
59
+ if ($key) {
60
+ $this->client->getLogger()->debug('Simple API Access developer key authentication');
61
+ $request->setQueryParam('key', $key);
62
+ }
63
+ return $request;
64
  }
 
 
65
  }
tools/src/Google/Cache/Abstract.php CHANGED
@@ -23,36 +23,36 @@
23
  abstract class Google_Cache_Abstract
24
  {
25
 
26
- abstract public function __construct(Google_Client $client);
27
 
28
- /**
29
- * Retrieves the data for the given key, or false if they
30
- * key is unknown or expired
31
- *
32
- * @param String $key
33
- * The key who's data to retrieve
34
- * @param boolean|int $expiration
35
- * Expiration time in seconds
36
- *
37
- */
38
- abstract public function get($key, $expiration = false);
39
 
40
- /**
41
- * Store the key => $value set.
42
- * The $value is serialized
43
- * by this function so can be of any type
44
- *
45
- * @param string $key
46
- * Key of the data
47
- * @param string $value
48
- * data
49
- */
50
- abstract public function set($key, $value);
51
 
52
- /**
53
- * Removes the key/data pair for the given $key
54
- *
55
- * @param String $key
56
- */
57
- abstract public function delete($key);
58
  }
23
  abstract class Google_Cache_Abstract
24
  {
25
 
26
+ abstract public function __construct(Google_Client $client);
27
 
28
+ /**
29
+ * Retrieves the data for the given key, or false if they
30
+ * key is unknown or expired
31
+ *
32
+ * @param String $key
33
+ * The key who's data to retrieve
34
+ * @param boolean|int $expiration
35
+ * Expiration time in seconds
36
+ *
37
+ */
38
+ abstract public function get($key, $expiration = false);
39
 
40
+ /**
41
+ * Store the key => $value set.
42
+ * The $value is serialized
43
+ * by this function so can be of any type
44
+ *
45
+ * @param string $key
46
+ * Key of the data
47
+ * @param string $value
48
+ * data
49
+ */
50
+ abstract public function set($key, $value);
51
 
52
+ /**
53
+ * Removes the key/data pair for the given $key
54
+ *
55
+ * @param String $key
56
+ */
57
+ abstract public function delete($key);
58
  }
tools/src/Google/Cache/Apc.php CHANGED
@@ -26,82 +26,83 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
26
  */
27
  class Google_Cache_Apc extends Google_Cache_Abstract
28
  {
29
- /**
30
- *
31
- * @var Google_Client the current client
32
- */
33
- private $client;
34
 
35
- public function __construct(Google_Client $client)
36
- {
37
- if (! function_exists('apc_add')) {
38
- $error = "Apc functions not available";
39
- $client->getLogger()->error($error);
40
- throw new Google_Cache_Exception($error);
41
- }
42
- $this->client = $client;
43
- }
44
 
45
- /**
46
- * @inheritDoc
47
- */
48
- public function get($key, $expiration = false)
49
- {
50
- $ret = apc_fetch($key);
51
- if ($ret === false) {
52
- $this->client->getLogger()->debug('APC cache miss', array(
53
- 'key' => $key
54
- ));
55
- return false;
56
  }
57
- if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
58
- $this->client->getLogger()->debug('APC cache miss (expired)', array(
59
- 'key' => $key,
60
- 'var' => $ret
61
- ));
62
- $this->delete($key);
63
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
- $this->client->getLogger()->debug('APC cache hit', array(
66
- 'key' => $key,
67
- 'var' => $ret
68
- ));
69
- return $ret['data'];
70
- }
71
 
72
- /**
73
- * @inheritDoc
74
- */
75
- public function set($key, $value)
76
- {
77
- $var = array(
78
- 'time' => time(),
79
- 'data' => $value
80
- );
81
- $rc = apc_store($key, $var);
82
- if ($rc == false) {
83
- $this->client->getLogger()->error('APC cache set failed', array(
84
- 'key' => $key,
85
- 'var' => $var
86
- ));
87
- throw new Google_Cache_Exception("Couldn't store data");
 
 
 
 
 
88
  }
89
- $this->client->getLogger()->debug('APC cache set', array(
90
- 'key' => $key,
91
- 'var' => $var
92
- ));
93
- }
94
 
95
- /**
96
- * @inheritDoc
97
- *
98
- * @param String $key
99
- */
100
- public function delete($key)
101
- {
102
- $this->client->getLogger()->debug('APC cache delete', array(
103
- 'key' => $key
104
- ));
105
- apc_delete($key);
106
- }
107
  }
26
  */
27
  class Google_Cache_Apc extends Google_Cache_Abstract
28
  {
 
 
 
 
 
29
 
30
+ /**
31
+ *
32
+ * @var Google_Client the current client
33
+ */
34
+ private $client;
 
 
 
 
35
 
36
+ public function __construct(Google_Client $client)
37
+ {
38
+ if (! function_exists('apc_add')) {
39
+ $error = "Apc functions not available";
40
+ $client->getLogger()->error($error);
41
+ throw new Google_Cache_Exception($error);
42
+ }
43
+ $this->client = $client;
 
 
 
44
  }
45
+
46
+ /**
47
+ * @inheritDoc
48
+ */
49
+ public function get($key, $expiration = false)
50
+ {
51
+ $ret = apc_fetch($key);
52
+ if ($ret === false) {
53
+ $this->client->getLogger()->debug('APC cache miss', array(
54
+ 'key' => $key
55
+ ));
56
+ return false;
57
+ }
58
+ if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
59
+ $this->client->getLogger()->debug('APC cache miss (expired)', array(
60
+ 'key' => $key,
61
+ 'var' => $ret
62
+ ));
63
+ $this->delete($key);
64
+ return false;
65
+ }
66
+ $this->client->getLogger()->debug('APC cache hit', array(
67
+ 'key' => $key,
68
+ 'var' => $ret
69
+ ));
70
+ return $ret['data'];
71
  }
 
 
 
 
 
 
72
 
73
+ /**
74
+ * @inheritDoc
75
+ */
76
+ public function set($key, $value)
77
+ {
78
+ $var = array(
79
+ 'time' => time(),
80
+ 'data' => $value
81
+ );
82
+ $rc = apc_store($key, $var);
83
+ if ($rc == false) {
84
+ $this->client->getLogger()->error('APC cache set failed', array(
85
+ 'key' => $key,
86
+ 'var' => $var
87
+ ));
88
+ throw new Google_Cache_Exception("Couldn't store data");
89
+ }
90
+ $this->client->getLogger()->debug('APC cache set', array(
91
+ 'key' => $key,
92
+ 'var' => $var
93
+ ));
94
  }
 
 
 
 
 
95
 
96
+ /**
97
+ * @inheritDoc
98
+ *
99
+ * @param String $key
100
+ */
101
+ public function delete($key)
102
+ {
103
+ $this->client->getLogger()->debug('APC cache delete', array(
104
+ 'key' => $key
105
+ ));
106
+ apc_delete($key);
107
+ }
108
  }
tools/src/Google/Cache/File.php CHANGED
@@ -26,157 +26,161 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
26
  */
27
  class Google_Cache_File extends Google_Cache_Abstract
28
  {
29
- const MAX_LOCK_RETRIES = 10;
30
- private $path;
31
- private $fh;
32
- /**
33
- *
34
- * @var Google_Client the current client
35
- */
36
- private $client;
37
-
38
- public function __construct(Google_Client $client)
39
- {
40
- $this->client = $client;
41
- $this->path = $this->client->getClassConfig($this, 'directory');
42
- }
43
-
44
- public function get($key, $expiration = false)
45
- {
46
- $storageFile = $this->getCacheFile($key);
47
- $data = false;
48
- if (! file_exists($storageFile)) {
49
- $this->client->getLogger()->debug('File cache miss', array(
50
- 'key' => $key,
51
- 'file' => $storageFile
52
- ));
53
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
- if ($expiration) {
56
- $mtime = filemtime($storageFile);
57
- if ((time() - $mtime) >= $expiration) {
58
- $this->client->getLogger()->debug('File cache miss (expired)', array(
59
- 'key' => $key,
60
- 'file' => $storageFile
 
 
 
 
 
 
 
 
61
  ));
62
- $this->delete($key);
63
- return false;
64
- }
65
  }
66
- if ($this->acquireReadLock($storageFile)) {
67
- $data = fread($this->fh, filesize($storageFile));
68
- $data = unserialize($data);
69
- $this->unlock($storageFile);
70
  }
71
- $this->client->getLogger()->debug('File cache hit', array(
72
- 'key' => $key,
73
- 'file' => $storageFile,
74
- 'var' => $data
75
- ));
76
- return $data;
77
- }
78
-
79
- public function set($key, $value)
80
- {
81
- $storageFile = $this->getWriteableCacheFile($key);
82
- if ($this->acquireWriteLock($storageFile)) {
83
- // We serialize the whole request object, since we don't only want the
84
- // responseContent but also the postBody used, headers, size, etc.
85
- $data = serialize($value);
86
- $result = fwrite($this->fh, $data);
87
- $this->unlock($storageFile);
88
- $this->client->getLogger()->debug('File cache set', array(
89
- 'key' => $key,
90
- 'file' => $storageFile,
91
- 'var' => $value
92
- ));
93
- } else {
94
- $this->client->getLogger()->notice('File cache set failed', array(
95
- 'key' => $key,
96
- 'file' => $storageFile
97
- ));
98
  }
99
- }
100
-
101
- public function delete($key)
102
- {
103
- $file = $this->getCacheFile($key);
104
- if (file_exists($file) && ! unlink($file)) {
105
- $this->client->getLogger()->error('File cache delete failed', array(
106
- 'key' => $key,
107
- 'file' => $file
108
- ));
109
- throw new Google_Cache_Exception("Cache file could not be deleted");
 
 
 
 
 
110
  }
111
- $this->client->getLogger()->debug('File cache delete', array(
112
- 'key' => $key,
113
- 'file' => $file
114
- ));
115
- }
116
-
117
- private function getWriteableCacheFile($file)
118
- {
119
- return $this->getCacheFile($file, true);
120
- }
121
-
122
- private function getCacheFile($file, $forWrite = false)
123
- {
124
- return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
125
- }
126
-
127
- private function getCacheDir($file, $forWrite)
128
- {
129
- // use the first 2 characters of the hash as a directory prefix
130
- // this should prevent slowdowns due to huge directory listings
131
- // and thus give some basic amount of scalability
132
- $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
133
- if ($forWrite && ! is_dir($storageDir)) {
134
- if (! mkdir($storageDir, 0755, true)) {
135
- $this->client->getLogger()->error('File cache creation failed', array(
136
- 'dir' => $storageDir
137
- ));
138
- throw new Google_Cache_Exception("Could not create storage directory: $storageDir");
139
- }
140
  }
141
- return $storageDir;
142
- }
143
-
144
- private function acquireReadLock($storageFile)
145
- {
146
- return $this->acquireLock(LOCK_SH, $storageFile);
147
- }
148
-
149
- private function acquireWriteLock($storageFile)
150
- {
151
- $rc = $this->acquireLock(LOCK_EX, $storageFile);
152
- if (! $rc) {
153
- $this->client->getLogger()->notice('File cache write lock failed', array(
154
- 'file' => $storageFile
155
- ));
156
- $this->delete($storageFile);
157
  }
158
- return $rc;
159
- }
160
-
161
- private function acquireLock($type, $storageFile)
162
- {
163
- $mode = $type == LOCK_EX ? "w" : "r";
164
- $this->fh = fopen($storageFile, $mode);
165
- $count = 0;
166
- while (! flock($this->fh, $type | LOCK_NB)) {
167
- // Sleep for 10ms.
168
- usleep(10000);
169
- if (++ $count < self::MAX_LOCK_RETRIES) {
170
- return false;
171
- }
172
  }
173
- return true;
174
- }
175
 
176
- public function unlock($storageFile)
177
- {
178
- if ($this->fh) {
179
- flock($this->fh, LOCK_UN);
 
180
  }
181
- }
182
  }
26
  */
27
  class Google_Cache_File extends Google_Cache_Abstract
28
  {
29
+
30
+ const MAX_LOCK_RETRIES = 10;
31
+
32
+ private $path;
33
+
34
+ private $fh;
35
+
36
+ /**
37
+ *
38
+ * @var Google_Client the current client
39
+ */
40
+ private $client;
41
+
42
+ public function __construct(Google_Client $client)
43
+ {
44
+ $this->client = $client;
45
+ $this->path = $this->client->getClassConfig($this, 'directory');
46
+ }
47
+
48
+ public function get($key, $expiration = false)
49
+ {
50
+ $storageFile = $this->getCacheFile($key);
51
+ $data = false;
52
+ if (! file_exists($storageFile)) {
53
+ $this->client->getLogger()->debug('File cache miss', array(
54
+ 'key' => $key,
55
+ 'file' => $storageFile
56
+ ));
57
+ return false;
58
+ }
59
+ if ($expiration) {
60
+ $mtime = filemtime($storageFile);
61
+ if ((time() - $mtime) >= $expiration) {
62
+ $this->client->getLogger()->debug('File cache miss (expired)', array(
63
+ 'key' => $key,
64
+ 'file' => $storageFile
65
+ ));
66
+ $this->delete($key);
67
+ return false;
68
+ }
69
+ }
70
+ if ($this->acquireReadLock($storageFile)) {
71
+ $data = fread($this->fh, filesize($storageFile));
72
+ $data = unserialize($data);
73
+ $this->unlock($storageFile);
74
+ }
75
+ $this->client->getLogger()->debug('File cache hit', array(
76
+ 'key' => $key,
77
+ 'file' => $storageFile,
78
+ 'var' => $data
79
+ ));
80
+ return $data;
81
+ }
82
+
83
+ public function set($key, $value)
84
+ {
85
+ $storageFile = $this->getWriteableCacheFile($key);
86
+ if ($this->acquireWriteLock($storageFile)) {
87
+ // We serialize the whole request object, since we don't only want the
88
+ // responseContent but also the postBody used, headers, size, etc.
89
+ $data = serialize($value);
90
+ $result = fwrite($this->fh, $data);
91
+ $this->unlock($storageFile);
92
+ $this->client->getLogger()->debug('File cache set', array(
93
+ 'key' => $key,
94
+ 'file' => $storageFile,
95
+ 'var' => $value
96
+ ));
97
+ } else {
98
+ $this->client->getLogger()->notice('File cache set failed', array(
99
+ 'key' => $key,
100
+ 'file' => $storageFile
101
+ ));
102
+ }
103
  }
104
+
105
+ public function delete($key)
106
+ {
107
+ $file = $this->getCacheFile($key);
108
+ if (file_exists($file) && ! unlink($file)) {
109
+ $this->client->getLogger()->error('File cache delete failed', array(
110
+ 'key' => $key,
111
+ 'file' => $file
112
+ ));
113
+ throw new Google_Cache_Exception("Cache file could not be deleted");
114
+ }
115
+ $this->client->getLogger()->debug('File cache delete', array(
116
+ 'key' => $key,
117
+ 'file' => $file
118
  ));
 
 
 
119
  }
120
+
121
+ private function getWriteableCacheFile($file)
122
+ {
123
+ return $this->getCacheFile($file, true);
124
  }
125
+
126
+ private function getCacheFile($file, $forWrite = false)
127
+ {
128
+ return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  }
130
+
131
+ private function getCacheDir($file, $forWrite)
132
+ {
133
+ // use the first 2 characters of the hash as a directory prefix
134
+ // this should prevent slowdowns due to huge directory listings
135
+ // and thus give some basic amount of scalability
136
+ $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
137
+ if ($forWrite && ! is_dir($storageDir)) {
138
+ if (! mkdir($storageDir, 0755, true)) {
139
+ $this->client->getLogger()->error('File cache creation failed', array(
140
+ 'dir' => $storageDir
141
+ ));
142
+ throw new Google_Cache_Exception("Could not create storage directory: $storageDir");
143
+ }
144
+ }
145
+ return $storageDir;
146
  }
147
+
148
+ private function acquireReadLock($storageFile)
149
+ {
150
+ return $this->acquireLock(LOCK_SH, $storageFile);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  }
152
+
153
+ private function acquireWriteLock($storageFile)
154
+ {
155
+ $rc = $this->acquireLock(LOCK_EX, $storageFile);
156
+ if (! $rc) {
157
+ $this->client->getLogger()->notice('File cache write lock failed', array(
158
+ 'file' => $storageFile
159
+ ));
160
+ $this->delete($storageFile);
161
+ }
162
+ return $rc;
 
 
 
 
 
163
  }
164
+
165
+ private function acquireLock($type, $storageFile)
166
+ {
167
+ $mode = $type == LOCK_EX ? "w" : "r";
168
+ $this->fh = fopen($storageFile, $mode);
169
+ $count = 0;
170
+ while (! flock($this->fh, $type | LOCK_NB)) {
171
+ // Sleep for 10ms.
172
+ usleep(10000);
173
+ if (++ $count < self::MAX_LOCK_RETRIES) {
174
+ return false;
175
+ }
176
+ }
177
+ return true;
178
  }
 
 
179
 
180
+ public function unlock($storageFile)
181
+ {
182
+ if ($this->fh) {
183
+ flock($this->fh, LOCK_UN);
184
+ }
185
  }
 
186
  }
tools/src/Google/Cache/Memcache.php CHANGED
@@ -28,146 +28,151 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
28
  */
29
  class Google_Cache_Memcache extends Google_Cache_Abstract
30
  {
31
- private $connection = false;
32
- private $mc = false;
33
- private $host;
34
- private $port;
35
- /**
36
- *
37
- * @var Google_Client the current client
38
- */
39
- private $client;
40
 
41
- public function __construct(Google_Client $client)
42
- {
43
- if (! function_exists('memcache_connect') && ! class_exists("Memcached")) {
44
- $error = "Memcache functions not available";
45
- $client->getLogger()->error($error);
46
- throw new Google_Cache_Exception($error);
47
- }
48
- $this->client = $client;
49
- if ($client->isAppEngine()) {
50
- // No credentials needed for GAE.
51
- $this->mc = new Memcached();
52
- $this->connection = true;
53
- } else {
54
- $this->host = $client->getClassConfig($this, 'host');
55
- $this->port = $client->getClassConfig($this, 'port');
56
- if (empty($this->host) || (empty($this->port) && (string) $this->port != "0")) {
57
- $error = "You need to supply a valid memcache host and port";
58
- $client->getLogger()->error($error);
59
- throw new Google_Cache_Exception($error);
60
- }
61
- }
62
- }
63
 
64
- /**
65
- * @inheritDoc
66
- */
67
- public function get($key, $expiration = false)
68
- {
69
- $this->connect();
70
- $ret = false;
71
- if ($this->mc) {
72
- $ret = $this->mc->get($key);
73
- } else {
74
- $ret = memcache_get($this->connection, $key);
75
- }
76
- if ($ret === false) {
77
- $this->client->getLogger()->debug('Memcache cache miss', array(
78
- 'key' => $key
79
- ));
80
- return false;
81
- }
82
- if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
83
- $this->client->getLogger()->debug('Memcache cache miss (expired)', array(
84
- 'key' => $key,
85
- 'var' => $ret
86
- ));
87
- $this->delete($key);
88
- return false;
89
- }
90
- $this->client->getLogger()->debug('Memcache cache hit', array(
91
- 'key' => $key,
92
- 'var' => $ret
93
- ));
94
- return $ret['data'];
95
- }
96
 
97
- /**
98
- * @inheritDoc
99
- *
100
- * @param string $key
101
- * @param string $value
102
- * @throws Google_Cache_Exception
103
- */
104
- public function set($key, $value)
105
- {
106
- $this->connect();
107
- // we store it with the cache_time default expiration so objects will at
108
- // least get cleaned eventually.
109
- $data = array(
110
- 'time' => time(),
111
- 'data' => $value
112
- );
113
- $rc = false;
114
- if ($this->mc) {
115
- $rc = $this->mc->set($key, $data);
116
- } else {
117
- $rc = memcache_set($this->connection, $key, $data, false);
118
- }
119
- if ($rc == false) {
120
- $this->client->getLogger()->error('Memcache cache set failed', array(
121
- 'key' => $key,
122
- 'var' => $data
123
- ));
124
- throw new Google_Cache_Exception("Couldn't store data in cache");
 
 
 
125
  }
126
- $this->client->getLogger()->debug('Memcache cache set', array(
127
- 'key' => $key,
128
- 'var' => $data
129
- ));
130
- }
131
 
132
- /**
133
- * @inheritDoc
134
- *
135
- * @param String $key
136
- */
137
- public function delete($key)
138
- {
139
- $this->connect();
140
- if ($this->mc) {
141
- $this->mc->delete($key, 0);
142
- } else {
143
- memcache_delete($this->connection, $key, 0);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  }
145
- $this->client->getLogger()->debug('Memcache cache delete', array(
146
- 'key' => $key
147
- ));
148
- }
149
 
150
- /**
151
- * Lazy initialiser for memcache connection.
152
- * Uses pconnect for to take
153
- * advantage of the persistence pool where possible.
154
- */
155
- private function connect()
156
- {
157
- if ($this->connection) {
158
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  }
160
- if (class_exists("Memcached")) {
161
- $this->mc = new Memcached();
162
- $this->mc->addServer($this->host, $this->port);
163
- $this->connection = true;
164
- } else {
165
- $this->connection = memcache_pconnect($this->host, $this->port);
 
 
 
 
 
 
 
 
 
 
 
166
  }
167
- if (! $this->connection) {
168
- $error = "Couldn't connect to memcache server";
169
- $this->client->getLogger()->error($error);
170
- throw new Google_Cache_Exception($error);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  }
172
- }
173
  }
28
  */
29
  class Google_Cache_Memcache extends Google_Cache_Abstract
30
  {
 
 
 
 
 
 
 
 
 
31
 
32
+ private $connection = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
+ private $mc = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
+ private $host;
37
+
38
+ private $port;
39
+
40
+ /**
41
+ *
42
+ * @var Google_Client the current client
43
+ */
44
+ private $client;
45
+
46
+ public function __construct(Google_Client $client)
47
+ {
48
+ if (! function_exists('memcache_connect') && ! class_exists("Memcached")) {
49
+ $error = "Memcache functions not available";
50
+ $client->getLogger()->error($error);
51
+ throw new Google_Cache_Exception($error);
52
+ }
53
+ $this->client = $client;
54
+ if ($client->isAppEngine()) {
55
+ // No credentials needed for GAE.
56
+ $this->mc = new Memcached();
57
+ $this->connection = true;
58
+ } else {
59
+ $this->host = $client->getClassConfig($this, 'host');
60
+ $this->port = $client->getClassConfig($this, 'port');
61
+ if (empty($this->host) || (empty($this->port) && (string) $this->port != "0")) {
62
+ $error = "You need to supply a valid memcache host and port";
63
+ $client->getLogger()->error($error);
64
+ throw new Google_Cache_Exception($error);
65
+ }
66
+ }
67
  }
 
 
 
 
 
68
 
69
+ /**
70
+ * @inheritDoc
71
+ */
72
+ public function get($key, $expiration = false)
73
+ {
74
+ $this->connect();
75
+ $ret = false;
76
+ if ($this->mc) {
77
+ $ret = $this->mc->get($key);
78
+ } else {
79
+ $ret = memcache_get($this->connection, $key);
80
+ }
81
+ if ($ret === false) {
82
+ $this->client->getLogger()->debug('Memcache cache miss', array(
83
+ 'key' => $key
84
+ ));
85
+ return false;
86
+ }
87
+ if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
88
+ $this->client->getLogger()->debug('Memcache cache miss (expired)', array(
89
+ 'key' => $key,
90
+ 'var' => $ret
91
+ ));
92
+ $this->delete($key);
93
+ return false;
94
+ }
95
+ $this->client->getLogger()->debug('Memcache cache hit', array(
96
+ 'key' => $key,
97
+ 'var' => $ret
98
+ ));
99
+ return $ret['data'];
100
  }
 
 
 
 
101
 
102
+ /**
103
+ * @inheritDoc
104
+ *
105
+ * @param string $key
106
+ * @param string $value
107
+ * @throws Google_Cache_Exception
108
+ */
109
+ public function set($key, $value)
110
+ {
111
+ $this->connect();
112
+ // we store it with the cache_time default expiration so objects will at
113
+ // least get cleaned eventually.
114
+ $data = array(
115
+ 'time' => time(),
116
+ 'data' => $value
117
+ );
118
+ $rc = false;
119
+ if ($this->mc) {
120
+ $rc = $this->mc->set($key, $data);
121
+ } else {
122
+ $rc = memcache_set($this->connection, $key, $data, false);
123
+ }
124
+ if ($rc == false) {
125
+ $this->client->getLogger()->error('Memcache cache set failed', array(
126
+ 'key' => $key,
127
+ 'var' => $data
128
+ ));
129
+ throw new Google_Cache_Exception("Couldn't store data in cache");
130
+ }
131
+ $this->client->getLogger()->debug('Memcache cache set', array(
132
+ 'key' => $key,
133
+ 'var' => $data
134
+ ));
135
  }
136
+
137
+ /**
138
+ * @inheritDoc
139
+ *
140
+ * @param String $key
141
+ */
142
+ public function delete($key)
143
+ {
144
+ $this->connect();
145
+ if ($this->mc) {
146
+ $this->mc->delete($key, 0);
147
+ } else {
148
+ memcache_delete($this->connection, $key, 0);
149
+ }
150
+ $this->client->getLogger()->debug('Memcache cache delete', array(
151
+ 'key' => $key
152
+ ));
153
  }
154
+
155
+ /**
156
+ * Lazy initialiser for memcache connection.
157
+ * Uses pconnect for to take
158
+ * advantage of the persistence pool where possible.
159
+ */
160
+ private function connect()
161
+ {
162
+ if ($this->connection) {
163
+ return;
164
+ }
165
+ if (class_exists("Memcached")) {
166
+ $this->mc = new Memcached();
167
+ $this->mc->addServer($this->host, $this->port);
168
+ $this->connection = true;
169
+ } else {
170
+ $this->connection = memcache_pconnect($this->host, $this->port);
171
+ }
172
+ if (! $this->connection) {
173
+ $error = "Couldn't connect to memcache server";
174
+ $this->client->getLogger()->error($error);
175
+ throw new Google_Cache_Exception($error);
176
+ }
177
  }
 
178
  }
tools/src/Google/Cache/Null.php CHANGED
@@ -23,32 +23,32 @@ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
23
  class Google_Cache_Null extends Google_Cache_Abstract
24
  {
25
 
26
- public function __construct(Google_Client $client)
27
- {}
28
 
29
- /**
30
- * @inheritDoc
31
- */
32
- public function get($key, $expiration = false)
33
- {
34
- return false;
35
- }
36
 
37
- /**
38
- * @inheritDoc
39
- */
40
- public function set($key, $value)
41
- {
42
- // Nop.
43
- }
44
 
45
- /**
46
- * @inheritDoc
47
- *
48
- * @param String $key
49
- */
50
- public function delete($key)
51
- {
52
- // Nop.
53
- }
54
  }
23
  class Google_Cache_Null extends Google_Cache_Abstract
24
  {
25
 
26
+ public function __construct(Google_Client $client)
27
+ {}
28
 
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ public function get($key, $expiration = false)
33
+ {
34
+ return false;
35
+ }
36
 
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ public function set($key, $value)
41
+ {
42
+ // Nop.
43
+ }
44
 
45
+ /**
46
+ * @inheritDoc
47
+ *
48
+ * @param String $key
49
+ */
50
+ public function delete($key)
51
+ {
52
+ // Nop.
53
+ }
54
  }
tools/src/Google/Client.php CHANGED
@@ -25,728 +25,737 @@ require_once realpath(dirname(__FILE__) . '/../../autoload.php');
25
  */
26
  class Google_Client
27
  {
28
- const LIBVER = "1.1.2";
29
- const USER_AGENT_SUFFIX = "google-api-php-client/";
30
- /**
31
- *
32
- * @var Google_Auth_Abstract $auth
33
- */
34
- private $auth;
35
- /**
36
- *
37
- * @var Google_IO_Abstract $io
38
- */
39
- private $io;
40
- /**
41
- *
42
- * @var Google_Cache_Abstract $cache
43
- */
44
- private $cache;
45
- /**
46
- *
47
- * @var Google_Config $config
48
- */
49
- private $config;
50
- /**
51
- *
52
- * @var Google_Logger_Abstract $logger
53
- */
54
- private $logger;
55
- /**
56
- *
57
- * @var boolean $deferExecution
58
- */
59
- private $deferExecution = false;
60
- /**
61
- *
62
- * @var array $scopes
63
- */
64
- // Scopes requested by the client
65
- protected $requestedScopes = array();
66
- // definitions of services that are discovered.
67
- protected $services = array();
68
- // Used to track authenticated state, can't discover services after doing authenticate()
69
- private $authenticated = false;
70
-
71
- /**
72
- * Construct the Google Client.
73
- *
74
- * @param $config Google_Config
75
- * or string for the ini file to load
76
- */
77
- public function __construct($config = null)
78
- {
79
- if (is_string($config) && strlen($config)) {
80
- $config = new Google_Config($config);
81
- } else
82
- if (! ($config instanceof Google_Config)) {
83
- $config = new Google_Config();
84
- if ($this->isAppEngine()) {
85
- // Automatically use Memcache if we're in AppEngine.
86
- $config->setCacheClass('Google_Cache_Memcache');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  }
88
- if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) {
89
- // Automatically disable compress.zlib, as currently unsupported.
90
- $config->setClassConfig('Google_Http_Request', 'disable_gzip', true);
 
91
  }
92
- }
93
- if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) {
94
- if (function_exists('curl_version') && function_exists('curl_exec') && ! $this->isAppEngine()) {
95
- $config->setIoClass("Google_IO_Curl");
96
- } else {
97
- $config->setIoClass("Google_IO_Stream");
98
- }
99
- }
100
- $this->config = $config;
101
- }
102
-
103
- /**
104
- * Get a string containing the version of the library.
105
- *
106
- * @return string
107
- */
108
- public function getLibraryVersion()
109
- {
110
- return self::LIBVER;
111
- }
112
-
113
- /**
114
- * Attempt to exchange a code for an valid authentication token.
115
- * Helper wrapped around the OAuth 2.0 implementation.
116
- *
117
- * @param $code string
118
- * code from accounts.google.com
119
- * @return string token
120
- */
121
- public function authenticate($code)
122
- {
123
- $this->authenticated = true;
124
- return $this->getAuth()->authenticate($code);
125
- }
126
-
127
- /**
128
- * Set the auth config from the JSON string provided.
129
- * This structure should match the file downloaded from
130
- * the "Download JSON" button on in the Google Developer
131
- * Console.
132
- *
133
- * @param string $json
134
- * the configuration json
135
- * @throws Google_Exception
136
- */
137
- public function setAuthConfig($json)
138
- {
139
- $data = json_decode($json);
140
- $key = isset($data->installed) ? 'installed' : 'web';
141
- if (! isset($data->$key)) {
142
- throw new Google_Exception("Invalid client secret JSON file.");
143
- }
144
- $this->setClientId($data->$key->client_id);
145
- $this->setClientSecret($data->$key->client_secret);
146
- if (isset($data->$key->redirect_uris)) {
147
- $this->setRedirectUri($data->$key->redirect_uris[0]);
148
- }
149
- }
150
-
151
- /**
152
- * Set the auth config from the JSON file in the path
153
- * provided.
154
- * This should match the file downloaded from
155
- * the "Download JSON" button on in the Google Developer
156
- * Console.
157
- *
158
- * @param string $file
159
- * the file location of the client json
160
- */
161
- public function setAuthConfigFile($file)
162
- {
163
- $this->setAuthConfig(file_get_contents($file));
164
- }
165
-
166
- /**
167
- *
168
- * @throws Google_Auth_Exception
169
- * @return array @visible For Testing
170
- */
171
- public function prepareScopes()
172
- {
173
- if (empty($this->requestedScopes)) {
174
- throw new Google_Auth_Exception("No scopes specified");
175
- }
176
- $scopes = implode(' ', $this->requestedScopes);
177
- return $scopes;
178
- }
179
-
180
- /**
181
- * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
182
- * or Google_Client#getAccessToken().
183
- *
184
- * @param string $accessToken
185
- * JSON encoded string containing in the following format:
186
- * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
187
- * "expires_in":3600, "id_token":"TOKEN", "created":1320790426}
188
- */
189
- public function setAccessToken($accessToken)
190
- {
191
- if ($accessToken == 'null') {
192
- $accessToken = null;
193
- }
194
- $this->getAuth()->setAccessToken($accessToken);
195
- }
196
-
197
- /**
198
- * Set the authenticator object
199
- *
200
- * @param Google_Auth_Abstract $auth
201
- */
202
- public function setAuth(Google_Auth_Abstract $auth)
203
- {
204
- $this->config->setAuthClass(get_class($auth));
205
- $this->auth = $auth;
206
- }
207
-
208
- /**
209
- * Set the IO object
210
- *
211
- * @param Google_IO_Abstract $io
212
- */
213
- public function setIo(Google_IO_Abstract $io)
214
- {
215
- $this->config->setIoClass(get_class($io));
216
- $this->io = $io;
217
- }
218
-
219
- /**
220
- * Set the Cache object
221
- *
222
- * @param Google_Cache_Abstract $cache
223
- */
224
- public function setCache(Google_Cache_Abstract $cache)
225
- {
226
- $this->config->setCacheClass(get_class($cache));
227
- $this->cache = $cache;
228
- }
229
-
230
- /**
231
- * Set the Logger object
232
- *
233
- * @param Google_Logger_Abstract $logger
234
- */
235
- public function setLogger(Google_Logger_Abstract $logger)
236
- {
237
- $this->config->setLoggerClass(get_class($logger));
238
- $this->logger = $logger;
239
- }
240
-
241
- /**
242
- * Construct the OAuth 2.0 authorization request URI.
243
- *
244
- * @return string
245
- */
246
- public function createAuthUrl()
247
- {
248
- $scopes = $this->prepareScopes();
249
- return $this->getAuth()->createAuthUrl($scopes);
250
- }
251
-
252
- /**
253
- * Get the OAuth 2.0 access token.
254
- *
255
- * @return string $accessToken JSON encoded string in the following format:
256
- * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
257
- * "expires_in":3600,"id_token":"TOKEN", "created":1320790426}
258
- */
259
- public function getAccessToken()
260
- {
261
- $token = $this->getAuth()->getAccessToken();
262
- // The response is json encoded, so could be the string null.
263
- // It is arguable whether this check should be here or lower
264
- // in the library.
265
- return (null == $token || 'null' == $token || '[]' == $token) ? null : $token;
266
- }
267
-
268
- /**
269
- * Get the OAuth 2.0 refresh token.
270
- *
271
- * @return string $refreshToken refresh token or null if not available
272
- */
273
- public function getRefreshToken()
274
- {
275
- return $this->getAuth()->getRefreshToken();
276
- }
277
-
278
- /**
279
- * Returns if the access_token is expired.
280
- *
281
- * @return bool Returns True if the access_token is expired.
282
- */
283
- public function isAccessTokenExpired()
284
- {
285
- return $this->getAuth()->isAccessTokenExpired();
286
- }
287
-
288
- /**
289
- * Set OAuth 2.0 "state" parameter to achieve per-request customization.
290
- *
291
- * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2
292
- * @param string $state
293
- */
294
- public function setState($state)
295
- {
296
- $this->getAuth()->setState($state);
297
- }
298
-
299
- /**
300
- *
301
- * @param string $accessType
302
- * Possible values for access_type include:
303
- * {@code "offline"} to request offline access from the user.
304
- * {@code "online"} to request online access from the user.
305
- */
306
- public function setAccessType($accessType)
307
- {
308
- $this->config->setAccessType($accessType);
309
- }
310
-
311
- /**
312
- *
313
- * @param string $approvalPrompt
314
- * Possible values for approval_prompt include:
315
- * {@code "force"} to force the approval UI to appear. (This is the default value)
316
- * {@code "auto"} to request auto-approval when possible.
317
- */
318
- public function setApprovalPrompt($approvalPrompt)
319
- {
320
- $this->config->setApprovalPrompt($approvalPrompt);
321
- }
322
-
323
- /**
324
- * Set the login hint, email address or sub id.
325
- *
326
- * @param string $loginHint
327
- */
328
- public function setLoginHint($loginHint)
329
- {
330
- $this->config->setLoginHint($loginHint);
331
- }
332
-
333
- /**
334
- * Set the application name, this is included in the User-Agent HTTP header.
335
- *
336
- * @param string $applicationName
337
- */
338
- public function setApplicationName($applicationName)
339
- {
340
- $this->config->setApplicationName($applicationName);
341
- }
342
-
343
- /**
344
- * Set the OAuth 2.0 Client ID.
345
- *
346
- * @param string $clientId
347
- */
348
- public function setClientId($clientId)
349
- {
350
- $this->config->setClientId($clientId);
351
- }
352
-
353
- /**
354
- * Set the OAuth 2.0 Client Secret.
355
- *
356
- * @param string $clientSecret
357
- */
358
- public function setClientSecret($clientSecret)
359
- {
360
- $this->config->setClientSecret($clientSecret);
361
- }
362
-
363
- /**
364
- * Set the OAuth 2.0 Redirect URI.
365
- *
366
- * @param string $redirectUri
367
- */
368
- public function setRedirectUri($redirectUri)
369
- {
370
- $this->config->setRedirectUri($redirectUri);
371
- }
372
-
373
- /**
374
- * If 'plus.login' is included in the list of requested scopes, you can use
375
- * this method to define types of app activities that your app will write.
376
- * You can find a list of available types here:
377
- *
378
- * @link https://developers.google.com/+/api/moment-types
379
- *
380
- * @param array $requestVisibleActions
381
- * Array of app activity types
382
- */
383
- public function setRequestVisibleActions($requestVisibleActions)
384
- {
385
- if (is_array($requestVisibleActions)) {
386
- $requestVisibleActions = join(" ", $requestVisibleActions);
387
- }
388
- $this->config->setRequestVisibleActions($requestVisibleActions);
389
- }
390
-
391
- /**
392
- * Set the developer key to use, these are obtained through the API Console.
393
- *
394
- * @see http://code.google.com/apis/console-help/#generatingdevkeys
395
- * @param string $developerKey
396
- */
397
- public function setDeveloperKey($developerKey)
398
- {
399
- $this->config->setDeveloperKey($developerKey);
400
- }
401
-
402
- /**
403
- * Set the hd (hosted domain) parameter streamlines the login process for
404
- * Google Apps hosted accounts.
405
- * By including the domain of the user, you
406
- * restrict sign-in to accounts at that domain.
407
- *
408
- * @param $hd string
409
- * - the domain to use.
410
- */
411
- public function setHostedDomain($hd)
412
- {
413
- $this->config->setHostedDomain($hd);
414
- }
415
-
416
- /**
417
- * Set the prompt hint.
418
- * Valid values are none, consent and select_account.
419
- * If no value is specified and the user has not previously authorized
420
- * access, then the user is shown a consent screen.
421
- *
422
- * @param $prompt string
423
- */
424
- public function setPrompt($prompt)
425
- {
426
- $this->config->setPrompt($prompt);
427
- }
428
-
429
- /**
430
- * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
431
- * 2.0.
432
- * It is used in OpenID 2.0 requests to signify the URL-space for which
433
- * an authentication request is valid.
434
- *
435
- * @param $realm string
436
- * - the URL-space to use.
437
- */
438
- public function setOpenidRealm($realm)
439
- {
440
- $this->config->setOpenidRealm($realm);
441
- }
442
-
443
- /**
444
- * If this is provided with the value true, and the authorization request is
445
- * granted, the authorization will include any previous authorizations
446
- * granted to this user/application combination for other scopes.
447
- *
448
- * @param $include boolean
449
- * - the URL-space to use.
450
- */
451
- public function setIncludeGrantedScopes($include)
452
- {
453
- $this->config->setIncludeGrantedScopes($include);
454
- }
455
-
456
- /**
457
- * Fetches a fresh OAuth 2.0 access token with the given refresh token.
458
- *
459
- * @param string $refreshToken
460
- */
461
- public function refreshToken($refreshToken)
462
- {
463
- $this->getAuth()->refreshToken($refreshToken);
464
- }
465
-
466
- /**
467
- * Revoke an OAuth2 access token or refresh token.
468
- * This method will revoke the current access
469
- * token, if a token isn't provided.
470
- *
471
- * @throws Google_Auth_Exception
472
- * @param string|null $token
473
- * The token (access token or a refresh token) that should be revoked.
474
- * @return boolean Returns True if the revocation was successful, otherwise False.
475
- */
476
- public function revokeToken($token = null)
477
- {
478
- return $this->getAuth()->revokeToken($token);
479
- }
480
-
481
- /**
482
- * Verify an id_token.
483
- * This method will verify the current id_token, if one
484
- * isn't provided.
485
- *
486
- * @throws Google_Auth_Exception
487
- * @param string|null $token
488
- * The token (id_token) that should be verified.
489
- * @return Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was
490
- * successful.
491
- */
492
- public function verifyIdToken($token = null)
493
- {
494
- return $this->getAuth()->verifyIdToken($token);
495
- }
496
-
497
- /**
498
- * Verify a JWT that was signed with your own certificates.
499
- *
500
- * @param $id_token string
501
- * The JWT token
502
- * @param $cert_location array
503
- * of certificates
504
- * @param $audience string
505
- * the expected consumer of the token
506
- * @param $issuer string
507
- * the expected issuer, defaults to Google
508
- * @param
509
- * [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
510
- * @return mixed token information if valid, false if not
511
- */
512
- public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
513
- {
514
- $auth = new Google_Auth_OAuth2($this);
515
- $certs = $auth->retrieveCertsFromLocation($cert_location);
516
- return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry);
517
- }
518
-
519
- /**
520
- *
521
- * @param $creds Google_Auth_AssertionCredentials
522
- */
523
- public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
524
- {
525
- $this->getAuth()->setAssertionCredentials($creds);
526
- }
527
-
528
- /**
529
- * Set the scopes to be requested.
530
- * Must be called before createAuthUrl().
531
- * Will remove any previously configured scopes.
532
- *
533
- * @param array $scopes,
534
- * ie: array('https://www.googleapis.com/auth/plus.login',
535
- * 'https://www.googleapis.com/auth/moderator')
536
- */
537
- public function setScopes($scopes)
538
- {
539
- $this->requestedScopes = array();
540
- $this->addScope($scopes);
541
- }
542
-
543
- /**
544
- * This functions adds a scope to be requested as part of the OAuth2.0 flow.
545
- * Will append any scopes not previously requested to the scope parameter.
546
- * A single string will be treated as a scope to request. An array of strings
547
- * will each be appended.
548
- *
549
- * @param $scope_or_scopes string|array
550
- * e.g. "profile"
551
- */
552
- public function addScope($scope_or_scopes)
553
- {
554
- if (is_string($scope_or_scopes) && ! in_array($scope_or_scopes, $this->requestedScopes)) {
555
- $this->requestedScopes[] = $scope_or_scopes;
556
- } else
557
- if (is_array($scope_or_scopes)) {
558
- foreach ($scope_or_scopes as $scope) {
559
- $this->addScope($scope);
560
  }
561
- }
562
- }
563
-
564
- /**
565
- * Returns the list of scopes requested by the client
566
- *
567
- * @return array the list of scopes
568
- *
569
- */
570
- public function getScopes()
571
- {
572
- return $this->requestedScopes;
573
- }
574
-
575
- /**
576
- * Declare whether batch calls should be used.
577
- * This may increase throughput
578
- * by making multiple requests in one connection.
579
- *
580
- * @param boolean $useBatch
581
- * True if the batch support should
582
- * be enabled. Defaults to False.
583
- */
584
- public function setUseBatch($useBatch)
585
- {
586
- // This is actually an alias for setDefer.
587
- $this->setDefer($useBatch);
588
- }
589
-
590
- /**
591
- * Declare whether making API calls should make the call immediately, or
592
- * return a request which can be called with ->execute();
593
- *
594
- * @param boolean $defer
595
- * True if calls should not be executed right away.
596
- */
597
- public function setDefer($defer)
598
- {
599
- $this->deferExecution = $defer;
600
- }
601
-
602
- /**
603
- * Helper method to execute deferred HTTP requests.
604
- *
605
- * @param $request Google_Http_Request|Google_Http_Batch
606
- * @throws Google_Exception
607
- * @return object of the type of the expected class or array.
608
- */
609
- public function execute($request)
610
- {
611
- if ($request instanceof Google_Http_Request) {
612
- $request->setUserAgent($this->getApplicationName() . " " . self::USER_AGENT_SUFFIX . $this->getLibraryVersion());
613
- if (! $this->getClassConfig("Google_Http_Request", "disable_gzip")) {
614
- $request->enableGzip();
615
- }
616
- $request->maybeMoveParametersToBody();
617
- return Google_Http_REST::execute($this, $request);
618
- } else
619
- if ($request instanceof Google_Http_Batch) {
620
- return $request->execute();
621
- } else {
622
- throw new Google_Exception("Do not know how to execute this type of object.");
623
- }
624
- }
625
-
626
- /**
627
- * Whether or not to return raw requests
628
- *
629
- * @return boolean
630
- */
631
- public function shouldDefer()
632
- {
633
- return $this->deferExecution;
634
- }
635
-
636
- /**
637
- *
638
- * @return Google_Auth_Abstract Authentication implementation
639
- */
640
- public function getAuth()
641
- {
642
- if (! isset($this->auth)) {
643
- $class = $this->config->getAuthClass();
644
- $this->auth = new $class($this);
645
- }
646
- return $this->auth;
647
- }
648
-
649
- /**
650
- *
651
- * @return Google_IO_Abstract IO implementation
652
- */
653
- public function getIo()
654
- {
655
- if (! isset($this->io)) {
656
- $class = $this->config->getIoClass();
657
- $this->io = new $class($this);
658
- }
659
- return $this->io;
660
- }
661
-
662
- /**
663
- *
664
- * @return Google_Cache_Abstract Cache implementation
665
- */
666
- public function getCache()
667
- {
668
- if (! isset($this->cache)) {
669
- $class = $this->config->getCacheClass();
670
- $this->cache = new $class($this);
671
- }
672
- return $this->cache;
673
- }
674
-
675
- /**
676
- *
677
- * @return Google_Logger_Abstract Logger implementation
678
- */
679
- public function getLogger()
680
- {
681
- if (! isset($this->logger)) {
682
- $class = $this->config->getLoggerClass();
683
- $this->logger = new $class($this);
684
- }
685
- return $this->logger;
686
- }
687
-
688
- /**
689
- * Retrieve custom configuration for a specific class.
690
- *
691
- * @param $class string|object
692
- * - class or instance of class to retrieve
693
- * @param $key string
694
- * optional - key to retrieve
695
- * @return array
696
- */
697
- public function getClassConfig($class, $key = null)
698
- {
699
- if (! is_string($class)) {
700
- $class = get_class($class);
701
- }
702
- return $this->config->getClassConfig($class, $key);
703
- }
704
-
705
- /**
706
- * Set configuration specific to a given class.
707
- * $config->setClassConfig('Google_Cache_File',
708
- * array('directory' => '/tmp/cache'));
709
- *
710
- * @param $class string|object
711
- * - The class name for the configuration
712
- * @param $config string
713
- * key or an array of configuration values
714
- * @param $value string
715
- * optional - if $config is a key, the value
716
- *
717
- */
718
- public function setClassConfig($class, $config, $value = null)
719
- {
720
- if (! is_string($class)) {
721
- $class = get_class($class);
722
- }
723
- $this->config->setClassConfig($class, $config, $value);
724
- }
725
-
726
- /**
727
- *
728
- * @return string the base URL to use for calls to the APIs
729
- */
730
- public function getBasePath()
731
- {
732
- return $this->config->getBasePath();
733
- }
734
-
735
- /**
736
- *
737
- * @return string the name of the application
738
- */
739
- public function getApplicationName()
740
- {
741
- return $this->config->getApplicationName();
742
- }
743
-
744
- /**
745
- * Are we running in Google AppEngine?
746
- * return bool
747
- */
748
- public function isAppEngine()
749
- {
750
- return (isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false);
751
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  */
26
  class Google_Client
27
  {
28
+
29
+ const LIBVER = "1.1.2";
30
+
31
+ const USER_AGENT_SUFFIX = "google-api-php-client/";
32
+
33
+ /**
34
+ *
35
+ * @var Google_Auth_Abstract $auth
36
+ */
37
+ private $auth;
38
+
39
+ /**
40
+ *
41
+ * @var Google_IO_Abstract $io
42
+ */
43
+ private $io;
44
+
45
+ /**
46
+ *
47
+ * @var Google_Cache_Abstract $cache
48
+ */
49
+ private $cache;
50
+
51
+ /**
52
+ *
53
+ * @var Google_Config $config
54
+ */
55
+ private $config;
56
+
57
+ /**
58
+ *
59
+ * @var Google_Logger_Abstract $logger
60
+ */
61
+ private $logger;
62
+
63
+ /**
64
+ *
65
+ * @var boolean $deferExecution
66
+ */
67
+ private $deferExecution = false;
68
+
69
+ /**
70
+ *
71
+ * @var array $scopes
72
+ */
73
+ // Scopes requested by the client
74
+ protected $requestedScopes = array();
75
+ // definitions of services that are discovered.
76
+ protected $services = array();
77
+ // Used to track authenticated state, can't discover services after doing authenticate()
78
+ private $authenticated = false;
79
+
80
+ /**
81
+ * Construct the Google Client.
82
+ *
83
+ * @param $config Google_Config
84
+ * or string for the ini file to load
85
+ */
86
+ public function __construct($config = null)
87
+ {
88
+ if (is_string($config) && strlen($config)) {
89
+ $config = new Google_Config($config);
90
+ } else
91
+ if (! ($config instanceof Google_Config)) {
92
+ $config = new Google_Config();
93
+ if ($this->isAppEngine()) {
94
+ // Automatically use Memcache if we're in AppEngine.
95
+ $config->setCacheClass('Google_Cache_Memcache');
96
+ }
97
+ if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) {
98
+ // Automatically disable compress.zlib, as currently unsupported.
99
+ $config->setClassConfig('Google_Http_Request', 'disable_gzip', true);
100
+ }
101
+ }
102
+ if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) {
103
+ if (function_exists('curl_version') && function_exists('curl_exec') && ! $this->isAppEngine()) {
104
+ $config->setIoClass("Google_IO_Curl");
105
+ } else {
106
+ $config->setIoClass("Google_IO_Stream");
107
+ }
108
+ }
109
+ $this->config = $config;
110
+ }
111
+
112
+ /**
113
+ * Get a string containing the version of the library.
114
+ *
115
+ * @return string
116
+ */
117
+ public function getLibraryVersion()
118
+ {
119
+ return self::LIBVER;
120
+ }
121
+
122
+ /**
123
+ * Attempt to exchange a code for an valid authentication token.
124
+ * Helper wrapped around the OAuth 2.0 implementation.
125
+ *
126
+ * @param $code string
127
+ * code from accounts.google.com
128
+ * @return string token
129
+ */
130
+ public function authenticate($code)
131
+ {
132
+ $this->authenticated = true;
133
+ return $this->getAuth()->authenticate($code);
134
+ }
135
+
136
+ /**
137
+ * Set the auth config from the JSON string provided.
138
+ * This structure should match the file downloaded from
139
+ * the "Download JSON" button on in the Google Developer
140
+ * Console.
141
+ *
142
+ * @param string $json
143
+ * the configuration json
144
+ * @throws Google_Exception
145
+ */
146
+ public function setAuthConfig($json)
147
+ {
148
+ $data = json_decode($json);
149
+ $key = isset($data->installed) ? 'installed' : 'web';
150
+ if (! isset($data->$key)) {
151
+ throw new Google_Exception("Invalid client secret JSON file.");
152
  }
153
+ $this->setClientId($data->$key->client_id);
154
+ $this->setClientSecret($data->$key->client_secret);
155
+ if (isset($data->$key->redirect_uris)) {
156
+ $this->setRedirectUri($data->$key->redirect_uris[0]);
157
  }
158
+ }
159
+
160
+ /**
161
+ * Set the auth config from the JSON file in the path
162
+ * provided.
163
+ * This should match the file downloaded from
164
+ * the "Download JSON" button on in the Google Developer
165
+ * Console.
166
+ *
167
+ * @param string $file
168
+ * the file location of the client json
169
+ */
170
+ public function setAuthConfigFile($file)
171
+ {
172
+ $this->setAuthConfig(file_get_contents($file));
173
+ }
174
+
175
+ /**
176
+ *
177
+ * @throws Google_Auth_Exception
178
+ * @return array @visible For Testing
179
+ */
180
+ public function prepareScopes()
181
+ {
182
+ if (empty($this->requestedScopes)) {
183
+ throw new Google_Auth_Exception("No scopes specified");
184
+ }
185
+ $scopes = implode(' ', $this->requestedScopes);
186
+ return $scopes;
187
+ }
188
+
189
+ /**
190
+ * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
191
+ * or Google_Client#getAccessToken().
192
+ *
193
+ * @param string $accessToken
194
+ * JSON encoded string containing in the following format:
195
+ * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
196
+ * "expires_in":3600, "id_token":"TOKEN", "created":1320790426}
197
+ */
198
+ public function setAccessToken($accessToken)
199
+ {
200
+ if ($accessToken == 'null') {
201
+ $accessToken = null;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  }
203
+ $this->getAuth()->setAccessToken($accessToken);
204
+ }
205
+
206
+ /**
207
+ * Set the authenticator object
208
+ *
209
+ * @param Google_Auth_Abstract $auth
210
+ */
211
+ public function setAuth(Google_Auth_Abstract $auth)
212
+ {
213
+ $this->config->setAuthClass(get_class($auth));
214
+ $this->auth = $auth;
215
+ }
216
+
217
+ /**
218
+ * Set the IO object
219
+ *
220
+ * @param Google_IO_Abstract $io
221
+ */
222
+ public function setIo(Google_IO_Abstract $io)
223
+ {
224
+ $this->config->setIoClass(get_class($io));
225
+ $this->io = $io;
226
+ }
227
+
228
+ /**
229
+ * Set the Cache object
230
+ *
231
+ * @param Google_Cache_Abstract $cache
232
+ */
233
+ public function setCache(Google_Cache_Abstract $cache)
234
+ {
235
+ $this->config->setCacheClass(get_class($cache));
236
+ $this->cache = $cache;
237
+ }
238
+
239
+ /**
240
+ * Set the Logger object
241
+ *
242
+ * @param Google_Logger_Abstract $logger
243
+ */
244
+ public function setLogger(Google_Logger_Abstract $logger)
245
+ {
246
+ $this->config->setLoggerClass(get_class($logger));
247
+ $this->logger = $logger;
248
+ }
249
+
250
+ /**
251
+ * Construct the OAuth 2.0 authorization request URI.
252
+ *
253
+ * @return string
254
+ */
255
+ public function createAuthUrl()
256
+ {
257
+ $scopes = $this->prepareScopes();
258
+ return $this->getAuth()->createAuthUrl($scopes);
259
+ }
260
+
261
+ /**
262
+ * Get the OAuth 2.0 access token.
263
+ *
264
+ * @return string $accessToken JSON encoded string in the following format:
265
+ * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
266
+ * "expires_in":3600,"id_token":"TOKEN", "created":1320790426}
267
+ */
268
+ public function getAccessToken()
269
+ {
270
+ $token = $this->getAuth()->getAccessToken();
271
+ // The response is json encoded, so could be the string null.
272
+ // It is arguable whether this check should be here or lower
273
+ // in the library.
274
+ return (null == $token || 'null' == $token || '[]' == $token) ? null : $token;
275
+ }
276
+
277
+ /**
278
+ * Get the OAuth 2.0 refresh token.
279
+ *
280
+ * @return string $refreshToken refresh token or null if not available
281
+ */
282
+ public function getRefreshToken()
283
+ {
284
+ return $this->getAuth()->getRefreshToken();
285
+ }
286
+
287
+ /**
288
+ * Returns if the access_token is expired.
289
+ *
290
+ * @return bool Returns True if the access_token is expired.
291
+ */
292
+ public function isAccessTokenExpired()
293
+ {
294
+ return $this->getAuth()->isAccessTokenExpired();
295
+ }
296
+
297
+ /**
298
+ * Set OAuth 2.0 "state" parameter to achieve per-request customization.
299
+ *
300
+ * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2
301
+ * @param string $state
302
+ */
303
+ public function setState($state)
304
+ {
305
+ $this->getAuth()->setState($state);
306
+ }
307
+
308
+ /**
309
+ *
310
+ * @param string $accessType
311
+ * Possible values for access_type include:
312
+ * {@code "offline"} to request offline access from the user.
313
+ * {@code "online"} to request online access from the user.
314
+ */
315
+ public function setAccessType($accessType)
316
+ {
317
+ $this->config->setAccessType($accessType);
318
+ }
319
+
320
+ /**
321
+ *
322
+ * @param string $approvalPrompt
323
+ * Possible values for approval_prompt include:
324
+ * {@code "force"} to force the approval UI to appear. (This is the default value)
325
+ * {@code "auto"} to request auto-approval when possible.
326
+ */
327
+ public function setApprovalPrompt($approvalPrompt)
328
+ {
329
+ $this->config->setApprovalPrompt($approvalPrompt);
330
+ }
331
+
332
+ /**
333
+ * Set the login hint, email address or sub id.
334
+ *
335
+ * @param string $loginHint
336
+ */
337
+ public function setLoginHint($loginHint)
338
+ {
339
+ $this->config->setLoginHint($loginHint);
340
+ }
341
+
342
+ /**
343
+ * Set the application name, this is included in the User-Agent HTTP header.
344
+ *
345
+ * @param string $applicationName
346
+ */
347
+ public function setApplicationName($applicationName)
348
+ {
349
+ $this->config->setApplicationName($applicationName);
350
+ }
351
+
352
+ /**
353
+ * Set the OAuth 2.0 Client ID.
354
+ *
355
+ * @param string $clientId
356
+ */
357
+ public function setClientId($clientId)
358
+ {
359
+ $this->config->setClientId($clientId);
360
+ }
361
+
362
+ /**
363
+ * Set the OAuth 2.0 Client Secret.
364
+ *
365
+ * @param string $clientSecret
366
+ */
367
+ public function setClientSecret($clientSecret)
368
+ {
369
+ $this->config->setClientSecret($clientSecret);
370
+ }
371
+
372
+ /**
373
+ * Set the OAuth 2.0 Redirect URI.
374
+ *
375
+ * @param string $redirectUri
376
+ */
377
+ public function setRedirectUri($redirectUri)
378
+ {
379
+ $this->config->setRedirectUri($redirectUri);
380
+ }
381
+
382
+ /**
383
+ * If 'plus.login' is included in the list of requested scopes, you can use
384
+ * this method to define types of app activities that your app will write.
385
+ * You can find a list of available types here:
386
+ *
387
+ * @link https://developers.google.com/+/api/moment-types
388
+ *
389
+ * @param array $requestVisibleActions
390
+ * Array of app activity types
391
+ */
392
+ public function setRequestVisibleActions($requestVisibleActions)
393
+ {
394
+ if (is_array($requestVisibleActions)) {
395
+ $requestVisibleActions = join(" ", $requestVisibleActions);
396
+ }
397
+ $this->config->setRequestVisibleActions($requestVisibleActions);
398
+ }
399
+
400
+ /**
401
+ * Set the developer key to use, these are obtained through the API Console.
402
+ *
403
+ * @see http://code.google.com/apis/console-help/#generatingdevkeys
404
+ * @param string $developerKey
405
+ */
406
+ public function setDeveloperKey($developerKey)
407
+ {
408
+ $this->config->setDeveloperKey($developerKey);
409
+ }
410
+
411
+ /**
412
+ * Set the hd (hosted domain) parameter streamlines the login process for
413
+ * Google Apps hosted accounts.
414
+ * By including the domain of the user, you
415
+ * restrict sign-in to accounts at that domain.
416
+ *
417
+ * @param $hd string
418
+ * - the domain to use.
419
+ */
420
+ public function setHostedDomain($hd)
421
+ {
422
+ $this->config->setHostedDomain($hd);
423
+ }
424
+
425
+ /**
426
+ * Set the prompt hint.
427
+ * Valid values are none, consent and select_account.
428
+ * If no value is specified and the user has not previously authorized
429
+ * access, then the user is shown a consent screen.
430
+ *
431
+ * @param $prompt string
432
+ */
433
+ public function setPrompt($prompt)
434
+ {
435
+ $this->config->setPrompt($prompt);
436
+ }
437
+
438
+ /**
439
+ * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
440
+ * 2.0.
441
+ * It is used in OpenID 2.0 requests to signify the URL-space for which
442
+ * an authentication request is valid.
443
+ *
444
+ * @param $realm string
445
+ * - the URL-space to use.
446
+ */
447
+ public function setOpenidRealm($realm)
448
+ {
449
+ $this->config->setOpenidRealm($realm);
450
+ }
451
+
452
+ /**
453
+ * If this is provided with the value true, and the authorization request is
454
+ * granted, the authorization will include any previous authorizations
455
+ * granted to this user/application combination for other scopes.
456
+ *
457
+ * @param $include boolean
458
+ * - the URL-space to use.
459
+ */
460
+ public function setIncludeGrantedScopes($include)
461
+ {
462
+ $this->config->setIncludeGrantedScopes($include);
463
+ }
464
+
465
+ /**
466
+ * Fetches a fresh OAuth 2.0 access token with the given refresh token.
467
+ *
468
+ * @param string $refreshToken
469
+ */
470
+ public function refreshToken($refreshToken)
471
+ {
472
+ $this->getAuth()->refreshToken($refreshToken);
473
+ }
474
+
475
+ /**
476
+ * Revoke an OAuth2 access token or refresh token.
477
+ * This method will revoke the current access
478
+ * token, if a token isn't provided.
479
+ *
480
+ * @throws Google_Auth_Exception
481
+ * @param string|null $token
482
+ * The token (access token or a refresh token) that should be revoked.
483
+ * @return boolean Returns True if the revocation was successful, otherwise False.
484
+ */
485
+ public function revokeToken($token = null)
486
+ {
487
+ return $this->getAuth()->revokeToken($token);
488
+ }
489
+
490
+ /**
491
+ * Verify an id_token.
492
+ * This method will verify the current id_token, if one
493
+ * isn't provided.
494
+ *
495
+ * @throws Google_Auth_Exception
496
+ * @param string|null $token
497
+ * The token (id_token) that should be verified.
498
+ * @return Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was
499
+ * successful.
500
+ */
501
+ public function verifyIdToken($token = null)
502
+ {
503
+ return $this->getAuth()->verifyIdToken($token);
504
+ }
505
+
506
+ /**
507
+ * Verify a JWT that was signed with your own certificates.
508
+ *
509
+ * @param $id_token string
510
+ * The JWT token
511
+ * @param $cert_location array
512
+ * of certificates
513
+ * @param $audience string
514
+ * the expected consumer of the token
515
+ * @param $issuer string
516
+ * the expected issuer, defaults to Google
517
+ * @param
518
+ * [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
519
+ * @return mixed token information if valid, false if not
520
+ */
521
+ public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
522
+ {
523
+ $auth = new Google_Auth_OAuth2($this);
524
+ $certs = $auth->retrieveCertsFromLocation($cert_location);
525
+ return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry);
526
+ }
527
+
528
+ /**
529
+ *
530
+ * @param $creds Google_Auth_AssertionCredentials
531
+ */
532
+ public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds)
533
+ {
534
+ $this->getAuth()->setAssertionCredentials($creds);
535
+ }
536
+
537
+ /**
538
+ * Set the scopes to be requested.
539
+ * Must be called before createAuthUrl().
540
+ * Will remove any previously configured scopes.
541
+ *
542
+ * @param array $scopes,
543
+ * ie: array('https://www.googleapis.com/auth/plus.login',
544
+ * 'https://www.googleapis.com/auth/moderator')
545
+ */
546
+ public function setScopes($scopes)
547
+ {
548
+ $this->requestedScopes = array();
549
+ $this->addScope($scopes);
550
+ }
551
+
552
+ /**
553
+ * This functions adds a scope to be requested as part of the OAuth2.0 flow.
554
+ * Will append any scopes not previously requested to the scope parameter.
555
+ * A single string will be treated as a scope to request. An array of strings
556
+ * will each be appended.
557
+ *
558
+ * @param $scope_or_scopes string|array
559
+ * e.g. "profile"
560
+ */
561
+ public function addScope($scope_or_scopes)
562
+ {
563
+ if (is_string($scope_or_scopes) && ! in_array($scope_or_scopes, $this->requestedScopes)) {
564
+ $this->requestedScopes[] = $scope_or_scopes;
565
+ } else
566
+ if (is_array($scope_or_scopes)) {
567
+ foreach ($scope_or_scopes as $scope) {
568
+ $this->addScope($scope);
569
+ }
570
+ }
571
+ }
572
+
573
+ /**
574
+ * Returns the list of scopes requested by the client
575
+ *
576
+ * @return array the list of scopes
577
+ *
578
+ */
579
+ public function getScopes()
580
+ {
581
+ return $this->requestedScopes;
582
+ }
583
+
584
+ /**
585
+ * Declare whether batch calls should be used.
586
+ * This may increase throughput
587
+ * by making multiple requests in one connection.
588
+ *
589
+ * @param boolean $useBatch
590
+ * True if the batch support should
591
+ * be enabled. Defaults to False.
592
+ */
593
+ public function setUseBatch($useBatch)
594
+ {
595
+ // This is actually an alias for setDefer.
596
+ $this->setDefer($useBatch);
597
+ }
598
+
599
+ /**
600
+ * Declare whether making API calls should make the call immediately, or
601
+ * return a request which can be called with ->execute();
602
+ *
603
+ * @param boolean $defer
604
+ * True if calls should not be executed right away.
605
+ */
606
+ public function setDefer($defer)
607
+ {
608
+ $this->deferExecution = $defer;
609
+ }
610
+
611
+ /**
612
+ * Helper method to execute deferred HTTP requests.
613
+ *
614
+ * @param $request Google_Http_Request|Google_Http_Batch
615
+ * @throws Google_Exception
616
+ * @return object of the type of the expected class or array.
617
+ */
618
+ public function execute($request)
619
+ {
620
+ if ($request instanceof Google_Http_Request) {
621
+ $request->setUserAgent($this->getApplicationName() . " " . self::USER_AGENT_SUFFIX . $this->getLibraryVersion());
622
+ if (! $this->getClassConfig("Google_Http_Request", "disable_gzip")) {
623
+ $request->enableGzip();
624
+ }
625
+ $request->maybeMoveParametersToBody();
626
+ return Google_Http_REST::execute($this, $request);
627
+ } else
628
+ if ($request instanceof Google_Http_Batch) {
629
+ return $request->execute();
630
+ } else {
631
+ throw new Google_Exception("Do not know how to execute this type of object.");
632
+ }
633
+ }
634
+
635
+ /**
636
+ * Whether or not to return raw requests
637
+ *
638
+ * @return boolean
639
+ */
640
+ public function shouldDefer()
641
+ {
642
+ return $this->deferExecution;
643
+ }
644
+
645
+ /**
646
+ *
647
+ * @return Google_Auth_Abstract Authentication implementation
648
+ */
649
+ public function getAuth()
650
+ {
651
+ if (! isset($this->auth)) {
652
+ $class = $this->config->getAuthClass();
653
+ $this->auth = new $class($this);
654
+ }
655
+ return $this->auth;
656
+ }
657
+
658
+ /**
659
+ *
660
+ *