Inconsistent multi-domain behavior

Created on 30 November 2014, about 10 years ago
Updated 6 July 2023, over 1 year ago

1. select 'Multiple top-level domains' in Google Analytics module settings
2. configure 2 domains: test.loc, test.com
3. configure CDN aliases to download static files within st.test.loc (=test.loc) & st.test.com (=test.com)

===

Behavior A. Google linker (googleanalytics.module, line 314, 'ga("linker:autoLink", ...') will interpret all sub-domains as internal links and will mark them with tracker ID.

Behavior B. Google Analytics module (googleanalytics.js, line 110, 'var isInternal = new RegExp(...') will interpret only current domain as internal link.

Expected: similar behavior for both systems - either sub-domains are not tracked in both systems or tracked in both. I prefer the second variant.

===

Behavior A. When link to ZIP file belongs to current domain - download event is tracked.

Behavior B. When link to ZIP file belongs to different domain from the group - download event is NOT tracked.

Expected: When link to zip file belongs to domain from the group - download events should be tracked.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia ursaj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    With the sunset of legacy google analytics, the 8.x-2.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.

Production build 0.71.5 2024