How does one clear variables on a single page site?

One of our mobile apps is actually a single page site. As it doesn't refresh, it causes the values of data layer variables to become persistent.

 

For example: on page A a specific button is clicked which triggers an event with a specific name. When the visitor navigates to the next page, the name of that event is still set and recorded (with Adobe Analytics). This causes the count of that event to be inflated.

 

How would we be able to solve this?

Accepted Solutions (0)

Answers (0)