Ask a Question
Back to All

Should tag metadata persist across tabs?

I am using the JS agent to get a visitorId, and using the visitorId to get visitor data using the server API. When a user tries using our api, I check the tag metadata for timesUsedApi. If it exists, we increment the value by one, else we set it to 1. We use this value to allow access/not to our api. This method is working as expected, except the tag metadata is reset when a new tab is opened. Am I using tag wrong?