News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Tag manager

Started by spankovac, October 08, 2018, 11:53:55 AM

Previous topic - Next topic

spankovac

Hello, can you sb help me please with implementuje od tag manager?

I implemented default code and I measure of traffic and i want to measure of transactions.

I need to put somewhere in code this script:
Quote
<script>
dataLayer.push({
'transactionId':'123456',
'transactionAffiliation':'example.com',
'transactionCurrency':'EUR',
'transactionTotal':2000,
'transactionTax':400,
'transactionShipping':100,
'transactionProducts': [
{name: 'Produkt1', sku: '1', category: 'kat1', categoryid:'123',
price: 1000, quantity: '1'},
{name: 'Produkt2', sku: '2', category: 'kat2', categoryid:'456',
price: 1000, quantity: '1'}
],
'event':'trackTrans'});
</script>/quote]

Can you help me pls? Sorry my english Is not So good.

spankovac

SOLVED:
\storefront\view\default\template\common\success.tpl

Forum Rules Code of conduct
AbanteCart.com 2010 -