Custom view and interaction tracking for non-hubspot forms

We are having a non-hubspot signup form which I want to track in the best way possible. Therefore I have created a hubspot form with the same form field we use for the non-hubspot form. I do not want to use the “non-hubspot tracking” feature as it does not support our single page application and we can’t rely on the data. So I deactivated this feature in the settings.

Instead I send the submission data via the forms REST Api (Accounts Dashboard | HubSpot) including the hutk parameter which is used to associate analytics data with the submitted contact.

In addition to this implementation I want to track when this non-hubspot form is viewed and when someone has interacted with it. As I can’t find any documentation about those tracking calls, they still need to exist because the hubspot tracking script is exactly doing this. Does anyone have done reverse-engineering those tracking calls which I can fire when the form is viewed or interacted with?

Thanks,
Olli

Hey, @om05 :waving_hand: I moved this over to the API board in hopes that you’ll get more views from folks with related skills.

Best,

Jaycee