summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2018-08-11 21:09:17 (GMT)
committerhass2018-08-11 21:09:17 (GMT)
commitd3d1f7e23dc216412cfa5b4d0df1c0031a73b56e (patch)
tree6c9508164dc438af98fd0a2f130f5feebc2f72b1
parentc76c82ff9dfa481cb792e7de5327eee1b75564b1 (diff)
Updated GA URL
-rw-r--r--README.txt2
-rw-r--r--google_analytics.module2
-rw-r--r--src/Form/GoogleAnalyticsAdminSettingsForm.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.txt b/README.txt
index 95ebf41..4d8765e 100644
--- a/README.txt
+++ b/README.txt
@@ -51,7 +51,7 @@ Custom dimensions and metrics
=============================
One example for custom dimensions tracking is the "User roles" tracking.
-1. In the Google Analytics (https://marketingplatform.google.com/about/)
+1. In the Google Analytics (https://marketingplatform.google.com/about/analytics/)
Management Interface you need to setup Dimension #1 with name
e.g. "User roles". This step is required. Do not miss it, please.
diff --git a/google_analytics.module b/google_analytics.module
index 22e9882..66747cd 100644
--- a/google_analytics.module
+++ b/google_analytics.module
@@ -52,7 +52,7 @@ function google_analytics_help($route_name, RouteMatchInterface $route_match) {
return $output;
case 'google_analytics.admin_settings_form':
- return t('<a href=":ga_url">Google Analytics</a> is a free (registration required) website traffic and marketing effectiveness service.', [':ga_url' => 'https://marketingplatform.google.com/about/']);
+ return t('<a href=":ga_url">Google Analytics</a> is a free (registration required) website traffic and marketing effectiveness service.', [':ga_url' => 'https://marketingplatform.google.com/about/analytics/']);
}
}
diff --git a/src/Form/GoogleAnalyticsAdminSettingsForm.php b/src/Form/GoogleAnalyticsAdminSettingsForm.php
index aa6ade0..2a29598 100644
--- a/src/Form/GoogleAnalyticsAdminSettingsForm.php
+++ b/src/Form/GoogleAnalyticsAdminSettingsForm.php
@@ -40,7 +40,7 @@ class GoogleAnalyticsAdminSettingsForm extends ConfigFormBase {
$form['general']['google_analytics_account'] = [
'#default_value' => $config->get('account'),
- '#description' => $this->t('This ID is unique to each site you want to track separately, and is in the form of UA-xxxxxxx-yy. To get a Web Property ID, <a href=":analytics">register your site with Google Analytics</a>, or if you already have registered your site, go to your Google Analytics Settings page to see the ID next to every site profile. <a href=":webpropertyid">Find more information in the documentation</a>.', [':analytics' => 'https://marketingplatform.google.com/about/', ':webpropertyid' => Url::fromUri('https://developers.google.com/analytics/resources/concepts/gaConceptsAccounts', ['fragment' => 'webProperty'])->toString()]),
+ '#description' => $this->t('This ID is unique to each site you want to track separately, and is in the form of UA-xxxxxxx-yy. To get a Web Property ID, <a href=":analytics">register your site with Google Analytics</a>, or if you already have registered your site, go to your Google Analytics Settings page to see the ID next to every site profile. <a href=":webpropertyid">Find more information in the documentation</a>.', [':analytics' => 'https://marketingplatform.google.com/about/analytics/', ':webpropertyid' => Url::fromUri('https://developers.google.com/analytics/resources/concepts/gaConceptsAccounts', ['fragment' => 'webProperty'])->toString()]),
'#maxlength' => 20,
'#placeholder' => 'UA-',
'#required' => TRUE,