Add the code below to your project to save users' the extra information of the users.
Note |
---|
Before Run the following functions before calling the Subscribe function, run the following functions. |
Don't post lines submit rows you don't want updated
Code Block | ||
---|---|---|
| ||
addExtra = async () => { await euroMessageApi.setUserProperty("email",this.state.user.email); await euroMessageApi.setUserProperty("keyID",this.state.user.keyID); await euroMessageApi.setUserProperty("pushPermit",this.state.user.pushPermit); await euroMessageApi.setUserProperty("gsmPermit",this.state.user.gsmPermit); await euroMessageApi.setUserProperty("emailPermit",this.state.user.emailPermit); } this.addExtra().then(()=>euroMessageApi.subscribe(token)); |
Info |
---|
You can review the sample usage in line 64 on this page. |
Info |
---|
You can review the sample usage in line 45 on this page. |
Info |
---|
You can review the sample usage in line 42 on this page. |
...
If you are working with us as an IYS integrator, you need to add the parameters below during the user registration phase.
Note: If your users are a corporate account, you need to send the RecipientType parameter as INDIVIDUAL, if not TRADEMARK.
Code Block | ||
---|---|---|
| ||
await euroMessageApi.setUserProperty('ConsentTime', "2021-03-18 12:12:12")
await euroMessageApi.setUserProperty('RecipientType', "BIREYSEL")
await euroMessageApi.setUserProperty('ConsentSource', "HS_MOBIL") |
🎉 Congrulations, you have completed the RMC integration 🎉
You can start Visilabs integration by clicking the button below.
...
...