User behavior tracker tool. Any suggestions ?May 25, 2020 at 10:14am (Edited 1 month ago)
Do you guys know any user behaviour tracking tools that works well with Aragon applications ?
Because apps inside the Aragon client are sandboxed, there are problems when you try to use tools as hotjar which ask you to add a tracking code to the html.
Sorry if I'm posting this in the wrong channel.
May 25, 2020 at 6:51pm
Good question. So far, we have not had too much interest in attaching tracking scripts to individual apps.
Does including the tracking code to the html not load? In general, these scripts work by being loaded and sending network requests back to the server, which should all still work in the sandbox.
May 28, 2020 at 2:23pm
Apparently not. Hotjar gives you a tracking code that you need to paste into the
<head>of the main html. They ask you to enter the url of your app to verify the tracking code. If its working a confirmation badge will pop up I'm getting this message in the console, I dont know if it helps:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://vars.hotjar.com') does not match the recipient window's origin ('null').
This is the tracking code:
We also can't provide a URL with the app because we set a null origin to isolate the app frontend.