SOLVED

Help with Server-Side Form , Using DNN

Go to solution
Mikes_Jones
Level 8
Hello,
 
Our website is using DNN and we are currently using a module within DNN to create forms. This form is linked to Marketo in the sense that when someone fills out a form on our site, certain team members are sent notifications.

However, what the form does not do is push the Marketo cookie when it is submitted, which means we are not able to track web activity for anyone who is filling out forms on our website.

I've read the guide for Server-Side forms but am still confused. I do not have much programming experience, but I was wondering

a) is anyone else using DNN and has been able to successfully link a Marketo form so that munchkin/marketo cookie passed on Submit?
b) anyone have a simpler explanation than the walkthrough?

If it helps, this is where our form is located: http://www.r2integrated.com/contact/contact-us


 
Tags (1)
1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator
"Name-Value Pairs" simply means if the field's API name is MyField__c, your url-encoded POST body contains

...&MyField__c=theValueForMyField&...

I disagree with @Josh in that Filled Out Form activities will be generated for successful server-to-server form POSTs.  However, I'm not sure I advise you continuing to build out the server-side code if you're unfamiliar with this kind of architecture in .NET.  Not only might you create difficult-to-maintain code, you can open security holes on your server by not properly validating form data.  You have to code defensively, even if it seems like you're just "passing through" the data to Marketo's servers.

I'm not trying to scare you here, I just wonder if the server-to-server is the best thing for most people who try it.  I especially dislike the 30-posts-per-minute limit.  Because of that limitation, if I were in your shoes, even though I write server code too, I would likely try to do this all on the client (browser) side.  For example, in the onSubmit handler for your DNN form you could embed a Marketo form, add hidden fields to it, and submit it to Marketo, all silently, and submit it to the .NET form at the same time.

View solution in original post

13 REPLIES 13