When a user clicks on a link to an external site, this event is normally not captured because the user is leaving the site where Oppla runs. However, you can use events to track this behavior.
To track outbound links, add data attributes to the anchor tag containing the external link. When the tag is clicked, the event will be triggered. For example:
If you don’t want to manually update all your anchor tags, use the following script to automatically add the event attributes to all outbound tags. Place this script at the bottom of your HTML body:
After implementing the above, verify the tracking by clicking on an outbound link and checking the Events section in your Oppla dashboard.💡 For further guidance, visit our Help Center or reach out to support.