Creating Activity

The essence of creating an Activity lies in going though all the steps mentioned below to complete a specific use case and letting Apty Activity Tracking "remember" which user interface elements were involved in this Activity.

How to access Activity tracking option in the Apty Studio?

Apty Activity Tracking can be accessed by installing Apty Studio that connects to the browser with an open hosting application for an Admin user to create a blueprint of a certain Activity or, in other words, the scenario for desired flow of user actions.

1. Login to the the Apty Studio and select the hosting application you plan to work with. The Studio menu opens.

2. Click on the Activity tracking icon.

How to create Activity tracking in the Apty Studio?

Step 1: Click on Create New Activity

On the Activity tracking page click Create New Activity or the + (Plus) button at the top right corner of the screen.

Step 2: Start to capture

Click Start capturing. The control is now passed to the application page in the browser. Continuously capture the steps required and click on Save recording in the application page. This will define the expected action pattern which is used to validate user action.

Step 3: Add a Name

Add a Name for the actions captured and click on Save.


NOTE: To Re-select the events in Activity, refer to Add/Modify Activity Events. 

Step 4: Click on Add Conditions

Click on Add conditionhere clients or partners can add business process-compliance conditions/rules to streamline the flow of Events. Apty provides options for multiple type of rules from which the clients or partners can select from,

  • On Screen Element: Clients or partners can add CSS selector for the required element which needs to be considered for the activity tracking from the Developers console and select the required operator from the Select Operator dropdown to define a condition.

  • Storage: By collecting the necessary storage key details from Developers console (under Application section) and by selecting the required operator from the Select Operator dopdown then adding the respective value for the key a condition can be defined. Apty provides option to add Windows variable, Local Storage, Session Storage or Cookies Storage as Storage type to track the Activity.

  • Page: With this, Apty's clients or partners can define a condition for an activity by adding the page properties such as Page URL, Page language, Page path, Timezone, etc. from the Page property dropdown then select the required operator and add its respective value.

  • Device: This condition can be used if clients or partners want to track the activity of the user based on the device they are using to complete the task. By adding the device properties such as OS version, Browser name, Browser version, etc. from the Device property dropdown then select the required operator and add its respective value to define the condition for the activity.

  • Date and Time: This condition can be used if clients or partners of Apty need to define the activity based on date and time. Any date or time which is out of the range for the added condition then the activity will be considered to be failed. 

  • Activity Events: Apty's clients or partners can track the activity based on the events present in the activity. User can either select for Event value or Augmented data options, when Event value is selected user can define the condition based on events available for that activity. When Augmented data is selected user needs to define a custom JS from Data Augmentation section and need to enter the JSON key value returned from the script to define a condition.

  • Segments: User can either select for Segments or Segmentation data options, when Segments is selected user needs to define the condition based on the list of segments which are already created and available in the admin console. But when Segmentation key is selected user needs to enter the JSON key value returned from the script in Custom JS section in Admin console to define a condition.

  • Custom JS: User can add the condition by writing any custom JS and if it returns true it will be considered as a valid activity. 




























 With the Data Augmentation, users can also add custom JS scripts to create conditions/rules for specific Events. 



Step 5: Add Exit point

  1. Click on Edit Event to find all the captured events.
  2. Click on 3 dots against the respective event and click on Exit Point option from the dropdown.
  3. Now in Execute On sectionusers or clients can select the exit point in which this conditions/rules needs to evaluated in the defined activity.

Make an event Mandatory

Clients or partners can make any event as Mandatory in the activity created, if they needed to check the activity of user for any specific important event.

If an event is marked as mandatory and if user moves without using this event, it will be recorded as Incomplete Activity in the Insights. By following the below steps clients or partners can make any event as Mandatory,

Step 1: Click on Edit Events

Click on Edit Event to find all the captured events.

Step 2: Select Mandatory

Click on 3 dots against the respective event and click on Mandatory option from the dropdown.

Once the event is selected as Mandatory then a star icon will be added against the event.

To add Action for event

With Event Action feature clients or partners can define the type of action needed over the selected event. By default, Apty provides three options such as Click, Change and Hover.

For instance, if the event action is selected as Click then the activity will be recorded if the user clicks over the selected event. Follow the below steps to add Event Action for an event,

Step 1: Click on Edit Events

Click on Edit Event to find all the captured events.

Step 2: Select the Event Action

Click on 3 dots against the respective event and from the dropdown click on Event Action option, now select the type of event action required.

How can we access the Activity created?

Activities can be accessed within the Apty Insights Admin > Activities and can be recaptured or deleted at any time. To know about Activity engagement in Apty Insights Admin, refer to Apty Insights Admin Overview.

NOTE: To delete Activity, refer to Delete Event/Activity article.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.