- Load the ProfitWell snippet on the
index.htmlpage.<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*/ (function(i,s,o,g,r,a,m){i[o]=i[o]||function(){(i[o].q=i[o].q||[]).push(arguments)}; a=s.createElement(g);m=s.getElementsByTagName(g)[0];a.async=1;a.src=r+'?auth='+ s.getElementById(o+'-js').getAttribute('data-pw-auth');m.parentNode.insertBefore(a,m); })(window,document,'profitwell','script','https://public.profitwell.com/js/profitwell.js'); </script> - After a login event, make a call to
profitwell('user_id', 'USER_ID_HERE')from the component.
Setup
- Get Started
- Configure
- Install Engagement
- How to Customize Engagement Data
- Engagement Data
- How to install the ProfitWell.js Snippet for Engagement Data
- How to install the Profitwell snippet using Google Tag Manager with two containers
- Installing the ProfitWell in-app snippet on Thinkific
- Installing the ProfitWell in-app snippet with Kajabi
- Installing the ProfitWell Snippet on Single Page Applications (SPAs)
- How to install the Profitwell snippet using Google Tag Manager with one container
- Installing the ProfitWell .js snippet with Wordpress and Memberpress
- How to test ProfitWell.js snippets
Installing the ProfitWell Snippet on Single Page Applications (SPAs)