Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

On the Use of the trackSiteSearch() method

$
0
0

@Kiusau wrote:

According to the manual “We recommend not to call trackPageView() on the Site Search Result page”. What is the purpose of this recommendation? Is it to avoid double-counting? Does it mean that the trackSiteSearch() method performs two tasks simultaneously:

  1. Send the contents of the search string to the Matomo database, and
  2. Record a track page view.

and, so as not to duplicate the latter do not include trackPageView() on the same page.

Roddy

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles