SOLVED

Marketo global form integration with Webflow

Go to solution
ashleechoi
Level 1

Marketo global form integration with Webflow

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?

 

Screenshot 2025-03-25 at 6.30.29 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Marketo global form integration with Webflow

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.

View solution in original post

2 REPLIES 2
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Marketo global form integration with Webflow

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.

SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo global form integration with Webflow

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.