ProfitWell device mode

Send events to ProfitWell using RudderStack Web Device mode.

RudderStack lets you send your event data to ProfitWell via the web device mode, that is, using the native web SDK.

info
For more information on sending events via device mode, refer to the RudderStack Connection Modes guide.

Getting started

RudderStack supports sending event data to ProfitWell via the following connection modes:

Connection ModeWebMobileServer
Device modeSupported--
Cloud modeSupportedSupportedSupported
info
In a web device mode integration, that is, using JavaScript SDK as a source, the ProfitWell native SDK is loaded from https://public.profitwell.com/ domain. Based on your website’s content security policy, you might need to allowlist this domain to load the ProfitWell SDK successfully.

Once you have confirmed that the source platform supports sending events to ProfitWell, follow the steps below:

  • From your RudderStack dashboard, add the source. From the list of destinations, select ProfitWell.
  • Assign a name to the destination, and click Next. You will then see the following Connection Settings window:
Profitwell connection settings

Connection Settings

To successfully configure ProfitWell as a Device Mode destination, enter the following connection settings:

  • Public API Key: Enter your ProfitWell public API key here. To obtain the Public API Key, log into your ProfitWell account. Then, navigate to the Account Settings - Integration option. Here, you can get your API key under API Keys/Dev Kit, as shown in the following image:
Profitwell API key
info
The Private API Key field is not required if you want to send the events via device mode.
  • Site Type: Choose the site type from the dropdown. If the site type is Web App, then RudderStack will start the ProfitWell service either with email or userId. For the type Marketing, RudderStack will start the ProfitWell service anonymously.
  • Use device-mode to send events: Enable this option to send events via the web device mode.
warning
The Private API Key field is not required if you want to send the events via device mode.
  • Finally, click Next to complete the setup. ProfitWell should now be configured and enabled as a destination in RudderStack.

Identify

For the Web App site type, the identify call will start the ProfitWell Service using the customer’s email. If no email is provided, then RudderStack will start the service with the user’s userId. For the Marketing type, RudderStack will start the ProfitWell service anonymously.

A sample identify call is as shown:

  rudderanalytics.identify( "userId", {email: "sample@domain.com"});

For the identify call to trigger user engagements, you need to first create Customers within ProfitWell.


Questions? Contact us by email or on Slack