API Endpoint
Content-Type: application/json
Payload Fields
| Field | Type | Required | Description | Example Values |
|---|---|---|---|---|
type | string | Yes | Request type | "event", "identify" |
website | string | Yes | Your Signal ID from Hardal dashboard | "your-signal-id" |
name | string | Yes | Event name or "identify" for user identification | "screen_view", "purchase", "identify" |
url | string | Yes | Current screen identifier or deep link | "app://product-details/123" |
title | string | Yes | Screen or view title | "Product Details" |
device_type | string | Yes | Device type | "mobile", "tablet", "desktop" |
platform | string | Yes | Platform type | "app", "web", "server" |
language | string | No | User’s language | "en-US", "tr-TR" |
data | object | No | Custom parameters and event data | {"transaction_id": "TX123", "value": 99.95} |
Identify Function
Use"type": "identify" to link user identity to their sessions and activity. Set name field to "identify" and include user data like email, user_id, or profile information in the data object.
User Identification with Distinct Event
Send a distinct event to update user session properties and identify users after login, signup, or marketing consent:- After user login or signup
- When user provides marketing consent
- When user profile information is updated
- To link anonymous sessions to identified users
The distinct event updates the user’s session properties, allowing you to identify and track users across their mobile app journey.
Custom Events & Examples
For detailed custom event tracking examples, payload structures, and advanced usage:Data Sending API Documentation
Complete guide with examples for tracking purchases, conversions, and custom events
Response Codes
200: Success - Event recorded400: Invalid request format401: Invalid Signal ID