Categories prerequest

This example shows how to use prerequest prompt with category selection.

<script>
    var s = document.createElement("script")
    s.src = "https://notix.io/ent/current/enot.min.js"
    s.onload = function (sdk) {
        sdk.startInstall({
            appId: "YOUR-APP-ID-HERE",
            step0: "useCategories",
            loadSettings: true,
            categories: "{\"news\":\"Latest news\",\"sport\":\"Sport events\",\"games\":\"Games news\"}",
            categoriesSelect: "[\"sport\",\"games\"]"
        })
    }
    document.head.append(s)
</script>