Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 11.0

Learn how to use a custom action with other Frosmo Platform features.


Displaying a modification based on a custom action

In a modification, a state is a custom action with a specific value that controls whether the modification is displayed to a visitor. If you set a custom action value as a state for a modification, the modification is only displayed to visitors who complete that custom action with that value. For example, you can set a modification to be displayed only to logged-in visitors by tracking login status with a basic custom action and setting the custom action's logged-in value as a state for the modification.


You can use a custom action as the event that fires a trigger. When a visitor completes the custom action, any triggers set to the custom action get fired. For example, you can use a trigger to display some new content only when the visitor completes a specific custom action. To take a more specific example: If your site displays an inactivity popup after a visitor has been idle for a set amount of time, you can trigger a custom action when the popup appears. You can then set the custom action as the event for a trigger, and attach the trigger to a placement that displays new content to the idling visitor.


Segmenting visitors based on a custom action

You can segment your visitors based on the custom actions they complete. For example, you can segment visitors based on their geographic location as tracked by a geolocation custom action, or you can segment visitors based on what they search by tracking their search queries with a basic custom action.


If you only need a single value for your custom action, consider implementing the segmentation with a trigger instead. A custom action is ideal for cases where you need multiple values to group visitors along multiple segments.