Implementing the Browsi tag inside <head>
of your site will allow Browsi to serve ads intelligently by using its machine learning engine and predictive algorithms. The AI will make user behaviour predictions on your site and decide the best ad placement for your ads.
Implementing the script in the <head>
Connect to your Browsi representative to get a Browsi tag per site
Copy / Paste the code snippet at the highest position of the
<head>
tag on every page of your website.Code Block <head> <meta charset="utf-8"> <title>Hello World</title> <script src="https://cdn.browsiprod.com/bootstrap/bootstrap.js" id="browsi-tag" data-pubkey="Browsi" // will be provided by Browsi data-sitekey="browsi" // will be provided by Browsi </script> </head>
Info |
---|
💡 The engine is written in native("vanilla") javascript and runs asynchronously when loaded which means that our code is processed simultaneously to the rest of the page content. Your site will run normally without having the script interfere while your site is being loaded. |
Implementing Browsi via PreBid Real-Time Data Module
The Browsi Real-Time Data Module will give your team features to optimize any ad inventory and see an instant improvement in Viewability & RPM
...
Code Block |
---|
pbjs.setConfig({ "realTimeData": { dataProviders:[{ "name": "browsi", "params": { "url": "yield-manager.browsiprod.com", "siteKey": "site", "pubKey": "publisher", "keyName":"browsiViewability" } }] } }); |
Script Architecture
The script runs multiple asynchronous functions on the web page in order to execute its smart ad placements:
...