Analytics
5.9K members online now
5.9K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

GA not capturing custom variable data

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

We have tracking issue in custom variable data, page URL is http://goo.gl/EUsvYW . Request you to please help us to resolve the issue and suggest if we are missing out on some technical thing while implementing the GA code with custom variable.

 

Thanks

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Kamlesh S
March 2016

Re: GA not capturing custom variable data

Rising Star
# 2
Rising Star
HI Kamlesh,

Why don't you try to create your tracker first then set your custom dimensions and then send your pageview.

You can also set multiple dimensions in an array or add to the pageview push. The important thing is to set the dimensions after the tracker is created and before (or with) the pageview.

more on that here

https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets#overview

Best,

Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Kamlesh S
March 2016

Re: GA not capturing custom variable data

Rising Star
# 2
Rising Star
HI Kamlesh,

Why don't you try to create your tracker first then set your custom dimensions and then send your pageview.

You can also set multiple dimensions in an array or add to the pageview push. The important thing is to set the dimensions after the tracker is created and before (or with) the pageview.

more on that here

https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets#overview

Best,

Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn