Skip to main content
Solved

Amplitude's utm user properties not returned in API

  • January 24, 2025
  • 2 replies
  • 59 views

nmarkman

Hello!

I’m trying to use the Amplitude API to retrieve user properties, specifically I am using the GET user activity call (https://amplitude.com/api/2/useractivity). I am not seeing the amplitude-set user properties for any of the utms available in this data (utm_source, utm_campaign, etc).

Is this expected?

Best answer by nmarkman

Hey, ​@liuaud! Disregard this! I didn’t realize that amplitude would not send the properties at all if they weren’t present for a user associated with the event. I was expecting to see the property names in user props with “null” values, but for these particular events it looks like amplitude only sets them when there is data and I was simply looking at users who did not have them set. 

View original
Did this topic help you find an answer to your question?

2 replies

liuaud
Peer Moderator
Forum|alt.badge.img+2
  • Peer Moderator
  • 36 replies
  • January 28, 2025
Hi Nick,

Thank you for writing in! My name is Audrey, and I am your Technical Support Agent here to help you.

Would you mind sending over a link to a specific user profile that you are trying to query with the GET call? This will help a lot to troubleshoot.

Best,
Audrey


P.S. Checkout upcoming events and user meetups on our events page.

nmarkman
  • Author
  • New Member
  • 1 reply
  • Answer
  • February 4, 2025

Hey, ​@liuaud! Disregard this! I didn’t realize that amplitude would not send the properties at all if they weren’t present for a user associated with the event. I was expecting to see the property names in user props with “null” values, but for these particular events it looks like amplitude only sets them when there is data and I was simply looking at users who did not have them set. 


Reply


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