With Mouseflow, it's possible to whitelabel the URL used in your tracking code.
To do so, you'll need to setup a proxy script (see example below) which receives requests, fetches the appropriate tracking code from Mouseflow, and returns the contents to the end user.
It is important that this script is served from a server which is configured for HTTP and HTTPS (this requires an SSL certificate issued from a certificate authority). In addition, this method can impose added latency because the script reference results in two requests: one to the proxy script and one to the Mouseflow platform (from the proxy script). We recommend using caching and/or a content delivery network (CDN) to improve performance.
Once implemented, use of a proxy script will allow you to whitelabel the tracking code, as shown below:
[FIND] //cdn.mouseflow.com/projects/xxx.js [REPLACE] //path.to.your.script/?id=xxx
Proxy Script (PHP)
If you have questions or need help, feel free to open a ticket or call us at +1 (855) 668-7335.
Tags: whitelabel path url script reference