Classic Google Analytics Events Not Appearing in Behavior Reports

I’m having trouble with my Google Analytics setup. I can see event data in the Real Time reports but nothing shows up in the Behavior > Events > Overview section. I’m using the old version of Analytics with this tracking code:

<script type='text/javascript'>
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-12345678-1']);
  _gaq.push(['_setDomainName', 'mysite.com']);
  _gaq.push(['_trackPageview']);

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

<script>
  $(document).ready(function() {
    $('.action-btn').each(function(){
      $(this).text($(this).attr('data-action'));
    });

    $('.action-btn').on('click', function(){
      var actionName = $(this).attr('data-action');
      _gaq.push(['_trackEvent', 'Button_Clicks', actionName, 'homepage']);
      console.log('Event tracked: ' + actionName);
    });
  });
</script>

<div class='button-container'>
  <button class='action-btn' data-action='PRESS_HOME'></button>
  <button class='action-btn' data-action='PRESS_ABOUT'></button>
  <button class='action-btn' data-action='PRESS_CONTACT'></button>
  <button class='action-btn' data-action='PRESS_SERVICES'></button>
  <button class='action-btn' data-action='PRESS_PORTFOLIO'></button>
</div>

The real time events work fine but I need them to show in the main reports. What am I missing here?

Yeah, this is super common with Classic Analytics. Events show up instantly in real-time but take 24-48 hours to appear in behavior reports - Google processes that data differently for historical stuff.

Your tracking code looks fine, but here’s the real problem: Classic Analytics is getting killed off completely. You’re gonna hit a wall soon anyway.

Why not automate your analytics instead of fighting with dead tech? Set up event tracking that pushes data everywhere at once - GA4, your database, whatever you need. You can even trigger actions based on user behavior.

I just built something that grabs button clicks, runs them through conditional logic, sends formatted data to GA4, updates our CRM, and shoots Slack notifications for big events. No more waiting 48 hours to see if stuff actually works.

The automation handles event formatting, validates data, and has backups if services go down. Way more reliable than crossing your fingers with Classic Analytics.

Latenode’s great for building this kind of analytics automation: https://latenode.com