Mixpanel Community Icon

Issues with Tracking 'utm_id' Parameter in Viewed Events

·
·

When receiving "viewed" events, my URLs that have "utm_id" as a parameter are not being tracked like other utm parameters (e.g. campaign). Why is this?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Chris B., 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

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Based on the information provided in the knowledge sources, I can explain why your "utm_id" parameter might not be tracked like other UTM parameters.According to the Mixpanel JavaScript SDK documentation, Mixpanel automatically tracks several UTM parameters, including "utm_id". Specifically, the documentation states:"The JavaScript library will automatically add any UTM parameters (utm_source, utm_campaign, utm_medium, utm_term, utm_content, utm_id, utm_source_platform, utm_campaign_id, utm_creative_format, utm_marketing_tactic) present on the page to events fired from that page load."However, there are a couple of things to consider:1. Case sensitivity: The documentation notes that "UTM tracking is case sensitive, and should be formatted lower-case as shown in the examples above." Make sure your "utm_id" parameter is in lowercase.2. SDK version: This functionality might depend on your SDK version. The documentation doesn't specify when this feature was added, so if you're using an older version of the SDK, it might not support "utm_id" tracking.3. Configuration: There's a possibility that UTM persistence has been disabled in your SDK initialization. The documentation mentions an option to disable UTM persistence: "To disable this UTM persistence, use the SDK initialization option {stop_utm_persistence: true}"If you've checked these points and are still experiencing issues, it might be worth contacting Mixpanel support for further assistance, as there could be other factors at play that aren't covered in the provided documentation.

    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.