Installation - Simple Version

The following are installation instructions for the simple version, which is suitable for most purposes. If you have a detailed knowledge of javascript and have special requirements, please see the custom installation instructions.

Installation Steps

  1. Install Javascript library
    Download the latest version of multitouch_simple-X.Y.Z.min.js from the download page and copy it to a convenient location on your web server, for example, in /js/, so the URL is /js/multitouch_simple.min.js.
  2. Include script in page
    Add the following in the HEAD section of the HTML page:
    <script type="text/javascript" src="/js/multitouch_simple.min.js"></script>
    
    And the following as soon as practicable after the BODY tag
    <script type="text/javascript">
      multitouch();
    </script>
    
    This should be done on ALL pages.
  3. Ensure that the following code is on the order confirmation page. Set variables tid and rev appropriately, where tid is the transaction ID, and rev the order value.
    <script type="text/javascript">
       multitouch_send_event(tid, rev);
    </script>
    
    If you are using the older style Google Analytics tracking instead of the currently-recommended asynchronous version, then you should instead use:
    <script type="text/javascript">
       multitouch_send_event_standard('UA-xxxxxx-x', tid, rev);
    </script>
    
    replacing UA-xxxxxx-x with your Google Analytics tracking ID.
  4. Verify that the events are being captured.

    After the javascript code for recording transactions has been installed, within a few hours the events will start to become visible in the Google Analytics reporting under Content, Event Tracking, Categories, multitouch.

    .
  5. Install the reporting suite
  6. Generate reports