Versions Compared

Key

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

...

Form submissions are the primary means of converting Visitors from Anonymous to Identified. The S4S Cloud send2crm service form mapping defines which forms should perform identification and return the identifier with the response for a successful submission, which is then automatically applied.

...

Visitor identifiers can be set by calling the S4S Cloud send2crm library function:

Code Block
languagejs
S4SCloudsend2crm.analytics.visitor.setIdentifier(visitorId);

The value provided must be a valid identifier for a Visitor record that exists within the S4S Cloud send2crm service for analytics functionality to work.

Identification via URL parameter

The S4S Cloud send2crm client also supports setting identification for an existing visitor using the URL parameter s4scid s2cid. If this is found and has a non-empty value, S4S Cloud send2crm will attempt to use this as the visitor identifier.

https://example.com/subscriptions?s4scids2cid=a123b0000456789ABC

This may be useful for personalized external links, for example via email. If the recipient opens the link in a different browser or on a different device than when first identified, the identification will follow them. This could be used to implement subscription management or other online forms that require a known visitor.

...