Installing the ProfitWell Snippet on Single Page Applications (SPAs)

  1. Load the snippet on the index.html page
<script id="profitwell-js" data-pw-auth="PUBLIC_API_TOKEN_HERE">
/* DO NOT DELETE - this code is used to accept our payments or send data to ProfitWell*/
  1. After a login event, make a call to profitwell('user_email', 'USER_EMAIL_HERE') from the component.

How did we do?

Powered by HelpDocs (opens in a new tab)