Indetification JS



Please, help me install identification code:

If we imagine the code of the page looks like this:

title>Page for test</title
h4> Hello</h4

!-- hubspot identification -->
script type=“text/javascript”>
var _hsq = window._hsq = window._hsq || [];
hsq.push([“identify”, {
email: "",
firstname: “Admin”,
lastname: “MyLastName”
hsq.push([“trackEvent”, {
id: “000001371632”


Okay so this would be the whole code for the page. Will the script be sending the correct information?


@Ivan You need to place the tracking code in your javascript section as well. Right now you are just adding the correct information to the hsq array but you need to send that information to our server now. Our tracking code will accomplish that for you. Just make sure you push to the array as you have above before the tracking code sends it to our servers.

Here are some documentation on how to install the tracking code.


Thank you!
I’ll try it today