nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Google Analytics E-commerce Tracking Code
Guest_recohen_*
post Sep 7 2009, 01:10 PM
Post #1





Guests






Hi,

I'm trying to get Google Analytics E-Commerce Tracking Code to work for our site. I've pasted the following code in the order confirmation message, but it doesn't seem to be passing the appropriate data back to Google Analytics (We have two subdomains - the main site is www and the NS store is store). Any idea what I'm doing wrong here?

Thanks,
Ross


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-193532-1");
pageTracker._setDomainName(".triumphdining.com");
pageTracker._setAllowHash(false);
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
pageTracker._addTrans(
"<%Order.Number%>", // Order ID
"<%Order.Total%>", // Total
"<%Order.Tax%>", // Tax
"<%Order.Shipping%>", // Shipping

);
pageTracker._trackTrans();
} catch(err) {}
</script>
Go to the top of the page
 
+Quote Post
EKop
post Sep 8 2009, 04:04 PM
Post #2





Group: Verified NS Member
Posts: 10
Joined: 1-August 09
Member No.: 4,877



I am having the same problem! Launched our v.7 at the beginning of August and have not been able to get this code to work. Relieved it's not just us.
Go to the top of the page
 
+Quote Post
Guest_recohen_*
post Sep 8 2009, 05:46 PM
Post #3





Guests






Can anyone help us with this?
Go to the top of the page
 
+Quote Post
sgrover
post Sep 8 2009, 08:14 PM
Post #4





Group: Verified NS Member
Posts: 52
Joined: 22-November 07
Member No.: 306



EKop - Is there any reason why you're pasting code rather than entering your Google Analytics tracking code in the tab already setup for Google Analytics? Operations -> Settings -> Google

recohen - Not sure what to suggest on your side. Looks like you're running a PHP cart.
Go to the top of the page
 
+Quote Post
Guest_recohen_*
post Sep 8 2009, 09:15 PM
Post #5





Guests






I actually have two carts, one NS and one at another provider (so that I can switch back and forth if one of the providers is slow/down/etc.).

I've been using the other cart lately (so you can't see my NS cart) because I can't get the Google Analytics e-commerce tracking code to work. My NS cart is at http://store.triumphdining.com/cart.aspx.

Thanks,
Ross
Go to the top of the page
 
+Quote Post
sgrover
post Sep 8 2009, 09:14 PM
Post #6





Group: Verified NS Member
Posts: 52
Joined: 22-November 07
Member No.: 306



QUOTE (recohen @ Sep 8 2009, 09:15 PM) *
I've been using the other cart lately (so you can't see my NS cart) because I can't get the Google Analytics e-commerce tracking code to work.

Did you try putting the Google Analytics tracking code into the field in your control panel? Or did you have a special need to paste the code by hand into your pages?
Go to the top of the page
 
+Quote Post
Guest_recohen_*
post Sep 9 2009, 06:05 AM
Post #7





Guests






Special need. Because I have multiple subdomains, I have to add some additional lines to the code.

I called NS yesterday and they were pretty unhelpful. The guy pretty much told me he had "no idea" and couldn't help me. I realize that NS can't support every integration under the sun, but it seems like a pretty big deal to not be able to track your e-commerce results.
Go to the top of the page
 
+Quote Post
kencantoo
post Sep 9 2009, 09:26 AM
Post #8





Group: Verified NS Member
Posts: 108
Joined: 27-July 09
From: Tennessee
Member No.: 4,847



QUOTE (recohen @ Sep 9 2009, 07:05 AM) *
Special need. Because I have multiple subdomains, I have to add some additional lines to the code.

I called NS yesterday and they were pretty unhelpful. The guy pretty much told me he had "no idea" and couldn't help me. I realize that NS can't support every integration under the sun, but it seems like a pretty big deal to not be able to track your e-commerce results.


I'm not sure I fully understand but thinking outside the box from the information given, Go to Operations > Settings > Google and just paste your Analytics account code there, then for your sub domain pages actually paste the code from google. Our e-commerce info is returned to google just fine but we are using the built in feature like the instructions above. Also you know you can set up a different website account in google to get a separate code and use that for sub-domains, this way you can keep the two sets of data separate and view who is hitting the sub domains vs the main domain. Hope this helps.
Go to the top of the page
 
+Quote Post
rob1
post Sep 9 2009, 09:58 AM
Post #9





Group: Verified NS Member
Posts: 188
Joined: 25-July 08
From: New Hampshire
Member No.: 1,625



We have the same issue. Our cart is on a subdomain. GA worked perfect in V4. The day we switched to v7 GA stopped tracking our marketing campaigns.

We were told that NetSol needs to make some changes in their backend to fix the issue.

Bob
Go to the top of the page
 
+Quote Post
EKop
post Sep 9 2009, 07:04 PM
Post #10





Group: Verified NS Member
Posts: 10
Joined: 1-August 09
Member No.: 4,877



QUOTE (sgrover @ Sep 8 2009, 08:14 PM) *
EKop - Is there any reason why you're pasting code rather than entering your Google Analytics tracking code in the tab already setup for Google Analytics? Operations -> Settings -> Google

recohen - Not sure what to suggest on your side. Looks like you're running a PHP cart.


Can someone please clairify this for me?

I have both analytics and adwords thru google. Recently we linked our google stuff togehter (please don't ask me what this means becasue I don't completely understand it... from what I gather, our analytics and adwords were 2 differnt accounts but are now connected)

I had entered the google Analytics # in the "Operations -> Settings -> Google"
This worked for my analtyics - not my adwords.

So, at the "confirmation page" I entered the google generated code for my conversions (adwords). Then everything stopped working (analytics and adwords.)

So we linked our adwords and analytics thru google- I cleared out the code on the conversion page, used the new google number "Operations -> Settings -> Google" (basically started from scratch) - this was yesterday so I am waiting to see if this works.

So, am I correct in thinking if my google accounts are linked, I will only have to have this code in the "operations" section and both analytics and adwords will work ?

Or, do you need to have google code on your conversion page too for adwords?

Thanks for helping me understand this!!!

ETA: Sorry for hijacking your thread Ross.
Go to the top of the page
 
+Quote Post
SteveSmillie
post Sep 11 2009, 07:12 PM
Post #11





Group: Verified NS Member
Posts: 10
Joined: 13-August 09
Member No.: 4,987



I have been trying to fix this for weeks now as well. It is not feeding the data to google correctly
Go to the top of the page
 
+Quote Post
kencantoo
post Sep 11 2009, 09:36 PM
Post #12





Group: Verified NS Member
Posts: 108
Joined: 27-July 09
From: Tennessee
Member No.: 4,847



QUOTE (SteveSmillie @ Sep 11 2009, 08:12 PM) *
I have been trying to fix this for weeks now as well. It is not feeding the data to google correctly


Ok one thing, if you have linked your Analytics and Adwords accounts in GOOGLE you don't need two separate codes, Just Analytics, on the same note using the analytics code WILL TRACK YOUR ECOMMERCE SITE....

IF

You have logged into to google analytics click EDIT to the far right of the site you are working on, Then click EDIT (far right again) on the main site PROFILE INFORMATION make sure that ecommerce site? is YES

Take your account code go to Options > Settings > Google enter your account code

Click SAVE and you're done :-)
Go to the top of the page
 
+Quote Post
Guest_recohen_*
post Sep 18 2009, 02:00 PM
Post #13





Guests






It's still not working.

NS: When are you planning to fix this?
Go to the top of the page
 
+Quote Post
kencantoo
post Sep 18 2009, 03:37 PM
Post #14





Group: Verified NS Member
Posts: 108
Joined: 27-July 09
From: Tennessee
Member No.: 4,847



QUOTE (recohen @ Sep 18 2009, 03:00 PM) *
It's still not working.

NS: When are you planning to fix this?

I think you should try live chat or call this in... if it's working for most of us properly there has to be something going on with your site that they need to look at. I doubt posting it on the board for them to look at will get their attention because it doesn't seem to be affecting everyone.
Go to the top of the page
 
+Quote Post
rob1
post Sep 21 2009, 01:17 PM
Post #15





Group: Verified NS Member
Posts: 188
Joined: 25-July 08
From: New Hampshire
Member No.: 1,625



QUOTE (kencantoo @ Sep 18 2009, 04:37 PM) *
if it's working for most of us properly there has to be something going on with your site that they need to look at. I doubt posting it on the board for them to look at will get their attention because it doesn't seem to be affecting everyone.


This will only affect stores that reside at a subdomain. I was told in March that this was an issue with MC and it would have to go to the dev team to be fixed.

I am sure it has not been a priority because most sites are not using subdomains for their stores. I still hope this issues gets fixed.

Now, if you are hosting your store at a subdomain and GA is tracking your mktg campaigns correctly, please let us in on the secret! (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)

Go to the top of the page
 
+Quote Post
kencantoo
post Sep 21 2009, 08:47 PM
Post #16





Group: Verified NS Member
Posts: 108
Joined: 27-July 09
From: Tennessee
Member No.: 4,847



QUOTE (rob1 @ Sep 21 2009, 02:17 PM) *
This will only affect stores that reside at a subdomain. I was told in March that this was an issue with MC and it would have to go to the dev team to be fixed.

I am sure it has not been a priority because most sites are not using subdomains for their stores. I still hope this issues gets fixed.

Now, if you are hosting your store at a subdomain and GA is tracking your mktg campaigns correctly, please let us in on the secret! (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)

Got it... Subdomains are the only one having the issue, that's where I'd open a ticket and call EVERY DAY to check the status. You know they keep track of phone logs and eventually someone will get the message, even it just takes getting the right tech who has some knowledge that another might not have.
Go to the top of the page
 
+Quote Post
Guest_recohen_*
post Sep 22 2009, 04:10 PM
Post #17





Guests






It would be nice if they would have told me that when I called about this. The rep I spoke with told me he had no idea why it wasn't working but that it was my problem because they don't support GA. Lovely.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2009 Time is now: 21st November 2009 - 07:56 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates