Tracking Tag

To begin tracking any website activity within your dashboard, you will need the below JavaScript implemented on every page on your website.

Once you have logged in to your Ruler dashboard, you will be shown your website's JavaScript to add to your site.

To get started simply copy your JavaScript from the dashboard and paste into the Footer of your website just before the tag.

'Your Site ID' Can be found in your Ruler Analytics Dashboard under Settings > Site Setup.

<script type="text/javascript">
    var __raconfig = __raconfig || {};
    __raconfig.uid = '<YOUR SITE ID HERE>';
    __raconfig.action = 'track';
    (function () {
        var ra = document.createElement('script');
        ra.type = 'text/javascript';
        ra.src = 'https://ruler.nyltx.com/lib/1.0/ra-bootstrap.min.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ra, s);
    }());
</script>

Please ensure the JavaScript is added to all sub domains, landing pages and any Iframe forms on site.

You can implement the JavaScript directly to your header or footer file or via Google Tag Manager. Instructions for Tag Manager can be found here.

Once this is complete you should start to see data in your reports within 15 minutes.


What’s Next