# Project information

> Explore the project-level data binding tree exposed by PandaSuite Studio to access launch context, environment data, and project parameters.

https://docs.pandasuite.com/essentials/project-properties/project-information/

**Through [data binding](https://docs.pandasuite.com/essentials/data/data-binding/), the project exposes a contextual data tree. You can use it to personalize the experience, adapt layouts, detect launch conditions, or consume parameters passed to the project.**

[Image: Data window, framed in red, on Project > Context: Locale, Network, Screen, Timestamp, Timezone, User agent and other keys with their values]

## Project Information

The project exposes the following tree, grouped by category:

### General context

- `Project > Context > Locale`
- `Project > Context > User agent`
- `Project > Context > Timezone`
- `Project > Context > Timestamp`

### Screen and project

- `Project > Context > Screen > Width`
- `Project > Context > Screen > Height`
- `Project > Context > Screen > Density`
- `Project > Context > Screen > Breakpoint`
- `Project > Context > Project > Width`
- `Project > Context > Project > Height`
- `Project > Context > Project > Portrait`

### Screens

- `Project > Screens > Current`
- `Project > Screens > Current > did`
- `Project > Screens > Current > name`
- `Project > Screens > Current > index`
- `Project > Screens > List > ... > Screen`

> **Info**
>
> The Screen value keeps `did` as the screen identifier used for navigation.
> `name` and `index` are exposed for display, sorting, or conditions. The index
> starts at `0` and follows the order of the screens in the project.

### Viewer and environment

- `Project > Context > Viewer > Type`
- `Project > Context > Viewer > UID`
- `Project > Context > Viewer > Device token`
- `Project > Context > Viewer > Web > PWA Installed`
- `Project > Context > Network > wifiSSID`
- `Project > Context > Permissions > App Tracking Status (iOS)`

> **Info**
>
> `Viewer > Device token` contains the native push notification token exposed by
> iOS and Android viewers. It can be empty when push notifications are not
> configured, on Android 13 and later when the user has not granted notification
> permission, or before the native platform has generated a token.

### Launch

- `Project > Context > Launch > Parameter(s) > ...`
- `Project > Context > Launch > Url`

### Business parameters

- `Project > Push Notification (data) > Title`
- `Project > Push Notification (data) > Message`
- `Project > Push Notification (data) > Sound`
- `Project > Push Notification (data) > Data > ...`
- `Project > EMM parameter(s) > ...`
- `Project > SSO parameter(s) > ...`

> **Info**
>
> `Parameter(s) > ...`, `Push Notification (data) > Data > ...`, `EMM
>   parameter(s) > ...`, and `SSO parameter(s) > ...` are dynamic branches: the
> available keys depend on what you declared in the project properties or what
> the push payload contains.

## Common examples

- Detect the device language with `Project > Context > Locale`
- Adapt a layout with `Project > Context > Screen > Breakpoint`
- Display the current screen name with `Project > Screens > Current > name`
- Check the current screen position with `Project > Screens > Current > index`
- Control a deep link with `Project > Context > Launch > Parameter(s) > wid`
- Send the current device token to your backend with `Project > Context > Viewer > Device token`
- Reuse a push campaign code with `Project > Push Notification (data) > Data > campaign`
- Check the iOS tracking status with `Project > Context > Permissions > App Tracking Status (iOS)`

### Display a page indicator

The screen tree lets you build a running page indicator, such as `3 / 8`, that updates on its own as the reader moves between screens. It combines two exposed values: the position of the current screen and the total number of screens.

Insert a text block where you want the indicator. While editing its text, click **Insert data** twice to place two [data bindings](https://docs.pandasuite.com/essentials/data/data-binding/), with a separator typed between them. The text then has three parts:

1. **Current page number** — `Project > Screens > Current > index`, with the [Add](https://docs.pandasuite.com/essentials/data/functions/#add) function set to `1`. The index starts at `0`, so adding `1` makes the first screen read `1`.
2. **A separator** — a short text such as `/`, typed directly in the text block.
3. **Total number of screens** — the [Count](https://docs.pandasuite.com/essentials/data/functions/#count) function applied to `Project > Screens > List`.

Because the binding reads `Current > index`, the indicator refreshes automatically every time the active screen changes, including when the reader swipes in [Magazine mode](https://docs.pandasuite.com/essentials/navigation/magazine-mode/).

## Related resources

- [Project properties](https://docs.pandasuite.com/essentials/project-properties/project-properties-and-actions/)
- [Project actions](https://docs.pandasuite.com/essentials/project-properties/project-actions/)
- [Data Binding](https://docs.pandasuite.com/essentials/data/data-binding/)
- [Push notifications to iOS & Android devices](https://docs.pandasuite.com/essentials/deployment-services/push-notifications-to-ios-and-android-devices/)
