An unofficial Server-side Google Tag Manager template for sending conversion events to Rokt Ads via their Event API.
- Rokt Account ID
- Rokt Public Key (format:
rpub-xxxx-xxxx
) - Rokt Secret Key (format:
rsec-xxxx-xxxx
)
- URL:
https://api.rokt.com/v2/events
- Rokt-Version:
2020-05-21
Field | Description | Format |
---|---|---|
Rokt Account ID | Your Rokt Account identifier | String (max 64 chars) |
Rokt Public Key | Your Rokt Public API key | rpub-xxxx-xxxx |
Rokt Secret Key | Your Rokt Secret API key | rsec-xxxx-xxxx |
Event Type | Type of conversion event | sign_up , purchase , booking , etc. |
Field | Description | Example |
---|---|---|
Rokt Tracking ID | Rokt Click ID (rtid ) |
?rtid=218e259f29e7... |
Object Data | Additional event parameters | email , amount , currency |
Metadata | Non-business critical information | source , campaign |
Common object data fields supported by Rokt Event API:
email
- Customer email addressamount
- Transaction amountcurrency
- Currency code (e.g., USD, EUR)firstname
- Customer first namelastname
- Customer last namephone
- Customer phone numbercountry
- Country codepostcode
- Postal/ZIP code
For the complete list of supported fields, refer to the Rokt Event API Documentation.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Developed and maintained by Praba Ponnambalam
Note: This is an unofficial template and is not affiliated with or endorsed by Rokt. Use at your own discretion and ensure compliance with your organization's data privacy policies.