Limitation on setting individual device tags?



  • Avatar
    Alexander Spotar

    There's no limitation on the number of devices that can set a tag, so you are perfectly safe to do it :)

  • Avatar

    Hi Alexander

    But can they all be different tag values? For example: their user ID?

    Can you send an example code snippet showing the settags call setting a unique value ?

    Cheers Rob

  • Avatar
    Alexander Spotar

    Hi Rob,

    Yes, you can set as many tag values as needed, and using it for identifying your users is the exact purpose of Tags. The setTags POST request you send from the device should look as follows:

          "hwid": "device hardware id", // hardware device id used in registerDevice function call
          "tags": {"userID": "id1234567890"} 

Please sign in to leave a comment.