1. Put it in a widget
Most of my hacks use this method. I like this method because it’s easier to install, uninstall and you don’t need to mess with your template code.
2. Put it in the template itself
Use this method if the script is accessed from outside of a widget or from more than one places in your template. Do it like this:
Then place the whole thing before the
</head> tag in your template.
To be specific use Google Sites. Why Google Sites? Because it’s free first and foremost (that’s why you join Blogger in the first place right?) and it’s a part of Google big family, so you don’t have to sign up or anything.
Note: The external script must not contain the
After uploading the file to Google Sites, get the direct link to the file and use it in the code below (notice the .txt file extension).
The direct link to the file will begin with
https. To make it work, you need to change
http when adding to the code, like in this example:
This code must be positioned exactly where you would want the script to be in your template.