Using Interaction Studio you can enrich the data passed to Marketo upon form submission through a campaign thats sends additional information to Marketo in hidden fields. Your visitors won't see this information presented in the form, but it will be associated with each profile. For example, you could pass behavioral intent data, such as a visitor's favorite solution, or firmographic data from companies who have visited your site.
Interaction Studio Classic Only
- The contents of this article are intended for customers using Interaction Studio (formerly Evergage Classic). Do not adjust your beacon version to downgrade or upgrade.
- The Visual Editor Chrome Extension will no longer be available starting January 1, 2023. For more information, see this knowledge article.
You will need to replace certain aspects of the code with your own variables. Start by defining the variables you will use at the top of the code block. These should be based on your own catalog dimensions. Lines 1-3 of the code shown below use ADMC with a Velocity syntax.
If one of the variables set by Interaction Studio doesn't have a value, the data that Interaction Studio is appending will not submit. Your form will submit regardless of whether the variables have been set. For example, if no one has viewed any products, so there are no favorite products, then the category and dimension will not be sent, but the rest of the form will submit as expected.