Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Couple issues needing a hand with.


navyhost

Recommended Posts

Posted

Hi everyone,

 

First off, thanks for taking some of your time for helping out,

 

Our first problem we are having is with google adwords and google analytics, in analytics we have funnels set up so that we can see if the customer is going through the checkout or dropping etc... all of this works perfect.

 

The problem we are having is, we'd like to see which keywords are converting for us in google adwords but for some reason the analytics isn't picking it up. It seems to drop the keyword along the way.

It seemed we had it working at one point but than it stopped on us and we haven't been able to fix it since. Is any one familar with this and can you help get us back on the right track?

 

The other issue we are having and we aren't sure if it is possibly causing a problem for the above issues, when a customer adds an item to the cart, there is a string at the end of shopping_cart that looks like this:

 

shopping_cart.php?sort=2a

 

Is there a way to prevent this, or is this suppose to be occurring?

 

 

Again, thanks for the hand. It is greatly appreciated.

 

 

Mike

Sincerely

Mike

Posted
The other issue we are having and we aren't sure if it is possibly causing a problem for the above issues, when a customer adds an item to the cart, there is a string at the end of shopping_cart that looks like this:

 

shopping_cart.php?sort=2a

 

Is there a way to prevent this, or is this suppose to be occurring?

 

Well that string is appended for the GET list. It's telling shopping_cart.php to sort the rows according to column 2, ascending. It's normal for this to be added. The table has links at the top to allow the customer to sort according to whichever column he wants (see the '+' symbol next to the column heading as a visual clue as to which is the column determining the sort order at present). Clicking the current column again causes the order to be reversed.

 

Sorry, I don't know whether this is affecting the Adwords, but suspect not.

Posted
The problem we are having is, we'd like to see which keywords are converting for us in google adwords but for some reason the analytics isn't picking it up. It seems to drop the keyword along the way.

It seemed we had it working at one point but than it stopped on us and we haven't been able to fix it since. Is any one familar with this and can you help get us back on the right track?

Isn't there some issue with jumping to https where Google doesn't copy the hidden POST variables correctly. I seem to remember that you have to make sure to call analytics via https at times when you jump to SSL. Maybe that's it?

 

The new Analytics code has some snazzy defs in it to make sure this happens automatically when you link from a secure page. Here's the code I currently use:

<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">
var pageTracker = _gat._getTracker("UA-*******-1");
pageTracker._trackPageview();
</script>

Note: I call the new Google Analytics rather than the legacy urchin code, but the principle is the same.

 

Anyway, perhaps it's something to do with that?

 

The other thing to check is in the Google Analytics configuration pages. There's a check box to tick to say POST the keywords. If you haven't got that ticked then Google won't pass them through in the first place. Perhaps you need to check that too? :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...