If you use WordPress, you can you the WordPress plugin, which makes it easier to install the script.

For Django Projects you can use the Django plugin.

For Drupal sites you can use the Drupal plugin.

For Magento sites open the Magento Admin area and navigate to
System→ Configuration→ Design→ HTML Head→ Miscellaneous Scripts
and paste the javascript code in there.