• How it works
  • Partners
  • Blog
  • Docs
  • Sign up
  • Client Area

Ad Publishers

  • Getting started with Ads – Common Issues & FAQs
  • Payment & Fee FAQs
  • Setting up your ads.txt file
  • Installing the ad script on your page
  • Creating an ad placement
  • US Privacy law compliance steps
  • Ad script lifecycle events
  • Detecting ad-blocking users
  • Special ad format: Sticky Stack
  • Placement Configuration API

CMP

  • Adding custom consents or disclosures
  • Creating a link for the user to manage their consents

Sponsor

  • Getting started with Sponsor

Users

  • Getting started with Users
  • Adding the Users SDK to your site
  • Initializing the Users SDK
  • Launching the login/registration screen
  • Managing user sessions
  • Users SDK API Reference
  • NitroPay
  • Docs
  • Users
  • Adding the Users SDK to your site

Adding the Users SDK to your site

Our official client SDK is available under the NPM package @nitropay/sdk

yarn add @nitropay/sdk

or

npm install @nitropay/sdk

If you would prefer to use a CDN hosted version of the relevant SDK modules, you can do so by embedding the following code within the <head> of every page on your site.

<script type="text/javascript">
  window.nitroUsers = window.nitroUsers || {
    init: function() {
      window.nitroUsers.queue.push(["init", arguments]);
    },
    queue: []
  };

  window.nitroAuth = window.nitroAuth || {
    init: function() {
      window.nitroAuth.queue.push(["init", arguments]);
    },
    queue: []
  };
</script>
<script async src="https://s.nitrocnct.com/users.js"></script>
Share this document:
  • Facebook
  • Twitter
  • LinkedIn
Updated on January 25, 2023
Getting started with UsersInitializing the Users SDK
© GG Software, LP
Privacy Policy | Terms of Use | Contact us