# Container & Environment

## `this.package.account` Variable

The `this.package.account` variable provides the **account name** under which the currently tracked data is being processed in the **JENTIS Environment**.

***

### Purpose

This variable identifies the **account context** (usually a domain-specific identifier such as `customerx.live`) for which the data was received. It is useful for:

* Multi-account setups
* Conditional logic based on the active account
* Validation and debugging across environments (e.g., staging vs. production)

***

### Variable Definition

| Property          | Description                            |
| ----------------- | -------------------------------------- |
| **Variable Name** | `this.package.account`                 |
| **Type**          | `string`                               |
| **Scope**         | Available in **server-side variables** |
| **Example Value** | `"customerx.live"`                     |

***

### Example Usage

```js
async function() {
    var x = this.package.account; // e.g., "customerx.live"
    return x;
}
```

This example retrieves the account name associated with the incoming client data.

***

### Use Cases

* Conditional processing based on account context
* Implementing logic specific to certain subdomains or clients
* Auditing incoming requests in multi-tenant environments

***

### Notes

* The value reflects the **active JENTIS account** as configured in the environment.
* This variable is populated automatically by JENTIS — no client-side setup required.
* Can be used alongside other `this.package.*` properties for full context enrichment.

***

### Summary

`this.package.account` allows you to identify which **JENTIS account** is associated with the incoming tracking request. It's especially useful in setups that support **multiple brands, environments, or domains**, enabling you to build smarter and more context-aware tracking logic.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jentis.com/developer-guide/variables/server-side-variables/public-function-scope/container-and-environment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
