node.jsgoogle-analyticsuniversal-analytics

Google analytics events shows up in the realtime events but doesn't shows up in behavior Events tab


When i send an event to google analytics it shows up in the real time. But not available in behavior events tab (Even after 3 days). So, I am not able to make of it in reports.

enter image description here

const ua = require("universal-analytics");
const config = require("../config");

const analytics = ua("UA-1xxxxxxx-x", "ae21bb3e-0e53-4054-89d6-a5bbecc485e7", {
  requestOptions: {
    proxy: config.externalHttpProxy
  }
});

analytics.event(
    {
       "eventCategory": "Team",
       "eventAction": "ADD_USER_TO_TEAM",
       "cd1": "team-new",
       "cd3": "user1",
       "cd4": "2020-09-02T17:07:48",
       "cd5": "30"
    },
    err => {
      if (err) {
        log.error("Error occurred while sending event to ga", err);
      }
    }
);

Am i missing anything here?


Solution

  • Once I uncheck "Bot Filtering" checkbox in view settings, all those events started showing in the behavior events tab after 12hrs.

    enter image description here

    Note: We can send only max 500 events per session. If we post more than 500 events, those were not processed. So, it will not be visible in behavior tab.