Hubspot Managed Component
Documentation
Managed Components docs are published at https://managedcomponents.dev .
Find out more about Managed Components here for inspiration and motivation details.
🚀 Quickstart local dev environment
- Make sure you're running node version >=18.
- Install dependencies with
npm i
- Run unit test watcher with
npm run test:dev
⚙️ Tool Settings
Settings are used to configure the tool in a Component Manager config file
string
required
Hub ID The Hub ID identifies your account at Hubspot. Learn more
string
Region prefix Region prefix, if any, that follows js-
in your tracking code script src, e.g. eu1 in <script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/123456.js"></script>
.
string
required
Domain Name The domain associated with your Hubspot account.
🧱 Fields Description
Fields are properties that can/must be sent with certain events
string
required
Event ID The event_id or the internal name of the event that you created in HubSpot. Learn more
string
required
Event property name The internal name of the event property you’ve created for the event. Learn more
string
required
Event property value The value of the event property. Learn more
string
Visitor email The website visitor's email address needed for identification. Learn more
string
Visitor ID The website visitor's user ID needed for identification. Learn more
string
Path The path of the current page (for SPAs). Learn more
string
required
Form ID The ID of your HTML
element, e.g. myId.string
Form class The classes of your HTML element, space separated, e.g. my_class other_class
.
📝 License
Licensed under the Apache License.
💜 Thanks
Thanks to everyone contributing in any manner for this repo and to everyone working on Open Source in general.
✨
Contributors Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!