Commit d3d1f7e2 authored by hass's avatar hass

Updated GA URL

parent c76c82ff
......@@ -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.
......
......@@ -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/']);
}
}
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment