Back to Glossary
JS Variable
A JavaScript (JS) variable stores data on a webpage, such as user interactions or values. Marketers often use them to capture form inputs, clicks, or events for analytics and tracking.
For example, a JS variable might store the number of items added to a cart. This data can then be sent to analytics tools or used for personalization.
Understanding JS variables helps marketers work with developers to collect accurate data and run better tracking campaigns.
Explore more Glossary terms
Journey Personalization
Journey personalization extends personalization beyond the entry URL so that the signal context established when a visitor first arrives stays consistent across every page they navigate within the session.
Read More
JS Variable
A JavaScript (JS) variable stores data on a webpage, such as user interactions or values. Marketers often use them to capture form inputs, clicks, or events for analytics and tracking.
Read More