Skip to main content
Question

How to map UTM parameters?

  • November 26, 2022
  • 2 replies
  • 234 views

Forum|alt.badge.img+4

How to map UTM parameters?

utm_campaign → $campaign

utm_source → $mediaSource

utm_medium → ???

utm_term → $keyword

 

This post has been closed for comments

2 replies

Forum|alt.badge.img+7
  • Dedicated Contributor
  • 62 replies
  • November 30, 2022

You can create a custom attribute for any additional fields you need. Check out the docs here.


  • New Member
  • 1 reply
  • January 23, 2025

RevenueCat has these attributes related to campaign data:

  • $mediaSource
  • $campaign
  • $adGroup
  • $ad
  • $keyword
  • $creative

We have these UTM parameters:

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content

I know that we can call this function to setup the RevenueCat campaign data attributes:

  Purchases.setAttributes({
    $mediaSource: "...",
    $campaign: "...",
    $adGroup: "...",
    $ad: "...",
    $keyword: "...",
    $creative: "..."
  });

I would like to know the correct mapping from UTM attributes to these RevenueCat campaign data attributes please. I could not find anything in the docs on this.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings