# Subscription Landing Page Webhook

**Sub\_landing\_page.click:** This event is triggered when users click on the landing page.

```json
{
  "entity": "event",
  "user_id": "65e800a2823acd057d66f897",
  "event": "sub_landing_page.click",
  "contains": [
    "landingPage",
    "tier",
    "subscription",
    "user"
  ],
  "payload": {
    "landingPage": {
      "_id": "652e3c6ce7354805632dc7ce",
      "title": "gcp dashboard tsb",
      "description": "pahle istemal kare fir vishwas kare all copyright save @itachi_uchiha",
      "headerRedirectUrl": "https://conscent-demo-new.netlify.app/",
      "desktopBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - desktopBanner-4c5e36.png",
      "mobileBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - mobileBanner-096872.png",
      "brandLogo": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - brandLogo-4cee52.png",
      "template": "t1",
      "subscriptions": [
        {
          "_id": "65c4e2f1f296fa057f3efa9a",
          "priority": 1,
          "recommended": false
        },
        {
          "_id": "65c4e31cf296fa057f3efaa0",
          "priority": 2,
          "recommended": false
        },
        {
          "_id": "65c4e35af296fa057f3efaa6",
          "priority": 3,
          "recommended": false
        },
        {
          "_id": "65c4e377f296fa057f3efaa9",
          "priority": 4,
          "recommended": false
        },
        {
          "_id": "65ca3396cf79e205809d3015",
          "priority": 5,
          "recommended": false
        }
      ],
      "createdAt": "2023-10-17T07:49:01.515Z",
      "updatedAt": "2024-03-05T12:48:48.329Z"
    },
    "tier": {
      "_id": "65c4e31cf296fa057f3efaa2",
      "currency": "INR",
      "basePrice": 0,
      "price": 100,
      "durationMonths": 1,
      "priceOverrides": {
        "country": []
      },
      "gstComponents": {},
      "rzpPlainId": "plan_JDJjFwwOG1V8a3"
    },
    "subscription": {
      "_id": "65c4e31cf296fa057f3efaa0",
      "benefits": "test2",
      "physical": false,
      "digital": true,
      "title": "football",
      "clientId": "65015ff10070846629fb981e",
      "tiers": [
        {
          "_id": "65c4e31cf296fa057f3efaa2",
          "currency": "INR",
          "basePrice": 0,
          "price": 100,
          "durationMonths": 1,
          "priceOverrides": {
            "country": []
          },
          "gstComponents": {},
          "rzpPlainId": "plan_JDJjFwwOG1V8a3"
        }
      ],
      "iconUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/subscriptions/65c4e31cf296fa057f3efaa0-e5134a.png",
      "createdAt": "2024-02-08T14:20:12.687Z",
      "updatedAt": "2024-02-20T13:21:27.717Z",
      "partialAccess": true,
      "sectionsInclude": [
        "goal",
        "foot"
      ],
      "authorsInclude": [],
      "sectionsExclude": [],
      "authorsExclude": [],
      "tagsInclude": [
        "football"
      ],
      "tagsExclude": []
    },
    "user": {
      "phoneNumber": "8382938898",
      "userId": "65e800a2823acd057d66f897",
      "country": "IN",
      "address": {
        "apartment": "",
        "area": "",
        "pincode": "",
        "landmark": "",
        "city": "",
        "state": "",
        "country": ""
      },
      "name": "",
      "city": "new delhi (pocket c)",
      "location": {
        "latitude": 28.5246,
        "longitude": 77.2793,
        "postcode": "110001"
      },
      "username": "8382938898",
      "clientTierId": "65c4e31cf296fa057f3efaa2"
    }
  },
  "client_info": {
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
    "country": "India",
    "countryCode": "IN",
    "deviceType": "desktop",
    "deviceModel": "Macintosh"
  },
  "created_at": 1709703417
}
```

**Sub\_landing\_page.view:** This event is triggered when users view the landing page.

```json
{
  "entity": "event",
  "user_id": "65e5b0a68a113905625dffd2",
  "event": "sub_landing_page.view",
  "contains": [
    "landingPage",
    "user"
  ],
  "payload": {
    "landingPage": {
      "_id": "652e3c6ce7354805632dc7ce",
      "title": "gcp dashboard tsb",
      "description": "pahle istemal kare fir vishwas kare all copyright save @itachi_uchiha",
      "headerRedirectUrl": "https://conscent-demo-new.netlify.app/",
      "desktopBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - desktopBanner-4c5e36.png",
      "mobileBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - mobileBanner-096872.png",
      "brandLogo": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - brandLogo-4cee52.png",
      "template": "t1",
      "subscriptions": [
        {
          "_id": "65c4e2f1f296fa057f3efa9a",
          "priority": 1,
          "recommended": false
        },
        {
          "_id": "65c4e31cf296fa057f3efaa0",
          "priority": 2,
          "recommended": false
        },
        {
          "_id": "65c4e35af296fa057f3efaa6",
          "priority": 3,
          "recommended": false
        },
        {
          "_id": "65c4e377f296fa057f3efaa9",
          "priority": 4,
          "recommended": false
        },
        {
          "_id": "65c4e3bff296fa057f3efaaf",
          "priority": 5,
          "recommended": false
        },
        {
          "_id": "65ca3396cf79e205809d3015",
          "priority": 6,
          "recommended": false
        },
        {
          "_id": "65dc604d5f5b1d0559c03b10",
          "priority": 7,
          "recommended": false
        }
      ],
      "createdAt": "2023-10-17T07:49:01.515Z",
      "updatedAt": "2024-02-26T09:57:27.661Z"
    },
    "user": {
      "phoneNumber": "8493849889",
      "userId": "65e5b0a68a113905625dffd2",
      "country": "IN",
      "address": {
        "apartment": "",
        "area": "",
        "pincode": "",
        "landmark": "",
        "city": "",
        "state": "",
        "country": ""
      },
      "name": "",
      "city": "new delhi (pocket c)",
      "location": {
        "latitude": 28.5246,
        "longitude": 77.2793,
        "postcode": "110001"
      },
      "username": "8493849889"
    }
  },
  "client_info": {
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
    "country": "India",
    "countryCode": "IN",
    "deviceType": "desktop",
    "deviceModel": "Macintosh"
  },
  "created_at": 1709552005
}
```

**Sub\_landing\_page.exit:** This event is triggered when users open the landing page but decide not to continue.

> Please note that this data may not always be precise because this event can be skipped in many special situations.

```json
{
  "entity": "event",
  "user_id": "65e01719d03692125f1f323f",
  "event": "subscription_landing.exit",
  "contains": [
    "landingPage",
    "user"
  ],
  "payload": {
    "landingPage": {
      "_id": "652e3c6ce7354805632dc7ce",
      "title": "gcp dashboard tsb",
      "description": "pahle istemal kare fir vishwas kare all copyright save @itachi_uchiha",
      "headerRedirectUrl": "https://conscent-demo-new.netlify.app/",
      "desktopBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - desktopBanner-4c5e36.png",
      "mobileBannerUrl": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - mobileBanner-096872.png",
      "brandLogo": "https://bkt-conscent-public-stage.storage.googleapis.com/Black Panther/banners/Black Panther - brandLogo-4cee52.png",
      "template": "t1",
      "subscriptions": [
        {
          "_id": "65c4e2f1f296fa057f3efa9a",
          "priority": 1,
          "recommended": false
        },
        {
          "_id": "65c4e31cf296fa057f3efaa0",
          "priority": 2,
          "recommended": false
        },
        {
          "_id": "65c4e35af296fa057f3efaa6",
          "priority": 3,
          "recommended": false
        },
        {
          "_id": "65c4e377f296fa057f3efaa9",
          "priority": 4,
          "recommended": false
        },
        {
          "_id": "65c4e3bff296fa057f3efaaf",
          "priority": 5,
          "recommended": false
        },
        {
          "_id": "65ca3396cf79e205809d3015",
          "priority": 6,
          "recommended": false
        },
        {
          "_id": "65dc604d5f5b1d0559c03b10",
          "priority": 7,
          "recommended": false
        }
      ],
      "createdAt": "2023-10-17T07:49:01.515Z",
      "updatedAt": "2024-02-26T09:57:27.661Z"
    },
    "user": {
      "phoneNumber": "8383884833",
      "email": "fvdzcxz@rsgfdcx.fvc",
      "userId": "65e01719d03692125f1f323f",
      "country": "IN",
      "address": {
        "apartment": "",
        "area": "",
        "pincode": "",
        "landmark": "",
        "city": "",
        "state": "",
        "country": ""
      },
      "name": "dfsxzc dvzxc",
      "city": "new delhi (okhla phase i)",
      "location": {
        "latitude": 28.5223,
        "longitude": 77.2849,
        "postcode": "110001"
      },
      "username": "8383884833"
    }
  },
  "client_info": {
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
    "country": "India",
    "countryCode": "IN",
    "deviceType": "desktop",
    "deviceModel": "Macintosh"
  },
  "created_at": 1709184873
}
```


---

# 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.conscent.ai/new-webhooks/subscription-landing-page-webhook.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.
