Take the 2-minute tour ×

Here's my code:

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'x']);
  _gaq.push(['_setCustomVar', 1, 'business_id', 5, 3]);
  (function() {

I'm really not sure why they aren't coming across in GA. Any ideas?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I found the solution. The output for custom variables must be contained within quotes even if it's and integer.

share|improve this answer
Is it true that it takes 2 days for the data to show in async mode? I also didn't use quotes but it doesn't seem like solving the problem. –  Rápli András Nov 24 '13 at 14:38

Your Answer


