Rich-text Reply

Auto-populate custom variable not showing on Google Analytics Integration

kelvinkyaw 09-15-16

Auto-populate custom variable not showing on Google Analytics Integration

Hello All Optimizely expert, 

 

I'm totaly new in using Optimizely. I just sign up last a few day ago and problem on intergration with Google Analytics. Here a few step that I done before.

 

Screenshot_1.png

 

Screenshot_2.png

 

Screenshot_3.png

 

Actually, it more than 24 hours. But, I haven't see custom variable (key) in Google Analytics. Is that a way to solve this or any other approach. I want to check the metric that how long user stay in our website and bounce rate accroding to my experiment setting.

 

robertchan 09-15-16
 

Re: Auto-populate custom variable not showing on Google Analytics Integration

You need to create a custom dimension and report. You can check out what I wrote about this on this link: https://community.optimizely.com/t5/Using-Optimizely/Integrating-Optimizely-and-Universal-Analytics-...
Robert Chan

kelvinkyaw 09-16-16
 

Re: Auto-populate custom variable not showing on Google Analytics Integration

Hi Robert,

Thanks for your reply. Actually, my site is not using Google Universal Analytics. It's just Google Analytics. Do you have any detail for Google Analytics.

My GA Sample Code is

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
inigam 09-16-16
 

Re: Auto-populate custom variable not showing on Google Analytics Integration

[ Edited ]

Hi Mate

just noticed that you have selected CV5 in Optimizely, Tracking is also going to CV5 and you are looking in CV1 in GA?
Is that an oversight?

PS - Only 15 days remaining !!

Regards,
IN


Level 6
robertchan 09-16-16
 

Re: Auto-populate custom variable not showing on Google Analytics Integration

I still believe you'll need a custom dimension. Here's a link directly to the screenshot of what I had when I was sending custom events to GA: http://imgur.com/WjeuQkp
Robert Chan