> For the complete documentation index, see [llms.txt](https://dev.pointr.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.pointr.tech/v9/features/analytics/analytics-dashboard/launch-attributes.md).

# Launch Attributes

Learn how to use launch attributes to filter Pointr Cloud Analytics reports, including the reserved parameter list and guidance for custom parameters.

Starting with version 9.4, Analytics reports can be filtered using Launch Attributes. This enables you to analyze user sessions based on the parameters used to launch the experience, such as site, building, poi, language, or any custom attribute.

#### What are Launch Attributes?

Launch Attributes are key value parameters passed during the initialization of Pointr Express or WebSDK. These parameters are attached to user sessions and can later be used to filter and segment Analytics reports.

{% stepper %}
{% step %}

#### Web SDK&#x20;

In a custom Web SDK implementation by default, query string parameters provided will be automatically treated as launch parameters.&#x20;

**Example**:

[`https://your-web-site.com/pointr-web-sdk.html?DepartmentName=IT&State=WA`](https://your-web-site.com/pointr-web-sdk.html?DepartmentName=IT\&State=WA)&#x20;

In the example above `DepartmentName` and `State` will be sent to analytics as launch attributes.&#x20;

If you want to have full control over what parameter to be sent to launch attributes you can also set **analyticsCustomLaunchParams** option(after v9.8.0) and only those parameters will be treated as custom launch params. With this method all query string parameters will be ignored

**Example**:

```javascript
const options = new PointrWebSDK.Options({
  // other options
  analyticsCustomLaunchParams: {
    "custom_name1": "custom_value1",
    "custom_name2": "custom_value2",
  }
})
```

If the Pointr Web SDK is initialized using the above option, the session will include `custom_name1` and `custom_name2`  as Launch Attributes and all query string parameters will be ignored if any.\
&#x20;\
All Analytics events generated during that session can then be filtered using these attributes.
{% endstep %}

{% step %}

#### Pointr Express®

For Pointr Express, default launch parameters are documented in the  [Pointr Express Parameters](broken://pages/Lj606v96y37SQhNCym7x#how-to-build-a-pointr-express-r-link) section. In addition to these default parameters, you may include custom Launch Attributes by appending them to the URL as query string parameters.

**Example**:

```hurl
https://v9.pointr.express/?token=xxxxxxxxxxxxxxxxxxx&DepartmentName=IT&State=WA
```

In this case, Pointr Express will initialize the session with `DepartmentName`=`IT` and `State`=`WA` as Launch Attributes. These values will be attached to the session and can be used to filter related Analytics events.
{% endstep %}

{% step %}

### Mobile SDK

{% tabs %}
{% tab title="iOS" %}
Starting from version 9.8.0, you can set custom launch attributes by assigning a dictionary to the `analyticsCustomLaunchParams` property on the `PTRParams` object before passing it to `PTRMapWidgetConfiguration`.

{% code expandable="true" %}

```swift
let params = PTRParams()
params.clientIdentifier = "<your-client-identifier>"
params.licenseKey = "<your-license-key>"
params.baseUrl = "<your-base-url>"
params.analyticsCustomLaunchParams = ["DepartmentName": "IT", "State": "WA"]

let config = PTRMapWidgetConfiguration()
config.sdkParams = params

let location = PTRMapWidgetLocation.site(siteId: "SITE_ID")
let mapWidget = PTRMapWidgetViewController(location: location, configuration: configuration)
present(mapWidget, animated: true, completion: nil)
```

{% endcode %}
{% endtab %}

{% tab title="Android" %}
Starting from version 9.8.0, you can set custom Launch Params when initializing the PTRParams object then use it as argument while calling `Pointr.with`.&#x20;

```kotlin
val clientId = "<your-client-identifier>"
val licenseKey = "<your-license-key>"
val baseUrl = "<your-base-url>"
val launchParams = mapOf("DepartmentName" to "IT", "State" to "WA")
val ptrParams = PTRParams(clientIdentifier = clientId, licenseKey = licenseKey, baseUrl = baseUrl,
                analyticsCustomLaunchParams = launchParams)
Pointr.with(applicationContext, ptrParams)
```

{% endtab %}
{% endtabs %}
{% endstep %}
{% endstepper %}

Please refer to this [section](#custom-launch-attributes) for more details about how to use custom launch attributes.&#x20;

### Launch Attribute Filters

Both in Usage and POI Analytics Dashboard a new filter bar has been added where you can select the Launch Attribute and Attribute Detail.

<figure><img src="https://2585032735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgeYeKrK9Emf57ofXXap%2Fuploads%2FEXoOhETBgYJIsnP2e80J%2Fimage.png?alt=media&amp;token=66eb7c9a-3af5-47d3-8965-21975ddbea54" alt=""><figcaption></figcaption></figure>

By default there will be no filtering and all data from all sessions will be displayed.&#x20;

`Launch Attribute` field contains both [reserved launch attributes](#reserved-launch-attributes) and [custom launch attributes](#custom-launch-attributes) in alphabetical order.&#x20;

<figure><img src="https://2585032735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgeYeKrK9Emf57ofXXap%2Fuploads%2FvnrQyNJmlLr9o9hl0gtF%2Fimage.png?alt=media&amp;token=96b60fd2-727e-4a4a-abaa-be670209acec" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
Please note that this filter applies only to events generated by SDK version 9.4 or later. Selecting any launch attribute will therefore display events coming exclusively from SDKs running version 9.4 and above.

As a result, the data shown may appear lower than expected, since events generated by earlier SDK versions are not included in this filter.
{% endhint %}

When you make a selection, all the report will be filtered only with the sessions that are initialized with the selected lauch attribute.&#x20;

For instance, if you select `Language` , only the sessions which are initialized with a language parameter will be displayed accross the report.&#x20;

With `Language` selected as `Launch Attribute` , `Attribute Detail` field lists the distict values passed to that parameter. In this case, values will be the language codes. You can select one or more language code(s) to see the analytics report filtered by the sessions initialized with those language codes.&#x20;

<figure><img src="https://2585032735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgeYeKrK9Emf57ofXXap%2Fuploads%2Fes6dE8N8wKwof5efvfK4%2Fimage.png?alt=media&amp;token=a23754ed-fd88-498d-b832-b36103b7236d" alt="" width="563"><figcaption></figcaption></figure>

If you want to see the session count distribution of the selected Launch Attribute, you can hover on the info button of <img src="https://2585032735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgeYeKrK9Emf57ofXXap%2Fuploads%2FLzdhxsI8IQEpX0l8Xj46%2Fimage.png?alt=media&amp;token=6e0bdf33-9fce-461a-b57d-42dc1066a3af" alt="" data-size="line">. That will open up a tooltip menu where you can see the session count distribution of each value of the selected launch attribute.&#x20;

<figure><img src="https://2585032735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjgeYeKrK9Emf57ofXXap%2Fuploads%2FlsNRjoHQg4yazXgDh86D%2Fimage.png?alt=media&amp;token=c9f53fc0-7417-4c97-ab78-43cdbf53227f" alt="" width="563"><figcaption></figcaption></figure>

### Reserved Launch Attributes

Below is a table of **reserved** launch parameters that can be used for filtering within the Analytics dashboard.

<details>

<summary>Reserved Launch Attributes Table</summary>

The table below lists all reserved launch parameters used by the SDKs. In the Analytics report, related parameters are grouped under the name shown in the Analytics Report Name column. Additionally, not all reserved parameters are exposed in the Analytics Dashboard. To keep the reports simple, only parameters that are relevant for most common use cases are available as default filters.

{% hint style="info" %}
For custom launch parameters defined for your specific business needs, ensure that you do not use any of the reserved launch parameters listed below. Using reserved parameters may lead to incorrect data grouping and may prevent your custom launch parameters from displaying correctly in the Analytics Dashboard.
{% endhint %}

| Parameter                          | Analytics Report Name | Is Visible on Analytics Dashboard |
| ---------------------------------- | --------------------- | --------------------------------- |
| b                                  | Building              | Yes                               |
| be                                 | Building              | Yes                               |
| bE                                 | Building              | Yes                               |
| bid                                | Building              | Yes                               |
| buildingExternalIdentifier         | Building              | Yes                               |
| buildingInternalIdentifier         | Building              | Yes                               |
| ptrBuildingInternalIdentifier      | Building              | Yes                               |
| ptrBuildingExternalIdentifier      | Building              | Yes                               |
| destBid                            | Building              | Yes                               |
| destBuilding                       | Building              | Yes                               |
| srcBid                             | Building              | Yes                               |
| srcBuilding                        | Building              | Yes                               |
| category                           | Category              | Yes                               |
| lan                                | Language              | Yes                               |
| lang                               | Language              | Yes                               |
| language                           | Language              | Yes                               |
| languageCode                       | Language              | Yes                               |
| lng                                | Language              | Yes                               |
| ptrLanguageCode                    | Language              | Yes                               |
| srcLng                             | Language              | Yes                               |
| l                                  | Level Index           | Yes                               |
| levelIndex                         | Level Index           | Yes                               |
| lvl                                | Level Index           | Yes                               |
| srcLevel                           | Level Index           | Yes                               |
| srclvl                             | Level Index           | Yes                               |
| personaIdentifier                  | Map Persona           | Yes                               |
| pid                                | Map Persona           | Yes                               |
| ptrPersonaIdentifier               | Map Persona           | Yes                               |
| destId                             | POI Interaction       | Yes                               |
| destIdE                            | POI Interaction       | Yes                               |
| destPoiInternalIdentifier          | POI Interaction       | Yes                               |
| highlightPoiIdentifier             | POI Interaction       | Yes                               |
| navigationDestinationPoi           | POI Interaction       | Yes                               |
| navigationStartPoi                 | POI Interaction       | Yes                               |
| p                                  | POI Interaction       | Yes                               |
| poi                                | POI Interaction       | Yes                               |
| poiE                               | POI Interaction       | Yes                               |
| ptrNavigationStartPoi              | POI Interaction       | Yes                               |
| ptrNavigationDestinationPoi        | POI Interaction       | Yes                               |
| ptrHighlightPoiIdentifier          | POI Interaction       | Yes                               |
| srcId                              | POI Interaction       | Yes                               |
| srcIdE                             | POI Interaction       | Yes                               |
| srcPoiInternalIdentifier           | POI Interaction       | Yes                               |
| s                                  | Site                  | Yes                               |
| se                                 | Site                  | Yes                               |
| sE                                 | Site                  | Yes                               |
| sid                                | Site                  | Yes                               |
| siteExternalIdentifier             | Site                  | Yes                               |
| siteInternalIdentifier             | Site                  | Yes                               |
| action                             | User Action           | Yes                               |
| accessibility                      |                       | No                                |
| apiUrl                             |                       | No                                |
| bearing                            |                       | No                                |
| clientInternalIdentifier           |                       | No                                |
| clientSecret                       |                       | No                                |
| container                          |                       | No                                |
| destinationLevelIndex              |                       | No                                |
| destinationPointLat                |                       | No                                |
| destinationPointLng                |                       | No                                |
| destLat                            |                       | No                                |
| destLevel                          |                       | No                                |
| destLng                            |                       | No                                |
| destlon                            |                       | No                                |
| destlvl                            |                       | No                                |
| deviceIdentifierForAnalytics       |                       | No                                |
| highlightPointLat                  |                       | No                                |
| highlightPointLng                  |                       | No                                |
| initialZoomLevel                   |                       | No                                |
| joystick                           |                       | No                                |
| languageList                       |                       | No                                |
| lat                                |                       | No                                |
| latitude                           |                       | No                                |
| lon                                |                       | No                                |
| longitude                          |                       | No                                |
| mapMaxZoom                         |                       | No                                |
| mapMinZoom                         |                       | No                                |
| pitch                              |                       | No                                |
| pointrCloudToken                   |                       | No                                |
| ptrApiUrl                          |                       | No                                |
| ptrBearing                         |                       | No                                |
| ptrClientInternalIdentifier        |                       | No                                |
| ptrClientSecret                    |                       | No                                |
| ptrContainer                       |                       | No                                |
| ptrDestinationLevelIndex           |                       | No                                |
| ptrDestinationPointLat             |                       | No                                |
| ptrDestinationPointLng             |                       | No                                |
| ptrDeviceIdentifierForAnalytics    |                       | No                                |
| ptrHighlightPointLat               |                       | No                                |
| ptrHighlightPointLng               |                       | No                                |
| ptrInitialZoomLevel                |                       | No                                |
| ptrLanguageList                    |                       | No                                |
| ptrLatitude                        |                       | No                                |
| ptrLevelIndex                      |                       | No                                |
| ptrLongitude                       |                       | No                                |
| ptrMapMaxZoom                      |                       | No                                |
| ptrMapMinZoom                      |                       | No                                |
| ptrMode                            |                       | No                                |
| ptrPitch                           |                       | No                                |
| ptrPointrCloudToken                |                       | No                                |
| ptrQuickAccessSelectionZoomLevel   |                       | No                                |
| ptrShouldEnableLanguageSelector    |                       | No                                |
| ptrShouldEnableNavigation          |                       | No                                |
| ptrShouldEnablePoiDetails          |                       | No                                |
| ptrShouldEnableQuickAccess         |                       | No                                |
| ptrShouldEnableSearch              |                       | No                                |
| ptrShouldEnableZoomControls        |                       | No                                |
| ptrShouldHideBanner                |                       | No                                |
| ptrShouldStartAccessibilityEnabled |                       | No                                |
| ptrSiteExternalIdentifier          |                       | No                                |
| ptrSiteInternalIdentifier          |                       | No                                |
| ptrStartLevelIndex                 |                       | No                                |
| ptrStartPointLat                   |                       | No                                |
| ptrStartPointLng                   |                       | No                                |
| quickAccessSelectionZoomLevel      |                       | No                                |
| shouldEnableLanguageSelector       |                       | No                                |
| shouldEnableNavigation             |                       | No                                |
| shouldEnablePoiDetails             |                       | No                                |
| shouldEnableQuickAccess            |                       | No                                |
| shouldEnableSearch                 |                       | No                                |
| shouldEnableZoomControls           |                       | No                                |
| shouldHideBanner                   |                       | No                                |
| shouldStartAccessibilityEnabled    |                       | No                                |
| srcLat                             |                       | No                                |
| srclon                             |                       | No                                |
| startLevelIndex                    |                       | No                                |
| startPointLat                      |                       | No                                |
| startPointLng                      |                       | No                                |
| t                                  |                       | No                                |
| token                              |                       | No                                |

</details>

Some reserved launch attributes are translated into values available in your Pointr Cloud instance. For example, when you create a Pointr Express link with a highlighted POI, the link includes the ID of the POI to be highlighted. In the Analytics Dashboard, this ID is translated into the POI name, allowing you to filter using the readable name instead of the ID.

All parameters grouped under `POI Interaction`, `Site`, `Building`, and `Map Persona` are transformed into their corresponding names within Pointr Cloud.

{% hint style="warning" %}
If, for any reason, an attribute value does not match the data in Pointr Cloud, the value will be labeled as `Undefined`. This may occur if an incorrect value is passed as a launch parameter or if the corresponding value was later deleted from Pointr Cloud.
{% endhint %}

### Custom Launch Attributes

You can also define custom launch attributes to support your specific business needs and use them to filter the Analytics Dashboard. Once custom launch attributes are passed during Pointr SDK initialization, they will appear in the Analytics Dashboard with a `Custom` prefix.

{% hint style="info" %}
Please note that custom launch attributes are not transformed using Pointr Cloud data. Therefore, ensure that you pass clear and consistent parameter values that you can later use effectively as filters in the Analytics Dashboard.

For instance if you are using pointr web sdk in your kiosks, you can add a `KioskName` custom launch parameter and pass a user friendly name for each of your kiosks and you can filter your report based on that name.&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://dev.pointr.tech/v9/features/analytics/analytics-dashboard/launch-attributes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
