WebSite X5Help Center

 
Roberto M.
Roberto M.
User

Tracking code ecommerce google analytics  it

Autore: Roberto M.
Visite 1420, Followers 1, Condiviso 0  

Ciao, vorrei sapere come inserire il codice per tracciamento delle info per ecommerce su incomedia website x10 pro, avedo il suddetto codice quale modifiche apportar per avere inizio l analisi

<html>
<head>
<title>Receipt for your clothing purchase from Acme Clothing</title>
<scripttype="text/javascript">

 
var _gaq = _gaq ||[];
  _gaq
.push(['_setAccount','UA-XXXXX-X']);
  _gaq
.push(['_trackPageview']);
  _gaq
.push(['_addTrans',
   
'1234',           // transaction ID - required
   
'Acme Clothing',  // affiliation or store name
   
'11.99',          // total - required
   
'1.29',           // tax
   
'5',              // shipping
   
'San Jose',       // city
   
'California',     // state or province
   
'USA'             // country
 
]);

   
// add item might be called for every item in the shopping cart
   
// where your ecommerce engine loops through each item in the cart and
   
// prints out _addItem for each
  _gaq
.push(['_addItem',
   
'1234',           // transaction ID - required
   
'DD44',           // SKU/code - required
   
'T-Shirt',        // product name
   
'Green Medium',   // category or variation
   
'11.99',          // unit price - required
   
'1'               // quantity - required
 
]);
  _gaq
.push(['_trackTrans']);//submits transaction to the Analytics servers

 
(function(){
   
var ga = document.createElement('script'); ga.type ='text/javascript'; ga.async =true;
    ga
.src =('https:'== document.location.protocol ?'https://ssl':'http://www')+'.google-analytics.com/ga.js';
   
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 
})();

</script>
</head>
<body>

  Thank you for your order.  You will receive an email containing all your order details.

</body>
</html>

Postato il
1 RISPOSTE
Incomedia
Riccardo P.
Incomedia

Buongiorno Roberto,

purtroppo non è possibile, prova a inserire un codice per il tracciamento di tutto il sito oppure utilizzare i servizzi di google webmaster tools così da avere info più dettagliate sul sito.

Spero di esserti stato utile.

Leggi di più
Postato il da Riccardo P.