• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

Is it possible to send multiple events in a single call to Universal Analytics?

I want to register multiple events in Universal Analytics. Can this only be done in multiple calls, like so?

ga('send', 'event1', {
    eventCategory: 'category1',
    eventAction: 'click',
});

ga('send', 'event2', {
    eventCategory: 'category2',
    eventAction: 'click',
});

Open in new window


Or is there a syntax for sending multiple events in a single call?
0
Anthony Pangilinan
Asked:
Anthony Pangilinan
1 Solution
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Yes.

You'd do this by setting up GTM + then injecting your GA code into GTM + then generating GTM events.

Not difficult to do. Just time consuming to setup, step by step... debug step by step... ensure everything's working at 100%.

Better to hire someone to do this. Simple to do + as I said, time consuming to get right, based on setting up all your unique events.
0
 
Anthony PangilinanDeveloperAuthor Commented:
Thanks for the info! This ended up not being necessary so I just passed multiple events.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Become an IT Security Management Expert

In today’s fast-paced, digitally transformed world of business, the need to protect network data and ensure cloud privacy has never been greater. With a B.S. in Network Operations and Security, you can get the credentials it takes to become an IT security management expert.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now