How to install the ProfitWell.js Snippet

Installation Instructions 

Copy and paste this snippet of javascript on your site, making it available on as many pages of your site as possible (ideally, all of them). If the user is logged in, make sure you pass the user's email to the snippet. The ProfitWell snippet was designed to work asynchronously to not affect page load speed and to gracefully handle any errors to not affect the normal functioning of the page. 

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
profitwell('auth_token', 'PUBLIC_API_TOKEN_HERE'); // Your unique Profitwell public API token
profitwell('user_email', 'USER_EMAIL_HERE'); // enter the Customer email of the logged-in user

How Did We Do?