I searched around this site to try to find a similar answer, but I had no luck.
What I'm trying to do is set up an image, ad, or button and tag in it with event listeners, so that I can track events. I've managed to do this, but what I really need is something that will let me gather the interaction data of each individual, provide a unique id for each individual, and gather real-time event interaction information, so that I can record and possibly act on different events based on user interaction.
I was looking into google analytics for this because I can see the real-time events, but I don't know if it is possible to call these events in the way I explained. Ideally there would be an api call I could make with a populated unique id to pull in the event interaction information in real time.
Any help or direction would be greatly appreciated.
Thanks!