A/B testing and tracking form submissions | Community
Skip to main content
Level 2
July 25, 2017
Question

A/B testing and tracking form submissions

  • July 25, 2017
  • 1 reply
  • 2149 views

We are behind on creating mobile versions of our landing pages. That said, we would like to test our current pages against our new responsive design. I am aware of how to setup an a/b test but was looking for a way to also compare the number of form submissions completed within the responsive version on both desktop and mobile. Any help or suggestions would be greatly appreciated.

Lee

1 reply

SanfordWhiteman
Level 10
July 25, 2017

You can add a hidden field to the form that corresponds to the same @media breakpoints you're using to determine responsiveness. In other words, echo your relevant CSS rules in calls to JS matchMedia. Then you'll have a field like lastFormSize you can use to add to lists, etc.

Lee_MilesAuthor
Level 2
July 25, 2017

Thank you Sanford. This is good suggestion and certainly worth a try. JS is not my area of expertise but I will certainly ask for assistance from our apps development department to get this setup since it's is the most logical approach thus far.

Lee

SanfordWhiteman
Level 10
July 25, 2017

If you move this thread to Products and provide a link to your form, I can sketch out the approach in code.