Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
You should use onSuccess:form.onSuccess(function(form){ _gaq.push( ... );});
I'm sure something can be done. Please post a link to your form.
@Max S I would not advise using a dumb event listener that may think any submit button click == successful submit.The only way to get a proper accounting of successful submits that pass validation and reach the Marketo servers is to use the supplied onSuccess event.
I posted the other week a completely destyled Forms 2.0 embedded form. Our web team is using such forms to mesh completely within our corporate style. You can do the same code for your forms.
@Chris Feel free to contact me if you want to chat more about it.
@Jeff S The Thank You page can go anywhere you want using the 'External URL' option. Also, the Forms 2.0 API allows you to redirect the user anywhere you want using the onSuccess handler. You can definitely preserve your business unit branding.
@Carolyn D In addition to @Max S's points, if this is a common need, you can include that supplementary link in emails to your partners with the special mktNoTok class as well as a parameter like @Max suggests like "&partner=
@Dan - Yeah, my bad, the numeric web page ID needs to be translated to a URL via Munchkin in order for that to be in a trigger. But I believe you can use the web page ID (like 16542) without Munchkin having touched the page.
I'd do any followup calls in the onSuccess handler because that way you are logging a successful form post, rather than just an attempted one as in onSubmit (not that failure is common, but it's the proper way).
@Chris, like @Josh says this is something to build in JS using the Forms 2.0 API... something like this demo I just put together. (Maybe to add to the Forms 2.0 Cookbook I'm working on to compile similar crazy stuff I've done lately.)This example uses dependency rules stored as JSON -- the rules are...