Set Registered User IDs from Email

If you have existing users in your user database or CRM system, you can set SkyGlue Ids to existing user IDs.

Using email to set user IDs is common way to achieve this. You can send emails (e.g. promotion, new release, etc.) to your existing customers that contains a unique  link for each user. The link contains user’s registered user Id as a URL query parameter. For example: http://mywebsite.com?uid=12345 (uid is just an example name).

Once user clicks on the link and goes to your website, you can set SkyGlue registered user Id to your existing user Id using JavaScript.

Following is sample JavaScript code:

This is the sample function to get query parameter value (many similar functions available online)