Widgets with JSON scripts - Webtools
wc-banner-t1 Widgets with JSON scripts
Widget JSON scripts content


If your CMS does not allow pasting javascript directly in your content (pages or articles), you can use JSON script instead.


How does this service work

Implement our widgets using JSON script on your website. The only requirement is to refer once for all to a javascript file in the head of your pages. This operation can be done by the Administrator of your site.

Step 1 : include the reference to the load.js in the head of your pages

<script src="//europa.eu/webtools/load.js" type="text/javascript"></script>

Step 2 : create your widget and copy the json script

<script type="application/json">
{ "service": "opwidget", "widgetId": "1073" }

Types of widgets

Explore our widgets here