Creating and manage options accessible from anywhere. In this example we will create two options to track the status of a certain process.
The counter method provides counting functionality accessible from anywhere. In this example we will create two counter to count the recurrence of events on a specific input.
In this example we are creating a method to manage the result of events triggered by multiple elements. When a method has succeeded, it will fire an interaction.
We can trigger an interaction before exiting a certain page, by specifying a path. This type of interaction is trigger once per path.
In this example, on the click of a button, we are loading and embeing the contents of an interaction.