Send your event data from RudderStack to WebEngage.
6 minute read
WebEngage is a full stack marketing automation tool. It lets you drive growth for your businesses by engaging your users via push and in-app notifications, email campaigns, etc. You can also leverage WebEngage’s analytics capabilities to get a 360-degree view of your users and the product.
RudderStack supports WebEngage as a destination to which you can seamlessly send your event data for efficient marketing and analytics.
Find the open source transformer code for this destination in the GitHub repository.
Once you have confirmed that the source platform supports sending events to WebEngage, follow these steps:
From your RudderStack dashboard, add a source. Then, from the list of destinations, select WebEngage.
Assign a name to the destination and click Continue.
Connection settings
To successfully configure WebEngage as a destination, you will need to configure the following settings:
License Code: Enter your WebEngage license code.
API Key: Enter your WebEngage API key.
To get your WebEngage license code and API key, log into your WebEngage dashboard and go to Data Platform > Integrations > REST API. For more information, refer to the FAQ section below.
Data Center: Select your WebEngage data center from the dropdown.
Identify
The identify method lets you identify a user and associate them to their actions. It also lets you record any traits about them like their name, email, etc.
RudderStack uses the identify call to create or update the customer information in WebEngage. It maps userId or anonymousId (userId is prioritized if both are present ) to WebEngage’s userId before sending the data via the users API.
Make sure you call identify before track for RudderStack to include the userId in the track events. Otherwise, RudderStack will send the track calls to WebEngage with an anonymousId.
Property mapping
RudderStack maps the following event properties to the corresponding WebEngage attributes:
RudderStack trait
WebEngage attribute
Presence
Notes
userId
userId
Required if anonymousId is not present.
userId cannot exceed 100 characters.
anonymousId
anonymousId
Required if userId is not present.
anonymousId cannot exceed 100 characters.
eventName
event
Required
The event name.
timestamp/originalTimestamp
eventTime
Optional
The date and time of the event in ISO format: yyyy-MM-ddTHH:mm:ss±hhmm.
properties
eventData
Optional
The custom event attributes as key-value pairs.
Setting custom attributes
WebEngage lets you send custom attributes as key-value pairs in the eventData parameter as described in the above section. However, there are a few things you should keep in mind:
WebEngage ignores any custom attributes starting with we_ as these are reserved for internal use.
User attribute names must be less than 50 characters, while the string attribute values cannot exceed 1000 characters. WebEngage automatically truncates any additional characters.
You can create a maximum of 25 custom user attributes of each data type.
If the attribute value is a JSON object, it can only be used to personalize your campaigns. These attributes cannot be used to create user segments.
Once defined, the data type of a custom user attribute cannot be changed again.
Page
The page call lets you record your website’s page views with any additional relevant information about the viewed page.
RudderStack internally transforms the page call into a track call before sending it as a custom event to WebEngage. It sends the event/category name by transforming it in the Viewed ${category} ${name} page format.
For example, consider the following page call:
rudderanalytics.page("Home","Clothes",{path:"/best-seller/1",referrer:"https://www.google.com/search?q=estore+bestseller",search:"estore bestseller",title:"The best sellers offered by EStore",url:"https://www.estore.com/best-seller/1"});
RudderStack transforms the above event into a track call named Viewed Home Clothes page and sends it to WebEngage as a custom event.
RudderStack sends the page event properties to WebEngage, similar to the track event properties.
Screen
The screen method lets you record whenever your user views their mobile screen with any additional relevant information about the screen. It is the mobile equivalent of a call.
RudderStack internally transforms the screen call into a track call before sending it as a custom event to WebEngage. It sends the event/category name by transforming it in the Viewed ${category} ${name} screen format.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.