Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The form field used to identify a Contact is set to a default of Email. This can be changed by editing the following config file: /App_Config/IncludeModules/S4S/S4SSaveActionsS4SAnalytics.config

Change the following entry so that it specifies the field in the form that is to be used for identifying a Contact.

Code Block
languagexml
<setting name="FuseITS4S.S4SMappingAnalytics.IdentifyAndPushVisitorIdentifierIdentifier" value="Email" />

Once the field has been configured the save action will look in the form for the field and use its content as the identifier for the Contact.

In Sitecore 9 each identifier used to identify a Contact must have a source. The source used to identify a Contact is set to a default of S4S. This can be changed by editing the following config file: /App_Config/Modules/S4S/S4SAnalytics.config

Change the following entry so that it specifies the source to be used for identifying a Contact.

Code Block
languagexml
<setting name="S4S.Analytics.IdentifierSource" value="S4S" />

Once the field has been configured the save action will use this as the identifier source for the Contact. This source will be used together with the identifier to identify a Contact within S4S. If the identity is going to be used for authentication purposes then the same source and identifier combination that is used in the form must be used in the authentication code.

Next Step

Save Action Code Example

...