Event data delivery options
To share your user event data with Moloco Commerce Media, you must send API requests to the Event API. There are several different ways you can accomplish this on your e-commerce platform.
Server-to-Server using proxy server (recommended)
We strongly recommend using a server-to-server integration to send event data to Moloco Commerce Media. For further information on the trade offs between the integration methods please review: Server-to-Server vs. Client-to-Server Event Integration trade-offs
AWS users can create managed services to collect and stream event data from your app or web to MCM Event API endpoints. Please refer to the AWS user guides below for further information.
- Amazon Managed Streaming for Apache Kafka (MSK)
- Amazon Kinesis Data Streams
- Amazon Kinesis Data Firehose
- Amazon Simple Queue Service
If you are a Google Cloud user, please refer to the GCP user guides below for further information.
- Managed Apache Kafka for Google Cloud
- Google Cloud Pub/Sub
- Google Cloud Dataflow
- Google Cloud Functions
Calling Event API directly from a frontend service
Alternatively, you can choose to make API requests directly from your mobile app or web browser to the Event API endpoint. This isn’t recommended, as there are several disadvantages associated with making calls directly from your app or web server. See Client-to-Server integration for more information on potential issues.
Using a third-party integration to call the Event API
If you are currently using a Google Tag Manager (GTM), Mobile Measurement Partner (MMP) or a Customer Data Platform (CDP) to manage your users’ event data, you may be able to integrate those services to stream user events to Moloco instead of using our user event API directly.
Below is a list of currently supported third-party solutions. Please check the following section for instructions on integrating them into our user event API. If the MMP/CDP you are using is not on the list, please consult your Moloco representative about this option.
Google Tag Manager
You can use Google Tag Manager to collect user events (using tags) and forward them to the MCM Event API. We recommend using the GTM Server-side tagging to call the MCM Event API from server-side and avoid exposing the API key publicly.
If you are interested in using GTM for the user event integration, please consult your Moloco representative for more detailed instructions.
MMP
You can stream the postbacks tracked by MMP to Moloco instead of using Moloco’s user event API. Note: the data tracked by MMP should contain information that exists in the user event API specifications.
Please consult your Moloco representative to get started. Note that MMP integration will take 1-2 weeks due to related work on Moloco’s side.
CDP - Amplitude
Amplitude has a dedicated event streaming destination integration for Moloco.
The Moloco destination integration is currently under re-construction. Due to the integration being under construction, please consult your Moloco representative on an estimated time window for it to be ready.
CDP - Segment
Status: Public Beta
By leveraging the Moloco MCM destination, you can stream user events tracked by Segment to Moloco instead of using Moloco’s user event API destination. For more details about the integration steps, please follow the documentation we published on the official Segment's documentation site.
Updated 24 days ago