Namespace

stat_search

stat_search

Internal Search Engine Manager

Methods

static activateResults()

Activate Search results click tags from map selected at initialization

See:

static getLinkNodeName(node)

Provide name of raised click tag, starting from node

Parameters:
Name Type Description
node object

Link node

static getSearchPos(node)

Retrieve search link position. By default: return stat_search.getSearchPosNc

Parameters:
Name Type Description
node

Current link node

See:

Computed node position

static getSearchPosNc(node)

Retrieve search link position, without customization

Parameters:
Name Type Description
node

Current link node

Computed node position: (page -1) * page size + link position

static init(fp)

Initialize search tracking

Parameters:
Name Type Description
fp string

Final path, as computed for level2 mapping

static reInit()

Clean all status

static reInitResults()

Clean only Results status

static relaySearchClickTag(node, e)

Intermediary function called to raise search click tag (build contextual parameters)

Parameters:
Name Type Description
node object

Node that raises the click tag

e object

Current event

static setParams()

Set search tracking parameters (mc & np)