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 -->
var _hsq = window._hsq = window._hsq || [];
  email: [USER-EMAIL],
  cog_user_id: [USER-ID]
  _hsq.push(['setPath', '[PAGE-URL]']);
<script type="text/javascript" id="hs-script-loader" async defer src="//[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.

For reference I’m using the suggestions from here


Did you ever get a reply? I am facing the same issue on my external website.