Here's the story:
- Multisite instance using subdomains
- Using business directory listing theme at subdomain.domain.com
- Theme uses a custom search query, e.g. subdomain.domain.com/?ls=category&location=city
- For some reason, Google Analytics for WordPress tracks the page view with (1) the full subdomain information, rather than the relative URL, and (2) the wrong querystring information; for example, this: ['_trackPageview','http://subdomain.domain.com/?s=category&cat=plus-5-results']
I imagine that there's a reason for this, but it's causing issues with analytics reporting. For example, we can't get accurate search usage reports in Google Analytics, and our reports are showing the full subdomain and domain information rather than just the relative URL information.
Is there a way to turn this off, so the plugin just calls ['_trackPageview'] as it does on other pages without specifying the URL? Or do we have to hack the plugin code until (hopefully!) a future release addresses this?