All Collections
Plug-ins and Integrations
Marketing Automation
How to enable WebEngage on your mobile app
How to enable WebEngage on your mobile app

Supercharge your marketing efforts by leveraging user behavior and send super personalized push notifications with WebEngage

Shiva avatar
Written by Shiva
Updated over a week ago

Capture user behavior and use it to deliver personalized push notifications and in-app messages with WebEngage.

Index

Pricing

The plugin is available only for our Plus plan users.

Enabling the plugin

Step 1: Head to Account setup on your WebEngage dashboard. Copy the License code mentioned on the page.

Step 2: Go to the Plugins section on your Vajro dashboard. You’ll find WebEngage under the Marketing Automation category. Click on it!

Step 3: Paste the License code acquired from the WebEngage dashboard in the dialogue box.

WebEngage Environment: At the time of login, the data center’s value should be added in the Environment field.

  • Default for Global (Default)

  • IN for India

Step 4: Rename the event names as per your requirement and click on Save & Enable Now.

Note: Please update your app if necessary.


Tracking events

The merchant can track their end users' activities using the system and custom events.

System events - Events that are provided by default by Webengage.

Custom events - Events that are built by Vajro. These event names can be customized on the Vajro dashboard.

List of Custom Events

Product Viewed - When a user views any product.

Banner Clicked - When a user clicks on the banner image.

Searched Product - When a user searches for any product.

Category Viewed - When a user views any collection.

Added To Cart - When a user adds any product to the cart.

Removed From Cart - When a user removes any product from the cart.

Cart Updated - When a user adds or removes a product from the cart.

Added To Wishlist - When a user adds any product to the wishlist.

Removed From Wishlist - When a user removes any product from the wishlist.

Cart Viewed - When a user views the cart.

Coupon Code Applied - When a user successfully applies a coupon code.

Coupon Code Failed - When a coupon code applied by a user fails to apply.

Shipping Details Updated - When a user updates the shipping details.

Note: If you'd like to add any additional custom events, get in touch with us!

Where to view tracked events

Events can be tracked in two ways,

Using Analytics

Step 1: Open the WebEngage dashboard. Under Analytics → Click on Events

Step 2: All the events are listed in the dropdown. Click on any one of the events and see the total occurrences

Using a list of users

Step 1: Go to Users. Click on the list of users.

Step 2: Click on any one of the users. The basic info of the user will be listed here.

Step 3: Click on the Events. The user’s activity will be listed here.


Creating a Segment

Step 1: Go to Segments and click on Live segments.

Step 2: Click on the plus icon to create a new segment. Give the segment a name and fill in all the necessary details under User.

Step 3: Under Behavioral, pick any one of the events.

Step 4: Under Technology select the necessary details and click on the save button.

Your segment has now been created.


Creating a Push campaign

Step 1: Go to Channels and click on Push.

Step 2: To create a new campaign click on the Create Campaign button or the plus icon button. Choose any one of the Campaign Types.

Step 3: In the Audience section, give the campaign a name, and choose the audience in Send To field. You can either choose all users or a particular live segment. Click the Save & Continue button.

Step 4: Under the When section and pick all the necessary details like when the push should be sent. Click the Save & Continue button.

Step 5: Select any one of the layouts.

(Note: All the layouts are supported on Android. On iOS only the text layout is supported for now)

Step 6: Under Message, type the title and description

Step 7: To give a deep linking URL, scroll down and enable the key-value pairs.

To open a homepage - A relevant push with no key-value pairs can open the homepage of the app.

To open a Product on PDP - A relevant push message with the key-value pair

Name mentioned below - Name of the product (Eg Name: Blue with white T-shirt)

type - “product”

value - Id of the product (Eg ID: 7815171014887)

To open a Rewards page - A relevant push message with the key-value pair

Name mentioned below - “Rewards”

type - “reward”

To open a URL - Relevant push message with the key-value pair

name mentioned below - Url

type - “url”

value - <Give the url>

To open a Collection - Relevant push message with the key-value pair

name mentioned below - Name of the collection (Eg name: Men's Jean )

type - “category”

value - Collection Id (Eg Collection ID: 396711985383)

To open a Page - Relevant push message with the key-value pair to open Cart/

Name mentioned below - Name of the Page (Eg name: Cart/ Wishlist/ About Page/ Contact us page)

type - “page”

value - Name of the Page (Eg value: cart/wishlist/about-page/contact us)

Step 8: Click the Save & Continue button. Enable Conversion Tracking if needed. Again click the Save & Continue button.

Step 9: If you need to test the push before making it live. Click on the test campaign button. The test push notification will be sent to the selected users only. Click the Save & Continue button.

Step 10: Click on the Launch Campaign button. Now the campaign is now live.

Note: Before creating the push campaigns, one needs to set up the configuration for both Android and iOS.

Setting up push notifications for Android devices

Upload the Package Name and App Secret on the WebEngage dashboard. Follow the steps shown below.

Step 1: Log in to your WebEngage dashboard and navigate to Data Platform -> Integrations -> Push Setup (Configure) -> Channels.

Step 2: In the Push tab, select OS as Android

Step 3: Add the applications Package Name in Package Name Column

Step 4: Go to the Firebase console -> Enable Cloud Messaging -> Get the Server key -> Add the Server key in the App Secret Column

Step 5: Click Save

Setting up push notifications for iOS devices

Upload the APNs Auth Key on the WebEngage dashboard. Follow the steps shown below.

Step 1: Log in to your WebEngage dashboard and navigate to Data Platform -> Integrations -> Push Setup (Configure) -> Channels.

Step 2: In the Push tab, select Auth Key as APNs Authentication Type. Upload the APNs

Auth Key file that was generated earlier along with the Team ID and Bundle ID (check in Xcode)

Step 3: Select the default push mode for sending push notifications, either Production and Click Save.


Creating an In-app campaign

Creating an In-app campaign is similar to creating a push campaign. Under Personalization, click on App personalization and then click on In-app notifications.

Click on the plus icon and start creating the campaign.

Note: In in-app messaging, all the layouts are supported in both OS.

Did this answer your question?