Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL and google analytics


amanisuperstore

Recommended Posts

Posted

I use google analytics on my site and earlier this week I installed a SSL on the a href="w"w.royaltyfragrance.com">site. Since then I have been getting the msg "do you want to view both secure and non secure items on this site" I have also noticed that this is only ocurring on the pages that have the google tracking script in the code. Is there anyone out there who knows how to fix this problem?

 

BY THE WAY THIS ERROR ONLY OCCURS IN IE FIREFOX WORKS JUST FINE.

 

Eric

Posted
I use google analytics on my site and earlier this week I installed a SSL on the a href="w"w.royaltyfragrance.com">site. Since then I have been getting the msg "do you want to view both secure and non secure items on this site" I have also noticed that this is only ocurring on the pages that have the google tracking script in the code. Is there anyone out there who knows how to fix this problem?

 

BY THE WAY THIS ERROR ONLY OCCURS IN IE FIREFOX WORKS JUST FINE.

 

Eric

 

Ok guys I was able to fix the problem that I was having. The problem was the tracking code was refrencing a non-secure page so I changed the code from:

 

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

</script>

<script type="text/javascript">

_uacct = "UA-****-*";

urchinTracker();

</script>

 

and replaced it with:

 

<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">

</script>

<script type="text/javascript">

_uacct = "UA-XXXX-X";

urchinTracker();

</script>

 

I hope this will be of help to someone.

 

Eric.

 

:thumbsup:

Archived

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

×
×
  • Create New...