Event

Happy Hour: Growing your consumer subscription business

Join us live
How to test ProfitWell.js snippets

ProfitWell has 2 snippets: there is a public-facing, marketing page snippet & an in-app snippet inside the logged-in screens. The only difference is that the in-app snippet also takes the field of the customer's email, which is the unique identifier. With the unique identifier, we can track for customer engagement (for the "Engagement" tab in the ProfitWell dashboard), and also the Retain functionalities that require customer login (e.g. Retain Notifications "Credit Card Expiring Soon").

The steps below allow you to test both the marketing snippet and also the in-app snippet.

Below are the steps to test the marketing snippet:

  1. Make sure you're on Google Chrome
  2. Go to company's marketing (public-facing) website
  3. At the top menu bar, click "View" > "Developer" > "JavaScript Console"
  4. In the script box (AKA console) on the right, copy-paste the codes below to test for various parts of Retain functionalities
  5. In order to get the credit card update form, run: profitwell('cq_demo', 'dunning')
  6. In order to get the in-app notification for failed credit card payment, run : profitwell('cq_demo', 'in_app')
  7. In order to get the lockout notification, run: profitwell('cq_demo', 'lockout')
  8. If these all work, then you're all set!

In order to test the in-app snippet, please follow the steps above after starting from a page within the logged-in screen.

Need more help?

Login to your Paddle account to chat directly with our Seller Support Team or…