@anonymous-piwik-user opened this Issue on January 19th 2013

Piwik does not display keyword for paid trafic when the referer URL is like:

hxxp:// www.googleadservices.com /pagead/aclk
?sa=L
&ai=CHCbuwQtTOY615UJbFF4H3PDwD-3NjqgD9cuNxSCJ5_DZBOi0CoAHB587vA8gAKCTuMQl3ZlMPnN2tfjQavu3F1jU9OySABAenmLEQACdP0H1h49ianw17PEStnXpYBgBAakC0aeEUZhRtj6qBrHAgAEAEgtlQoA1DptJpKYK
&ohost=www.google.gr
&cid=5Giac9nh3i_DHcGcOXWKx1DXWV4P9CfCbLjy9qsxW1dA4zg
&sig=ATD64_1E5rOA7OvuFtI1-76oroTgGZltoL
&ved=VQw0aCrQ
&adurl=hxxp://www.my-site.gr/my-url.html
&rct=j&
q=SOME+KEYWORD

Adding a new entry (like the following) in core/DataFiles/SearchEngines.php sould fix that. Right?
'googleadservices.com' => array('Google'),

Is there, also, any way to display ohost parameter like
"Google Ad Services (www.google.gr)"

Thanks,
Tolis
Keywords: googleadservices,search,engines

@mattab commented on January 21st 2013 Owner

Found other search engines to add:

  • search.bt.com/result?p=test
  • www.claro-search.com/?q=test
  • www.aolsearch.com/imageDetails?q=test
  • us.aolsearch.com/search?q=test
  • search-results.com/web?q=test
  • search.incredibar.com/search.php?q=test
  • search.smilebox.com/search.php?q=test
  • amazon.com/gp/bit/apps/web/SERP/search/ref=bit_p_downloads-com-abb_serp_cr_us?ie=UTF8&tbrId=v1_abba-channel-5_t&tagbase=downloads-com-abb&query=divemaster+job+philippines
    • (note absence of search/? so I think this one might not work and we could ignore)

Also noticed bugs with some google searches not detected eg.

  • google.com/url?sa=t&source=web&cd=4&ved=0CCIQohAwAw&url=http%3A%2F%2Fabc&ei=40P7UL_fJ8LSiwKO-YCACg&usg=AFQjCNGZmelk-gAuAdGoqBm5Tk-eRsK2JA&rct=j

or

  • google.com.qa/url?sa=t&source=web&cd=4&ved=0CCAQFjAD&url=http%3A%2F%2FABC&ei=fsH7UICgIsrUrQermICIAQ&usg=AFQjCNGk4g6FAXZ68KaI6GrAyOTYQBu_qg&rct=j

When we detect /url and no q=X or even empty q= parameters, we could safely attribute to Keyword Not Defined. Much more google results will be correctly classified.

@mattab commented on January 21st 2013 Owner

More french ones

search.free.fr/google.pl?qs=test

It could be great to add the following:

  • automatic detection of "Search" or "find" in the domain name or subdomain
  • Look in the URL params and find q/k/query/keyword/p/etc parameters in the string that are > 3 characters long and assign them as detected from Search automatically.

This would catch a lot of search engines! I think Anthon suggested this earlier.

This Issue was closed on April 5th 2013
Powered by GitHub Issue Mirror