Tracking User interaction on External Site via TrackingCode and email address
We’d like to track the interactions that our Users have on our externally hosted website.
To that end, we’ve included the standard Hubspot Tracking Code, and included a script that pushes data into the ‘_hsq’ variable: see example:
<!-- Start of HubSpot Embed Code -->
<script>
var _hsq = window._hsq = window._hsq || [];
_hsq.push(["identify",{
email: [USER-EMAIL],
cog_user_id: [USER-ID]
}]);
_hsq.push(['setPath', '[PAGE-URL]']);
</script>
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/[HUBSPOT-ACCOUNT-ID].js"></script>
<!-- End of HubSpot Embed Code -->
So - can anyone tell me:
a) if this is correct?
b) where this information will be displayed?
I have visited several pages with this tracking code setup, but I can’t see my visits on my Hubspot User details.