Skip to main content
All CollectionsMarketing PluginsHubspot
StealthSeminar and Hubspot user token (UTK)
StealthSeminar and Hubspot user token (UTK)
Corey avatar
Written by Corey
Updated over 4 years ago

Since we do not use Hubspot's Form API, you probably are wondering if we are able to pass the activity of the contact to Hubspot at all.

The answer is yes. We do. If you are using our built-in templates, this will work automatically, as long as you put Hubspot tracking code on your signup page.

However, if you are using our embed widgets to sign people up for the webinar from your own website, you will have to add this additional code before the end of the body tag (before </body), after your Hubspot tracking code.

<script>
/* Note: Make sure the HubSpot tracking code is installed on the page as well.
https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code
*/
window.addEventListener('message', function(event) {
if (event.data.type === 'get_hubspotutk') {
window._hsq = window._hsq || [];
window._hsq.push(['identify', { email: event.data.email }]);
window._hsq.push(['trackPageView']);
event.source.postMessage(document.cookie.match(/hubspotutk=\S+/)[0], 'https://joinnow.live');
}
});
</script>

If you have any confusion, do not hesitate to contact support.

Did this answer your question?