After speaking with a Google Analytics support person, he says that for cross/multiple domain tracking to work the domains as well as 'require' and 'linker' should be in single quotes. Here's how it is on our site now:

(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");ga("create", "UA-xxxxxxx-4", {"cookieDomain":"auto","allowLinker":true});ga("require", "linker");ga("linker:autoLink", ["mysite.org","www.mysite.org","www.mysite.org","xxx.mysite.org","my.mysite.org","xx.mysite.org","mysite.org"]);ga("send", "pageview");

Attached is a screen shot showing the results of the Google Tag Assistant erroring with Unknown method name: 'linker:autoLink'

If you look at the Google docs this is what's recommended, notice, single quotes.

https://support.google.com/analytics/answer/1034342?hl=en

Edit the tracking code on the secondary domain.
Find the create line in the snippet. Make the following changes to the snippet (the changes you need to make are inbold red text):
ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['example-1.com'] );
Remember to replace the example tracking ID (UA-XXXXXX-Y) with your own tracking ID, and replace the example primary domain (example-1.com) with your own primary domain name.
The tracking code snippet must contain these changes every place it appears on your secondary domain.
For three or more domains
Follow the example above, but add the other domains to the autoLink plugin. Even the additional comma here is important:
ga('linker:autoLink', ['example-1.com', 'example-3.com'] );

Is there at least a work around using the advanced options in the module?

CommentFileSizeAuthor
linker.png27.29 KBrkudyba
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rkudyba created an issue. See original summary.

hass’s picture

Category: Bug report » Support request
Status: Active » Fixed

Bullshit. Ask the google guy if he is any idea about javascript or is developer.

hass’s picture

Issue tags: -linker:autoLink, -double quotes, -single quotes, -cross domain

Tag abuse.

rkudyba’s picture

Ok so what is the unknown method name error?

rkudyba’s picture

Issue summary: View changes
hass’s picture

A bug in google tag assistent. Tell them they need to fix it.

rkudyba’s picture

But the domains are not showing in the GA reports. Which module file has the double quotes so I can test using single quotes?

I reported the bug to Google awaiting a response.

hass’s picture

Have you seen this known issue?

Have you ever used search feature in your editor?

rkudyba’s picture

Look like it's the same problem.

What do you mean by using the search feature in the editor?

Also confirmed with Google Tag Assistant maintainers it's a bug with the latest release.

Status: Fixed » Closed (fixed)

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

alexharries’s picture

Hass, your responses are extreme bordering on the unacceptable. Before I report your attitude to the moderation team, is there some kind of history between you and rkudyba which might explain this?

Otherwise, this is completely beyond the pale.

Alex