Set eVar Once per Visit
I want to set the value of an eVar on the first hit of every visit.
Customer Care suggested I use the getValOnce plugin but it's not clear how/if this would give me what I want in DTM
I want to set the value of an eVar on the first hit of every visit.
Customer Care suggested I use the getValOnce plugin but it's not clear how/if this would give me what I want in DTM
Hi,
All AppMeasurement plugins would be deployed inside the Analytics tool in DTM. You would need to ensure your library management setting is set to custom. This will allow you to open an editor that looks similar to if you were to deploy the AppMeasurement file directly to your site. Once you've gotten to this point, you should be able to deploy the plugin using the documentation.
Once the function is deployed in the do plugins section, you could set up a data element using a custom script to fire the function call.

Once the data element is setup, you would set whichever eVar you're using equal to the data element.
Please let me know if you have additional questions.
Cheers,
Jantzen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.