Install the script
Load ramon.js once on each survey page. The script reads configuration from its
query string and from window.ramonConfig; query-string values take precedence.
<script>
window.ramonConfig = {
sessionId: '11111111-1111-4111-8111-111111111111',
redactKeyboardInput: true,
redactPageUrl: true
};
</script>
<script
src="https://embed.getramon.com/ramon.js?key=YOUR_TRACKING_KEY&url=https://api.getramon.com"
defer
></script>
key is the public tracking key from survey provisioning. url identifies the
collector API and defaults to https://api.getramon.com when not supplied.
The embed batches browser events and posts them to
{url}/event/{key}/{sessionId}. A tracking key is not an Integration API key;
never use an rmn_ls_… Bearer token in this script.