Mixpanel Community Icon

Setting Up a Custom Search Success Event in Mixpanel

·
·

I would like to create a custom event to measure "Search Success" in our product. I want this event to trigger when the following events are true:

  • SearchResultClick (equals that a search was made)

  • Custom_SearchHitNumber is less or equal to 3 (meaning that the article clicked in search hit list was among the top 3 hits)

  • Pageview20s (meaning that the users spent at least 20second on the article clicked).

All of above events are already created and available. But when I go about creating a custom event I can only choose to create an event based on SearchResultClick OR Pageview20s etc. occuring. But how I would like to set it up is AND i.e. I only want the custom event to trigger when all of the events defined have occured. Any idea/input on how to set this up in Mixpanel?

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

    Hi Gustaf D., 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, Mixpanel allows you to create custom events by combining multiple events and filtering them based on certain properties. However, it seems that the custom events are designed to trigger when any of the defined events occur, not when all of them occur. Here's how you can create a custom event in Mixpanel:1. Expand the Event dropdown in either an Insights, Funnels or Retention report. 2. Select the plus button to the right of the search bar. 3. Select the events and properties you’d like to include. 4. Name your custom event, and click Save.However, the functionality you're asking for, where a custom event triggers only when all of the defined events have occurred, might not be directly supported. It might be worth reaching out to Mixpanel's support for more specific guidance on this use case.For more information, you can refer to the Mixpanel documentation on custom events.

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.