Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ConsentManager): Enable
onLoad
functionality for scripts (#981)
ποΈ [Asana Task](https://app.asana.com/0/1202791227659279/1204854420026344/f) π [Preview Link](https://react-components-git-nels-update-consent-manager-hashicorp.vercel.app/components/consentmanager) ## Description This change enables `onLoad` functionality for scripts loaded via the `ConsentManager` component. This will allow us to register an event handler to track events for the Qualified chatbot. ## Validation Steps - [ ] Navigate to [the preview](https://react-components-git-nels-update-consent-manager-hashicorp.vercel.app/components/consentmanager) - [ ] Validate that there are no errors in the console - [ ] Navigate to the [preview of the canary release on `www`](https://hashicorp-www-next-git-nels-observabilityadd-t-1713ef-hashicorp.vercel.app/) - [ ] Validate that the `qualified.js` script loads in the DOM <img width="451" alt="Screenshot 2023-07-12 at 9 33 53 AM" src="https://github.com/hashicorp/react-components/assets/39201593/19dda5de-c788-41f8-88ce-e3de62b88103">
- Loading branch information
0aedf44
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-components β ./
react-components-git-main-hashicorp.vercel.app
react-components.vercel.app
react-components-hashicorp.vercel.app