DEV Community

Cover image for Send Form Data From Marketo to Multiple Destinations Using RudderStack
Team RudderStack for RudderStack

Posted on • Originally published at rudderstack.com

3 2

Send Form Data From Marketo to Multiple Destinations Using RudderStack

Turning Anonymous Into Known

Are you using Marketo forms and struggling to tie user form submissions with other actions they've taken on your site and in your product? Then keep reading. In this post, we'll show how you can leverage RudderStack to track Marketo form submissions without disrupting Marketo or your marketing team.

By using RudderStack to understand how users are finding and interacting with your site and then combining that with the data collected by your Marketo forms, you'll get deeper insights about your potential customers and provide higher quality leads to your sales team.

To set this up, first, you'll need to get RudderStack running on your website. You can do this in a matter of minutes. Go here, follow the instructions, and you'll be collecting data in no time.

Once that's done, and you have Marketo instrumented, use this code snippet to instrument capturing all the form values from every Marketo form on your website and sending them through RudderStack:

<script>
MktoForms2.whenReady(function (form) {
    form.onSuccess(function() {         
        if (typeof(rudderanalytics) !== 'undefined') {
            var formVals = form.getValues();
            rudderanalytics.track("marketo_form_submit", formVals);
        }
    });
});
</script>
Enter fullscreen mode Exit fullscreen mode

With the data captured by RudderStack, you'll now have all the data in your data warehouse, so you can combine the data you've captured from page and track requests with the marketo_form_submit, giving you more information about your customers, and turning them from anonymous into known customers you can engage with.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up