Skip to content

Latest commit

 

History

History
93 lines (51 loc) · 3.49 KB

README.md

File metadata and controls

93 lines (51 loc) · 3.49 KB

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.

Released under the Apache license. PRs welcome! code style: prettier All Contributors

🚀 Quickstart local dev environment

  1. Make sure you're running node version >=18.
  2. Install dependencies with npm i
  3. Run unit test watcher with npm run test:dev

⚙️ Tool Settings

Settings are used to configure the tool in a Component Manager config file

Hub ID string required

The Hub ID identifies your account at Hubspot. Learn more

Region prefix string

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>.

Domain Name string required

The domain associated with your Hubspot account.

🧱 Fields Description

Fields are properties that can/must be sent with certain events

Event ID string required

The event_id or the internal name of the event that you created in HubSpot. Learn more

Event property name string required

The internal name of the event property you’ve created for the event. Learn more

Event property value string required

The value of the event property. Learn more

Visitor email string

The website visitor's email address needed for identification. Learn more

Visitor ID string

The website visitor's user ID needed for identification. Learn more

Path string

The path of the current page (for SPAs). Learn more

Form ID string required

The ID of your HTML

element, e.g. myId.

Form class string

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!