var rtxImg = document.createElement("img"); var cacheBuster = new Date().getTime(); var fp2 = new Fingerprint({canvas: true}); var rxUid = fp2.getNew()[0] + "_ocm_"; var trackingImg = document.createElement("img"); rtxImg.setAttribute('src', 'https://d.turn.com/r/dd/id/L21rdC84MTYvY2lkLzE3NDgwNjUwOTUvdC8y/kv/RevTraxID=' + rxUid); rtxImg.setAttribute('alt', ''); rtxImg.setAttribute('id', 'rtxnexperian'); rtxImg.setAttribute('width', '1'); rtxImg.setAttribute('height', '1'); document.getElementById('rtxexpdiv').appendChild( rtxImg );