The setup of Nickelled on your website should be straightforward. Outlined below are setup steps for installing the Nickelled Launcher javascript on a traditional website application (HTML, PHP, Ruby on Rails, Python):


<script type="text/javascript">
 (function() {
    var NickelledLaunchers = window.NickelledLaunchers = NickelledLaunchers||{setUser:function(u){this.userData=u}};
    NickelledLaunchers.userData = {
       appId: 'APP-ID',
       userId: 123
    };
    (function(){
      var s,f;
      s = document.createElement("script");
      s.async = true;
      s.src = "https://cdn.nickelled.com/launchers-2.min.js";
      f = document.getElementsByTagName("script")[0];
      f.parentNode.insertBefore(s,f);
    })();
  })();
</script>


You should update the 'APP-ID' with your application's Nickelled app ID. The userId should be the unique identifier that you assign to the user account that's logged into your website. You can read more about setting user data here.

Did this answer your question?