---
title: "Location Tracking"
slug: "location-tracking"
updated: 2023-05-30T16:09:03Z
published: 2023-05-30T16:09:15Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Location Tracking

TritonMobileSdk provides automatic location tracking to better target its ads. **This feature is disabled by default**. It can be enabled by setting **SettingsEnableLocationTrackingKey** to YES in the settings NSDictionary (see the "Player Settings" section).

In order for location tracking to work properly, starting from iOS 8 the application must declare the location usage description in the application **Info.plist** file. An example is shown in the image below:

![](https://cdn.document360.io/7124b381-0a94-401a-abbd-9df9c4ea5dff/Images/Documentation/image-1685462913610.png)

Triton Player SDK requests the **WhenInUse** authorization from the user, meaning the application receives device location updates only when the application is being used. The message shown to the user when requesting authorization is defined in the **NSLocationWhenInUseUsageDescription** plist key described above.

By enabling location tracking, iOS will prompt users to activate location service in their device the first time the application runs. The user can later disable location tracking in the device's System Settings; the framework will properly handle all the changes in permissions.
