When using Media from MyAffiliates, both HTML and JavaScript code can be used to display a banner. However, there is an important difference in how impressions are tracked.
JavaScript CodeThe JavaScript code is recommended when displaying a banner on a website.When the JavaScript code is used, MyAffiliates can track both:
HTML CodeThe raw HTML code can be used when JavaScript cannot be used, such as in emails or other unusual scenarios.When the HTML code is used, impressions are not tracked, as impression tracking requires the JavaScript version of the code.However, clicks will still be tracked correctly.
Note: If impression tracking is required, affiliates should use the JavaScript code rather than the raw HTML code.
Was this article helpful?
Thank you for your feedback!
You are related to multiple companies. Please select the company you wish to login as.