Skip to main content
Solved

How do you track custom url parameters through Amplitude?

  • February 24, 2023
  • 2 replies
  • 2548 views

We wish to track our own custom parameters.

For example:

In the case of a user entering the website for the first time through this url “test.com/home?utm_source=foo&ad_id=bar”

 

Amplitude would capture utm_source, which is “foo”, as his initial_utm_source. But wouldn’t capture ad_id=bar at all.

 

How can we setup Amplitude in a way that ad_id gets captured as well as initial_ad_id gets set.

Best answer by Saish Redkar

Hey @edwinsevlaraj 
Here are the parameters which are supported via utm tracking

https://www.docs.developers.amplitude.com/data/sdks/marketing-analytics-browser/?h=utm#web-attribution

I’m not quite sure if you can map anyone of the above to your custom ad_id or use the Attribution API.

Another approach would be to extract this id using a derived property on your captured page url ( if you are capturing this one ) and use this for charting.

Hope this helps.

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

2 replies

Jeremie Gluckman
Team Member
Forum|alt.badge.img+9

Thanks for this question @edwinsevlaraj. I found this thread with some additional details to help. Keep us posted as you make progress. 

 


Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1380 replies
  • Answer
  • February 28, 2023

Hey @edwinsevlaraj 
Here are the parameters which are supported via utm tracking

https://www.docs.developers.amplitude.com/data/sdks/marketing-analytics-browser/?h=utm#web-attribution

I’m not quite sure if you can map anyone of the above to your custom ad_id or use the Attribution API.

Another approach would be to extract this id using a derived property on your captured page url ( if you are capturing this one ) and use this for charting.

Hope this helps.


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