Ideas

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 prerender.io

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 prerender.io 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.

Thanks

  • Giacomo Vannucchi
  • Aug 23 2017