Follow

Installing MARE on your website

In order for MARE to serve surveys on your website, you simply need to add a few lines of code to the end of each page of your site.

Here's how to install the MARE tracking code on your website.

Grab the site code from MARE:

1. Log in to MARE at https://www.mare.io/login

2. Click on "My Sites" on the main administrator menu

3. Click on "Get Tracker Code" for the site that you would like to setup.

NOTE: If you do not have a website setup in MARE yet, you can add one by entering your domain name in the "Add New Site" form, and clicking on "Save and Get Tracker Code."

The script should look like this:

<script>
  var _mare_pk = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
  var _mare_sc = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
  (function() {
    var mare = document.createElement('script'); mare.type = "text/javascript"; mare.async = true;
    mare.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'mare.io/API/script.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(mare, s);
  })();
</script>

Copy and paste this code onto your site:

1. Paste this tracking code before the closing </body> tag on every page of your website where you want to serve surveys.

That's it! You have now installed MARE onto your website. It's time to get surveying.

0 Comments

Please sign in to leave a comment.
Powered by Zendesk