Description of UTM sources
Hi George K., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
UTM (Urchin Tracking Module) sources are an important part of tracking and analyzing marketing efforts in Mixpanel. Here's a description of UTM sources based on the provided knowledge:UTM sources are parameters added to URLs to track the origin of traffic to a website. In Mixpanel, the utm_source
parameter specifically identifies the source of the traffic, such as a search engine, newsletter, or social media platform Traffic Attribution.Mixpanel's JavaScript library automatically tracks UTM parameters, including utm_source
, as event properties. When a user first arrives on your site with UTM parameters, Mixpanel also stores these as user profile properties prefixed with "initial_", such as initial_utm_source
 Mixpanel SDKs: Javascript.UTM sources can be used in various ways within Mixpanel:1. Event Analysis: You can use UTM sources to segment and analyze user behavior based on their traffic source.2. Attribution: Mixpanel's attribution feature allows you to attribute conversions to different UTM sources, helping you understand which marketing channels are most effective Attribution: Multi-touch segmentation in the user conversion journey.3. User Profiling: The initial UTM source is stored as a user property, allowing you to segment users based on their original traffic source.For server-side implementations, you'll need to manually extract and send UTM parameters to Mixpanel. Here's an example of how to do this in Python:LBKSutm_keys = ["utm_source", "utm_medium", "utm_campaign", "utm_content", "utm_term"] utm_values = {key: request.args[key] for key in utm_keys if request.args.get(key)} properties.update(utm_values)LBKS
Server-Side Best PracticesBy tracking and analyzing UTM sources, you can gain valuable insights into the effectiveness of your marketing channels and optimize your acquisition strategies.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.