Internal search engine

  • iOS
  • watchOS
  • tvOS


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.

In the case of a Swift project, be sure to import the SmartTracker module in your ViewController. In the case of an Objective-C project, be sure to import the header SmartTracker-Swift.h.



The Screen and Gesture objects make an internalSearch property available.



Tagging example

Tagging a search (the user is redirected toward a screen containing the results)

Here, parameters are passed as parameters during the selection of an item on the search screen

  1. Search screen tagging

  2. Result clic tagging


InternalSearch class



Name Type Default value Description
keyword String Empty string Gets or sets keywords entered during the search
resultScreenNumber Int 1 Gets or sets the screen number containing the item on which the user clicked
resultPosition Int? nil Gets or sets the position of the item on which the user clicked
Was this post helpful?
Last update: 03/03/2017