Treasure Data's primary idea portal. 

Submit your ideas & feature requests directly to our product requirements team! We look forward to hearing from you.

JS SDK should filter out traffic from

We use JS SDK for web analytics via google tag manager and we noticed that the count of page visits was almost double the number shown in Google Analytics. 

After investigating this issue we realised that the reason is that since our website was re-written in Angular 2.0 we have started to use a software middleware called which is serving rendered pages to search engine bots. 

By adding "AND td_user_agent NOT LIKE '%/prerender/prerender%'"  in our queries we finally got same numbers of page visits as Google Analytics, however this is not ideal.

Given that those pages are automatically filtered out by Google Analytics in the background, maybe it's a good idea for Treasure Data to do the same or to allow excluding certain agents.


  • Giacomo Vannucchi
  • Aug 23 2017