Hi,
I've read that, but I think I'm missing something and the page is a little vague to me.
I am selling just a single product at a time, so I am using the e-junkie "buy now" buttons (rather than the add to cart)
Since I'm not using the "add to cart" option, the page says to follow Google's own instructions for "third party eCommerce" and paste the Analytics tracking code in my thank-you page.
I tried that when I first started, but for some reason wasn't seeing the completed sales data (ecommerce stats) on my Google analytics account.
I'll try it again though...
Here is the code I plan to put in my "Thank you" page:
-=-=-=-=-=-=-=-=-=-=-
<!-- google code begin -->
<script type="text/javascript">
pageTracker._addTrans(
"<?php echo $HTTP_POST_VARS['txn_id']; ?>", // Order ID
"", // Affiliation
"<?php echo $HTTP_POST_VARS['mc_gross']; ?>", // Total
"", // Tax
"", // Shipping
"<?php echo $HTTP_POST_VARS['address_city']; ?>", // City
"<?php echo $HTTP_POST_VARS['address_state']; ?>", // State
"<?php echo $HTTP_POST_VARS['address_country_code']; ?>" // Country
);
pageTracker._addItem(
"<?php echo $HTTP_POST_VARS['txn_id']; ?>", // Order ID
"<?php echo $HTTP_POST_VARS['item_number1']; ?>", // SKU
"<?php echo $HTTP_POST_VARS['item_name1']; ?>", // Product Name
"", // Category
"<?php echo $HTTP_POST_VARS['mc_gross_1']; ?>", // Price
"<?php echo $HTTP_POST_VARS['quantity1']; ?>" // Quantity
);
</script>
<!-- google code end -->
-=-=-=-=-=-=-=-=-=-=-
This code should extract the POST variable data you send and put the values into the script that will be sent to Google. The variable names above are taken from your help page.
So if I just put in the above Google code, what settings and field entries do I need to check in my e-junkie admin area?
I'm assuming I need to put the "Common Thank-you Page URL" in my main account preferences. Is this correct?
What about the "Common Notification URL"? I should enter it there too right?
Anything else?
Should I enter anything in the individual product configuration? Maybe in the "Send transaction data to a URL" box?
Thanks for your help.