Configuration

The ID of the div element where the widget will be rendered
The global object containing the initialization method
The method name to call for initialization


Configuration Properties
KeyValueTypeAction
Generated Code
<div id="data-gol"></div>

<script src="/embed.js"></script>

<script>
  window.addEventListener('load', function() {
    const widget = window.DataGOL.init({
            "elementId": "data-gol",
            "appId": "aff3d329-b50b-45e7-bc3f-e8f64a85b850",
            "pageId": "75e4af63-cd5e-4662-a2ed-219b9891a6d0",
            "baseUrl": "https://testing-be.datagol.ai",
            "userToken": "USER_TOKEN",
            "elementType": "BI_PAGE",
            "filters": [
                  {
                        "name": "job_title",
                        "value": "Analyst"
                  }
            ]
      });
  });
</script>