AbanteCart Community

AbanteCart Development => Customization help => Topic started by: spankovac on October 08, 2018, 11:53:55 AM

Title: Tag manager
Post by: spankovac on October 08, 2018, 11:53:55 AM
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.
Title: Re: Tag manager
Post by: spankovac on October 08, 2018, 02:15:03 PM
SOLVED:
\storefront\view\default\template\common\success.tpl