Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 04:57:10 AM

Pages: [1]   Go Down
  Print  
Author Topic: OsCommerce and Google Analytics  (Read 900 times)
katrina1
Guest
« on: December 13, 2006, 09:59:31 PM »

This tip was given to us by one of our customers so I thought I would pass it along for everyone:

If you happen to be using google analytics with osCommerce, the analytics script can invalidate the SSL (typically shown as a broken lock in the browser). To fix this simply change 'http://www.google-analytics.com' to 'https://ssl.google-analytics.com' Alternately you could disable google analytics when in SSL with the following <?php } if ($request_type != 'SSL') { ?> Insert google analytics code here. <? } ?>
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: