Forum Moderators: buckworks

Message Too Old, No Replies

changing http to https on Thank you Page

in MSN / Yahoo etc Ad Tracking

         

chewy

10:02 pm on Aug 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've been displaying that awful message about mixing secure and non-secure items on my thank you page.

I see it is because I am calling various tracking codes with http.

can I just change these to https?

Thanks!

jwolthuis

2:27 am on Aug 10, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try it, and if it works, the answer is Yes.

Without more details besides "various tracking codes", it's tough to give a definitive answer.

morehawes

10:20 am on Aug 10, 2010 (gmt 0)

10+ Year Member



If you are talking about stat tracking - analytics/statcounter etc then they should all provide HTTPS versions of their scripts. Google Analytics for example determines from within their tracking code whether the visitor is viewing a HTTP/HTTPS page and uses the appropriate URL. If the service does not provide a HTTPS version then switch services.

If you are talking about using HTTP requests from your domain then change your URLs to be relative to the document root. For example change :

<script type="text/javascript" src="http://www.example.com/script.js">


to

<script type="text/javascript" src="/script.js">


This way HTTPS will always be used for HTTPS pages.

chewy

1:10 pm on Aug 10, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks - just now trying to get the updated tracking code from MSN and the system will not allow logins.

I guess I don't care about those stats today.

More people should understand this and get it resolved.