How can I find events triggered on the same page to see their connections?
Hi Sharon L., 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
To find events triggered on the same page and see their connections in Mixpanel, you can use the Flows report. The Flows report allows you to visualize the most frequent paths taken by users to or from any event, which can help you understand how events on the same page are connected.Here's how you can use Flows to achieve this:1. Navigate to the Flows report in Mixpanel. 2. Select the event that represents the page view or a key event on the page you're interested in as your starting point. 3. Add steps after this event to see what other events users trigger on that page.According to the Flows documentation:> Flows identifies the most frequent paths taken by users to or from any event. Use Flows to understand how your users sequentially perform events in your product and analyze drop-offs or unsuccessful behavior.The Flows report will show you a Sankey diagram that visualizes the sequence of events, allowing you to see which events are commonly triggered together on the same page.Additionally, you can:- Adjust the number of steps shown after your initial event to see more or fewer subsequent events. - Use filters to focus on specific user segments or conditions. - Expand custom events to view underlying events if needed.For a more detailed analysis, you can also use the "View Events" feature in the Insights report. As mentioned in the Insights documentation:> Click on a chart segment in Insights and view the raw events that made up that metric. You will be redirected to the Events page.This can help you see individual event instances and their relationships more closely.By using these features, you can effectively find and analyze events triggered on the same page and understand their connections within your product.
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.
Let me check the knowledge base for you again. One moment! 📚
Yes, it is possible to filter events in the Flow report to ensure they all happen on the same page view. You can achieve this by using the "Hold Property Constant" feature in Mixpanel's Flows report.According to the Flows documentation:> Holding a property constant in flows requires that a user retain the same value of a given event property for an event to be considered part of the flow.Here's how you can set this up:1. In the Flows report, set up your initial events or steps. 2. In the conversion criteria section, click on "Advanced" and then select "Holding property constant". 3. Choose the property that represents your page view. This could be something like "Page URL" or "Page Name", depending on how you've set up your event tracking.By holding this property constant, you ensure that all events in the flow occur on the same page view. The documentation further explains:> For example, let's say your product is an e-commerce retail site, and you want to see flows between Add to Cart > Purchase as long as they purchased the same item - meaning they must be interacting with the same item in every step of the flow - you would hold the Item Name property constant.In your case, instead of "Item Name", you would use the property that identifies your page view.It's important to note that the way this is calculated depends on the counting method you've selected (Uniques, Totals, or Sessions). The documentation provides more details on how each counting method affects the property constant feature.By using this feature, you can effectively filter your Flow report to show only the events that occur within the same page view, giving you a clearer picture of user behavior on specific pages.
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.
Let me check the knowledge base for you again. One moment! 📚
Yes, it is possible to add a custom event property like 'page_id' to Mixpanel's default 'View Page' event for further filtering. This can be done by leveraging Mixpanel's ability to add custom properties to events.According to the Mixpanel JavaScript SDK documentation:> The default page view event has the event name ($mp_web_page_view
), and includes the event properties page title (current_page_title
), URL components (current_domain
, current_url_path
, current_url_protocol
, current_url_search
), and marketing parameters. Additional page view event properties can be added.To add your custom 'page_id' property to the default page view event, you can do the following::LBKSLBKS```LBKSmixpanel.track_pageview({
"page_id":: "your_page_id_here"
});LBKSLBKSThis will send a default page view event with the additional "page_id" property.LBKSIf you want to add this property to all page view events automatically, you can set it up as a super property. As mentioned in the [JavaScript SDK documentation](https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript#setting-super-properties):LBKS> Super properties are properties that are automatically attached to all events sent by a user.LBKSYou can set a super property like this:LBKSLBKS
mixpanel.register({
"page_id": "your_page_id_here"
});```Once you've added the 'page_id' property to your page view events, you can use it for filtering in various Mixpanel reports, including the Flows report we discussed earlier. This will allow you to analyze user behavior on specific pages with more granularity.Remember to update your tracking plan and inform your team about this new property to ensure consistent use across your analytics setup.
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.