JavaScript Async
The example assumes that you have the following code placed defined before calling Gravitec functions.
Update APP_KEY with your Gravitec AppId.
<script src="<https://cdn.gravitec.net/storage/APP_KEY/client.js>" async></script>
<script>var Gravitec= Gravitec || [];</script>
List of Functions
â–º init
â–º registerUserForPush
â–º segmentation.addTag
â–º segmentation.addTags
â–º segmentation.setTags
â–º segmentation.removeTag
â–º segmentation.removeAllTags
â–º getTags
â–º segmentation.setAlias
â–º getSubscriptionData
â–º afterSubscription
â–º subscriptionResult
â–º getSubscription
â–º isSubscribed