Skip to main content

Overview

Attribution tracking in Masivo enables you to measure and analyze the complete customer journey across all touchpoints. By implementing proper attribution parameters, you can track which marketing campaigns, channels, and touchpoints drive customer behavior, purchases, and engagement. This guide covers the complete attribution system, from generating tracking IDs to analyzing campaign performance.
Attribution data is automatically collected from deeplinks and can be manually attached to events. All attribution parameters are optional but provide valuable insights when implemented consistently across your marketing campaigns.

Understanding Attribution Parameters

Attribution Data Structure

Attribution data in Masivo consists of several key parameters that help track the customer journey:

How Attribution Works in Masivo

Attribution data flows through the system in several ways:
  1. Automatic Collection: Generated automatically when customers click deeplinks
  2. Event Attribution: Manually attached to events via the API
  3. Journey Tracking: Automatically propagated through customer journey steps
  4. Analytics: Aggregated for campaign performance analysis

1. Tracking ID Generation and Usage

Understanding Tracking IDs

The tracking_id is a unique identifier that connects customer actions across your marketing funnel. It’s automatically generated for deeplinks and can be manually created for custom tracking scenarios.

Automatic Tracking ID Generation

When customers click on a Masivo deeplink, a tracking_id is automatically generated:

Extracting Tracking ID from URLs

In your application, extract the tracking_id from URL parameters to maintain attribution throughout the customer journey:

Using Tracking ID in Events

Once you have the tracking_id, include it in attribution data when sending events:

2. UTM Parameters and Campaign Tracking

Understanding UTM Parameters

UTM parameters are standardized tags that help track the effectiveness of marketing campaigns:

utm_source

Identifies the traffic source:
  • "google" - Google search or ads
  • "facebook" - Facebook ads or posts
  • "email" - Email campaigns
  • "newsletter" - Newsletter campaigns
  • "organic" - Organic/direct traffic

utm_medium

Describes the marketing medium:
  • "cpc" - Cost-per-click advertising
  • "email" - Email marketing
  • "social" - Social media
  • "push" - Push notifications
  • "sms" - SMS campaigns

utm_campaign

Names the specific campaign:
  • "summer-sale-2024"
  • "new-user-onboarding"
  • "cart-abandonment-recovery"

utm_term

Used for paid search keywords:
  • "premium headphones"
  • "wireless earbuds"

utm_content

Differentiates ad variations:
  • "banner-ad-v1"
  • "email-button-cta"
  • "video-ad-30s"

Implementing UTM Tracking

3. Revenue and Cost Attribution

Tracking Revenue Attribution

Revenue attribution helps measure the financial impact of marketing campaigns and track the revenue and cost at each step of the customer journey until completion, providing a complete view of campaign ROI:

Cost Tracking for Campaign Analysis

Track marketing costs to calculate ROI:
For more information about implementing campaigns and measuring their effectiveness, see the Journey Triggers Guide and Customer Audience Enrollment Guide.