We are using Snowplow in our organisation for tracking various events. We are also utilising global context functionality. However, we are running into an issue when we attach global contexts that already exist on the global scope. While checking the documentation we didn’t find any methods apart from
clearGlobalContexts. Could you please advise on how we can only
addGlobalContexts when there is no such
globalContext just yet? In other words, check if the context already exists and if not, add it (something like
getGlobalContexts method). We haven’t found any methods to do that in your documentation.
This is messing up our analytics a bit, so any ideas are appreciated. Thanks!