Source: https://developers.woosmap.com/products/geofencing-sdk/cordova-plugin/guides/start-tracking-profiles/

> For clean Markdown of any page, append `.md` to the page URL.

> For a complete documentation index, see https://developers.woosmap.com/llms.txt

# Tracking Profiles



Tracking profiles aim to simplify the Woosmap Geofencing SDK integration.

The concept of Tracking profile and the difference between each profile is explained in
the [Tracking profiles documentation](/products/geofencing-sdk/tracking-profiles/tracking-profiles/)

## Start/Stop a tracking profile

Once you have initialized the SDK and the user has authorized background permissions, you can start tracking the user's
location.

To start tracking, call:

```js
cordova.plugins.WoosmapGeofencing.startTracking('liveTracking', onSuccess, onError);
```

To stop tracking, call:

```js
cordova.plugins.WoosmapGeofencing.stopTracking(onSuccess, onError);
```

## Tracking profile properties

| Property                      | liveTracking  | passiveTracking | visitsTracking |
| ----------------------------- | ----- | ------- | ----- |
| trackingEnable                | true  | true    | true  |
| modeHighfrequencyLocation     | true  | false   | false |
| visitEnable                   | false | false   | true  |
| classificationEnable          | false | false   | true  |
| radiusDetectionClassifiedZOI  | null  | null    | 100   |
| creationOfZOIEnable           | false | false   | true  |
| accuracyVisitFilter           | null  | null    | 50    |
| currentLocationTimeFilter     | 0     | 0       | 0     |
| currentLocationDistanceFilter | 0     | 0       | 0     |
| searchAPIRequestEnable        | true  | true    | false |
| searchAPICreationRegionEnable | false | false   | false |
| searchAPITimeFilter           | 0     | 0       | 0     |
| searchAPIDistanceFilter       | 0     | 0       | 0     |
| distanceAPIRequestEnable      | false | false   | false |
| distanceMode                  | null  | null    | null  |
| outOfTimeDelay                | 300   | 300     | 300   |
| dataDurationDelay             | 30    | 30      | 30    |
