We tried Google Analytics Statistics on a multilingual site but we couldn't get it to work for languages with prefixes.
I have created a patch which try to dissolve the aliases from Googla Analytics even when it has a language prefix.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alduya’s picture

Issue summary: View changes
alduya’s picture

Status: Active » Needs review
FileSize
1.95 KB

I tried the initial patch and this works, but only for sites using path prefixes, not for sites using language domains. I changed the patch so that it works with both.

szeidler’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Tested patch in #2 for 7.x-1.0-beta2 and 7.x-1.0-dev. Works like charm.

marcelovani’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Reviewed & tested by the community » Needs review

Can anyone confirm that the patch works with the 2.x branch?