|
|
Ok!
|
|
|
Ok!
|
|---|---|---|---|---|
| 77 | <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115977538-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-115977538-1');
</script> | gtag, google tagmanager | 1090 | Google Tag Manager |
| 50 | <script>
jQuery('.order-form-submit').click(function send_order(){
gtag('event', 'purchase', {
"transaction_id": <?=rand(1,1000)?>,
"affiliation": "La Maree Buy",
"value": {TOVAR_SUM},
"currency": "RUR",
"tax": 1.18,
"shipping": 350,
"items": <?=json_encode( $GLOBALS['item'], JSON_UNESCAPED_UNICODE ); ?>
});
});
</script> | gtag, js, аналитика, purchase | 4899 | Скрипт добавки товара в Аналитику gtag js |