Send New user data to hubSpot

Hi Everyone,
We are totaly new in hubspot implemntation. We have our product we want to send all the customer to Hubspot if someone signup in our application.
We have just used tracking code which is one script file and some

identify events
Please check my code and let me know if that is correct

<!-- Load the HubSpot tracking code -->
<!-- Start of HubSpot Embed Code -->
 <script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/{hubId}.js">
</script>
<!-- End of HubSpot Embed Code -->

_hsq.push([

‘identify’,

{

id: id,

email: email,

firstName: firstName,

lastName: lastName,

phone: phone,

country: country,

planType: planType,

emailVolume: emailVolume,

monthlyCost: monthlyCost,

nextBillingDate: nextBillingDate,

date: date,

signUpDate: signUpDate,

status: status,

accountStatus: accountStatus

}

])

_hsq.push([‘trackPageView’])

}
Please let me know if this is correct way to send data in hubspot as I can see our user in Contact hubspot but I am enable to see all these fields of particular user like planType, accountStatus, RenewalDate, email volume, signupdate.

Hi @Nthakur

Welcome to the Community!

You will want to make sure that those properties are properly mapped to existing properties in HubSpot.

Check out this resource on managing properties. Scroll to the “View and edit properties” section and look out for this

“To view the property’s internal name to use in APIs or development work, click the code icon next to the Name field.”

Hope that helps!

Hi,
Thanks for your reply can you please let me know where is the View and edit properties section. I can see only view all property. Please check my attached screenshot

Hey @Nthakur !

Yeah!

A couple clicks away from that screenshot

  1. Click on view all properties
  2. On next screen, click Manage properties
  3. Hover over any property and click edit
  4. To the right of the label you will see </>. Click on it and you will see the internal name