hello, we are implementing hummingbird tracking ( and just wanted to find out if it is possible to reuse the data that google analytics pulls from our page and insert it into my own client.js
here is what is on the page already
<code>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6534432-1");
pageTracker._trackPageview();
pageTracker._addTrans(
"L64871fXyvvZ", // Order ID
"bebebox", // Affiliation
"16.4", // Total
"2.69", // Tax
"6.9", // Shipping
"paris", // City
"paris", // State
"France métropolitaine" // Country
);
pageTracker._addItem(
"L64871fXyvvZ", // Order ID
"LE95102010", // SKU
"Body 100% Coton BIO Croisé, Manches longues - Liegelind Naissance Prématuré", // Product Name
"Vêtements Bébé", // Category
"9.5", // Price
"1" // Quantity
);
pageTracker._trackTrans();
} catch(err) {}</script>
</code>
is this possible or do i have to scrape the page using my client.js script as well?
if yes, how do i pass pageTracker._addItem values for example to my script?
thanks
here is what is on the page already
<code>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6534432-1");
pageTracker._trackPageview();
pageTracker._addTrans(
"L64871fXyvvZ", // Order ID
"bebebox", // Affiliation
"16.4", // Total
"2.69", // Tax
"6.9", // Shipping
"paris", // City
"paris", // State
"France métropolitaine" // Country
);
pageTracker._addItem(
"L64871fXyvvZ", // Order ID
"LE95102010", // SKU
"Body 100% Coton BIO Croisé, Manches longues - Liegelind Naissance Prématuré", // Product Name
"Vêtements Bébé", // Category
"9.5", // Price
"1" // Quantity
);
pageTracker._trackTrans();
} catch(err) {}</script>
</code>
is this possible or do i have to scrape the page using my client.js script as well?
if yes, how do i pass pageTracker._addItem values for example to my script?
thanks