... | ... |
@@ -13,7 +13,6 @@ |
13 | 13 |
gtag('js', new Date()); |
14 | 14 |
|
15 | 15 |
gtag('config', '[{$googleTrackingId}]', { 'anonymize_ip': true }); |
16 |
-</script> |
|
17 | 16 |
[{/if}] |
18 | 17 |
|
19 | 18 |
[{if $googleAdsId}] |
... | ... |
@@ -28,10 +27,13 @@ |
28 | 27 |
gtag('config', '[{$googleAdsId}]', { 'anonymize_ip': true }); |
29 | 28 |
</script> |
30 | 29 |
[{else}] |
31 |
- <script> |
|
32 | 30 |
gtag('config', '[{$googleAdsId}]', { 'anonymize_ip': true }); |
33 | 31 |
</script> |
34 | 32 |
[{/if}] |
33 |
+[{else}] |
|
34 |
+ [{if $googleTrackingId}] |
|
35 |
+ </script> |
|
36 |
+ [{/if}] |
|
35 | 37 |
[{/if}] |
36 | 38 |
|
37 | 39 |
[{if $oViewConf->getActiveClassName() == 'thankyou'}][{strip}] |