AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.2K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Content Grouping using tracking code not working

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

I am testing content grouping on a small test site.

 

I have created content groups using 'rule sets' and these have all correctly resulted in grouped reports.

 

However, I have now tested using the tracking code to group and this has not produced any output (all reports for this content group show 'not set')

 

The code I am using is (analytics.js)

 

ga("set", "contentGroup2", "Second test category")

 

Interestingly, I installed the google analytics debugger extension for Chrome (https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna...) and looked at the output

 

Both

Running command: ga("create"...
Running command: ga("send"...

when expanded, have info lines underneath them showing activity.

 

However, the ga("set" ... shows nothing

There is the 'twisty' triangle to expand/collapse, but expanding on this one shows nothing underneath.

 

Should there be some information? Does this empty space suggest there is a problem?

Any help appreciated.
Running command: ga("set", "contentGroup2", "Second test category")

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Arnold Stang
January 2016

Re: Content Grouping using tracking code not working

Follower ✭ ☆ ☆
# 2
Follower ✭ ☆ ☆
SOLVED!
Didn't read the documentation fully, I had added the ga('set'... after the ga('send'... - it must be before.

All working now.

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Arnold Stang
January 2016

Re: Content Grouping using tracking code not working

Follower ✭ ☆ ☆
# 2
Follower ✭ ☆ ☆
SOLVED!
Didn't read the documentation fully, I had added the ga('set'... after the ga('send'... - it must be before.

All working now.