Analytics
2.5K 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

Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I created 2 custom dimensions but when I check the report I didn't found my data.

 

My code is :

 

ga('set', 'dimension1', '4444');
ga('set', 'dimension2', '2015-11-10');
ga('send', 'pageview');

 

dimension scope is: hit

 

tks

1 Expert replyverified_user

Re: Custom report with custom dimension is empty

Top Contributor
# 2
Top Contributor
Hi,

first check if the dimension slots have been created in the Admin section (property level). Could you also send the custom report settings (dimensions and metrics you used in creating the custom report). For some cases it can take some time, 24h, till the CD data becomes available in custom reports.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi,

This is my config :

Code: StudentId
scope: hit
active: true

The script is :

(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-47869876-1', 'auto');
ga('set', 'dimension1', 'idg-5656');
ga('send', 'pageview');

I choose in the repport custom dimention "StudentId" and metric pageview from users

thanks

Re: Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
this is debug :

Initializing Google Analytics.
analytics_debug.js:9 Running command: ga("create", "UA-47869876-1", "auto")
analytics_debug.js:9 Creating new tracker: t0
analytics_debug.js:9 Auto cookieDomain found: "218labs.ma"
analytics_debug.js:9 Running command: ga("send", "pageview", {dimension1: "7878"})
analytics_debug.js:9
Sent beacon:
v=1&_v=j40d&a=1254525674&t=pageview&_s=1&dl=http%3A%2F%2F218labs.ma%2Ftest_ga.html%3Fstudent_id%3D42257675&ul=fr&de=windows-1252&sd=24-bit&sr=1280x800&vp=1275x452&je=1&fl=19.0%20r0&_u=AACAAEABI~&jid=&cid=191316436.1415201729&tid=UA-47869876-1&cd1=7878&z=829659986


analytics_debug.js:9 _j1 (&jid)
analytics_debug.js:9 adSenseId (&a) 1254525674
analytics_debug.js:9 apiVersion (&v) 1
analytics_debug.js:9 clientId (&cid) 191316436.1415201729
analytics_debug.js:9 dimension1 (&cd1) 7878
analytics_debug.js:9 encoding (&de) windows-1252
analytics_debug.js:9 flashVersion (&fl) 19.0 r0
analytics_debug.js:9 hitType (&t) pageview
analytics_debug.js:9 javaEnabled (&je) 1
analytics_debug.js:9 language (&ul) fr
analytics_debug.js:9 location (&dl) http://218labs.ma/test_ga.html?student_id=42257675
analytics_debug.js:9 screenColors (&sd) 24-bit
analytics_debug.js:9 screenResolution (&sr) 1280x800
analytics_debug.js:9 trackingId (&tid) UA-47869876-1
analytics_debug.js:9 viewportSize (&vp) 1275x452

Re: Custom report with custom dimension is empty

Top Contributor
# 5
Top Contributor
Hi,

based on the debug it should all be ok. Are there any filters you are using to exclude some internal hits or something that can influence data collection?

Also check if the custom report now reports on the data (check the date range selected.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Hi, It is ok now Is it possible to save source and support with hit scope ou I need to change it to user ou session ? tks Abderrahmane MAGHLAOUI WebLab FIX : +212 537 75 38 94 GSM: +212 678 11 77 05

Re: Custom report with custom dimension is empty

Top Contributor
# 7
Top Contributor
Hi,

for source and medium this should better be used as a session or user scope dimensions - how and when the value will be passed is a different matter where you will probably resort to using CRM data if available or store cookie info on initial referrer (soure / medium info).

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭
Hi, I changed the scope to session, so now I can use source /medium as main dimension and my custom dimension as secondary dimension ? thanks, Abderrahmane MAGHLAOUI WebLab FIX : +212 537 75 38 94 GSM: +212 678 11 77 05

Re: Custom report with custom dimension is empty

Top Contributor
# 9
Top Contributor
You can use it in any case but it will answer a diferrent questions - for hit level how many times a value has been passed for a CD and for session level in how many sessions did the value happen.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Custom report with custom dimension is empty

Visitor ✭ ✭ ✭
# 10
Visitor ✭ ✭ ✭
Hi, I have another issue withe custom dimension I linked google analytic with google adwords This source of link is tracked : http://www.mundiapolisexecutive.ma/demande-d-information?gclid=CLvRqJ-Zl8kCFUX4wgodSdQGOg but this not : http://www.mundiapolisexecutive.ma/demande-d-information?utm_source=NetAffiliation&utm_medium=Lead&u... Do you have an idea ? the scop of this custom dimension is session thanks, Abderrahmane MAGHLAOUI WebLab FIX : +212 537 75 38 94 GSM: +212 678 11 77 05