Google Analytics |
Post Reply |
Author | |
Teena
Newbie Joined: 12-July-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 12-July-2006 at 4:22pm |
Has anyone integrated Google Analytics with Product Cart? Any help would be great.
|
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
We have not used Google Analytics with Product Cart but you should be able to add your tracking code to the footer.asp page to allow you to track all Product Cart pages. Google actual mentions in their explanation of setting up the tracking code that it can be added to a common include file or template. So the footer.asp is probably the best place for it. If you have static pages on your web site that don't use the Product Cart footer, you would need to paste your tracking code into those pages separately. |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
Most web hosting services will include stats with your web site account. You may want to check if you have that before taking the time to setup Google Analytics.
|
|
Teena
Newbie Joined: 12-July-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Actually I should have been more clear. The Google tracking code in the header or footer is no problem. What I really meant was has anyone set up Google Analytics Ecommerce Tracking with Product Cart? It would require some code manipulation due to the there not being any <body> tags on the ordercomplete.asp page. Google gives more and deeper information than my hosting company.
|
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
The body tag is in the header.asp page. You could copy header.asp to a new file like header2.asp and then modify the ordercomplete.asp to include header2.asp instead of header.asp and change the body tag in the header2.asp file to have the code you need. Just make sure you finish all you modifications to header.asp first or you will need to backwrite changes to header2.asp. If you are familiar with ASP you could just write code in header.asp to detect the page name and then insert your Google code in the body tag when you detect the ordercomplete.asp page. |
|
Teena
Newbie Joined: 12-July-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Netprofits - if I'm folliwing you, all I have to do is create a second header, i.e., header2.asp that includes the body onLoad call and then put that include in the orderComplete.asp file. Do I have that right? Also, wondering if you could help - the first Form is Google's directions; The second one are the variables I believe cooridnate in Product Cart - can you verify that I have the I have replaced Googles's [ ] with the correlating db item from Product Cart? Thanks for your help. <body onLoad="javascript:__utmSetTrans()"> <form style="display:none;" name="utmform"> <form style="display:none;" name="utmform">
|
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
We have not used the Google Ecommerce analytics but your entries look correct with the following exceptions: |
|
thrion
Groupie Joined: 27-October-2005 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Hi Teena,
We use GA and are working at the richer ecommerce tracking you are talking about, I'll let you know when we get it all worked out. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |