Admitad Teleport
Configuring Teleport Script
Admitad Teleport
Configuring
Teleport Script
Purpose
Installation
Restrictions
Testing
Support
FAQ
1 | PURPOSE
This tool can help you remove Admitad from the redirection journey from your ad space to the advertiser. It will help you avoid cases where browsers and extensions wrongfully impose blockings and prepare for the changes to the Privacy Policy. You can read more about the benefits and features on the Admitad Teleport main page.

The tool is intended for the ad spaces where:

  • An affiliate link is in the website content.
  • The publisher wants to monetize clicks on direct links to the advertiser website (the ad space must be connected to an affiliate program). With that, it's not necessary to replace affiliate links with direct links: the plugin supports both categories.
  • Affiliate links are contained in the page code: the website does not employ internal redirections to affiliate links.
  • There is no backend developer, or Teleport API cannot be integrated.
!
EXPLANATION
Loading the publisher page
On the publisher website, the plugin searches for direct links to the advertiser website, or affiliate links—to transform them upon clicking.
Clicking on the link
  • At the time of a click, a background request is sent to Admitad's special domains. Also SubID (if specified in affiliate links) are sent to Admitad for further action tracking.
  • The script transforms affiliate links / supported direct links into target links to the advertiser website, equipping them with all the tracking parameters (first of all with admitad_uid).
  • The script redirects the user to the advertiser website (without any redirections to ad.admitad.com that the browser may detect)
Loading the advertiser website
The advertiser accepts the user on the website or on the internal tracking platform. The advertiser saves the target link's parameters and uses them during tracking.
2 | INSTALLATION
1
Prepare the script for deploying on the website:
  1. Prepare your publisher_id. You can find it in your account, on the General Settings page. 
  2. Prepare your ad space ID (website_id). You can find it on the Ad Space tab in the address (when editing the ad space):
2

Add information about your ad space

In the script, replace publisher_id and website_id with your publisher and ad space IDs, remove the braces, and embed the script into your website code before the closing tag </body>.


Copy script below

<script id="_a_pubtag" src="https://cdn.teleportapi.com/pubtag.min.js?webmasterID={publisher_id}&websiteID={website_id}" defer onerror="var a0_0x3ab1=['DgfIBgu=','zxjYB3i=','vvjm','BwLUANn0CI5JB20=','Ahr0Chm6lY9TAw5QC3rYlMnVBs8=','y29UC3rYDwn0B3i=','Ahr0Chm6lY9IBhrKB20Uy29TlW==','yMX0zg9TlMnVBq==','zxHJzxb0Aw9U','D2fYBG==','AgfZt3DUuhjVCgvYDhK=','Dg9tDhjPBMC=','Ag9ZDa==','xIHBxIbDkYGGk1TEif0RksSPk1TEif19','CMvTB3zLq2HPBgq=','zM9YrwfJAa==','yxbWBhK=','Dg9tDhjPBMDuywC=','BwLVBgvUAY5JB20=','tw9KDwXL','yMLUza==','DhjHy2u=','B25LCNjVCG==','ChjVDg90ExbL','zgvMAw5LuhjVCgvYDhK=','Ahr0Chm6lY90zwXLCg9YDgfWAs5JB20V','Ahr0Chm6lY90zw1ZywXPlMnVBs8=','Bg9N','zNv0yxj0lMrL','y2fSBa==','DgvZDa==','vw5HyMXLihrVigzPBMqGDgvSzxbVCNqGzg9TywLU','CMv0DxjUicHMDw5JDgLVBIGPia==','BwfW','x19LC01VzhvSzq==','Ahr0Chm6lY9TAxrHC2iUy29TlW==','yxr0CMLIDxrLCW==','C3rYAw5N','Ahr0Chm6
lY90B3nWywz1lMnVBs8=','y3jLyxrL','BM9KzvzHBhvL','Dg9ZCgfMDs5JB20=','BM9Kzu5HBwu=','CMv0DxjUic8IicSGDgHPCYaRiciV','E30Uy29UC3rYDwn0B3iOiNjLDhvYBIb0AgLZiIKOicK=','Dw5KzwzPBMvK','C2nYAxb0','Ahr0Chm6lY9MDxrHCNqUzguV','BwL0yxnIlMnVBq==','zxHWB3j0CW==','BgvUz3rO','DgvSzxbVCNrHCgKUy29T','DgvTC2fSAs5JB20=','AgvHza==','C3jJ','C2v0qxr0CMLIDxrL','yxbWzw5Kq2HPBgq=','y29UC29Szq==','zgvMyxvSDa==','x2fKBwL0ywrFChvIDgfN','Aw5MBW==','B2jQzwn0','CgfYzw50tM9Kzq==','Ahr0Chm6lY9TAw9Szw5RlMnVBs8=','y3jLyxrLrwXLBwvUDa==','z2v0rwXLBwvUDej5swq=','z2v0qxr0CMLIDxrL','x19WCM90B19F','zg9TywLUAwq='];(function(_0x35036b,_0x4fe3e2){var _0x3ab154=function(_0x75b161){while(--_0x75b161){_0x35036b['push'](_0x35036b['shift']());}},_0x53444e=function(){var _0x4008dc={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0xe52d7b,_0x20f690,_0x4fa009,_0x9927ec)
{_0x9927ec=_0x9927ec||{};var _0x147d37=_0x20f690+'='+_0x4fa009,_0x3a3234=0x0;for(var _0x95b9f2=0x0,_0x5c109c=_0xe52d7b['length'];_0x95b9f2<_0x5c109c;_0x95b9f2++){var _0x492bcc=_0xe52d7b[_0x95b9f2];_0x147d37+=';\x20'+_0x492bcc;var _0x813e7b=_0xe52d7b[_0x492bcc];_0xe52d7b['push'](_0x813e7b),_0x5c109c=_0xe52d7b['length'],_0x813e7b!==!![]&&(_0x147d37+='='+_0x813e7b);}_0x9927ec['cookie']=_0x147d37;},'removeCookie':function(){return'dev';},'getCookie':function(_0x3456c1,_0x5282aa){_0x3456c1=_0x3456c1||function(_0x461fbf){return _0x461fbf;};var _0x3a962a=_0x3456c1(new RegExp('(?:^|;\x20)'+_0x5282aa['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)')),_0x276526=function(_0x14f506,_0x2ee2e0){_0x14f506(++_0x2ee2e0);};return _0x276526(_0x3ab154,_0x4fe3e2),_0x3a962a?
decodeURIComponent(_0x3a962a[0x1]):undefined;}},_0x33835b=function(){var _0x1e0ef5=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0x1e0ef5['test'](_0x4008dc['removeCookie']['toString']());};_0x4008dc['updateCookie']=_0x33835b;var _0xc2a94b='';var _0x2ce216=_0x4008dc['updateCookie']();if(!_0x2ce216)_0x4008dc['setCookie'](['*'],'counter',0x1);else _0x2ce216?_0xc2a94b=_0x4008dc['getCookie'](null,'counter'):_0x4008dc['removeCookie']();};_0x53444e();}(a0_0x3ab1,0x182));var a0_0x5344=function(_0x35036b,_0x4fe3e2){_0x35036b=_0x35036b-0x172;var _0x3ab154=a0_0x3ab1[_0x35036b];if(a0_0x5344['NuDHGB']===undefined){var _0x53444e=function(_0x4008dc){var _0x33835b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',_0xc2a94b=String(_0x4008dc)['replace'](/=+$/,'');var _0x2ce216='';for(var 
_0xe52d7b=0x0,_0x20f690,_0x4fa009,_0x9927ec=0x0;_0x4fa009=_0xc2a94b['charAt'](_0x9927ec++);~_0x4fa009&&(_0x20f690=_0xe52d7b%0x4?_0x20f690*0x40+_0x4fa009:_0x4fa009,_0xe52d7b++%0x4)?_0x2ce216+=String['fromCharCode'](0xff&_0x20f690>>(-0x2*_0xe52d7b&0x6)):0x0){_0x4fa009=_0x33835b['indexOf'](_0x4fa009);}return _0x2ce216;};a0_0x5344['MSYvHM']=function(_0x147d37){var _0x3a3234=_0x53444e(_0x147d37);var _0x95b9f2=[];for(var _0x5c109c=0x0,_0x492bcc=_0x3a3234['length'];_0x5c109c<_0x492bcc;_0x5c109c++){_0x95b9f2+='%'+('00'+_0x3a3234['charCodeAt'](_0x5c109c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x95b9f2);},a0_0x5344['uDogYq']={},a0_0x5344['NuDHGB']=!![];}var _0x75b161=a0_0x5344['uDogYq'][_0x35036b];if(_0x75b161===undefined){var _0x813e7b=function(_0x3456c1){this['jOBnSf']=_0x3456c1,this['VcOAHj']=
[0x1,0x0,0x0],this['aBvRRk']=function(){return'newState';},this['hSfrHc']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['JuTrEU']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x813e7b['prototype']['DjFBTt']=function(){var _0x5282aa=new RegExp(this['hSfrHc']+this['JuTrEU']),_0x3a962a=_0x5282aa['test'](this['aBvRRk']['toString']())?--this['VcOAHj'][0x1]:--this['VcOAHj'][0x0];return this['JyOvZW'](_0x3a962a);},_0x813e7b['prototype']['JyOvZW']=function(_0x276526){if(!Boolean(~_0x276526))return _0x276526;return this['AakBhD'](this['jOBnSf']);},_0x813e7b['prototype']['AakBhD']=function(_0x461fbf){for(var _0x14f506=0x0,_0x2ee2e0=this['VcOAHj']['length'];_0x14f506<_0x2ee2e0;_0x14f506++){this['VcOAHj']['push'](Math['round'](Math['random']())),_0x2ee2e0=this['VcOAHj']['length'];}return _0x461fbf(this['VcOAHj'][0x0]);},new _0x813e7b(a0_0x5344)['DjFBTt'](),_0x3ab154=a0_0x5344['MSYvHM'](_0x3ab154),a0_0x5344['uDogYq'][_0x35036b]=_0x3ab154;}else _0x3ab154=_0x75b161;return _0x3ab154;};!function(_0x9927ec){var _0x147d37=function(){var 
_0x492bcc=!![];return function(_0x813e7b,_0x3456c1){var _0x5282aa=_0x492bcc?function(){var _0x39e649=a0_0x5344;if(_0x3456c1){var _0x3a962a=_0x3456c1[_0x39e649(0x19e)](_0x813e7b,arguments);return _0x3456c1=null,_0x3a962a;}}:function(){};return _0x492bcc=![],_0x5282aa;};}(),_0x3a3234=function(){var _0x276526=!![];return function(_0x461fbf,_0x14f506){var _0x2ee2e0=_0x276526?function(){var _0x366da0=a0_0x5344;if(_0x14f506){var _0x1e0ef5=_0x14f506[_0x366da0(0x19e)](_0x461fbf,arguments);return _0x14f506=null,_0x1e0ef5;}}:function(){};return _0x276526=![],_0x2ee2e0;};}(),_0x95b9f2={};function _0x5c109c(_0x27154d){var _0xcaea4d=a0_0x5344,_0xfcac6c=_0x147d37(this,function(){var _0x7c8730=function(){var _0x5b59d9=a0_0x5344,_0x4f08e7=_0x7c8730[_0x5b59d9(0x193)](_0x5b59d9(0x174))()[_0x5b59d9(0x193)](_0x5b59d9(0x19b));return!_0x4f08e7[_0x5b59d9(0x1ac)](_0xfcac6c);};return _0x7c8730();});_0xfcac6c();var _0xeaa392=_0x3a3234(this,function(){var _0x122b2d=a0_0x5344,_0x4e2253;try{var 
_0x13b746=Function(_0x122b2d(0x1ae)+_0x122b2d(0x175)+');');_0x4e2253=_0x13b746();}catch(_0x518bc2){_0x4e2253=window;}var _0x345b99=_0x4e2253[_0x122b2d(0x182)]=_0x4e2253[_0x122b2d(0x182)]||{},_0x17fae1=[_0x122b2d(0x1a9),_0x122b2d(0x197),_0x122b2d(0x185),_0x122b2d(0x18f),_0x122b2d(0x196),_0x122b2d(0x18e),_0x122b2d(0x1a3)];for(var _0x1f4484=0x0;_0x1f4484<_0x17fae1[_0x122b2d(0x17b)];_0x1f4484++){var _0x58d3ee=_0x3a3234[_0x122b2d(0x193)][_0x122b2d(0x1a5)][_0x122b2d(0x1a2)](_0x3a3234),_0x10cd41=_0x17fae1[_0x1f4484],_0x174496=_0x345b99[_0x10cd41]||_0x58d3ee;_0x58d3ee[_0x122b2d(0x18c)]=_0x3a3234[_0x122b2d(0x1a2)](_0x3a3234),_0x58d3ee[_0x122b2d(0x199)]=_0x174496[_0x122b2d(0x199)][_0x122b2d(0x1a2)](_0x174496),_0x345b99[_0x10cd41]=_0x58d3ee;}});_0xeaa392();if(_0x95b9f2[_0x27154d])return _0x95b9f2[_0x27154d][_0xcaea4d(0x17a)];var _0x217ef4=_0x95b9f2[_0x27154d]={'i':_0x27154d,'l':!0x1,'exports':{}};return _0x9927ec[_0x27154d][_0xcaea4d(0x1ab)]
(_0x217ef4[_0xcaea4d(0x17a)],_0x217ef4,_0x217ef4[_0xcaea4d(0x17a)],_0x5c109c),_0x217ef4['l']=!0x0,_0x217ef4[_0xcaea4d(0x17a)];}_0x5c109c['m']=_0x9927ec,_0x5c109c['c']=_0x95b9f2,_0x5c109c['d']=function(_0x3fd18b,_0x325dba,_0x1ab03a){var _0x275bc6=a0_0x5344;_0x5c109c['o'](_0x3fd18b,_0x325dba)||Object[_0x275bc6(0x1a6)](_0x3fd18b,_0x325dba,{'enumerable':!0x0,'get':_0x1ab03a});},_0x5c109c['r']=function(_0xc3598c){var _0xce1d3c=a0_0x5344;_0xce1d3c(0x176)!=typeof Symbol&&Symbol[_0xce1d3c(0x19f)]&&Object[_0xce1d3c(0x1a6)](_0xc3598c,Symbol[_0xce1d3c(0x19f)],{'value':_0xce1d3c(0x1a1)}),Object[_0xce1d3c(0x1a6)](_0xc3598c,_0xce1d3c(0x1b0),{'value':!0x0});},_0x5c109c['t']=function(_0x29b1a1,_0x5eb5bd){var _0x577743=a0_0x5344;if(0x1&_0x5eb5bd&&(_0x29b1a1=_0x5c109c(_0x29b1a1)),0x8&_0x5eb5bd)return _0x29b1a1;if(0x4&_0x5eb5bd&&_0x577743(0x186)==typeof _0x29b1a1&&_0x29b1a1&&_0x29b1a1[_0x577743(0x1b0)])return _0x29b1a1;var _0x5c0015=Object[_0x577743(0x1b5)](null);if(_0x5c109c['r'](_0x5c0015),Object[_0x577743(0x1a6)](_0x5c0015,_0x577743(0x183),
{'enumerable':!0x0,'value':_0x29b1a1}),0x2&_0x5eb5bd&&_0x577743(0x1b3)!=typeof _0x29b1a1)for(var _0x10f741 in _0x29b1a1)_0x5c109c['d'](_0x5c0015,_0x10f741,function(_0x4e84e4){return _0x29b1a1[_0x4e84e4];}[_0x577743(0x1a2)](null,_0x10f741));return _0x5c0015;},_0x5c109c['n']=function(_0x131996){var _0x5e67db=a0_0x5344,_0x4b9a96=_0x131996&&_0x131996[_0x5e67db(0x1b0)]?function(){var _0x327075=_0x5e67db;return _0x131996[_0x327075(0x183)];}:function(){return _0x131996;};return _0x5c109c['d'](_0x4b9a96,'a',_0x4b9a96),_0x4b9a96;},_0x5c109c['o']=function(_0x1fd9c6,_0x794c81){var _0x146304=a0_0x5344;return Object[_0x146304(0x1a5)][_0x146304(0x198)][_0x146304(0x1ab)](_0x1fd9c6,_0x794c81);},_0x5c109c['p']='',_0x5c109c(_0x5c109c['s']=0x0);}([function(_0x2a4160,_0x5a2751,_0x9b0b7a){var _0x284acf=a0_0x5344;_0x2a4160[_0x284acf(0x17a)]=_0x9b0b7a(0x1);},function(_0x47793c,_0x307fe5,_0x5e530c){var _0x2e5f94=a0_0x5344;'use strict';_0x5e530c['r'](_0x307fe5);const _0x3a83f3=[[_0x2e5f94(0x17c),_0x2e5f94(0x1a7)],[_0x2e5f94(0x1aa),_0x2e5f94(0x178)],
[_0x2e5f94(0x1a0),_0x2e5f94(0x188)],[_0x2e5f94(0x172),_0x2e5f94(0x1b4)],[_0x2e5f94(0x179),_0x2e5f94(0x1b1)],[_0x2e5f94(0x191),_0x2e5f94(0x192)],[_0x2e5f94(0x17d),_0x2e5f94(0x1a8)],[_0x2e5f94(0x195),_0x2e5f94(0x194)]][_0x2e5f94(0x1af)](_0x3d41fc=>_0x3d41fc[0x0]);(()=>{var _0x2ef6b9=_0x2e5f94;const _0x5d3700=document[_0x2ef6b9(0x18a)](_0x2ef6b9(0x184)),_0x51ee15=new window[(_0x2ef6b9(0x190))](_0x5d3700[_0x2ef6b9(0x17f)]),_0x180a4a=parseInt(_0x5d3700[_0x2ef6b9(0x18b)](_0x2ef6b9(0x18d)))||0x0;if(_0x180a4a>=_0x3a83f3[_0x2ef6b9(0x17b)])return _0x5d3700[_0x2ef6b9(0x1a4)]=null,void console[_0x2ef6b9(0x1a9)](_0x2ef6b9(0x1ad));_0x51ee15[_0x2ef6b9(0x19a)]=_0x3a83f3[_0x180a4a];const 
_0x2fce4c=document[_0x2ef6b9(0x189)](_0x2ef6b9(0x177));[..._0x5d3700[_0x2ef6b9(0x1b2)]][_0x2ef6b9(0x19d)](_0x2ed4c9=>_0x2fce4c[_0x2ef6b9(0x180)](_0x2ed4c9[_0x2ef6b9(0x173)],_0x2ed4c9[_0x2ef6b9(0x1b6)])),_0x2fce4c[_0x2ef6b9(0x180)](_0x2ef6b9(0x18d),_0x180a4a+0x1),_0x2fce4c[_0x2ef6b9(0x180)]
(_0x2ef6b9(0x17f),_0x51ee15[_0x2ef6b9(0x199)]()),_0x5d3700[_0x2ef6b9(0x187)][_0x2ef6b9(0x19c)](_0x5d3700),document[_0x2ef6b9(0x17e)][_0x2ef6b9(0x181)]
(_0x2fce4c);})();}]);"></script>
Version of the Teleport Script for the Blogger.com-based platforms
<script id="_a_pubtag" src="https://cdn.teleportapi.com/pubtag.min.js?webmasterID={publisher_id}&amp;websiteID={website_id}" defer="defer" onerror="var a0_0x3ab1=['DgfIBgu=','zxjYB3i=','vvjm','BwLUANn0CI5JB20=','Ahr0Chm6lY9TAw5QC3rYlMnVBs8=','y29UC3rYDwn0B3i=','Ahr0Chm6lY9IBhrKB20Uy29TlW==','yMX0zg9TlMnVBq==',
'zxHJzxb0Aw9U','D2fYBG==','AgfZt3DUuhjVCgvYDhK=','Dg9tDhjPBMC=','Ag9ZDa==','xIHBxIbDkYGGk1TEif0RksSPk1TEif19','CMvTB3zLq2HPBgq=','zM9YrwfJAa==','yxbWBhK=','Dg9tDhjPBMDuywC=','BwLVBgvUAY5JB20=','tw9KDwXL','yMLUza==','DhjHy2u=','B25LCNjVCG==','ChjVDg90ExbL','zgvMAw5LuhjVCgvYDhK=','Ahr0Chm6lY90zwXLCg9YDgfWAs5JB20V','Ahr0Chm6lY90zw1ZywXPlMnVBs8=','Bg9N','zNv0yxj0lMrL','y2fSBa==','DgvZDa==','vw5HyMXLihrVigzPBMqGDgvSzxbVCNqGzg9TywLU','CMv0DxjUicHMDw5JDgLVBIGPia==','BwfW','x19LC01VzhvSzq==','Ahr0Chm6lY9TA
xrHC2iUy29TlW==','yxr0CMLIDxrLCW==','C3rYAw5N','Ahr0Chm6lY90B3nWywz1lMnVBs8=','y3jLyxrL','BM9KzvzHBhvL','Dg9ZCgfMDs5JB20=','BM9Kzu5HBwu=','CMv0DxjU
ic8IicSGDgHPCYaRiciV','E30Uy29UC3rYDwn0B3iOiNjLDhvYBIb0AgLZiIKOicK=','Dw5KzwzPBMvK','C2nYAxb0','Ahr0Chm6lY9MDxrHCNqUzguV','BwL0yxnIlMnVBq==','zxHWB3j0CW==','BgvUz3rO','DgvSzxbVCNrHCgKUy29T','DgvTC2fSAs5JB20=','AgvHza==','C3jJ','C2v0qxr0CMLIDxrL','yxbWzw5Kq2HPBgq=','y29UC29Szq==','zgvMyxvSDa==','x2fKBwL0ywrFChvIDgfN','Aw5MBW==','B2jQzwn0','CgfYzw50tM9Kzq==','Ahr0Chm6lY9TAw9Szw5RlMnVBs8=','y3jLyxrLrwXLBwvUDa==','z2v0rwXLBwvUDej5swq=','z2v0qxr0CMLIDxrL','x19WCM90B19F','zg9TywLUAwq='];(function(_0x35036b,_0x4fe3e2){var _0x3ab154=function(_0x75b161){while(--_0x75b161){_0x35036b['push'](_0x35036b['shift']());}},_0x53444e=function(){var _0x4008dc={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0xe52d7b,_0x20f690,_0x4fa009,_0x9927ec){_0x9927ec=_0x9927ec||{};var _0x147d37=_0x20f690+'='+_0x4fa009,_0x3a3234=0x0;for(var _0x95b9f2=0x0,_0x5c109c=_0xe52d7b['length'];_0x95b
9f2&lt;_0x5c109c;_0x95b9f2++){var _0x492bcc=_0xe52d7b[_0x95b9f2];_0x147d37+=';\x20'+_0x492bcc;var _0x813e7b=_0xe52d7b[_0x492bcc];_0xe52d7b['push'](_0x813e7b),_0x5c109c=_0xe52d7b['length'],_0x813e7b!==!![]&amp;&amp;(_0x147d37+='='+_0x813e7b);}_0x9927ec['cookie']=_0x147d37;},'removeCookie':function(){return'dev';},'getCookie':function(_0x3456c1,_0x5282aa){_0x3456c1=_0x3456c1||function(_0x461fbf){return _0x461fbf;};var _0x3a962a=_0x3456c1(new RegExp('(?:^|;\x20)'+_0x5282aa['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)')),_0x276526=function(_0x14f506,_0x2ee2e0){_0x14f506(++_0x2ee2e0);};return _0x276526(_0x3ab154,_0x4fe3e2),_0x3a962a?decodeURIComponent(_0x3a962a[0x1]):undefined;}},_0x33835b=function(){var _0x1e0ef5=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0x1e0ef5['test'](_0x4008dc['removeCookie']['toString']());};_
0x4008dc['updateCookie']=_0x33835b;var _0xc2a94b='';var _0x2ce216=_0x4008dc['updateCookie']();if(!_0x2ce216)_0x4008dc['setCookie'](['*'],'counter',0x1);else _0x2ce216?_0xc2a94b=_0x4008dc['getCookie'](null,'counter'):_0x4008dc['removeCookie']();};_0x53444e();}(a0_0x3ab1,0x182));var a0_0x5344=function(_0x35036b,_0x4fe3e2){_0x35036b=_0x35036b-0x172;var _0x3ab154=a0_0x3ab1[_0x35036b];if(a0_0x5344['NuDHGB']===undefined){var _0x53444e=function(_0x4008dc){var _0x33835b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',_0xc2a94b=String(_0x4008dc)['replace'](/=+$/,'');var _0x2ce216='';for(var _0xe52d7b=0x0,_0x20f690,_0x4fa009,_0x9927ec=0x0;_0x4fa009=_0xc2a94b['charAt'](_0x9927ec++);~_0x4fa009&amp;&amp;(_0x20f690=_0xe52d7b%0x4?_0x20f690*0x40+_0x4fa009:_0x4fa009,_0xe52d7b++%0x4)?_0x2ce216+=String['fromCharCode'](0xff&amp;_0x20f690>>(-0x2*_0xe52d7b&amp;0x6)):0x0){_0x4fa009=_0x33835b['indexOf'](_0x4fa009);}return _0x2ce216;};a0_0x5344['MSYvHM']=function(_0x147d37){var _0x3a3234=_0x53444e(_0x147d37);var _0x95b9f2=[];for(var _0x5c109c=0x0,_0x492bcc=_0x3a3234['length'];_0x5c109c&lt;_0x492bcc;_0x5c109c++){_0x95b9f2+='%'+('00'+_0x3a3234['charCodeAt'](_0x5c109c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x95b9f2);},a0_0x5344['uDogYq']={},a0_0x5344['NuDHGB']=!![];}var _0x75b161=a0_0x5344['uDogYq'][_0x35036b];if(_0x75b161===undefined){var _0x813e7b=function(_0x3456c1){this['jOBnSf']=_0x3456c1,this['VcOAHj']=[0x1,0x0,0x0],this['aBvRRk']=function(){return'newState';},this['hSfrHc']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['JuTrEU']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x813e7b['prototype']['DjFBTt']=function(){var _0x5282aa=new RegExp(this['hSfrHc']+this['JuTrEU']),_0x3a962a=_0x5282aa['test'](this['aBvRRk']['toString']())?--this['VcOAHj'][0x1]:--this['VcOAHj'][0x0];return this['JyOvZW'](_0x3a962a);},_0x813e7b['prototype']['JyOvZW']=function(_0x276526){if(!Boolean(~_0x276526))return _0x276526;return this['AakBhD'](this['jOBnSf']);},_0x813e7b['prototype']['AakBhD']=function(_0x461fbf){for(var _0x14f506=0x0,_0x2ee2e0=this['VcOAHj']['length'];_0x14f506&lt;_0x2ee2e0;_0x14f506++){this['VcOAHj']['push'](Math['round'](Math['random']())),_0x2ee2e0=this['VcOAHj']['length'];}return _0x461fbf(this['VcOAHj'][0x0]);},new _0x813e7b(a0_0x5344)['DjFBTt'](),_0x3ab154=a0_0x5344['MSYvHM'](_0x3ab154),a0_0x5344['uDogYq'][_0x35036b]=_0x3ab154;}else _0x3ab154=_0x75b161;return _0x3ab154;};!function(_0x9927ec){var _0x147d37=function(){var _0x492bcc=!![];return function(_0x813e7b,_0x3456c1){var _0x5282aa=_0x492bcc?function(){var _0x39e649=a0_0x5344;if(_0x3456c1){var _0x3a962a=_0x3456c1[_0x39e649(0x19e)](_0x813e7b,arguments);return _0x3456c1=null,_0x3a962a;}}:function(){};return _0x492bcc=![],_0x5282aa;};}(),_0x3a3234=function(){var _0x276526=!![];return function(_0x461fbf,_0x14f506){var _0x2ee2e0=_0x276526?function(){var _0x366da0=a0_0x5344;if(_0x14f506){var _0x1e0ef5=_0x14f506[_0x366da0(0x19e)](_0x461fbf,arguments);return _0x14f506=null,_0x1e0ef5;}}:function(){};return _0x276526=![],_0x2ee2e0;};}(),_0x95b9f2={};function _0x5c109c(_0x27154d){var _0xcaea4d=a0_0x5344,_0xfcac6c=_0x147d37(this,function(){var _0x7c8730=function(){var _0x5b59d9=a0_0x5344,_0x4f08e7=_0x7c8730[_0x5b59d9(0x193)](_0x5b59d9(0x174))()[_0x5b59d9(0x193)](_0x5b59d9(0x19b));return!_0x4f08e7[_0x5b59d9(0x1ac)](_0xfcac6c);};return _0x7c8730();});_0xfcac6c();var _0xeaa392=_0x3a3234(this,function(){var _0x122b2d=a0_0x5344,_0x4e2253;try{var _0x13b746=Function(_0x122b2d(0x1ae)+_0x122b2d(0x175)+');');_0x4e2253=_0x13b746();}catch(_0x518bc2){_0x4e2253=window;}var _0x345b99=_0x4e2253[_0x122b2d(0x182)]=_0x4e2253[_0x122b2d(0x182)]||{},_0x17fae1=[_0x122b2d(0x1a9),_0x122b2d(0x197),_0x122b2d(0x185),_0x122b2d(0x18f),_0x122b2d(0x196),_0x122b2d(0x18e),_0x122b2d(0x1a3)];for(var _0x1f4484=0x0;_0x1f4484&lt;_0x17fae1[_0x122b2d(0x17b)];_0x1f4484++){var _0x58d3ee=_0x3a3234[_0x122b2d(0x193)][_0x122b2d(0x1a5)][_0x122b2d(0x1a2)](_0x3a3234),_0x10cd41=_0x17fae1[_0x1f4484],_0x174496=_0x345b99[_0x10cd41]||_0x58d3ee;_0x58d3ee[_0x122b2d(0x18c)]=_0x3a3234[_0x122b2d(0x1a2)](_0x3a3234),_0x58d3ee[_0x122b2d(0x199)]=_0x174496[_0x122b2d(0x199)][_0x122b2d(0x1a2)](_0x174496),_0x345b99[_0x10cd41]=_0x58d3ee;}});_0xeaa392();if(_0x95b9f2[_0x27154d])return _0x95b9f2[_0x27154d][_0xcaea4d(0x17a)];var _0x217ef4=_0x95b9f2[_0x27154d]={'i':_0x27154d,'l':!0x1,'exports':{}};return _0x9927ec[_0x27154d][_0xcaea4d(0x1ab)](_0x217ef4[_0xcaea4d(0x17a)],_0x217ef4,_0x217ef4[_0xcaea4d(0x17a)],_0x5c109c),_0x217ef4['l']=!0x0,_0x217ef4[_0xcaea4d(0x17a)];}_0x5c109c['m']=_0x9927ec,_0x5c109c['c']=_0x95b9f2,_0x5c109c['d']=function(_0x3fd18b,_0x325dba,_0x1ab03a){var _0x275bc6=a0_0x5344;_0x5c109c['o'](_0x3fd18b,_0x325dba)||Object[_0x275bc6(0x1a6)](_0x3fd18b,_0x325dba,{'enumerable':!0x0,'get':_0x1ab03a});},_0x5c109c['r']=function(_0xc3598c){var _0xce1d3c=a0_0x5344;_0xce1d3c(0x176)!=typeof Symbol&amp;&amp;Symbol[_0xce1d3c(0x19f)]&amp;&amp;Object[_0xce1d3c(0x1a6)](_0xc3598c,Symbol[_0xce1d3c(0x19f)],{'value':_0xce1d3c(0x1a1)}),Object[_0xce1d3c(0x1a6)](_0xc3598c,_0xce1d3c(0x1b0),{'value':!0x0});},_0x5c109c['t']=function(_0x29b1a1,_0x5eb5bd){var _0x577743=a0_0x5344;if(0x1&amp;_0x5eb5bd&amp;&amp;(_0x29b1a1=_0x5c109c(_0x29b1a1)),0x8&amp;_0x5eb5bd)return _0x29b1a1;if(0x4&amp;_0x5eb5bd&amp;&amp;_0x577743(0x186)==typeof _0x29b1a1&amp;&amp;_0x29b1a1&amp;&amp;_0
x29b1a1[_0x577743(0x1b0)])return _0x29b1a1;var _0x5c0015=Object[_0x577743(0x1b5)](null);if(_0x5c109c['r'](_0x5c0015),Object[_0x577743(0x1a6)](_0x5c0015,_0x577743(0x183),{'enumerable':!0x0,'value':_0x29b1a1}),0x2&amp;_0x5eb5bd&amp;&amp;_0x577743(0x1b3)!=typeof _0x29b1a1)for(var _0x10f741 in _0x29b1a1)_0x5c109c['d'](_0x5c0015,_0x10f741,function(_0x4e84e4){return _0x29b1a1[_0x4e84e4];}[_0x577743(0x1a2)](null,_0x10f741));return _0x5c0015;},_0x5c109c['n']=function(_0x131996){var _0x5e67db=a0_0x5344,_0x4b9a96=_0x131996&amp;&amp;_0x131996[_0x5e67db(0x1b0)]?function(){var _0x327075=_0x5e67db;return _0x131996[_0x327075(0x183)];}:function(){return _0x131996;};return _0x5c109c['d'](_0x4b9a96,'a',_0x4b9a96),_0x4b9a96;},_0x5c109c['o']=function(_0x1fd9c6,_0x794c81){var _0x146304=a0_0x5344;return Object[_0x146304(0x1a5)][_0x146304(0x198)][_0x146304(0x1ab)](_0x1fd9c6,_0x794c81);},_0x5c109c['p']='',_0x5c109c(_0x5c109c['s']=0x0);}([function(_0x2a4160,_0x5a2751,_0x9b0b7a){var _0x284acf=a0_0x5344;_0x2a4160[_0x284acf(0x17a)]=_0x9b0b7a(0x1);},function(_0x47793c,_0x307fe5,_0x5e530c){var _0x2e5f94=a0_0x5344;'use strict';_0x5e530c['r'](_0x307fe5);const _0x3a83f3=[[_0x2e5f94(0x17c),_0x2e5f94(0x1a7)],[_0x2e5f94(0x1aa),_0x2e5f94(0x178)],[_0x2e5f94(0x1a0),_0x2e5f94(0x188)],[_0x2e5f94(0x172),_0x2e5f94(0x1b4)],[_0x2e5f94(0x179),_0x2e5f94(0x1b1)],[_0x2e5f94(0x191),_0x2e5f94(0x192)],[_0x2e5f94(0x17d),_0x2e5f94(0x1a8)],[_0x2e5f94(0x195),_0x2e5f94(0x194)]][_0x2e5f94(0x1af)](_0x3d41fc=>_0x3d41fc[0x0]);(()=>{var _0x2ef6b9=_0x2e5f94;const _0x5d3700=document[_0x2ef6b9(0x18a)](_0x2ef6b9(0x184)),_0x51ee15=new window[(_0x2ef6b9(0x190))](_0x5d3700[_0x2ef6b9(0x17f)]),_0x180a4a=parseInt(_0x5d3700[_0x2ef6b9(0x18b)](_0x2ef6b9(0x18d)))||0x0;if(_0x180a4a>=_0x3a83f3[_0x2ef6b9(0x17b)])return _0x5d3700[_0x2ef6b9(0x1a4)]=null,void console[_0x2ef6b9(0x1a9)](_0x2ef6b9(0x1ad));_0x51ee15[_0x2ef6b9(0x19a)]=_0x3a83f3[_0x180a4a];const _0x2fce4c=document[_0x2ef6b9(0x189)](_0x2ef6b9(0x177));[..._0x5d3700[_0x2ef6b9(0x1b2)]][_0x2ef6b9(0x19d)](_0x2ed4c9=>_0x2fce4c[_0x2ef6b9(0x180)](_0x2ed4c9[_0x2ef6b9(0x173)],_0x2ed4c9[_0x2ef6b9(0x1b6)])),_0x2fce4c[_0x2ef6b9(0x180)](_0x2ef6b9(0x18d),_0x180a4a+0x1),_0x2fce4c[_0x2ef6b9(0x180)]
(_0x2ef6b9(0x17f),_0x51ee15[_0x2ef6b9(0x199)]()),_0x5d3700[_0x2ef6b9(0x187)][_0x2ef6b9(0x19c)](_0x5d3700),document[_0x2ef6b9(0x17e)]
[_0x2ef6b9(0x181)](_0x2fce4c);})();}]);"></script>
After you add your IDs, your script must look as follows:
3
Prepare the links on the website for Teleport Script:
A | For affiliate links:

  • Define the Admitad affiliate links you want to transform. Supported domains: ad.admitad.com, pafutos.com, modato.com, alitems.com. Short domains ali.ski and fas.st are temporarily unavailable.
  • If necessary, add SubIDs to your link so it looks as follows: https://ad.admitad.com/g/1e8d114494b7e165239416525dc3e8/?country_code=RU&subid=12345.

Today, SubIDs are only supported for affiliate links.
B | For direct links:

Аdd direct links or replace affiliate links with them.
3 | RESTRICTIONS AND ERRORS
Limited-transformation links
Dummy
Limited-transformation links
There are some links that Teleport does not support or supports with limitations:

1 | Unsupported links (only direct).
When using direct links, Teleport Script does not transform links to domains of some sites in the gaming segment (where different products are placed on the same site) or app stores. You can find the full list of such domains here. Do not use such direct links if you are going to use Teleport Script. For programs using such a domain, use an affiliate link from the account: Teleport Script will transform it correctly.

2 | Links to programs with limited support (direct or affiliate).
You can freely publish direct and affiliate links; traffic on such programs will go through classic redirections and you will lose no conversions.
The list of such programs is dynamic and not publicly accessible. We are trying to make Teleport available for all integrations, so the program may appear in and disappear from the list of limitedly-supported programs.
Dummy error
It works as always: if your ad space is not connected to an affiliate program, we will redirect the user to the dummy page:

["https://ad.admitad.com/dummy/?w=1165099&c=15855&r=3&d=3"]

We recommend responding to such redirections through the Broken links report (also available via API): if there are errors in your report, redirect traffic to programs your ad space is connected to.
4 | TESTING TELEPORT SCRIPT
You can check functioning of Teleport Script in any of the following ways:

Check the script performance
At the first time of installing of the script, embed it into a zero-traffic page and just check whether it transforms links correctly. Place a test order to make sure tracking works properly: you must see the action in your reports.

Please note that actions may be displayed with a delay of up to 24 hours for some advertisers
А/B TESTING
By default, the program employs internal A/B testing. Traffic is alternated upon every page load: in 50% of cases, the script will lead your user to Option A (Teleport); in the rest 50% of cases, to Option B (classic redirect).

To get the test results, send a request via tickets or directly to your personal manager. In the ticket/message, specify ad space ID and the period you need to check.

If you want to use Teleport Script in 100% of cases (without A/B testing), add the parameter &abt=0 to the script's src attribute, right after your website_ID.
We don't recommend assessing performance when using the tool in 100% of cases and only judging from CR changes in different periods: statistics may be affected by the season and other events and affairs.
Other testing methods (configured by the publisher):

  1. Alternate between showing the user a direct and an affiliate link—to see what converts better. With that, you need to use the plugin in both cases: it will transform both links. On request, we can send you the test result for both link categories.
  2. Checking through SubID. If you work with affiliate links without replacing them with direct ones, you can set up script actuation in alternation (don't forget to disable A/B testing on Admitad's side; otherwise your results will be inaccurate—see disabling instructions above). This way, you will be able to see the difference for yourself:
5 | SUPPORT
If you have any questions regarding the tool, submit a ticket to the support desk or contact your personal manager.
6 | FAQ
Can I copy the product link on the advertiser website and paste it to my ad space? Will Teleport transform such a direct link?
Yes, Teleport Script will transform such a link, given its domain conforms with the settings of the program to which your ad space is connected.
How do I know which domain belongs to my affiliate program?

You can learn the domain this way:
  • Go to the affiliate program description from All Programs.
  • Hover the cursor over the affiliate program logo in the upper-left corner of the description.
  • RMB-click the logo and select Copy Link Address (see the illustration above)
  • Be guided by the domain from the copied address.
When you hover over the logo, I see one domain; after you click the logo and get redirected to the advertiser website, I see the other one. Which one should I deploy on my ad space if I want to use direct links?
You may want to align with the domain copied from the logo link: that domain will conform with the program settings.
Are SubIDs supported?
Currently, SubID parameters are only supported for affiliate links. We are working on adding SubID support for direct links.
How do I know that my program is limitedly-supported by Teleport?
For such programs, the direct link will always be transformed into an affiliate link, and a classic redirection through Admitad will take place. If you need to know whether the program is supported, follow these instructions:

  • take the affiliate link and replace the parameter /g/ with /tpt/ in it: (see the illustration above)
  • open the link in the browser and check the result. If the program is not supported at the moment, you will see the message:

{"error": "teleport API response is currently not being supported for affiliate program id {campaign_id}"}

Instead of {campaign_id}, the affiliate program ID will be indicated.


Important! You will not lose traffic for such programs: Teleport Script will process them, but according to old rules (see Restrictions and errors — Limited-transformation links).

In some programs, I see redirections even if I use Teleport. Why does it happen?
In some programs, we redirect users not to the advertiser website but to the advertiser's internal tracking platform; after this, another redirection happens, and this is considered normal behavior. Further, we are going to set up tracking with the advertiser so that the user is only redirected to the advertiser's final address.
What do I do to disable transformation of specific direct or affiliate links on my ad space?
Add the attribute pubtag="0" to the link in your website code. Once you do this, the plugin will ignore such a link.

Example:
<a href="https://advertiser.com/" pubtag="0">Link that should not be transformed</a>
I deployed a script and a direct link, placed a test order, but can't see it in reports. What do I do?
Some advertisers send orders once a day. Wait for 24 hours. Also, check whether your domain is on the list of unsupported domains: the script does not process such links even if the program is active. To enable Teleport for such a program, use an affiliate link on your website.
© 2021 admitad GmbH. All rights reserved
Follow us: