I have a JS web application that I build once and ship to different clients. By ship I mean that I have the same build for them all, but I create a separate deployment and each deployment has its own domain name. Every client gets my app by logging to their deployment through the individual link.
I want to add google analytics to that so I know the usage of every client.
I want to do that by building just once and deploying the same build for everyone. (One executable not different for every client).
If I create separate properties in Google Analytics, I will have to build separately for everyone. Tagging every build for every client differently.
What is the right way to do what I need?