# 访问事件及变量

## 访问事件的定义

在 GrowingIO 的数据模型中，访问事件代表：

* Web端：用户在一定时间内首次打开网站页面
* 移动端：用户在一定时间内首次打开移动应用
* 小程序：用户在微信中打开小程序

一次访问会生成一个 session 值，各平台的 session 刷新时间如下：

* Web端：首次访问时生成 session，当用户30分钟内无操作行为，之后有操作行为，刷新 session。
* 移动端：冷启动时生成 session，当App进入后台30秒后再次启动，刷新session。
* 小程序：冷启动时生成 session，当小程序进入后台5分钟后再次启动，刷新session。

## 访问事件的变量

GrowingIO 从 SDK 生成和发送的访问事件中提取了很多信息，我们将之称为访问事件的变量，这些信息包括：

| 类型        | 信息                                                                                                                                          |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| 用户设备信息    | <ul><li>操作系统及版本</li><li>设备品牌</li><li>设备型号</li><li>设备类型（手机/平板）</li><li>设备制造商</li><li>浏览器及版本</li><li>系统语言</li><li>屏幕大小</li><li>设备方向</li></ul> |
| 用户位置信息    | <ul><li>国家、地区、城市名称</li><li>国家代码</li></ul>                                                                                                   |
| 用户访问的应用信息 | <ul><li>网站/手机应用</li><li>App版本</li></ul>                                                                                                     |
| 用户落地页信息   | <ul><li>域名</li><li>页面</li><li>访问来源</li><li>页面来源</li></ul>                                                                                   |


---

# 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://growingio.gitbook.io/v3/introduction/datamodel/eventmodel/autotrack-event/session-events-and-properties.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.
