DTXplatform: Example Tags

  • Updating your tag with the right parameters such as subid, feedID etc is vital to earning more and being open to more demand sources




  • Example Redirect Tag Publishers may enter their own text after the subid=โ€exampleโ€ https://xml.dtxplatform.net/redirect?feed=FEED_ID&auth=AUTH_CODE&url=https://YOUR_URL&subid=SUD_ID


  • Example Pop tag


<script>
window.adk_pdisp = {'h' : 'xml.dtxplatform.net',
'f' : ZONE_ID,
'a' : 'AUTH_CODE',
'ps' : [1],
'cin' : 4,
's' : 'replace-with-some-dynamic-subid',
'q' : [],
't' : 1,
};
</script>
<script src='//static.dtxplatform.net/tabu/display.js'></script>

  • Example Tab under tag

<script>
window.adk_pdisp = {'h' : 'xml.dtxplatform.net',
'f' : 243902,
'a' : 'j9F48y',
'ps' : [1],
'cin' : 4,
's' : 'replace-with-some-dynamic-subid',
'q' : [],
't' : 1,
'op': {'chrome': 'tabu'}
};
</script>
<script src='//static.dtxplatform.net/tabu/display.js'></script>

the following parameters are included in your JS Pop and Tab under tags: h: f: feed ID (mandatory) a: authentication ID (mandatory) ps: 1 (fixed value) cin: 4 (fixed value) s: subid (optional) q: site category (optional) t: frequency cap in hours (optional)


  • Example In-Page Push Tag Code

<script>
(function(i,n,p,a,g,e){
i.inpagepush = i.inpagepush || function() {
(i.inpagepush.q=(i.inpagepush.q||[])).push(arguments)
};
var s=n.getElementsByTagName('head')[0];
var q=n.createElement('script'); q.async=1;
q.src='//static.dtxplatform.net/inpage/inpage.js';
s.appendChild(q);
i.inpagepush('init', {
host: 'xml.dtxplatform.net',
feed: 243902,
auth : 'j9F48y',
subid: '1',
refresh: 25,
position: 'bottom',
slots: 3,
query : 'inpage',
z_index: 88888
});
i.inpagepush('show');
})(window, document);
</script>

refresh - refresh period in seconds, position - 'bottom' and 'top' are showing ads in right-bottom or right-top corner slots - max number of ads to show per "refresh" layout : 'mobile_mini' makes the widget more condensed on mobile devices``********

Last updated