Last active
December 16, 2015 17:19
-
-
Save jaredjenkins/5469066 to your computer and use it in GitHub Desktop.
Initializing the Playnomics JavaScript API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Start Playnomics API --> | |
<script type="text/javascript"> | |
_pnConfig={}; | |
_pnConfig.userId="<USER-ID>"; | |
var _pnAPIURL=document.location.protocol+"//js.a.playnomics.net/v1/api?a=<APPID>", | |
_pnAPI=document.createElement("script"); | |
_pnAPI.type="text/javascript";_pnAPI.async=true;_pnAPI.src=_pnAPIURL;document.body.appendChild(_pnAPI); | |
</script> | |
<!-- End Playnomics API --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment