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

# Offer Popup Closed

An event triggered when a player closes a popup offer in the web store.

**Event Data**

**eventName** `string`

Event name: `webstore.offers.popup_closed`.

**eventId** `string`

Event ID. Use this ID to deduplicate re-delivered events.

**timestamp** `number`

Event timestamp in [Epoch time](https://www.epoch101.com/), represented in milliseconds. Example: `1754307361396`.

**sessionId** `string`

The [session ID](https://docs.appcharge.com/../../api-reference/events/v2/introduction#session-id) of the player's current session. Example: `345397c6-d963-4aa4-a0ba-2aaca6c3ee05`.

**requestId** `string`

ID assigned by Appcharge to each request sent to the publisher. Helps the publisher identify and debug failed requests.

**result** `string`

Event result.

**reason** `string`

Reason for the event result.

**attributes** `map\<any,any\>`

A key-value map used to label events for tracking personas or tests. Example: `{ "persona":"non_payer", "blackFridayTest":"Base_group" }`

**customer** `object`

Information about the player.

**properties**

**id** `string`

Player ID.

**email** `string`

**Deprecated.** Player's email address.

**name** `string`

**Deprecated.** Reserved for the player's name in future versions.

**offer** `object`

Offer information.

**properties**

**externalId** `string`

External ID of the offer as configured in the Publisher Dashboard.

**type** `string`

Offer type.

**subType** `string`

Offer subtype.

**name** `string`

Offer name.

**offerIndex** `number`

The index of the offer.

**indexToCollect** `number`

Position of the sub-offer currently available to be collected in a Rolling offer.

**tab** `string`

Tab name in the Publisher Dashboard associated with the offer.

**pricePoint** `number`

Price point of the offer in USD cents.

**price** `number`

Price in lowest currency unit. For example, cents for USD, and whole yen for JPY. For a list of of supported currencies, their minor unit types, and applicable pricing limitations, see [Supported Currencies](https://docs.appcharge.com/../../merchant-of-record/finance/supported-currencies#supported-currencies).

**currencyCode** `string`

Currency code of the offer in [ISO\_4217](https://en.wikipedia.org/wiki/ISO_4217) format.

**products** `[object]`

List of products in an offer.

**properties**

**displayName** `string`

Display name of the product.

**productExternalId** `string`

External ID of the product as configured in the Publisher Dashboard.

**productQuantity** `string`

The quantity of the product. Must be a minimum 0 and equal to or less than 24 digits long.

**storeMetadata** `object`

**properties**

**offersSequenceIndex** `number`

Index of the sub-offer within an offer.

**offerType** `string`

Offer type.

**utm** `object`

UTM data.

**properties**

**utmSource** `string`

Source of the traffic. This is where the player came from before reaching the store. Example: `Google`.

**utmMedium** `string`

Marketing channel used to bring in the traffic. Example: `email`.

**utmCampaign** `string`

Identifies the marketing campaign associated with the traffic. Example: `black_friday`.

**utmTerm** `string`

Paid search keyword or term that generated the traffic. Example: `buy+coins`.

**utmContent** `string`

A label that identifies which version of content a player clicked to reach the web store. Useful for A/B testing and analyzing performance of different ad or link variations within the same campaign. Example: `summer_sale_ad1`

**device** `object`

Information about the player's device.

**properties**

**platform** `string`

Device platform. Example: `iOS`.

**deviceModel** `string`

Device model. Example: `iPhone 16 Pro`.

**osType** `string`

Operating system type. Example: `Android`.

**osVersion** `string`

Operating system version. Example: `18`.

**browserType** `string`

Browser type. Example: `Google Chrome`.

**browserVersion** `string`

Browser version. Example: `138`.

**geolocation** `object`

Information about the player's geolocation.

**properties**

**countryCode2** `enum`

Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. Example: `US`

**region** `string`

**Deprecated.** Region or state.

**ipAddress** `string`

**Deprecated.** IP address in [IPv4](https://en.wikipedia.org/wiki/IPv4) format. Example: `80.178.249.122`.

**zipCode** `string`

**Deprecated.** Zip code.

**sessionMetadata** `any`

Session metadata for passing data to Appcharge to be returned later.

```json Event Payload theme={"system"}
{
  "eventName": "webstore.offers.popup_closed",
  "eventId": "d11120c7-00e8-45a3-befe-4b6e4b61d935",
  "timestamp": 1771163366957,
  "sessionId": "e8a56ae6-bf1c-45f9-94d0-7768517ff9d4",
  "requestId": "c48ee942-d707-4300-b326-15274d5a8753",
  "result": null,
  "reason": null,
  "attributes": null,
  "customer": {
    "id": "671e81bb-55ef-428b-97ba-f67783971e0d",
    "name": null,
    "email": null
  },
  "offer": {
    "externalId": "daily-bonus",
    "type": "PopUp",
    "subType": "DailyBonus",
    "name": "daily-bonus",
    "offerIndex": 1,
    "indexToCollect": 1,
    "tab": "1",
    "pricePoint": 800,
    "price": 800,
    "currencyCode": "USD",
    "products": [
      {
        "displayName": "Gold Coins",
        "productExternalId": "31ae81bb-55ef-428b-97ba-f67783971e553",
        "productQuantity": "1000"
      }
    ]
  },
  "storeMetadata": {
    "offersSequenceIndex": 1,
    "offerType": "Popup"
  },
  "device": {
    "platform": "DESKTOP",
    "osType": "Mac",
    "osVersion": "10.15",
    "browserType": "Chrome",
    "browserVersion": "143.0",
    "deviceModel": ""
  },
  "geolocation": {
    "countryCode2": "US",
    "region": null,
    "ipAddress": null,
    "zipCode": null
  },
  "utm": {
    "utmSource": null,
    "utmMedium": null,
    "utmCampaign": null,
    "utmTerm": null,
    "utmContent": null
  },
  "sessionMetadata": { "abTest": "group1", "locale": "en-US" }
}
```
