php-ga-measurement-protocol
php-ga-measurement-protocol copied to clipboard
Reset params after hit
After submitting a hit could the params be reset except the required ones like trackingId etc? Would this cause issues?
I'm thinking that my IoC can return a singleton Analytics object with the trackingId, clientId etc bootstrapped then after each hit the parameters are reset maintaining trackingId, clientId, etc
The way this is handled right now is just to create a new object, it's not possible (or too cumbersome) in your case to do this?