-
Notifications
You must be signed in to change notification settings - Fork 0
Click Tracker Macros
Melody Li edited this page Sep 10, 2018
·
6 revisions
Yieldmo tags support Click Tracker Macros. To pass a click macro to the Yieldmo placement, add the data-click-tracker attribute to the placement tag, such that the final placement tag might look something like this:
<div id="ym_1234567890" class="ym" data-click-tracker="%%CLICK_URL_UNESC%%"></div>
<script type="text/javascript">!function (e, t) { if (void 0 === t._ym) { var a = Math.round(5 * Math.random()
/ 3) + ''; t._ym = ''; var m = e.createElement('script'); m.type = 'text/javascript', m.async = !0, m.src
'//static.yieldmo.com/ym.'+ a + '.js', (e.getElementsByTagName('head')[0] || e.getElementsByTagName('body') .
[0]).appendChild(m) } else t._ym instanceof String || void 0 === t._ym.chkPls || t._ym.chkPls() }(document,
window);</script>