Enonic version: YourEnonicVersion
OS: YourOS
Ser at Enonic har kommet med en ny release av HubSpot-appen for å integrere HubSpot forms og CTA-knapper.
Hva innebærer den nye versjonen? Det står:
o Removed the “Hubspot Form” content type
o Changed the “Hubspot Form” macro
ase
2
The changes were described in the release announcement: New releases of Web Optimisation apps.
ase
3
To sum it up: two things you now need to render a Hubspot form are:
- Hubspot Id (in site config, as before)
- Form Id (which you find in the Hubspot admin panel) - id of a form you want to render on your site.
Then you embed the Hubspot macro inside a RichText, like this:
[form formId="3a55ecb2-565b-4de0-a6b2-8945bbb49fff" heading="Download the Case Study Now"/]
This will inject all the required scripts that render the Hubspot form with specified Id and an optional heading.
By the way, version 2.0.0 had issues, so install 2.0.1 if you are migrating from 1.x to 2.x.
2 Likes