Contact Us

February 29, 2024

May 13, 2026 1:29 pm

Integrating Mobile SDK on Both SFMC and MCP for Enhanced Mobile Engagement

Share with

Understanding the Benefits of Mobile SDK Integration

Integrating the Mobile SDK on both platforms offers several advantages. On SFMC, the Mobile SDK enables you to run in-app messages, push notifications, and inbox messages. However, on MCP, the Mobile SDK allows you to track user behavior in the app and show campaigns directly in the app. This provides a more comprehensive understanding of user behavior and allows for more targeted campaigns.

The root cause of the confusion is the overlap in functionality between SFMC and MCP. While SFMC provides robust mobile marketing capabilities, MCP offers more advanced personalization and tracking features. By integrating the Mobile SDK on both platforms, you can leverage the strengths of each platform to create a more effective mobile marketing strategy.

To capture interactions on the mobile app into MCP, you can use API integration to send events to MCP. This allows you to track user behavior in the app and show campaigns directly in the app. For more information on tracking interactions on the mobile app, you can refer to the Android SDK documentation and the iOS SDK documentation.

By integrating the Mobile SDK on both SFMC and MCP, you can create a more comprehensive mobile marketing strategy that leverages the strengths of each platform. This allows you to track user behavior, run targeted campaigns, and provide a more personalized experience for your users.

Implementing Mobile SDK Integration

MobileSDKIntegration.js

// Import the Mobile SDK libraries
import { MobileSDK } from '@salesforce/marketingcloud-mobilesdk';

// Initialize the Mobile SDK
const mobileSDK = new MobileSDK({
  clientId: 'YOUR_CLIENT_ID',
  clientSecret: 'YOUR_CLIENT_SECRET',
  apiUrl: 'https://YOUR_API_URL'
});

// Track user behavior in the app
mobileSDK.track({
  event: 'app_open',
  attributes: {
    userId: 'USER_ID'
  }
});

Heads up: Make sure to replace the placeholders with your actual client ID, client secret, and API URL.

Best Practices for Mobile SDK Integration

Checklist for Mobile SDK Integration

  • Integrate the Mobile SDK on both SFMC and MCP to leverage the strengths of each platform.
  • Use API integration to send events to MCP and track user behavior in the app.
  • Refer to the Android SDK documentation and iOS SDK documentation for more information on tracking interactions on the mobile app.
  • Replace placeholders with your actual client ID, client secret, and API URL.
  • Test your Mobile SDK integration to ensure it is working correctly.
  • Monitor user behavior and adjust your mobile marketing strategy accordingly.

What is the purpose of integrating the Mobile SDK on both SFMC and MCP?

The purpose of integrating the Mobile SDK on both SFMC and MCP is to leverage the strengths of each platform and create a more comprehensive mobile marketing strategy.

How do I track user behavior in the app using the Mobile SDK?

You can track user behavior in the app using API integration to send events to MCP.

What is the difference between the Android SDK and iOS SDK documentation?

The Android SDK documentation and iOS SDK documentation provide platform-specific information on tracking interactions on the mobile app.

Can I use the Mobile SDK on only one platform?

While you can use the Mobile SDK on only one platform, integrating it on both SFMC and MCP provides a more comprehensive understanding of user behavior and allows for more targeted campaigns.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert