Marketing Destinations
Custom API Integration
Build your own custom destination integration
Overview
Create a custom destination to send Hardal analytics events to any HTTP endpoint with configurable format and headers.
Configuration
- Go to your Hardal dashboard
- Navigate to Marketing Destinations
- Click “Add Custom Destination”
- Start with a blank template
Endpoint Configuration
Available Variables
Use these variables in your request format:
##event_name##
: Name of the event##properties##
: Event properties object##created_at##
: Event timestamp##user_id##
: User identifier##session_id##
: Session identifier##page.url##
: Current page URL##page.title##
: Page title##page.referrer##
: Referrer URL
Additional Headers
You can add custom headers for authentication or other purposes:
Testing
- Use the “Test Endpoint” button to verify your configuration
- Check the response status and body
- Monitor the Events Log for delivery status
Was this page helpful?