APIs & Integrations

Nthakur
Member

Send New user data to hubSpot

SOLVE

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.


0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Send New user data to hubSpot

SOLVE

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

Property_settings.png

View solution in original post

0 Upvotes
3 Replies 3
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Send New user data to hubSpot

SOLVE

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

Property_settings.png

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Send New user data to hubSpot

SOLVE

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!

0 Upvotes
Nthakur
Member

Send New user data to hubSpot

SOLVE

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 screenshotScreenshot 2021-01-06 at 10.20.23 AM.png

0 Upvotes