37 lines
1.4 KiB
Smarty
37 lines
1.4 KiB
Smarty
{*
|
|
* 2022 ECSoft
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* http://opensource.org/licenses/afl-3.0.php
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to dev.ecsoft@gmail.com so we can send you a copy immediately.
|
|
*
|
|
*
|
|
* @author ECSoft <dev.ecsoft@gmail.com>
|
|
* @copyright 2022 ECSoft
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
* International Registered Trademark & Property of ECSoft
|
|
*}
|
|
<script data-keepinline="true">
|
|
{literal}(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);
|
|
}){/literal}(window,document,'script','dataLayer','{$generalConfig->gtm_id|escape:'htmlall':'UTF-8'}');
|
|
|
|
dataLayer = window.dataLayer || [];
|
|
|
|
{if !empty($preDataLayer)}
|
|
dataLayer.push({$preDataLayer nofilter});
|
|
{/if}
|
|
|
|
{if !empty($dataLayer)}
|
|
let ecsGtmProDatalayer = {$dataLayer nofilter};
|
|
dataLayer.push(ecsGtmProDatalayer);
|
|
{/if}
|
|
</script> |