Store additional variables with subscription

  • {var_1} ... {var_5} - Additional variables defined for each user, can be used for postback or macros replacement if push message content.
  • {user} - User identifier for later usage in sending targeting.

This example shows how to link additional variables with subscription.

<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",
            loadSettings: true,
            user: "user@your.domain",
            var_1: "my_var_1",
            var_2: "my_var_2",
            var_3: "my_var_3",
            var_4: "my_var_4",
            var_5: "my_var_5",
        })
    }
    document.head.append(s)
</script>

Related topics: