Hi @joshua.burdick, I’m trying to incorporate dyanmic ad units into my website and am running into some issues.
Firstly, I am having trouble changing the
utm_medium parameter for links generated by the script.
This is my code:
<script id="tcg-a1" data-affcode="SixPrizes" data-width="300" data-height="250" data-category-id="1" data-campaign="affiliate" data-source="SixPrizes" data-medium="sidebar_box" src="https://content.tcg20life.com/tcgafa.js" async> </script>
And this is what the resulting “Buy Now” links in the carousel have as parameters:
I had assumed the
data-medium parameter would correlate, but the
utm_medium value always ends up as
affiliateAd. I was hoping to differentiate between ad types and positions so that I could track how each performs individually in my earnings reports.
Am I doing it wrong, or can this behavior be updated?
Secondly, when the carousel fails to load, the fallback image is linked straight to
https://www.tcgplayer.com/ without any affiliate parameters added on. Can this be updated to include the affiliate parameters?
Thirdly, I noticed that if have a browser tab open with a dynamic ad unit, and I lose my internet connection, my CPU usage goes way up (my laptop fan kicks on, which it almost never does), seemingly due to the ad unit trying to poll for more content but failing to retrieve any. My uninformed guess would be that there’s a memory leak in this scenario.