<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/XXXXXX.js"></script>
<!-- End of HubSpot Embed Code -->
To send an event to HubSpot whenever a page is viewed in Thought Industries, add the following script to "Page View Scripts":
<script>
_hsq = _hsq || [ ];
_hsq.push(["identify",{
email: '{{email}}',
firstname: '{{firstName}}',
lastname: '{{lastName}}'
}]);
_hsq.push(['trackPageView']);
</script>
<script>
_hsq.push(["trackEvent", {
id: "XXXXXX",
value: null
}]);
</script>
To send an event to HubSpot whenever a course is completed in Thought Industries, add the following script to "Order Confirmation Scripts", replacing "XXXXXX" with the Event ID you configured in step 2:
<script>
_hsq.push(["trackEvent", {
id: "XXXXXX",
value: null
}]);
</script>
6 Liberty Square #6099
Boston, MA 02109
1-866-206-4011