Journey JS




<script type="text/javascript">
"use strict";!function(){var e=window.journey=window.journey||{};if(e.config)return console.log("Journey loaded");e.initialize=function(e,t){if(!e.config&&!e.path&&!e.key)return console.error('[strala] "options" missing one of "config", "path", or "key"');if(e.config)returnt(e.config);var n=e.path||""+e.key+".json",r=newXMLHttpRequest;r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE){if(!(r.status<300))return console.error(r.statusText);if(!r.responseText)return console.error("[strala] Request failed! No config available to parse.",r);if(t)returnt(JSON.parse(r.responseText))}},"GET",n,!0),r.send()},e.load=function(t){e.config=t;var n=t.version||"current",r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=""+n+".js";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}}();
var options ={ key:'<Your Organization ID>'};
  journey.initialize(options, journey.load);




1. Is Journey JS on your page and initializing?






2. Do you see any events coming through?





For example, a pageload event will look like:

As another example, an HVA event would look like:


3. Does advanced debugging show any errors or warnings?

To turn on advanced debugging, within the console type journey.Debug.enable

