Hi everyone,
I have my Marketo instance integrated with my Webflow site. When I publish a blog post on my site and toggle on the 'gated content' option on the Webflow side, a Marketo global form automatically pulls through embedded on the published blog.
Does anyone know how to change and select the Marketo form that defaults for Webflow gated content?
Solved! Go to Solution.
I'm afraid we'd need more details on how your Webflow is configured to pull the form Id, but you'll likely need to update the default form that's being pulled in your webflow. If Webflow is embedding a form dynamically, check how the Marketo form is referenced in your Webflow CMS settings or custom embed code. There may be a script specifying a particular form ID. You'd want to change the ID to the form ID you'd want Webflow to pull. Alternatively, If your Webflow pages use a global embed script for Marketo, update the MktoForms2.loadForm() function to reference your desired form ID instead of the default one.
I'm afraid we'd need more details on how your Webflow is configured to pull the form Id, but you'll likely need to update the default form that's being pulled in your webflow. If Webflow is embedding a form dynamically, check how the Marketo form is referenced in your Webflow CMS settings or custom embed code. There may be a script specifying a particular form ID. You'd want to change the ID to the form ID you'd want Webflow to pull. Alternatively, If your Webflow pages use a global embed script for Marketo, update the MktoForms2.loadForm() function to reference your desired form ID instead of the default one.
For the standard Webflow integration, the setup guide is here.
IMO this approach is seriously flawed. One reason is the DoS vulnerability that comes w/using the REST API to post forms. But even bigger reasons are that you’re limited to a small number of fields and miss out on program-level integration. Recommend using a Marketo form embed instead.