Conscent.ai Developer Documentation
  • Version 2.0
    • Using Conscent.ai
    • Web SDK
    • Login
    • Logout
    • User Details Drawer
    • Google One Tap
    • Mobile SDK
      • iOS(Swift)
        • In-App Purchases with Conscent
      • Android SDK
      • React Native SDK
      • Google In-App Purchases with Conscent
      • Apple In-App Purchases with Conscent
    • Facebook SSO Integration Guide
    • Landing Page API v 2.0
    • AMP Integration
    • Integrating APIs(v2)
      • Purchase Details
      • User Registered Or Not
      • User Registrations
      • Subscription Plans Details
      • Get User Details
      • Add Subscription If User Registered
      • Update UserDetails
      • Update SubscriptionDetails
      • Get All Transaction Details
    • IAM System API Documentation
  • Version 1.0
    • Getting Started
    • On Board
    • Using Conscent.ai
    • Authentication
    • Web SDK
    • Login
    • Logout
    • Amp Documentation
    • Mobile SDK
      • Android
      • Flutter
      • iOS(Swift)
      • React Native SDK
    • Auto Login
    • Creating External Purchases
    • Landing Page API
  • Login Screen Customization
  • Integrating Client Payment Gateway
  • Integrating with APIs
    • User Details and Subscriptions Information
    • Purchased Subscriptions
    • User and Purchase Details
    • Client Purchases
    • Client Micropayments
    • Client Passes
    • Cancel Active Subscriptions
    • Delete User
  • Events API Docs
    • Different Types of Events
    • SSO Login Flow
  • Discount Coupon
    • Dynamic Coupon API Generation:
  • New Webhooks
    • Meter Banner Webhook
    • Paywall Webhook
    • SignUp Webhook
    • Refund Webhook
    • Purchase Webhook
    • Subscription Landing Page Webhook
    • Popup Webhook
    • User Update Webhook
    • Payment Gateway Webhook
    • Review Page Webhook
    • Transaction Webhook
    • Login Webhook
    • Cancel Subscription Webhook
  • Old Webhooks
    • Sign Up Webhook
    • Login Webhook
    • Subscription Payment Webhook
    • Subscription Cancelled Webhook
    • Pass Payment Webhook
    • Subscription Bundle Payment Webhook
    • Review Subscription Webhook
    • Micro Payment Webhook
    • How to validate Webhooks?
  • Registering The Content
    • Create Content
    • Edit Content
    • View Content
  • Country Code List
  • Supported Currencies and Payment Gateways
    • Stripe Supported Country with Currency
    • Razorpay Supported Country with Currency
    • Paypal Supported Country with Currency
  • Errors
  • Loyalty System
    • Web SDK
    • iOS SDK
    • Android SDK
    • Flutter SDK
    • API from server
Powered by GitBook
On this page
  1. Events API Docs

Different Types of Events

The mentioned events, each designed with unique functionalities and specific properties, are passed as objects in the messageBody for individual event captures, ensuring effective analytics.

  1. PING: It's a periodic event triggered every 15 seconds while the user is on a page.

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

PING

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

pingId

uuid

A unique pingId for each session.

REQUIRED

active

int8

0 when the user is out of focus.

1 when the user is in focus.

REQUIRED

userId

string

A unique user ID for each user if he/she/they is logged in

OPTIONAL
  1. CLICK: It's an event triggered when the user clicks a subject of interest.

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

CLICK

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

userId

string

A unique user ID for each user if he/she is logged in

OPTIONAL

clickAction

string

P2P / ADD_MONEY_TO_WALLET / PAYMENT_GATEWAY_CROSS_BTN / LOGIN_FLOW_CROSSBTN / CONTENT / PASS / SUBS / MOBILE / EMAIL / GOOGLE / FACEBOOK / BUY_NOW / RENEW_BTN / CHANGE_PLAN / ADD_ADDRESS / COUPON / POPUP_REDIRECT / POPUP_CLOSE

OPTIONAL
  1. EXIT: It's an event triggered when the user exits.

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REDUIRED

eventType

string

EXIT

REDUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REDUIRED

anonId

uuid

A unique anonymous ID for each user.

REDUIRED

userId

string

A unique user ID for each user if he/she is logged in

OPTIONAL
  1. PURCHASE: It's an event triggered when the user makes a purchase.

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

PURCHASE

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

userId

string

A unique user ID for each user if he/she is logged in

REQUIRED

purchaseId

A unique ID of the order after making a purchase.

REQUIRED

  1. TRANSACTION: It's an event triggered when the user makes a transaction.

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

TRANSACTION

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

userId

string

A unique user ID for each user if he/she is logged in

REQUIRED

transactionId

A unique ID of the order after making a transaction.

REQUIRED

  1. REGISTRATION:

PARAMETERS
DATATYPE
VALIDATION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

REGISTRATION

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

userId

string

A unique ID of the order after making a transaction.

REQUIRED
  1. VALIDATION:

PARAMETERS
DATATYPE
DESCRIPTION
TYPE

clientId

string

The unique clientId is found on the dashboard.

REQUIRED

eventType

string

VALIDATION

REQUIRED

eventLocation

string

PAGE / PAYWALL / CONTENT_FLOW_LOGIN / CONTENT_FLOW_OTP / CONTENT_FLOW_ADD_MONEY_PAGE / CONTENT_FLOW_PAYMENT_GATEWAY / SSO_LOGIN / SSO_OTP / UDB / UDB_LOGIN / UDB_OTP / SUBS_LOGIN / SUBS_OTP / POPUP / SLP / SAP / SRP / SUBS_PAYMENT_GATEWAY / FAV / FAV_ICON / USER_BAR / RECOMMENDATION_POPUP

REQUIRED

anonId

uuid

A unique anonymous ID for each user.

REQUIRED

userId

string

A unique ID of the order after making a transaction.

REQUIRED
PreviousEvents API DocsNextSSO Login Flow

Last updated 8 months ago