Tracking for basic custom actions can be implemented as follows:

Basic custom actions can be triggered with predefined values, which you write into the tracking code, or they can get their values from a variable, meaning you don't need to know the values beforehand.

To track visitor geolocation with custom actions, simply create those actions in the Frosmo Control Panel. You can do this yourself, or Frosmo can do it for you.

Tracking visitor geolocation

Before you can use geolocation custom actions on a site, you need to enable the geolocation module for the site. If the module is disabled, you cannot create geolocation custom actions for the site. If the module is enabled and you disable it, any existing geolocation custom actions on the site will stop working.

Only certain Frosmo users can enable and disable site modules. If you're a company user, a Frosmo user enables and disables the modules for your site. For more information, contact Frosmo support.

A geolocation custom action tracks a visitor's device's real-world geographic location. Frosmo Core handles the tracking logic and automatically triggers the custom action on page load when the visitor's current location matches one of the geolocation values defined for the custom action.

Geolocation custom actions only work on desktop devices (including laptop computers).

To track visitor geolocation with a custom action:

  1. In the Frosmo Control Panel, select Utilities > Custom Actions.
  2. Click Create custom action.
  3. Define the basic information:

    Creating a geolocation custom action

  4. Select Values, and define the geographic locations you want to track:

    1. Select Geolocation.
    2. Enter a Title for the location, and define the location either by entering its LatitudeLongitude, and Radius, or by clicking show map and drawing the location on the map. To hide the map, click show map again.
    3. To add another location, click Add another value, and repeat from the preceding step.

    Creating a geolocation custom action

  5. Click Save.

You can now use the custom action to implement other features.