Skip to content

Analytics

isaaclindenman edited this page Dec 9, 2023 · 8 revisions

Analytics

Customer Data Platform (CDP) Segment

Sources

  • Web-App
  • Server

Destinations

  • Google Analytics 4 ✅
  • Mixpanel ✅
  • Intercom
  • Hubspot

Events

Track Events

  • signup(organization, origin): Track user signups.

    • organization: Extracted from the domain part of the user's email (value between @ and the next .).
    • origin: The origin of the signup.
  • create_project(project): Log project creation. ✅

    • project: The name and ID of the created project.
  • create_application(): Track application creation. ✅

  • create_config(vendor, model, parm, messageLength): Record config creation. ✅

Parameters:

  • vendor: Vendor name.

  • model: Model type.

  • parameters: Config parameters.

  • messageLength: Length of the message.

  • name: config name.

  • edit_config(vendor, model, parm, messageLength): Log config edits. Parameters are the same as create_config.

  • add_app_key(): Track key addition. ✅

  • add_key(): Track key addition.

  • add_subscription(project, amount): Log new subscriptions. Parameters:

    • project: Project associated with the subscription.
    • amount: Subscription amount.
  • invite_user(project, permission, email): Track user invitations. ✅

  • first_server_call(usersInProject): Log the first server call. Parameters:

    • usersInProject: Users involved in the project.

Page Events

  • page_view(): Track each page view. ✅

Identify Events

  • signup_login(uid, name, email, phone): Identify users on signup or login. ✅ Parameters:

    • uid: User ID.
    • name: User's full name.
    • email: User's email address.
    • phone: User's phone number.
  • plan_purchase(plan, cost): Track plan purchases. Parameters:

    • plan: Purchased plan type.
    • cost: Cost of the plan.