We have a series of URLs which call pages generated by Acquia Solr Search. We've cleaned up the visible URLs, but the URLs sent to GA (verified by the GA debug extension in Chrome) aren't the same - for example:
- URL displayed to user: /search/all/foster (where "foster" is the search string)
- GA "_trackPageview" for args: /search/all?search=no-results%3Afoster&cat=no-results
The "no-results" is always present, even in cases such as this where there are multiple results.
This makes it very difficult to get a clean GA report... any suggestions on how to address it, please?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | googleanalytics-apachesolr-support-1993437-3.patch | 1.47 KB | 8ballsteve |
Comments
Comment #1
hass commentedCheck out why http://drupalcode.org/project/google_analytics.git/blob/refs/heads/7.x-1... returns 0 in your case.
Comment #3
8ballsteve commentedSeems to me that this is related to ga not tracking the post vars handled by apachesolr - possibly similar to search_api issue documented here: http://drupal.org/node/1694622#comment-6659880
I've created a patch for now to remove the no-results flag for our use case.