Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google Analytics and osC Session ID


jdw814

Recommended Posts

Posted

Hi,

 

I have a fairly new osCommerce store that is running great, but I have a slight problem...

 

I have Google Analytics on my site -- in the "includes/footer.php" file -- but am having a bit of a problem getting relevant data because it is posting each Session ID as a "hit" to a separate page...

 

For example: If Customer X and Y both go to Category 1, I get 1 hit for "https://www.mysite.com/catalog/index.php?cPath=1&osCsid=XYZ" and another for "https://www.mysite.com/catalog/index.php?cPath=1&osCsid=ABC". (I'm simplifying the actual link greatly, for the sake of the example...)

 

Does anyone know how to fix this so that both show up as hits for "https://mysite.com/catalog/index.php?cPath=1"?

 

Is it something I need to change in the way I am handling sessions? If so, how?

 

Any help would be greatly appreciated!

 

Thank you,

Julie Williams

Posted

You must ensure google & others do not generate sessions when they crawl your site, as

 

1. You will get hit for duplicate content

 

2. Visitors following the links could get each others data confused by the app.

 

There's more http://www.oscommerce.com/forums/index.php?showtopic=330479&hl

 

 

Admin/sessions set:

 

Prevent Spider Sessions to true & update your spiders.txt

 

Recreate Session to true

 

Matt has also created I nice post here with a mod for regenerating the session and preventing shared sessions from shared links

 

 

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

If I'm right - and I'm not sure :rolleyes: - each page and every image that makes up the page is registered as a hit.

Visits are more important both new and returning along with pages visited, time on site and keywords.

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Archived

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

×
×
  • Create New...