is there a way to create a custom event property that shows the landing page of every session?
Hi Elena M., 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
Yes, you can create a custom event property that shows the landing page of every session in Mixpanel. This can be accomplished using Mixpanel's Sessions feature, which automatically captures session information.When Mixpanel computes sessions, it creates "Session Start" events that automatically inherit certain properties from the first event in the session, including the "Current URL" property. This means the landing page information is already available on the Session Start event.As mentioned in the documentation: > The Session Start event automatically inherits certain properties from the first event in the session... Breaking down by the Current URL property tells you which pages are the most common landing pages for a session. Sessions Use CasesTo analyze this data, you can: 1. Use the "Session Start" event in your reports 2. Break down by the "Current URL" property to see which pages are the most common landing pagesIf you need to create a custom property that references this landing page URL for use in other analyses, you can use Mixpanel's Custom Properties feature: 1. Click the plus button to the right of the search bar 2. Select Event Property or User Property to open the property builder 3. Define your formula to reference the Current URL property from the Session Start eventCustom PropertiesThis approach allows you to see landing page data across your sessions without requiring any additional tracking implementation.
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! 📚
To reference the Current URL property from the Session Start event in a custom property, you can use Mixpanel's borrowed properties feature. This allows you to access properties from one event and use them in another event.Here's how to do it: 1. First, you need to create a borrowed property that references the Current URL from the Session Start event: - Go to the custom property builder (click the plus button next to the search bar) - Select "Borrowed Property" when creating your custom property - Choose "Session Start" as the source event - Select "$current_url" (Current URL) as the property to borrow2. Once you've created this borrowed property, you can use it in other custom properties or analyses.As the documentation explains: > Borrowed property creation is limited to Admin & Owner Roles only
A project can have a maximum of 20 borrowed properties. Hence you are encouraged to only create borrowed properties useful to the larger team A borrowed property once created is like any other custom property. It can be accessed by all in the project depending on permissionsBorrowed PropertiesNote that borrowed properties have a 7-day lookback window, meaning they will only reference events that occurred within the past 7 days.To use this borrowed property with other functions, you would need to:
1. Create a custom property with just the borrowed property on its own 2. Create a separate custom property using the borrowed property (the first custom property)This approach allows you to reference the landing page URL from Session Start events across your analyses.
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! 📚
I understand you're having trouble finding the "Session Start" event in the Borrowed properties dropdown. This is a common issue when working with Mixpanel's sessions feature.The "Session Start" event is actually a virtual event that Mixpanel computes automatically based on your session settings. Since it's a system-generated event, it might not appear in the standard event dropdown in the same way as your tracked events.Here are a few things to check: 1. Make sure sessions are properly configured in your project settings. Sessions need to be enabled and configured (timeout-based, event-based, or property-based) for the Session Start events to be generated.2. Check if the Session Start event might be hidden in Lexicon. As mentioned in the documentation, events can be hidden and not appear in dropdown menus: Hiding Data3. The Session Start event might be considered "inactive" if it hasn't been fired in the last 30 days: Check for Hidden Events and Properties4. Try typing "Session Start" directly in the search field of the dropdown (note that event names are case-sensitive).If you still can't find the Session Start event, you might need to: - Check with a project Admin to ensure sessions are properly configured - Look at the Events Menu to see if the event appears there first before trying to use it in borrowed properties - Consider using the Current URL property directly from your original events if borrowing from Session Start isn't workingIf you need further assistance, I'd recommend reaching out to Mixpanel support as they can look at your specific project configuration.
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! 📚
I understand your issue - you can see the "Session Start" event in the regular event dropdown, but it's not appearing in the "borrowed from" dropdown when trying to create a borrowed property.This is likely because of a limitation with Mixpanel's borrowed properties feature. According to the documentation, borrowed properties have specific constraints: > Borrowing of a property is strictly from the most recent event in the 7 day lookback window. Borrowed PropertiesSince "Session Start" is a virtual event that Mixpanel computes automatically rather than a standard tracked event, it may not be available as a source for borrowed properties.Instead, you might need to use one of these alternative approaches: 1. Use the Session Start event directly in your reports and break down by the origin_start (Session Start Event Name) - duration_s (Session Duration in Seconds) Reserved Event PropertiesIf you continue to have issues, I'd recommend reaching out to Mixpanel support as they can provide guidance specific to your project configuration and needs.
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.