Rich-text Reply

Google Analytics Integration Problem

ValeriyV 02-29-16
Accepted Solution

Google Analytics Integration Problem

Hi,after starting a test and setting up integration with GA (universal) cant get data in GA.

We got and error in GA testing debugger tool http://puu.sh/npyfK/c00576c51c.png - screen

"Command ignored. Unknown target: undefined"

 

I have seen the thread:

https://community.optimizely.com/t5/Using-Optimizely/Google-Analytics-Integration/m-p/8600#M2061

and i still have a problem/

 

My GA code is:

/* Google Analytics */
var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-21757945-1']);
(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-21757945-1', 'auto');
// Optimizely Universal Analytics Integration
 window.optimizely = window.optimizely || [];
 window.optimizely.push("activateUniversalAnalytics");
 ga('send', 'pageview');ga('require', 'displayfeatures');ga('require', 'ecommerce', 'ecommerce.js');
/* /Google Analytics */
function SendSearchForm() {$('#searchform').submit();}

 

The page that we r testing is https://amurchik.ua/in.php

(with redirects to https://amurchik.ua/in2.php and https://amurchik.ua/in3.php)

 

We have set up the dimensions in GA http://puu.sh/npykQ/c71a87c11c.png - screen

Slot1

And in Optomizely http://puu.sh/npyoy/ccd311f36f.jpg - Slot1

 

We have also set a cutom report http://puu.sh/npysx/41ddef4624.png - screen. but it shows no data :(

Level 2

ValeriyV 03-01-16
 

Re: Google Analytics Integration Problem

Can someone help us with this? Smiley Sad

Level 2
ValeriyV 03-01-16
 

Re: Google Analytics Integration Problem

Problem Solved. Shouldnt have set Cutom tracker name (optional on the screenshot)
Level 2