[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fpublishers\u002Finstall-code":3,"docs-nav":308},{"id":4,"title":5,"body":6,"description":299,"extension":300,"meta":301,"navigation":302,"order":303,"path":304,"seo":305,"stem":306,"__hash__":307},"docs\u002Fdocs\u002F3.publishers\u002F4.install-code.md","Install the code",{"type":7,"value":8,"toc":288},"minimark",[9,13,18,34,75,79,90,93,97,107,156,163,167,170,194,197,201,222,226,240,266,270,284],[10,11,12],"p",{},"Each sell order has its own script. Once it's on your pages and your domain is\napproved, your traffic starts selling.",[14,15,17],"h2",{"id":16},"get-the-code","Get the code",[10,19,20,21,25,26,29,30,33],{},"In ",[22,23,24],"strong",{},"Sell orders",", click ",[22,27,28],{},"Get code"," on the order. Copy the snippet from the\n",[22,31,32],{},"Code"," tab:",[35,36,37,50],"table",{},[38,39,40],"thead",{},[41,42,43,47],"tr",{},[44,45,46],"th",{},"Format",[44,48,49],{},"Snippet",[51,52,53,65],"tbody",{},[41,54,55,59],{},[56,57,58],"td",{},"Popunder",[56,60,61],{},[62,63,64],"code",{},"\u003Cscript src=\"https:\u002F\u002Fcdn.oxystc.com\u002Fscripts\u002Fpopunder\u002FORDER_ID.js\">\u003C\u002Fscript>",[41,66,67,70],{},[56,68,69],{},"Sticky banner",[56,71,72],{},[62,73,74],{},"\u003Cscript src=\"https:\u002F\u002Fcdn.oxystc.com\u002Fsticker\u002Fscripts\u002FORDER_ID.js\">\u003C\u002Fscript>",[14,76,78],{"id":77},"add-it-to-your-pages","Add it to your pages",[10,80,81,82,85,86,89],{},"Paste the snippet inside the ",[62,83,84],{},"\u003Chead>"," of your page or just before the closing\n",[62,87,88],{},"\u003C\u002Fbody>"," tag. Add it to every page where you want to sell traffic.",[10,91,92],{},"When you change a sell order's settings, you don't need to replace the code on\nyour site — the script picks the changes up.",[14,94,96],{"id":95},"pass-a-sub-id","Pass a sub ID",[10,98,99,100,102,103,106],{},"To see which part of your site the traffic comes from, add a sub ID. In the\n",[22,101,28],{}," window, enter it under ",[22,104,105],{},"Dynamic parameters → Sub ID",": letters and\nnumbers only, 1 to 16 characters. The snippet then carries it:",[108,109,114],"pre",{"className":110,"code":111,"language":112,"meta":113,"style":113},"language-html shiki shiki-themes github-light github-dark","\u003Cscript src=\"https:\u002F\u002Fcdn.oxystc.com\u002Fscripts\u002Fpopunder\u002FORDER_ID.js\" data-tox-sub-id=\"header\">\u003C\u002Fscript>\n","html","",[62,115,116],{"__ignoreMap":113},[117,118,121,125,129,133,136,140,143,145,148,151,153],"span",{"class":119,"line":120},"line",1,[117,122,124],{"class":123},"sVt8B","\u003C",[117,126,128],{"class":127},"s9eBZ","script",[117,130,132],{"class":131},"sScJk"," src",[117,134,135],{"class":123},"=",[117,137,139],{"class":138},"sZZnC","\"https:\u002F\u002Fcdn.oxystc.com\u002Fscripts\u002Fpopunder\u002FORDER_ID.js\"",[117,141,142],{"class":131}," data-tox-sub-id",[117,144,135],{"class":123},[117,146,147],{"class":138},"\"header\"",[117,149,150],{"class":123},">\u003C\u002F",[117,152,128],{"class":127},[117,154,155],{"class":123},">\n",[10,157,158,159,162],{},"Use a different sub ID on each placement and compare them in your statistics\nunder ",[22,160,161],{},"By Sub ID",".",[14,164,166],{"id":165},"add-the-lite-script-to-other-pages","Add the lite script to other pages",[10,168,169],{},"Put this lite script on the pages of your site that don't carry the popunder\ncode:",[108,171,173],{"className":110,"code":172,"language":112,"meta":113,"style":113},"\u003Cscript src=\"https:\u002F\u002Fcdn.oxystc.com\u002Fin.min.js\">\u003C\u002Fscript>\n",[62,174,175],{"__ignoreMap":113},[117,176,177,179,181,183,185,188,190,192],{"class":119,"line":120},[117,178,124],{"class":123},[117,180,128],{"class":127},[117,182,132],{"class":131},[117,184,135],{"class":123},[117,186,187],{"class":138},"\"https:\u002F\u002Fcdn.oxystc.com\u002Fin.min.js\"",[117,189,150],{"class":123},[117,191,128],{"class":127},[117,193,155],{"class":123},[10,195,196],{},"It lets our checks, such as stop words, work across your whole site.",[14,198,200],{"id":199},"direct-link","Direct link",[10,202,203,204,206,207,209,210,213,214,217,218,221],{},"Some accounts can also sell through a ",[22,205,200],{}," instead of a script — it\nappears as a second tab in ",[22,208,28],{}," when it's enabled for you. Add sub IDs\nas query parameters, for example ",[62,211,212],{},"?sub_id=mysite&sub_id_1=banner7",". ",[62,215,216],{},"sub_id_1","\nto ",[62,219,220],{},"sub_id_3"," take up to 9 characters each; longer values are ignored.",[14,223,225],{"id":224},"check-that-it-works","Check that it works",[10,227,228,229,232,233,236,237,239],{},"Open your site and click around as a visitor would. Within a few minutes your\norder's ",[22,230,231],{},"Imps (24h)"," and ",[22,234,235],{},"Sold (24h)"," in the ",[22,238,24],{}," list start to\ngrow. If nothing is sold, check that:",[241,242,243,257,260],"ul",{},[244,245,246,247,250,251,256],"li",{},"the domain is ",[22,248,249],{},"Approved"," in ",[252,253,255],"a",{"href":254},"\u002Fdocs\u002Fpublishers\u002Fdomains","My domains",";",[244,258,259],{},"the snippet belongs to the right sell order;",[244,261,262,263,162],{},"the order is ",[22,264,265],{},"active",[14,267,269],{"id":268},"related","Related",[241,271,272,278],{},[244,273,274],{},[252,275,277],{"href":276},"\u002Fdocs\u002Fpublishers\u002Fcreate-sell-order","Create a sell order",[244,279,280],{},[252,281,283],{"href":282},"\u002Fdocs\u002Fpublishers\u002Fstatistics","Read your statistics",[285,286,287],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":113,"searchDepth":289,"depth":289,"links":290},3,[291,293,294,295,296,297,298],{"id":16,"depth":292,"text":17},2,{"id":77,"depth":292,"text":78},{"id":95,"depth":292,"text":96},{"id":165,"depth":292,"text":166},{"id":199,"depth":292,"text":200},{"id":224,"depth":292,"text":225},{"id":268,"depth":292,"text":269},"Put your sell order's script on your site, pass a sub ID, and add the lite script to the rest of your pages.","md",{},true,null,"\u002Fdocs\u002Fpublishers\u002Finstall-code",{"title":5,"description":299},"docs\u002F3.publishers\u002F4.install-code","TRQ0OrUnm3oZbTYVGcM_073YsQMZlZkTWvhSiw-WK-Y",[309],{"title":310,"path":311,"stem":312,"children":313},"Docs","\u002Fdocs","docs",[314,318,344,398,429,454],{"title":315,"path":311,"stem":316,"description":317},"TrafficOX Documentation","docs\u002Findex","How to buy and sell traffic on TrafficOX — from your first top-up to tracking conversions.",{"title":319,"path":320,"stem":321,"children":322,"page":343},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[323,328,333,338],{"title":324,"path":325,"stem":326,"description":327},"Create your account","\u002Fdocs\u002Fgetting-started\u002Faccount","docs\u002F1.getting-started\u002F1.account","Sign up, confirm your email, complete your profile and secure your account.",{"title":329,"path":330,"stem":331,"description":332},"Top up your balance","\u002Fdocs\u002Fgetting-started\u002Ftop-up","docs\u002F1.getting-started\u002F2.top-up","Payment methods, minimum amounts, VAT, and what your first top-up unlocks.",{"title":334,"path":335,"stem":336,"description":337},"How your balance works","\u002Fdocs\u002Fgetting-started\u002Fbalance","docs\u002F1.getting-started\u002F3.balance","Buyer, seller and reserved balance — what each one holds, what you can spend and what you can withdraw.",{"title":339,"path":340,"stem":341,"description":342},"Referral program","\u002Fdocs\u002Fgetting-started\u002Freferrals","docs\u002F1.getting-started\u002F4.referrals","Invite advertisers and publishers with your link and earn 5% from them.",false,{"title":345,"path":346,"stem":347,"children":348,"page":343},"Advertisers","\u002Fdocs\u002Fadvertisers","docs\u002F2.advertisers",[349,354,359,364,369,374,379,384,389,393],{"title":350,"path":351,"stem":352,"description":353},"How buy orders work","\u002Fdocs\u002Fadvertisers\u002Fbuy-orders","docs\u002F2.advertisers\u002F01.buy-orders","What a buy order is, the ad formats you can buy, and what each order status means.",{"title":355,"path":356,"stem":357,"description":358},"Create a buy order","\u002Fdocs\u002Fadvertisers\u002Fcreate-buy-order","docs\u002F2.advertisers\u002F02.create-buy-order","Walk through the five steps of the order wizard — general settings, ads, targeting, pricing and limits.",{"title":360,"path":361,"stem":362,"description":363},"Targeting reference","\u002Fdocs\u002Fadvertisers\u002Ftargeting","docs\u002F2.advertisers\u002F03.targeting","Every targeting option in a buy order — what it does, its default, and how to narrow or block traffic.",{"title":365,"path":366,"stem":367,"description":368},"Landing pages and creatives","\u002Fdocs\u002Fadvertisers\u002Flanding-pages","docs\u002F2.advertisers\u002F04.landing-pages","Save landing page URLs and banner images in the Media Library, get them approved, and reuse them across orders.",{"title":370,"path":371,"stem":372,"description":373},"Track conversions","\u002Fdocs\u002Fadvertisers\u002Ftrack-conversions","docs\u002F2.advertisers\u002F05.track-conversions","Send conversions back to TrafficOX with a server-to-server postback or a pixel, and see cost per conversion and ROI in your stats.",{"title":375,"path":376,"stem":377,"description":378},"URL macros","\u002Fdocs\u002Fadvertisers\u002Furl-macros","docs\u002F2.advertisers\u002F06.url-macros","Placeholders you can put in your landing page URL — TrafficOX fills them in on every click.",{"title":380,"path":381,"stem":382,"description":383},"Domain filters","\u002Fdocs\u002Fadvertisers\u002Fdomain-filters","docs\u002F2.advertisers\u002F07.domain-filters","Keep lists of sites to buy from or to avoid, and attach them to your buy orders.",{"title":385,"path":386,"stem":387,"description":388},"Automation rules","\u002Fdocs\u002Fadvertisers\u002Fautomation-rules","docs\u002F2.advertisers\u002F08.automation-rules","Let TrafficOX raise or lower bids and black- or whitelist sources for you, based on your statistics.",{"title":283,"path":390,"stem":391,"description":392},"\u002Fdocs\u002Fadvertisers\u002Fstatistics","docs\u002F2.advertisers\u002F09.statistics","Where to find your numbers — the dashboard, order statistics and total stats — and what each metric means.",{"title":394,"path":395,"stem":396,"description":397},"Buy through an RTB feed","\u002Fdocs\u002Fadvertisers\u002Frtb-feeds","docs\u002F2.advertisers\u002F10.rtb-feeds","Connect your DSP endpoint so TrafficOX sends you bid requests and you answer with bids.",{"title":399,"path":400,"stem":401,"children":402,"page":343},"Publishers","\u002Fdocs\u002Fpublishers","docs\u002F3.publishers",[403,408,412,415,416,421,424],{"title":404,"path":405,"stem":406,"description":407},"How selling works","\u002Fdocs\u002Fpublishers\u002Fhow-selling-works","docs\u002F3.publishers\u002F1.how-selling-works","Sell orders, the formats you can sell, and how your sites are approved before traffic is bought.",{"title":409,"path":254,"stem":410,"description":411},"Add and verify your domains","docs\u002F3.publishers\u002F2.domains","Add your sites, prove you own them, and get them approved so their traffic is bought.",{"title":277,"path":276,"stem":413,"description":414},"docs\u002F3.publishers\u002F3.create-sell-order","Set up a placement — name, price floor, fallback URL and the settings for popunder or sticky banners.",{"title":5,"path":304,"stem":306,"description":299},{"title":417,"path":418,"stem":419,"description":420},"Better Ads status","\u002Fdocs\u002Fpublishers\u002Fbetter-ads","docs\u002F3.publishers\u002F5.better-ads","Check whether ad-quality lists and Chrome's filters affect your domains, and what to do if they do.",{"title":283,"path":282,"stem":422,"description":423},"docs\u002F3.publishers\u002F6.statistics","Your earnings, sold and returned traffic on the dashboard, per sell order and in total.",{"title":425,"path":426,"stem":427,"description":428},"Withdraw your earnings","\u002Fdocs\u002Fpublishers\u002Fwithdrawals","docs\u002F3.publishers\u002F7.withdrawals","Request a payout of your seller balance by Capitalist, Paxum or wire transfer.",{"title":430,"path":431,"stem":432,"children":433,"page":343},"Api","\u002Fdocs\u002Fapi","docs\u002F4.api",[434,439,444,449],{"title":435,"path":436,"stem":437,"description":438},"API authentication","\u002Fdocs\u002Fapi\u002Fauthentication","docs\u002F4.api\u002F1.authentication","Create an API key, authenticate your requests, and understand the API's conventions and errors.",{"title":440,"path":441,"stem":442,"description":443},"API quickstart","\u002Fdocs\u002Fapi\u002Fquickstart","docs\u002F4.api\u002F2.quickstart","Three requests to get going — check your account, pull yesterday's stats by country, and pause an order.",{"title":445,"path":446,"stem":447,"description":448},"API reference","\u002Fdocs\u002Fapi\u002Freference","docs\u002F4.api\u002F3.reference","Every endpoint of the TrafficOX API, grouped by what it manages.",{"title":450,"path":451,"stem":452,"description":453},"Statistics requests","\u002Fdocs\u002Fapi\u002Fstatistics","docs\u002F4.api\u002F4.statistics","Breakdowns, filters, sub-breakdowns and the fields returned by every statistics endpoint.",{"title":455,"path":456,"stem":457,"description":458},"Glossary","\u002Fdocs\u002Fglossary","docs\u002F5.glossary","The terms used across TrafficOX and these docs, in plain words.",1793025800275]