Skip to content

Update contact properties through the tracking code API

Last updated: March 28, 2024

Available with any of the following subscriptions, except where noted:

All products and plans

In your HubSpot account, you can update contact properties using the tracking code API. This setting will not impact other APIs that you might use for updating contact properties, such as the forms API.

Please note: this functionality is not available for accounts created after September 7th, 2021. 

Learn more about the Tracking code API.

  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • In the left sidebar menu, navigate to Tracking & Analytics > Tracking Code.
  • Click the Advanced Tracking tab.
  • Click to toggle the Allow tracked events to update contact properties switch on.

    tracking-code-property-update-setting0
  • Click Save.
  • This configuration will not take effect instantly, it can take up to 5 minutes to begin.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.