Taboola is a native ad network and content discovery platform that enables publishers to display native ads in their content. 

Activation code snippet

In the following activation code, both parameters are mandatory:

new Taboola (tenantUrl, template)


The values to initialize Taboola are in a customer's source code. 

The following is an example of a Taboola snippet code with the URL of the Taboola library:


The tenantUrl would be: butfootballclub


To identify the template, find taboola.push:

<div id="taboola-below-article-thumbnails"></div><script type="text/javascript">window._taboola=window._taboola||[];_taboola.push({mode:'thumbnails-a',container:'taboola-below-article-thumbnails',placement:'Below Article Thumbnails',target_type:'mix'});</script></div>

The object is inside the template:

{mode:'thumbnails-a',container:'taboola-below-article-thumbnails',placement:'Below Article Thumbnails',target_type:'mix'}

Tips and tricks

Best practices to follow are to extract the Taboola configuration from a publisher's responsive site. 

Common pitfalls

If not careful, the wrong configuration can be taken when integrating Taboola. For example, when checking a publisher's desktop site, instead of identifying and extracting the Taboola configuration at the of an article, the one for the sidebar is mistakenly taken instead).

Another common error when integrating Taboola involves making mistakes with the template or the tenantUrl. 

Usage example