Versions Compared

Key

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

...

Info

All of the functionality below works for any visitor, but for an Anonymous Visitor you will only have access to the website data set.

Set

...

Segments from Personalized Data

You can use visitor data to determine when Facets Segments should be applied.

Code Block
languagejs
// Apply the Personalization facetSegment 'IS_CONTACTED' when the Visitor has a recorded phone call.
send2crm.personalization.setFacetWhensetSegmentWhen('IS_CONTACTED', function(visitor) {
  return Boolean(visitor.data.callDate);
});

...