You can collect the number of clicks on an element of the web page you have created a test or a personalization on. To create this “click tracking” action, go to the variation editor and use the Track clicks functionality.
![]() |
The click tracking function is not retroactive. You must configure it before launching your test. If you don’t, your visitors’ clicks will not be recorded and it is technically impossible to retrieve them at a later point. |
Creating a click tracking action
To create a click tracking action, apply the following steps:
- Open the variation editor on the desired website,
- Click the element for which you want to collect clicks, (if necessary, use the Select parent or Select children option to select the element properly).
- In the contextual menu, select Track clicks,
A configuration window opens. - Enter a label for your click tracking action,
- Use the drop-down list to select the event you want to track,
- Click Save,
- If necessary, you can click Action Tracking in the toolbar to edit and make changes to your configuration.
![]() |
When you configure a click tracking action, is it created in your test variation or your personalization scenario, as well as in the original version, thus giving you a point of reference. This enables you to measure the click rate efficiently. |
Event types
The Track clicks functionality enables you to track 3 types of events:
- Click: when the visitor left-clicks on the element.
- Mousedown: when the visitor moves over the element with the mouse while holding the left-hand button down (e.g. drag and drop, text selection, scrolling).
- Submit: when the visitor submits a form to the server after filling it in. The "submit" even type needs to be set on the <form> element, not on the button. The selector needs to point to the <form> element.
Creating a click tracking action on several elements
Only unique conversions are recorded: if a visitor clicks on the same tracked element several times, this will count as one click.
You can also create a single click tracking action for several elements at once. There are two ways of doing this:
- create two click tracking actions successively and assign the same label to them,
- or use the Select similar option in the editor, then create a click tracking action.
Regardless of the method used, a single goal is created in the test report and all clicks on the various elements are recorded there.
Identical label
To assign the same label to several click tracking actions, apply the following steps:
- Create click tracking actions for each element you want to track, as detailed above,
- For each click tracking action, enter the same label in the configuration window and click Save,
Clicking Action Tracking in the toolbar lets you view the list of click tracking actions with the same label.
Select similar option
To create several click tracking actions at once using the Select similar option, apply the following steps:
- Open the variation editor on the desired website,
- Click one of the elements for which you want to collect clicks,
- In the menu which appears, click Select similar and choose the first JavaScript class available in the drop-down menu,
All elements are selected at once. - Then, select Track clicks in the contextual menu,
A configuration window opens. - Give your click tracking action a name,
- Use the drop-down list to select the event you want to track,
- Click Save,
- If necessary, you can click Action Tracking in the toolbar to edit and make changes to your configuration.
Viewing click tracking in reports
To view the number of clicks collected, open the test or personalization report.
An “Action tracking” type goal is created for each click tracking action configured using the variation editor. The label of the goal matches the label assigned to the click tracking action. The collected data is that of the original and of the test variation(s).
Comments
0 comments
Article is closed for comments.