From 100ab909e6516b5026bb3d2113f39fca3c4f6f86 Mon Sep 17 00:00:00 2001 From: Hiral Bhavsar Date: Thu, 6 Apr 2017 15:12:01 +0200 Subject: [IMP] website: Restructure the 'Google Analytics' wizard. * Set the blocking warning if the user enters a 'Client ID' without any 'Tracking ID'. * 'Google Analytics in Dashboard' field is visible only if 'Google Analytics' is checked in website settings. * Get/Set the value of 'google_analytics_key' and 'google_management_client_id' from 'website' model instead of 'ir.config_parameter' on 'Google Analytics' wizard. * If ID is set on 'Google Analytics' wizard then activated the related features and populate fields in website settings. --- addons/website/static/src/xml/website.backend.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'addons/website/static/src/xml/website.backend.xml') diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml index a30267af9a8..9abb82e0e49 100644 --- a/addons/website/static/src/xml/website.backend.xml +++ b/addons/website/static/src/xml/website.backend.xml @@ -92,8 +92,15 @@
- Your Google Analytic Client ID: -
Go to our User Documentation to get more information. + Your Tracking ID: + + How to get my Tracking ID + +

+ Your Client ID: + + How to get my Client ID +
-- cgit v1.2.3