diff options
| author | spiderr <spiderr@bitweaver.org> | 2023-08-27 15:58:57 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2023-08-27 15:58:57 -0400 |
| commit | d3d11045eefdf7c4f834ae2fb9af8a36b23310ac (patch) | |
| tree | 2d37393e18ef58a3a867d7c7e405da145ff7ad93 /templates | |
| parent | 19f88c253a2b1041bab24d5bce260abffa9b1612 (diff) | |
| download | stats-d3d11045eefdf7c4f834ae2fb9af8a36b23310ac.tar.gz stats-d3d11045eefdf7c4f834ae2fb9af8a36b23310ac.tar.bz2 stats-d3d11045eefdf7c4f834ae2fb9af8a36b23310ac.zip | |
clean up literals in html_head_inc.tpl
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/html_head_inc.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 361feac..1013bd9 100644 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -8,19 +8,19 @@ <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','{/literal}{$gBitSystem->getConfig('google_tagmanager_id')}{literal}');</script> <!-- End Google Tag Manager --> +{/literal} {/if} {* **** GOOGLE ADWORDS **** *} {if $gBitSystem->getConfig('google_adwordstag_id')} <!-- Google tag (gtag.js) --> -<script async src="https://www.googletagmanager.com/gtag/js?id={/literal}{$gBitSystem->getConfig('google_adwordstag_id')}{literal}"></script> +<script async src="https://www.googletagmanager.com/gtag/js?id={$gBitSystem->getConfig('google_adwordstag_id')}"></script> <script> window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} + function gtag(){ldelim}dataLayer.push(arguments);{rdelim} gtag('js', new Date()); - gtag('config', '{/literal}{$gBitSystem->getConfig('google_adwordstag_id')}{literal}') + gtag('config', '{$gBitSystem->getConfig('google_adwordstag_id')}') </script> -{/literal} {/if} {* **** GOOGLE UNIVERSAL ANALYTICS **** *} |
