I couldn't find the right answer in google analytics documentation or even here so I suppose my situation is rare. I would like to have a microservice in node.js that will gather information from the website and send it to google analytics. The thing is I don't want to add/import anything related with google analytics on the frontend service because I have multiple clients using that application. Some of them wants that solution (GA) but some of them don't.
Is there any way to send events from frontend to node.js microservice and then push it up to Google Analytics account without frontend knowing about Google Analytics?
Kind regards, Matt