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:
Navigate to the HubSpot developer portal and log into your account.
Open the app test account you used to create the landing page.
Click the settings icon.
In the left navigation bar, scroll down and click “Website” and select “Pages.”
Scroll until you see “CMS Performance API” and turn on the “Collect data on your site’s performance” by clicking the toggle button.
Click “Save.”
These steps are demonstrated in the slides given below:
Get hands-on with 1400+ tech skills courses.