Tài liệu

Hỗ trợ

Messaging

Implement tailored messaging in your app to motivate users to engage with the Offerwall and complete desired events.
Thời gian đọc 4 phútCập nhật lần cuối 10 ngày trước

Display in-app messages that direct users to your offerwall with Message to Earn (M2E) or in-app messages deeplinked to Offerwall. The following image shows an example in-app message that informs users of a limited-time offer to earn twice the usual gems for completing tasks. Users can tap Earn More Now to access the Offerwall and complete these offers.
In-app message example

Messaging best practices

When you set up messaging, keep the following best practices in mind to help direct more users to your offerwall.

Promote currency sales in messages

Personalize your currency sales with M2E or your app’s messaging system to create more awareness around the sale. For more information, refer to the Optimizing currency sales with Messaging section of the Currency sales article.

Improve offerwall visibility with effective messaging placements

To help direct more users to your offerwall, you can configure messaging in the following types of placements:
  • On the app home screen after the app fully loads
  • In a dialog triggered by insufficient currency
  • Inside an app inbox message
  • After the user reaches a level
  • After the user completes a game event

Apply user targeting

Target specific groups of users with personalized messages. Refer to the following list of examples to help identify key user segments and create tailored messages for each:
  • Welcome first-time users to complete their first offer for twice the usual reward within a limited time.
  • Encourage users who haven't completed an offer for a specific number of days to act.
  • Prompt users who haven't logged into your offerwall for a specific number of days to return
  • Re-engage users who are midway through an offerwall event.

Evaluate in-app message effectiveness

To optimize your in-app messages, you can conduct an A/B test to confirm the most effective messaging version with usage data. For more information about A/B testing, refer to A/B testing tool.

Configure Message to Earn

Message to Earn (M2E) is a Tapjoy feature that enables customizable in-app messages that appear at a specific time and place in your app during gameplay. They can show specific promotional messages for users to engage with before accessing your offerwall. To configure M2E, follow these steps:
  1. In your Content card setup, go to the Message to Earn section.
  2. Enable the Message to Earn toggle.
  3. Upload the messaging image for both the portrait and landscape views.
  4. Under Transition, choose the animation to define how the in-app message appears on the screen. Select one of the following options:
    • Swipe: The in-app message slides to appear.
    • Tap: The in-app message appears after a user taps the screen.
    • Auto (after 5 seconds): The in-app message appears automatically without user input after 5 s.
  5. Enter the desired Message.

Deeplink in-app messages to Offerwall

If you prefer using your app’s messaging system, you can deeplink your in-app messages to Offerwall. To deeplink in-app messages to Offerwall according to your implementation, refer to the following instructions and platform-specific procedures:
  1. In the Tapjoy dashboard, create a contextual placement for your custom in-app message.
  2. Create the content cards to direct your users from your custom in-app message.
  3. To implement the placement in your code, copy the following code into your project, and then replace the placement name string placeholder with the exact placement name you’ve created in step 1.
TJPlacementListener placementListener = this;TJPlacement p = Tapjoy.getPlacement("[PLACEMENT_NAME]", placementListener);// Listenerspublic void onRequestSuccess(TJPlacement placement);public void onRequestFailure(TJPlacement placement, TJError error);public void onContentReady(TJPlacement placement);public void onContentShow(TJPlacement placement);public void onContentDismiss(TJPlacement placement);
  1. To request an in-app message for the placement, copy the following code into your project.
if(Tapjoy.isConnected()) {p.requestContent();} else {Log.d("MyApp", "Tapjoy SDK must finish connecting before requesting content.")}
  1. To display an in-app message when it’s available, copy the following code into your project.
This code uses the
onContentReady
listener method to display an in-app message.
public void onContentReady(TJPlacement tjPlacement) {if(tjPlacement.isContentReady()) { p.showContent();}}