Oxygen doesn't grow on trees.

The documentation is somewhat incomplete on how to force Google Analytics to use SSL when working with the ga.js tracker (using asynchronous syntax). When using analytics.js, a simple call to set forceSSL is sufficient.

The correct syntax is

_gaq.push(['_gat._forceSSL']);

Leave a comment