How to Add Integration Snippet on Website

Modified on Thu, 12 Dec, 2024 at 5:27 AM

The final step is to add Header Bidding Integration snippet code inside the <head></head> tags of your code.


You can find Integration Snippet in the Site Settings (Sites tab (1) → "Edit" button (2)).



Integration Script Tab

  1. An integration script (1) that is generated for the selected site and should be implemented.
  2. Integration mode (2) - types of integration scripts:
    1. Standard - code that should be implemented in the <head> section of the page instead of the gpt.js script. Since there is no way to do “sync loading” of js file which is added dynamically, our snippet loads gpt.js itself when our script is ready or failed to load.
    2. Expert - basic Header Bidding script. Must be implemented higher in the code than gpt.js.
    3. Note: All types of scripts must be installed in the <head> section of the page.
  3. Postpones script load until page is loaded - allows to call snippet only once page is fully loaded.
  4. Amazon Pub ID (3) - in case you work with Amazon Unified Marketplace, we support parallel integration with UAM. You just have to enable this feature, enter your UAM pub id and implement a newly generated snippet on the page.
  5. Test mode (4) - allows you to run an auction on the selected percentage of traffic.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article