This example shows you how to use a trigger to identify visitors based on their IP address. You can then segment the visitors to show them content based on their location.

In this example, visitors whose IP address begins with "90.90" will be segmented. You must first create a trigger to detect the device type, and then create a segment based on the trigger.

Creating the trigger

To create the trigger:

  1. In the Frosmo Control Panel, select Triggers.
  2. Click Create trigger.
  3. Define the following settings:

    Defining the trigger settings

  4. Click Save.

Creating the segment

To create a segment for visitors who click the modification:

  1. In the Frosmo Control Panel, select Data Management > Segmentation > Segments.
  2. Click Create segment.
  3. Define the segmentation rules:

    1. Click Add new rule, select Trigger, and set the following rule:

      The visitor has triggered IP address begins with 90.90 more than equal to 1 times, with each trigger event counted.

      This means that in order to get segmented, the visitor must enter the site from an IP address beginning with "90.90". Every visit is counted.


    2. Set the time limit based on the start and end date of your modification. The default time limit is 14 days.

    Defining the segmentation rules

  4. Select Description, and enter "Visited from IP address that begins with 90.90" as the segment name.
  5. Click Save.

Visitors whose IP address begins with "90.90" will now be segmented.

You're done with this example!