SSL and javascript from other site

Here's to confirm that, if your website is protected under SSL, while at the same time, you include javascript file from another website, that JS file will NOT be included (blocked).

So if you found that your SSL-protected e-commerce website does not track statistic properly, chance are your javascript from another website is being blocked.  To verify, simply open javascript console to see the log.

To avoid this problem:

1. Disable SSL in main site
2. Add SSL in another site
3. Move your JS file to SSL main site.

If you are using PostAffiiatePro with WooCommerce, I recommended that you install PAP in e-commerce site.

Comments

Popular posts from this blog

TCPDF How to show/display Chinese Character?

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services

Using wget bypass htaccess username password 401 authorization