Tracking SmartHub User Activity with a Custom Page

Recording "OpenResultItem" Action

This action is recorded when an user, clicks on the title of a result.

In order for this action to be recorded, Analytics tracks two specific dummy Css Classes from SmartHub. 

The link of the documents must have "analytics-track-openItem" class on anchor

Also, the div parent of the document, must have "analytics-track-itemContainer" on class

Recording "ShowMore" Action

This action is recorded when an user, expands the list of refiners from a facet and a refiner is applied.

In order for this action to be recorded, Analytics tracks two specific dummy CSS classes from SmartHub. 

The show more element, must have analytics-track-showMore on class . 

Also, the div parent of the document, must have "analytics-track-footer-container" on class