To apply tags when a user visits a specific page on your site, the simplest method is to use our meta box in the page settings to configure the tags to apply.
However, you may want to track engagement with external links, file downloads, or other buttons that don’t qualify as separate pages. You can do so using this feature.
First enable the feature from the Advanced section of the general WP Fusion settings tab.
When creating your links, switch into the “Text” mode of the editor, and structure your link HTML like the following:
<a href="http://externalsite.com/" data-apply-tags="Tag One, Tag Two">Click Me</a>
When the link is clicked, the tags will automatically be applied to the user.
You can also use link click tracking on other elements. For example, to apply a tag when a form is submitted, add the
data-apply-tags parameter to the submit button like so:
<input type="submit" value="Submit" data-apply-tags="123,456">
data-apply-tags attribute can be added to any HTML element.