@mentor-medier/ad-taboola-block

5.13.3 • Public • Published

@wpmedia/ad-taboola-widget

Block that implement a Taboola Widget.

Props

Global

Prop Required Description
taboolaPublisherId yes Publisher ID provided by Taboola

This configuration need to added to blocks.json like this:

{
    ...
    "values": {
        "default": {
            "siteProperties": {
                ...
                "taboolaPublisherId": "client-publisher-id",
                ...
            }
        }
    }
}

Per widget

Prop Required Description
taboolaPlacement yes Widget placement description, provided by Taboola
taboolaMode yes Widget mode, provided by Taboola
taboolaContainer yes Widget container name, provided by Taboola

This properties will be defined on each block added to the page.

Reference Material

Implementing Taboola Javascript Placement Code

Additional Considerations

The block will not render inside PageBuilder editor. Inside the editor, when the widget has his properties correctly configured, will show a dummy block with the placement name. To see the widget working, need to publish the page and on the preview url add the parameter &taboola_sim_domain=XXX, replacing XXX with the domain provided by Taboola for testing.

Readme

Keywords

none

Package Sidebar

Install

npm i @mentor-medier/ad-taboola-block

Weekly Downloads

2

Version

5.13.3

License

CC-BY-NC-ND

Unpacked Size

12.7 kB

Total Files

8

Last publish

Collaborators

  • mm-bjarneo
  • mentor-devops