<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to track user's login on our web app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674766#M55463</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/428153"&gt;@FlavienL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will probably want to use the HubSpot tracking API to programatically create page views and other events. See information&amp;nbsp;here:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/events/tracking-code" target="_blank" rel="noopener"&gt;Tracking code API overview&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also want to pass the time of last login etc to custom contact properties using the update contact API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, when creating a contact in HubSpot for the first time, it is often advisable to use the form submit API instead of the create contact API as it allows you to pass the HubSpot cookie to the contact record and get a richer, more accurate&amp;nbsp;analytical history.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 10:19:55 GMT</pubDate>
    <dc:creator>Phil_Vallender</dc:creator>
    <dc:date>2022-08-03T10:19:55Z</dc:date>
    <item>
      <title>How to track user's login on our web app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674763#M55462</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been developing a platform from scratch for a year now. We are in the process of setting up a CRM and we have chosen Hubspot.&lt;/P&gt;&lt;P&gt;When a user registers on the platform, our API creates a user in our own database and then in Hubspot and then retrieves the ID of the contact to insert it in our database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we'd like to set up some pretty fine tracking and we'd like to track user connections so that the date of the last connection to our platform is in Hubspot. Is there any way to do this via the API ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 10:14:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674763#M55462</guid>
      <dc:creator>FlavienL</dc:creator>
      <dc:date>2022-08-03T10:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to track user's login on our web app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674766#M55463</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/428153"&gt;@FlavienL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will probably want to use the HubSpot tracking API to programatically create page views and other events. See information&amp;nbsp;here:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/events/tracking-code" target="_blank" rel="noopener"&gt;Tracking code API overview&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also want to pass the time of last login etc to custom contact properties using the update contact API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, when creating a contact in HubSpot for the first time, it is often advisable to use the form submit API instead of the create contact API as it allows you to pass the HubSpot cookie to the contact record and get a richer, more accurate&amp;nbsp;analytical history.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 10:19:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674766#M55463</guid>
      <dc:creator>Phil_Vallender</dc:creator>
      <dc:date>2022-08-03T10:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to track user's login on our web app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674807#M55466</link>
      <description>&lt;P&gt;Thank you for your answer and your speed, I will look at that !&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 12:14:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-track-user-s-login-on-our-web-app/m-p/674807#M55466</guid>
      <dc:creator>FlavienL</dc:creator>
      <dc:date>2022-08-03T12:14:58Z</dc:date>
    </item>
  </channel>
</rss>

