As documented here allowLinker must be added to the list of supported field names.

CommentFileSizeAuthor
#1 2295817.patch389 byteslussoluca

Comments

lussoluca’s picture

StatusFileSize
new389 bytes
hass’s picture

Not really. It's an cross domain tracking key only and the module does all the magic for you - automatically! Why are you trying to add it manually?

hass’s picture

Category: Feature request » Support request
Status: Active » Fixed

  • hass committed 2ee4b7c on 8.x-2.x
    Issue #2295817 by hass: Notification if 'allowLinker' is used in create...

  • hass committed 647f9d3 on 7.x-2.x
    Issue #2295817 by hass: Notification if 'allowLinker' is used in create...

  • hass committed 2a31071 on 7.x-2.x
    Issue #2295817 by hass: Notification if 'allowLinker' is used in create...

  • hass committed 037d54a on
    Issue #2295817 by hass: Notification if 'allowLinker' is used in create...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

drubage’s picture

What do you mean "the module does all the magic for you - automatically"? In old Analytics we had to use these lines for cross-domain tracking:

_gaq.push(['_setDomainName', '.example.com']);
_gaq.push(['_setAllowLinker', true]);

The recommended way to do cross-domain tracking now is by doing this is it not?

ga('create', 'UA-XXX-Y', 'example.com', {allowLinker: true});

drubage’s picture

Status: Closed (fixed) » Active
hass’s picture

Status: Active » Closed (fixed)

Bullshit. In both previous and today versions the module adds this automatically for you if you configure multidomain. If you do it yourself you run into a lot of fail functions.

drubage’s picture

So that multi-domain setting forces you to enter all the domains we want to track. We don't even know all the domains that might have outbound links on a website so we need to be able to check multi domain but NOT specify the domains. If there is a way to do it just let me know and we'll try it.

hass’s picture

Google does not support that you do not specify Your cross domains. You must specify Your cross domains or it cannot work.

davemybes’s picture

Google actually does support this and a whole lot of other "Create only fields" options now: https://developers.google.com/analytics/devguides/collection/analyticsjs.... The patch at the top of the page works perfectly.