SFMC Save actions is a module integrating Salesforce Marketing Cloud (SFMC) into Sitecore forms so you can push data from a Sitecore form into SFMC without developing code and with a intuitive and integrated UI for configuration of the field mapping.
Before the data arrives in SFMC, the module requires two steps
- A one-time setup by the developer
- Creation and configuration of a binding by the marketeer or content editor
For setting up the module one must download and install the Sitecore module package and publish following items:
/sitecore/system/Settings/Forms/Submit Actions/Send to SFMC
After that one must configure the salesforce authentication parameters. This is done by adding following code (and replacing the XXX with your auth details) to the configSections part of the web.config:
<section name="fuelSDK" type="FuelSDK.FuelSDKConfigurationSection, FuelSDK" />
And adding following to the web.config
<fuelSDK appSignature="none" clientId="XXX" clientSecret="XXX" useOAuth2Authentication="true" authEndPoint="XXX" restEndPoint="XXX" soapEndPoint="XXX" accountId="XXX"
First you'll need to add the "Send to SFMC" submit action to submit actions of the form you want to send the data to SFMC.
Then, when you open the dashboard application you will be shown a list page:
This page will list all the currently configured bindings. Press the create button to create a new one.
Here you can also edit one binding, publish one or all bindings or refresh the list.
When the create button The newly opened page will look like this:
On the top of the page, forms will be listed in the dropdown as well as the existing data extensions from SFMC. As soon as you select a data extension the lower part will be adjusted accordingly to show each data extension column. As soon as a form is selected the dropdowns on each row will be filled with the fields of the selected form. You have the option as well to trigger an event in SFMC as soon as the form is submitted.
If you would prefer to trigger an event, a additional accordion will be shown. There you'll need to fill in the EventDefinitionKey as well as select a field to use for the Contact Key in the event.
Then for each data extension column you'll need to select a field from the dropdown. Fields are grouped:
- Calculated fields: values are calculated at submit time e.g. timestamp
- Form fields: values are the data the user filled in
- Engagement data: values are data from the profile's engagement.
- Xdb: values are from fields of your xdb profile
When you save the binding, don't forget to publish it by using the appropriate button.
Version | Release notes |
---|---|
1.0.0 | Initial release |
1.1.0 | Added Guid calculated field |
1.2.0 | Form labels are wider |
1.2.1 | Adding "SC" prefix to guids |
1.3.0 | Changed Date Time field value. Now returns the value in UTC. Changed calculated GUID field value. Now returns the same value per request for user-defined fields. Changed calculated GUID field value. Remove the "SC" prefix from calculated GUID field values. Added Trigger Event functionality for sending automatic email from Salesforce Marketing Cloud email. Fixed Create or Update Subscriber field value change on the Content Editor page. Fixed master DB access issues on the CD environment. |
1.3.1 | Added Empty Value field. Added Publish, Publish All, and Refresh buttons to the Overview List page. Changed pre-selected fields on the detail page when the user creates a new binding. |
1.4.0 | Changed field label. "Language" label now changed to "Website Language" field label. Added True and False calculated fields. Fixed sending value from form list box fields. Added xDB fields. (Personal Information, Phone Information, Address Information, Email Information, Consent Information). Added Best Pattern Match and Total Engagement fields. |
1.5.0 | Removed the "Create or update Subscriber" option. Fixed existing data extension saving operation. |
1.6.0 | Added Sitecore Contact Id field under the xDB option group. Enhancement SFMC binding detail page. Changed field labels. "Best Pattern Match" label now changed to "XProfile Best Pattern Match." "Engagement value" label now changed to "XProfile Engagement Value". Enhancement on the SFMC Overview List page. Result of the Publish button or Publish All button notification is on the page. |
1.7.0 | Added User Total Visits and User Triggered Goals fields. |
1.8.0 | Enhancement on the Best Pattern Match field. The Content editor is able to bind defined Best Pattern Matches per profile to the form fields. Regrouped the XProfile Engagement Value, User Total Visits, and different Best Pattern Match in one new section called "Engagement Data". Removed the prefix XProfile from the labels. |
1.8.1 | Adding xdb enabled check for xdb fields |
1.8.2 | Fix reload issue |
SC 9.1+
- The Reference
- Arnaud Geyskens