Tracking events
Convertly is designed to give you flexibility in tracking various events on your site.
You can send any analytics event with any properties relevant to your tracking needs.
Recommended Practices
- Use natural language and specific keywords for event names
- Events such as `USER_SIGN_UP`, `USER_DELETE_ACCOUNT`, and `USER_VIEWED_DASHBOARD` are good examples of clear, concise event naming that will help AI understand your intent.
Tracking an Event
To record an event, use the `track` method of the `convertly` object you initialized:
For example, to track when a user churns from your service:
Logging a page view
To record a page view, use the 'page' method on the convertly CDN or NPM module
Last updated