|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Google Discussion Forum Google Discussion forum is for topics specifically related to Google. There is a subforum dedicated to AdSense/AdWords subjects. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I cant figure out how to add the google analytics counter to my secure and non secure pages under 1 site.
I can get the non secure code but if i put it on my secure pages it gives an error, and as far as i can see, to get secure code i have to create a different site which would kill my conversion numbers?? Can anyone help? I emailed the help section it offers but have not got a response. Thanks! |
|
|||
|
The simple answer is to take your non-secure code and just make the reference to https://ssl.google-analytics.com/urchin.js instead of http://www.google-analytics.com/urchin.js for the secure pages. Other than that, the code is the same.
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
Thats what i thought but it gave a warning on my page when i changed it. I can try it again maybe?
Are you sure this works and there isnt a validation in the code that i pass to google? If you have done this with success it would give me more hope for writing it off as a dumb mistake. :) |
|
|||
|
I've done this on www.toolpartsdirect.com and had no issues. When I changed it to https://www.google-analytics.com/urchin.js, that gave a warning. When I made it ssl.google-analytics.com that worked without the error. Just make sure you include the s in the protocol as well and you'll be good.
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
What I have found that works just as well is to remove the http// or https:// from the code altogether. The server or the browser will fetch the code in whatever the current state is. I've done it myself and it works just fine.
|
|
|||
|
Quote:
Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
|
|||
|
That was one easy way to do things. Given the authentication path that SSL pages require, modem users don't get counted as accurately when using SSL for all pages. This is the reason we split it up.
Using the method I described above works flawless. I sure haven't had any issues with it. Brian.
__________________
ToolBarn.com, an Internet Retailer Top 500 and Inc. 500 Company | Tool Parts | Pet Supplies |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |