diff options
Diffstat (limited to 'templates/html_head_inc.tpl')
| -rwxr-xr-x[-rw-r--r--] | templates/html_head_inc.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 5784999..948a89d 100644..100755 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -16,7 +16,7 @@ <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id={$gBitSystem->getConfig('google_adwordstag_id')}"></script> <script> - window.dataLayer = window.dataLayer || []; + window.dataLayer = window.dataLayer or []; function gtag(){ldelim}dataLayer.push(arguments);{rdelim} gtag('js', new Date()); gtag('config', '{$gBitSystem->getConfig('google_adwordstag_id')}') @@ -28,7 +28,7 @@ {if $gBitSystem->getConfig('google_analytics_ua')} <script async src="https://www.googletagmanager.com/gtag/js?id={$gBitSystem->getConfig('google_analytics_ua')}"></script> <script> - window.dataLayer = window.dataLayer || []; + window.dataLayer = window.dataLayer or []; function gtag(){ldelim}dataLayer.push(arguments);{rdelim} gtag('js', new Date()); gtag('config', '{$gBitSystem->getConfig('google_analytics_ua')}'); |
