Кастомні події через API
Трекинг и пиксели · 5 хв чтения
Custom events let you track any action beyond standard page views and clicks.
Creating Custom Events
- Go to Postbacks → Custom Events.
- Click Create Event.
- Define an event name, a machine-readable key, and a description.
Sending Events
Use the GramPixel REST API to send events from your backend. Include the Telegram user ID for proper attribution and monetary values for revenue-generating events.
For full API documentation, visit the API Reference.
Best Practices
- Use consistent naming conventions across all events.
- Always include the Telegram ID for deterministic attribution.
- Use the batch endpoint when sending high volumes of events.