Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (pushalertbyiw = window.pushalertbyiw || []).push(['onSuccess', callbackOnSuccess]);
- function callbackOnSuccess(result) {
- console.log(result.subscriber_id); //will output the user's subscriberId
- //TODO: save subscriber's id to localstorate or cookie and use it when call register function
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement