Book the exclusive demo launch to experience the OWOX BI analytics

The analytics.js library is a JavaScript library for measuring how users interact with your website. This document explains how to collect user interaction data using analytics.js and OWOX BI custom domain.

Find the following JavaScript code near the top of the <head> tag, and replace a domain specified in snippet with OWOX BI custom domain:

<!-- Google Analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

('create', 'UA-XXXXX-Y', 'auto');
('send', 'pageview');
<!-- End Google Analytics -->

After this change the above code will operate in a different way:

  1. load analytics.js and other libraries from a proxy domain,
  2. send hits to Google Analytics via OWOX BI proxy.
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.