|
Jun 05
2007
|
Ajax Attributes added!Posted by brian in E-Com Development |
|
Get google to pay attention to your site . . .
Get google to pay attention to your site . . .
Blog | brian's Blog | |
|
Description: Programing, technology, and all things geeky |
|
|
Jun 05
2007
|
Ajax Attributes added!Posted by brian in E-Com Development |
|
|
May 23
2007
|
|
|
May 23
2007
|
Google-analytics under SSLPosted by brian in Tech, E-Commerce |
|
So, here is the senario... you have an online store, you want to use google analytics to track visits/conversions etc... so you add the urchin tracker code like they say to. Now when you go to checkout or go under any ssl encrypted page the sight throws an error saying there are secure and non-secureitems....
The default code they give is
< script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
The problem here is that it's including urchin from a non-secure source, I found some javascript at this guys blog ... http://boagworld.com/forum/comments.php?DiscussionID=1324
which will allow us to detect SSL encryption and pull in the urchin from the proper source, so use this instead.
< script type="text/javascript">
document.write( '<scr'+'ipt type="text/javascript" src="' );
if( document.location.toString().indexOf( 'https://' ) != -1 ) {
document.write( 'https://ssl' );
} else {
document.write( 'http://www' );
}
document.write( '.google-analytics.com/urchin.js"><\/scr'+'ipt>' );
</script>
Obviously I took the opening bracket off the script tag... but you get the picture
|
Jan 10
2007
|
New Features over X-Mas Vacation!Posted by brian in E-Com Development |
|
We have recently added several new features to our ecommerce package
|
Oct 24
2006
|
Complete New Features List So FarPosted by brian in Untagged |
|
|
Oct 23
2006
|
A Few Other Small thingsPosted by brian in E-Com Development |
|
|
Oct 22
2006
|
Added TinyMCE WYSIWYG HTML EditorPosted by brian in E-Com Development |
|