Re: How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

Grace_Brebner3
Level 10

How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

Hey Community!

Keen to see whether anyone knows a workaround for this.

We run a number of web personalisation campaigns across our websites that have Marketo forms embedded within them, and, because the form submit button isn't wrapped in an <a> tag, the submission of those embedded forms has never registered as a "click" to the campaigns. It's a pain, but historically it's never been a major issue because we can still report on performance from the programs that run the forms & smart campaigns back in marketing activities.

The issue I'm now running into is that it does make A/B testing more difficult. We're A/B testing two pop-up designs against each other, both with the same form embedded. With clicks being the pre-ordained success metric for web personalisation A/B testing, auto-tune doesn't work and we're being forced us down manual pathways to report on success that I'd rather avoid moving forward.

Is there an effective and reliable method that anyone's aware of to wrap the submission button in an <a> tag/otherwise force it to register as a click?

Thanks in advance

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

You don't actually want a click on the submit button to register as a click, because a click doesn't mean the form was submitted (all validation errors will be mistaken for form submissions). This is why Munchkin ignores <button> tags by default.

You can send the click event manually in an onSuccess listener added to the form.

Grace_Brebner3
Level 10

Re: How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

D'oh. Very true.

Thanks Sanford, will try this approach out

Grégoire_Miche2
Level 10

Re: How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

HI Grace,

You will have to modify the standard embedded code to make it generate a click on form success. This will require some JS. You will have to mix the forms API with the web personalization API.

-Greg

Grace_Brebner3
Level 10

Re: How to make submission of a form embedded in RTP/web personalisation pop up register as a click?

Thanks Greg - will be testing this out