Afternoon all,
I've search the form for an answer for this, but can't specifically find out.
I've got a piece of sakes tracking script, that we need to put on every page of our web-site. As it's a snippet of Javascript code, we need to ensure the script src is https:// on a secure page.
Similarly, on a non secure page we need it to be http:// as otherwise it causes javascript errors. Therefore, i was wondering, I could surely just used a block if statement within Actinic.
There are so many SSL Variables - which is the one I need? I will just put both scripts on each page of the site, and then have a block if, which would then (hopefully) show the appropriate one, depending on the type of page the user is on.
I've search the form for an answer for this, but can't specifically find out.
I've got a piece of sakes tracking script, that we need to put on every page of our web-site. As it's a snippet of Javascript code, we need to ensure the script src is https:// on a secure page.
Similarly, on a non secure page we need it to be http:// as otherwise it causes javascript errors. Therefore, i was wondering, I could surely just used a block if statement within Actinic.
There are so many SSL Variables - which is the one I need? I will just put both scripts on each page of the site, and then have a block if, which would then (hopefully) show the appropriate one, depending on the type of page the user is on.
Comment