In case that you are doing affiliate marketing and driving traffic to other websites or you have a multiple checkout pages buttons and you would like to know what works best, labeling the links can be a good solution for you.
💡 By labeling your links you will be able to export all the events and make decisions regarding which elements work better or which affiliate button is more clicked than the other.
How to label your links?
1. First find your button link in the HTML, for example:
<a href="https://anytrack.il">Click Here</a>
2. You can add two different attributes:
id - You can call it "button 1" or the name of the client that you drive traffic to.
data-label - Usually the visual text on the button, you can also change it as you wish.
You have to add this attribute with your chosen value and add it after the URL part in the HTML:
id="here you label"
data-label="here you label"
<a href="https://anytrack.il" id="UseCoupon" data-label="Gringo Checkout">Click Here</a>
Now the events from this button will be generated with those details:
When you will export the conversions in the conversion events section, you will be able to see the labels as well: