# Integration

# Tags & SDK



# JavaScript Tag (Basic)

##### Summary

Generate the JavaScript code required to display the Popunder ad format on your website. Configure the display behavior, generate the script, and add it to your website pages.

##### Before You Begin

- Role: Webmaster
- Required information:
    - Approved Site traffic source
    - Website with access to the HTML source
- Estimated time: 3-5 minutes

<p class="callout warning">****Important!**** <span style="white-space: pre-wrap;">JavaScript code is available only for </span>****Site**** <span style="white-space: pre-wrap;">traffic sources. If your traffic source type is </span>****Link****, create and approve a Site Source before continuing.</p>

##### Steps

1. Open your approved Site source. After your Site Source has been approved, navigate to: Sources - Your Source. Open the source that will be used for the Popunder format.
2. Open the Code page. Click the Code button to open the JavaScript code configuration page.
3. Select the display type![site_code_v060726.jpg](https://wiki.dao.ad/uploads/images/gallery/2026-07/scaled-1680-/site-code-v060726.jpg)
4. 1. Pop Up
    2. Pop Under
    3. Tab Up
    4. Tab Under
5. Configure the display frequency. Select how often the script can display an advertisement to the same visitor.![site_code_v060726.png](https://wiki.dao.ad/uploads/images/gallery/2026-07/scaled-1680-/site-code-v060726.png)Possible time range: 30 minutes – 24 hours
6. Configure the delay. Specify how many seconds should pass before the first advertisement is displayed.![site_code_v060726 (1).png](https://wiki.dao.ad/uploads/images/gallery/2026-07/scaled-1680-/site-code-v060726-1.png)
7. Configure UTM parameters (optional). This helps identify traffic sources in your analytics platform.![site_code_v060726 (2).png](https://wiki.dao.ad/uploads/images/gallery/2026-07/scaled-1680-/site-code-v060726-2.png)
8. Generate the JavaScript code. Click Get Script.![site_code_v060726 (3).png](https://wiki.dao.ad/uploads/images/gallery/2026-07/scaled-1680-/site-code-v060726-3.png)
9. Copy the entire generated code.
10. <span style="white-space: pre-wrap;">Install the code. Paste the generated JavaScript immediately before the closing </span>`<span class="editor-theme-code"></body></span>`<span style="white-space: pre-wrap;"> tag on every page where Popunder ads should be displayed.</span>
11. After the code is published on your website, traffic will start being monetized automatically.

##### Troubleshooting

****Issue:**** The Code button is unavailable.

****Solutions:**** If you have not received the authorization code.  
Verify that:

\- your traffic source has been approved;  
\- the source type is Site;  
\- you have permission to access the source.

****Issue:****<span style="white-space: pre-wrap;"> Advertisements are not displayed.</span>

****Solution:****

Check that:

- <span style="white-space: pre-wrap;">the JavaScript code is installed before the closing </span>`<span class="editor-theme-code"></body></span>`<span style="white-space: pre-wrap;"> tag;</span>
- browser extensions or ad blockers are disabled during testing;
- the website is publicly accessible;
- <span style="white-space: pre-wrap;">the selected ad format is </span>****Pop Under****.

##### Related

- [Site vs Link](https://wiki.dao.ad/books/getting-started-QiA/page/site-vs-link "Site vs Link")
- [Create a Site Source](https://wiki.dao.ad/books/getting-started-QiA/page/create-a-site-source "Create a Site Source")
- [Site/App Approval](https://wiki.dao.ad/books/getting-started-QiA/page/siteapp-approval "Site/App Approval")
- JavaScript Tag (Advanced)
- Placement Rules

#####   


##### Last Updated

2026-07-06 · Owner: wiki@dao.ad

</body>