---
title: "userLocationTracking"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/5858525186/userLocationTracking"
format: markdown
---
Control the tracking of user position while the app is actively being used (i.e. is in the foreground).


<details>
<summary>Sample Config</summary>

```
{
  "userLocationTracking": {
    "enabled": true,
    "log": false
  }
}
```
</details>

| property | Description | Sample Value | Default | Notes |
| --- | --- | --- | --- | --- |
| #### enabled | Enables tracking of user location while they are actively using the app. The position of the user will be sent to the organization with every sync, or whenever they are using `routes between work orders` mode.<br>Available since [3.496.0](https://help.fieldbuddy.com/space/FBDOCS/5789876225/3.511.0+-+FieldBuddy+Swift+-+Fast+Ring).<br>> ℹ️ The location of the user is provided by the operating system(iOS/Android) through <u>passive</u> tracking. | ```
"enabled": true
``` | ```
"enabled": true
``` |  |
| #### log | If true, send the location of user to insightops for debugging purposes. | ```
"log": false
``` | ```
"log": false
``` | Do not use if not developer |