In order that trendcounter is able to collect and process data, you only need to integrate a small HTML code into your website. This HTML code uses several asynchronous technologies that will ensure that the performance of your website is not affected.
Hint: Each website receives a personalized HTML code, which you can get when you log in.
By default trendcounter removes a leading www of the domain name. This leads to clearer results and improves the accuracy of the analysis. If you do not wish that domains with and without www are merged, you can disable this behavior.
_tcq.push(['www', 'strip']); // remove leading www in domains (standard) _tcq.push(['www', 'leave']); // do not remove leading www in domains
For the analysis to be as exactly as possible you should ensure that every page is only accessible via one unique URL. Otherwise, each active page would emerge under different URLs in the analysis. For this you have several options available.
_tcq.push(['url', 'full']); // use the full URL with parameters (standard) _tcq.push(['url', 'strip']); // keep only the path and remove all parameters _tcq.push(['url', 'canonical']); // use the canonical tag of the current page
Hint: We are using so-called "First-Party"-Cookies, that are giving an increased privacy protection, because they are not available across different domains.