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.

    var s = document.createElement("script")
    s.src = ""
    s.onload = function (sdk) {
            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",

Related topics: