Say you have introduced a small popup banner that, upon clicking, navigates to the product page of a newly launched product. Chances are there that a certain population of your audience might not show interest and close the page right away. You would probably like to explore the reason, for which you may want to identify the visitors and try providing a personal discount or request their response to a survey.
Using the Page unload event, you can easily create a metric to track the visitors who have quit a certain webpage too early. This event gives the time spent by a visitor on a specific page. You can specify a certain duration to bracket those visitors who have spent time as stipulated. To achieve this, go to Data360 > Metrics > Create and perform the following steps:
- Enter a name for the metric in the Metric Name field.
- From the Event you want to track for this metric dropdown, select Page unload.
- Click on + where, which by default, will populate the Page URL option in the dropdown.
- If required, you can specify the URL match conditions or select a page from the Page section in the URL match condition dropdown.
- Now, define the threshold duration (value in seconds) within which a visitor unloads the page. Click on + and where, which by default, will populate the Duration option in the dropdown.
NOTE: Defining the Duration event property is not mandatory if you’re looking to evaluate the time spent by the visitors (while using Value of an event property). It is only required for filtering out the visitors who spend time on a page subject to the stipulated duration.
- Specify the matching condition in the adjacent dropdown and enter the corresponding value in seconds in the subsequent field as follows:
- In the Metric will calculate section, select Unique visitors to count the unique visitors who satiate the duration stipulation.
If you require the count of the occurrences where a visitor has satisfied the duration stipulation, select Event totals.
If you prefer to get the time spent by a visitor across all the visits, you can select Value of an event property. To do so, click on this dropdown and select an appropriate option from the following:
- First value - Gives the time spent during the first occurrence in which the visitor satiates the duration stipulation.
- Last value - Gives the time spent during the latest occurrence in which the visitor satisfies the duration stipulation.
- Sum - Gives the cumulative time spent by the visitor during all the occurrences in which the visitor satisfies the duration stipulation.
- Average - Gives the average time spent by the visitor during all the occurrences in which the visitor satisfies the duration stipulation.
- Maximum value - Gives the maximum time spent by the visitor among all the occurrences in which the visitor satisfies the duration stipulation.
- Minimum value - Gives the minimum time spent by the visitor among all the occurrences in which the visitor satisfies the duration stipulation.
- First value - Gives the time spent during the first occurrence in which the visitor satiates the duration stipulation.
- You can choose to add a description for easier reference by clicking on the Add description link.
- Click Create.
Now, you need to use this metric in your campaigns (A/B test, Split test, Multivariate test, or Personalize) to track the visitors based on their time spent on those campaign pages, subject to the duration you specify.