Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
There is some code that need to be ported to the new universal analytics API, but the required code is currently not documented by Google or need your help in coding. Feel free to jump in and help with patches.
Proposed resolution
Help porting.
Remaining tasks
- #2136031: Implement custom dimensions and custom metrics will be handled there.
User interface changes
Metrics and dimensions need a new interface like Add fields interface.
API changes
Google API has changed completely.
Completed tasks
- #2246797: Adsense: Univeral analytics integration - (#1871934: Support Adsense in "One domain with multiple subdomains" and "Multiple top-level domains")
- #1833578: Add support Enhanced Link Attribution
- #1741514: Use the doubleclick.net URL instead of the google-analytics.com one
- Many documentation links are broken.
- #2189493: Support cross domain autolinking
- New docs added: Cross Domain Auto Linking
https://developers.google.com/analytics/devguides/collection/analyticsjs...
- New docs added: Cross Domain Auto Linking
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThere is new information about universal analytics and cross domain tracking:
https://developers.google.com/analytics/devguides/collection/analyticsjs...
Comment #1.0
hass CreditAttribution: hass commentedUpdated issue summary.
Comment #2
hass CreditAttribution: hass commentedI think I have this already working based on some forum posts from Google Developers. Changing Issue summary now.
Are you able to test it, please?
Comment #3
hass CreditAttribution: hass commentedUps, no - I missed this in googleanalytics.js.
Comment #3.0
hass CreditAttribution: hass commentedUpdated issue summary.
Comment #4
hass CreditAttribution: hass commentedNew docs added: Cross Domain Auto Linking
https://developers.google.com/analytics/devguides/collection/analyticsjs...
Comment #5
Rob1106 CreditAttribution: Rob1106 commentedIs there an ETA of the multi-domain tracking capabilities, and possibly a final 7.2 release? This would save us a lot of work in setting up cross-domain tracking.
Comment #6
hass CreditAttribution: hass commentedCan you ask Google when they release the feature, please?
You can use 7.x-1.x
Comment #7
Rob1106 CreditAttribution: Rob1106 commentedMaybe I misunderstood, but I got the feeling that the cross-domain tracking functionality is already well documented in the Google Analytics dev guide?
But you very likely know more than me about this feature, so if it is not working yet we'll just have to wait.
I know I could use 7.x-1.x to set-up cross-domain tracking (although I have problems with adding different GA code for different domains since we're running a multi-domain website), but with the new UA code it should be a lot easier to set this up.
Comment #8
hass CreditAttribution: hass commentedUps - I forgot about my comment #4. Can you share a patch, please?
Comment #9
Rob1106 CreditAttribution: Rob1106 commentedNot sure what you mean there about the patch?
Comment #10
hass CreditAttribution: hass commentedYou can provide a fix for the broken/missing parts in module code or pay me for doing it for you.
Comment #11
Rob1106 CreditAttribution: Rob1106 commentedNo code fix here. What would it cost for you to implement the functionality?
Comment #11.0
Rob1106 CreditAttribution: Rob1106 commentedUpdated issue summary.
Comment #11.1
hass CreditAttribution: hass commenteda
Comment #12
Les LimAdded a related issue for Custom Dimensions and Metrics: #2136031: Implement custom dimensions and custom metrics
Comment #13
Bevan CreditAttribution: Bevan commentedComment #14
hass CreditAttribution: hass commentedComment #15
hass CreditAttribution: hass commentedComment #16
johnennew CreditAttribution: johnennew commentedAdded link to sub task to add cross domain auto linking
Comment #17
JuliaKM CreditAttribution: JuliaKM commentedThanks for such a useful module. Are all three tickets release blockers or is there the potential for an alpha release before all three are resolved?
Comment #20
hass CreditAttribution: hass commentedComment #25
hass CreditAttribution: hass commentedComment #26
hass CreditAttribution: hass commentedComment #27
hass CreditAttribution: hass commented