Installing the Snoobi Analytics code -- Update for April 2022 Release

  1. How do I install the Snoobi code on my site
     
    There is a Snoobi plugin for WordPress, see details below, For companies using another Content Management Systems (CMS) available e.g. Drupal, the implementation is quite easy. All you have to do is paste the simple Snoobi code snippet that you received from us in the same place where the rest of your tracking codes, such as Google Analytics, are placed. You should look for “Custom Java Script” in your CMS settings. You can find installation instructions below.
  2. For details of the Snoobi script to install, see this article
    1. For Wordpress: Select 'Snoobi Analytics' as plugin and follow the instructions. Make sure you have your Snoobi account id and server location (EU or COM) ready
    2. For Google Tag Manager, using the Snoobi template:
      1. Click: Discover more tag types in the Community Template Gallery

      2. Search for Snoobi, the click the arrow

      3. Click "Add to Workspace

      4. You may notice the warning about '..potentially unsafe 3d party scripts..', but that can be ignored as the Snoobi code is tested safe.

         

        Next, fill in your Snoobi account name (which you have received from Snoobi Support), and choose either snoobi.com or snoobi.eu. depending on where your Snoobi servers are.
        Then, finalize with any other action needed, do not forget to set the trigger on All pages

    3. For Google Tag Manager (direct method):
      1. The Custom HTML Tag type in GTM allows you to deploy the Snoobi script to your website

        To create the Custom HTML tag for Snoobi:

         

        • Click Tags and then New, then give this a descriptive name
        • Click Tag Configuration and select Custom HTML.
        • Copy the tag code provided (either the full code or the short form) and paste it into the HTML field.
        • Note: do not forget to change accountname to the id provided by Snoobi
        • Ensure the Custom HTML is triggered on every page, add this as a trigger.
      2.  If needed, select Support document.write to enable calls to document.write() in your JavaScript code.

         

        To inspect differences between versions of your custom HTML tags:

        • Click Versions
        • Click a version entry that has the version of the custom HTML tag that you would like to inspect.
        • In the Version Changes card, click the name of the custom HTML tag to view the configuration changes.
        • Click View details View Details to expand the code with differences highlighted.
      3.  Finally, publish the changes to your website

    4. For Drupal:
      1. If you have Drupal, we recommend that you follow the processs as described in the article from Drupal: https://www.drupal.org/docs/8/creating-custom-modules/adding-stylesheets-css-and-javascript-js-to-a-drupal-8-module
    5. For Joomla:
      1. The Snoobi code needs to be installed in the Joomla code. For this you need to log in as an administrator.
      2. After logging in you should navigate to the Templates section: Extensions > Templates > Templates.  
      3. Then select index.php in the left sidebar menu.
      4. Paste the Snoobi code directly above the </body> tag.
      5. Click Save and check if your website is functional, otherwise review the Snoobi code you have entered.
    6. Other systems:
      1. The following instructions work for virtually any system. Note you may need Administrative access
      2. Insert our tracking snippet within your website’s HTML, preferrably in template for your header or footer.
    7. When in doubt, contact us at support@snoobi.nl or tuki@snoobi.fi