Create a New Event

📘

Auto-registration of pre-created Events

If the SDK integration is completed, you can automatically register any event key that is pre-existing on your coding details onto the Hackle dashboard.
For more details, please refer to the [Auto-register Events] document.

Events can be created by clicking the + Create a New Event button located in the upper right area of ​​the Event menu.

1. Creating a new event key

The event key-value means the value that defines the user's action in the code. For example, if you have defined the purchase button click as “purchase” in your code, type in “purchase” in the event key.

Event key values can be alphanumeric, _, -, . only, there is a limit of length between 1 and 128 characters.

🚧

Once created, the event key value cannot be modified.

Before clicking the "Create" button, make sure that there are no typos in the entered event key-value and make sure to follow the naming convention used within your organization.

2. Write a description of the event

If you are concerned that the event action cannot be understood from the event key value, you can add a brief summary in the description section.

3. Upload an image of the event

At times it is difficult to convey everything about the event with merely the description, you can upload an image in order to better convey what the event is to other members. You can use a screenshot of where and when an event occurs. Event images can be edited or deleted at any time. However, you can only upload a single image file (jpg, jpeg, png) of 10 MB or less.

16781678

4. Create event

Click the Create an Event button located at the bottom right to complete the event creation.

5. Working with event-related code

SDK integration and code work are required to track events after creating the events on the Hackle dashboard. Please let your team's developer know the circumstances in which each event will occur along with the respective event keys.

For example, let's say you create a “purchase” event, the event will technically “occur” when the user clicks the purchase button. When the “purchase” event occurs, the developer needs to make sure the right codework is in place. The code should be able to call the track method and send the event key for when the user presses on the purchase button. For configuring the track method, please refer to the SDK guide for "Track and Send Events" specific to the language used to create your website or app.


Did this page help you?