Created
August 26, 2015 18:17
-
-
Save TobiasChe/5724d0911e4de6caf8ec to your computer and use it in GitHub Desktop.
Force SSL for Google tracking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_gaq.push(['_setAccount', 'UA-12345-1']); | |
_gaq.push(['_gat._forceSSL']); // Send all hits using SSL, even from insecure (HTTP) pages. | |
_gaq.push(['_trackPageview']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment