Internal search engine



AT Internet’s SDK allows you to tag your application’s internal search engine. By doing so, you can see which keywords were entered, as well as the results screen number, and the position of the item selected by the user.


Get off to a good start

Once your tag is initialised, you can add the search information to your screen or gesture hit.

If you want to use variables, be sure to import ATInternet, Tracker, Screen and/or Gesture, InternalSearch classes in your Activity.



The Screen and Gesture objects make an InternalSearch method available.

This method takes two parameters :

  • keywordLabel of String type indicates search keyword
  • resultScreenNumber of int type indicates the screen number where item was selected by user

This method sends an InternalSearch-type object.
In order to track a search result page, you won’t add the resultPosition property.


Tagging example

  1. Search screen tagging
  2. Result click tagging

InternalSearch class



Name Type Default value Description
keyword String null Gets or sets keywords entered during the search
resultScreenNumber Int -1 (>= 2.3.4 –> 1) Gets or sets the screen number containing the item on which the user clicked
resultPosition Int -1 Gets or sets the position of the item on which the user clicked
Was this post helpful?
Last update: 05/04/2018