Note: to install attributes and events on your website, we recommend that you use the help of the developer.
Attributes are all the information that gets into the user card in the User Info block. In attributes, the parameters that you want to store in the user card are transferred to.
In the future, you can filter users by attributes.
There are standard attributes that are stored by default. As soon as you install the Creabl code, some attributes will be automatically written to the user information.
Custom attributes are necessary for more detailed information about visitors and can be configured by you optionally.
Events are actions performed by a user on your website. Events help to group users by certain actions and use it in analytics in the future.
How to set up events and attributes
To create or edit events and attributes, go to Settings — Users data.
Default attributes
Default attributes are those attributes that are created by default by Creabl, and some of them are automatically recorded after installing the base code.
The name, email, phone and signed up attributes must be configured additionally in order for them to be transmitted to user information.
There is a Show attribute code button next to each attribute and event, where there is a section of code that needs to be inserted into the website.
Note: To configure the transfer of information in Attributes and Events, we advise you seek the help of a developer; you also must have access to the source files of the website.
Algorithm of working with the code
To begin with, we install the Creabl base code.
Note: You can read more about how to install the code in the How To Install Creabl Code Into Your Website lesson.
Below the Creabl code, we embed the scripts of those events and attributes that you need being recorded. To record the name, email, phone and signed up attributes, the script must be embedded in the form handler.
Custom attributes
If the information that is recorded in the default attributes is not enough for you, you can configure the recording of absolutely any necessary information. To do this, we recommend using custom attributes.
To create a custom attribute, go to Custom attributes and click on the Add attribute button.
Choose the format of the attributes: a text field, a true or false value, or a counter.
In the Enter attribute name field, enter a name for the attribute and click the Add attribute button.
The Show attribute code button appears next to the attribute. Open it, copy and place it in the code. Note: To record information, it is necessary to specify the desired value in place of Custom value.
Events
To add events, go to the Events tab.
Next, click the Add event button.
In the Enter event name field, enter the name and click Add event.
The Show attribute code button appears next to the event. Copy the script and place it in the right place of the source code of the website.
Note: the event code must be placed below the base code of Creabl.
If you have any questions, difficulties or suggestions, be sure to write to the support.