since we updated our website to use https our counter is not working anymore.
is there any configuration for the javascripts ?
how is this counter even working?
do i have to update another config-file, not only web.config when i want to use https ?
i dont have much experience and need help to fix this issue
The first step is to see if there are any client side errors. Most browsers use the F12 (on windows) key to launch their development console, alternatively you should be able to right click on the page and choose "Inspect".
Once you are in the devtools, have a look and see if there are any errors. It is possible your site isn't loading external javascript files because they are requested via http instead of https. In which case you will need to update your templates to make the call via https instead.
One trick that might be useful, when I'm putting script links in I often just put in //www.someurl.com/jsfile.js
The use of // at the start means that is uses what ever the site is using. So on HTTP it uses http on HTTPS it uses https. Just something to keep in mind :-)
javascript not working after ssl configuration
since we updated our website to use https our counter is not working anymore.
is there any configuration for the javascripts ? how is this counter even working? do i have to update another config-file, not only web.config when i want to use https ?
i dont have much experience and need help to fix this issue
thanks for your help
Hi Bjoern,
The first step is to see if there are any client side errors. Most browsers use the F12 (on windows) key to launch their development console, alternatively you should be able to right click on the page and choose "Inspect".
Once you are in the devtools, have a look and see if there are any errors. It is possible your site isn't loading external javascript files because they are requested via http instead of https. In which case you will need to update your templates to make the call via https instead.
Nik
Hi Nik
thank your for your fast reply.
i received several errors - how do i update my templates to use https ?
i found the solution:
there was a link in the script.js-File which caused this issue: "noext!https://www.youtube.com/iframe_api"
this link was configured to use http. now our website works just fine.
thanks for your help
No problem Bjoern, happy to help :-)
One trick that might be useful, when I'm putting script links in I often just put in //www.someurl.com/jsfile.js
The use of // at the start means that is uses what ever the site is using. So on HTTP it uses http on HTTPS it uses https. Just something to keep in mind :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.