To add custom events to your landing pages you simply add an "Activity" event to your button. The Activity event requires three parameters. Custom events can be added to any action a user might take from viewing a specific page or section a specific option on a form.
- The event that raised the action, this is provided automatically by the browser you don't need to do anything other than to make sure it is present.
- The type of activity you wish to record, currently, only " Tags are supported tag"
- The value you want to assign for the activity "Upsizer"
Example Button
<button role="button" onclick="Activity(event,'tag','Upsizer')" class="btn btn-primary"><i class="fas fa-coffee fa-7x"></i></button>
Supported Tags
- Upsizser
- DownSizer
Tip: Before you can begin using custom event please ensure you have installed the tracking code on your website if you are using a for created withing the marketing hub the tracking code is automatically added.