Short answer
HubSpot's KB: HubSpot automatically places Facebook event codes on pages with the HubSpot tracking code. To add your own event codes, install the Facebook pixel manually in your pages' footer HTML.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Check your privacy notice covers this tracking.
3. Related
Facebook lead ads and ad conversion events.