From 03d7c12f1d7a6ea281039d96c10bd063156d34cf Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Wed, 18 Sep 2019 23:08:47 +0200 Subject: [PATCH] change basic settings --- .../admin/tpl/d3_cfg_googleanalytics_main.tpl | 210 +++++------------- .../views/tpl/widget/d3ga_gtag.tpl | 178 +++++++-------- 2 files changed, 139 insertions(+), 249 deletions(-) diff --git a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl index 460f048..8c57229 100644 --- a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl +++ b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl @@ -142,6 +142,15 @@ [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_GAID_DESC"}] +
+
+ +
+
+ + [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_COOKIEPREFIX_DESC"}] +
+
@@ -163,6 +172,17 @@ [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEOPTOUT_DESC"}]
+
+
+ + [{* _gaq.push(['_gat._trackPageLoadTime']); *}] +
+
+ + getValue('blD3GATrackPageLoadTime')}]checked[{/if}] name="value[blD3GATrackPageLoadTime]"> + [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME_DESC"}] +
+
@@ -202,71 +222,40 @@ -[{*--------------------------------------*}] - - [{if $oView->getGaType() == 'universal'}] - [{assign var="blUniversalDisabled" value="disabled readonly"}] - [{assign var="blAsyncDisabled" value=""}] - [{elseif $oView->getGaType() == 'async'}] - [{assign var="blUniversalDisabled" value=""}] - [{assign var="blAsyncDisabled" value="disabled readonly"}] - [{else}] - [{assign var="blUniversalDisabled" value=""}] - [{assign var="blAsyncDisabled" value=""}] - [{/if}] - -
- -
[{oxmultilang ident="D3_GOOGLEANALYTICS_DESC"}] [{oxinputhelp ident="D3_GOOGLEANALYTICS_DESC1"}]
- [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN"}] + [{oxmultilang ident="D3_GOOGLEANALYTICS_CROSSDOMAIN"}]
- -[{* _gaq.push(['_setSampleRate', 5]); *}] +
- - [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SAMPLERATE_1"}] - [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_SAMPLERATE_DESC"}] + + [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_COOKIEPREFIX_DESC"}]
+
+
+ +
+
+ + + [{oxmultilang ident="D3_GOOGLEANALYTICS_DIMENSIONS"}] + +
- -[{* _gaq.push(['_gat._trackPageLoadTime']); *}] +
- - getValue('blD3GATrackPageLoadTime')}]checked[{/if}] name="value[blD3GATrackPageLoadTime]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME_DESC"}] -
-
-
-
- -[{* _gaq.push(['_setSiteSpeedSampleRate', 5]); *}] -
-
- - [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_SITESPEEDSAMPLERATE_1"}] - [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_SITESPEEDSAMPLERATE_DESC"}] -
-
-
-
- -
-
- - getValue('blD3GAUseRemarketing')}]checked[{/if}] name="value[blD3GAUseRemarketing]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING_DESC"}] + + [{oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_COOKIEPREFIX_DESC"}]
@@ -312,6 +301,23 @@
+ + + + +

+ + + + +
+ +

[{oxmultilang ident="D3_GOOGLEANALYTICS_SECURITYINFORMATIONS"}] + +[{*--------------------------------------*}] + +
+
@@ -342,101 +348,6 @@
-
-
- - - [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN"}] - - -
-
- -[{* _gaq.push(['_setAllowLinker', true]); *}] -
-
- - getValue('blD3GAAllowDomainLinker')}]checked[{/if}] name="value[blD3GAAllowDomainLinker]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETALLOWLINKER_DESC"}] -
-
-
-
- -[{* _gaq.push(['_setDomainName', '.example-petstore.com']); *}] -[{* if used _gaq.push(['_setAllowHash', false]); *}] -
-
- - [{oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETDOMAINNAME_DESC"}] -
-
-
-
- -[{* _gaq.push(['_setCookiePath', '/path/of/cookie/']); *}] -
-
- - [{oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETCOOKIEPATH_DESC"}] -
-
-
-
- -[{* _gaq.push(['_cookiePathCopy', '/path/of/cookie/']); *}] -
-
- - [{oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_COOKIEPATHCOPY_DESC"}] -
-
-
-
- -
-
- - - [{oxmultilang ident="D3_GOOGLEANALYTICS_BROWSER"}] - - -
-
- -[{* _gaq.push(['_setClientInfo', false]); *}] -
-
- - getValue('blD3GASetClientInfo')}]checked[{/if}] name="value[blD3GASetClientInfo]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETCLIENTINFO_DESC"}] -
-
-
-
- -[{* _gaq.push(['_setDetectFlash', false]); *}] -
-
- - getValue('blD3GASetDetectFlash')}]checked[{/if}] name="value[blD3GASetDetectFlash]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTFLASH_DESC"}] -
-
-
-
- -[{* _gaq.push(['_setDetectTitle', false]); *}] -
-
- - getValue('blD3GASetDetectTitle')}]checked[{/if}] name="value[blD3GASetDetectTitle]"> - [{oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTTITLE_DESC"}] -
-
-
-
-
@@ -477,19 +388,6 @@
- - - - - -

- - - - -
- -

[{oxmultilang ident="D3_GOOGLEANALYTICS_SECURITYINFORMATIONS"}] [{/if}] diff --git a/copy_this/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_gtag.tpl b/copy_this/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_gtag.tpl index 3fac57d..20a03f4 100644 --- a/copy_this/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_gtag.tpl +++ b/copy_this/modules/d3/d3_googleanalytics/views/tpl/widget/d3ga_gtag.tpl @@ -4,8 +4,8 @@ [{if $oD3GASettings->getValue('blD3GAUseOptOut')}] [{block name="d3ga_optoutscript"}] - - [{*/strip*}]