Performance

Learn to fetch performance data for your websites using HubSpot APIs.

CMS performance API

We can monitor our websites using the Performance API provided by HubSpot. We can view the uptime, the errors our website faces, the number of total requests, and so on through this API.

Our application must have the cms.performance.read scope to make successful requests to the endpoints available in the performance API.

We need to perform the following steps before we start collecting performance data for our website:

  1. Navigate to the HubSpot developer portal and log into your account.

  2. Open the app test account you used to create the landing page.

  3. Click the settings icon.

  4. In the left navigation bar, scroll down and click “Website” and select “Pages.”

  5. Scroll until you see “CMS Performance API” and turn on the “Collect data on your site’s performance” by clicking the toggle button.

  6. Click “Save.”

These steps are demonstrated in the slides given below:

Get hands-on with 1200+ tech skills courses.