Activity Tracking

Appkit provides support for tracking all interaction users have with the application, including which searches are made, which pages are visited, which results are clicked, and more. Events can be written to a log file or passed over to a vendor-specific analytics solution, such as Fusion Signals.

Activity processing

The activity tracking framework supports these endpoints for processing activity events:

Query Tracking

To track user-generated queries on your page, add a <track:query> tag with a reference to the query object that captures the user’s input:

<track:query query="query" path="/search" page-title="Search Page"></track:query>

To see all related attributes, see the track:query tag documentation.

Click Tracking

To track click events, wrap a <track:clicks> tag around any result list to be tracked:

<track:clicks query="query" type="People Results">
<search:result-list response="response">
    <search:result>
        ...
    </search:result>
</search:result-list>
</track:clicks>

To see all related attributes, see the track:clicks tag documentation.

Alternatively, to track a static URL, wrap the address in your href as shown. Optionally, you can use the _type parameter to provide a click type:

/twigkit/secure/services/url?url=http://www.google.com&_type=Other_Sites"