When creating custom properties, can you choose to return one property on a specific event and another property on a different event?
Hi Lois, 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, Mixpanel's custom properties feature allows you to create properties that can borrow values from different events. This is specifically accomplished through "Borrowed Properties," which lets you borrow a property from one event and apply it to another event on the fly.With Borrowed Properties, you can: - "Borrow" a property from one event to another, making it appear as though that property was tracked on the target event all along - Analyze data across different events without requiring engineering changes to your implementation - Combine data from disparate systems (like client-side and server-side events)For example, you might want to break down a "Completed Purchase" event by a product category, but the category property only exists on an earlier "Add to Cart" event. Borrowed Properties allows you to pull that category property onto the purchase event for analysis.As noted in the documentation: > "Borrowing of a property is strictly from the most recent event in the 7 day lookback window. [...] if there are multiple events 'search product' before 'purchase', the property will be borrowed from the most recent 'search product' event where the property is set." Introducing Borrowed Properties: Combine data between events on the flyThis feature is available for customers on Growth and Enterprise plans, and is limited to Admin & Owner roles, with a maximum of 20 borrowed properties per project.
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! 📚
You can use borrowed properties in Mixpanel funnels just like any other custom property. Once you've created a borrowed property, it becomes available for use in funnel analysis for filtering, breakdowns, and other analytical purposes.Here's how to use borrowed properties in funnels: 1. First, create your borrowed property (this requires Admin or Owner role) 2. Once created, the borrowed property functions like any other custom property in your funnel analysis 3. You can use it to filter funnel steps, break down conversion rates, or hold it constant throughout the funnelFor example, if you've created a borrowed property that pulls "search term" from a "search product" event onto a "purchase" event, you could: - Break down your purchase funnel by search terms to see which searches lead to the highest conversion - Filter your funnel to only include users who searched for specific terms - Use the "hold property constant" feature to analyze conversions where users purchased the same item they searched forThe "hold property constant" feature is particularly useful with borrowed properties in funnels, as it requires that a user retains the same value for a given property throughout the funnel steps to be counted as a conversion. This helps you track specific user journeys where context from one event (via the borrowed property) is maintained through subsequent events in the funnel.Funnels Advanced Concepts explains that you can hold up to 3 properties constant simultaneously in your funnel analysis.Remember that borrowed properties have a 7-day lookback window, so they'll only pull values from events that occurred within 7 days before the event you're analyzing in your funnel.
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.
kapa.ai I want to create a next article completion funnel that measures the percentage of users who click on a recommended piece of content, visit that page and then scroll to the bottom of that page using the following events:
recommendation_click
screen_view
scroll
With the recommendation_click event we send a destination_page_name property. I want to ensure that the value for the destination_page_name property matches the value of the page_name property on the screen_view and scroll events. How can I do this?
Let me check the knowledge base for you again. One moment! 📚
To create a funnel that tracks users who click on a recommended article, visit that page, and then scroll to the bottom of that page while ensuring the destination page matches across all events, you can use Mixpanel's "Hold Property Constant" feature.Here's how to set up your funnel: 1. Create your funnel with the three events in sequence:
- recommendation_click
- screen_view
- scroll
2. Use the "Hold Property Constant" feature to ensure the page name is consistent across all steps:
- Expand the "Advanced" menu in your funnel configuration
- Click "Holding property constant"
- Select the properties you want to hold constantIn your case, you'll need to make sure the destination_page_name
from the first event matches the page_name
in the subsequent events. Since these are different property names, you have two options: Option 1: Use a custom event or borrowed property to standardize the property names across all events.Option 2: Use the "Hold Property Constant" feature with property mapping: > "Since all the events must have the property, you can only select event properties that apply to all of the events in your funnel. You can select multiple properties, but when you do ALL of them must be kept constant."
Funnels Advanced ConceptsThe "Hold Property Constant" feature will ensure that users only convert through your funnel if they maintain the same value for the specified property across all steps. This means a user will only be counted as converted if they click on a recommendation, view the exact page that was recommended, and then scroll on that same page.Remember that you can hold up to 3 properties constant simultaneously in your funnel analysis, which gives you flexibility to add additional criteria if needed.If you need to create a more complex funnel with different property names, you might want to consider creating a custom event that standardizes these properties first.I hope this helps with your article completion funnel analysis!
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'll explain how to create custom events in Mixpanel to standardize properties for your funnel analysis.To create a custom event that standardizes different property names: 1. You can use Mixpanel's Custom Events feature to create virtual events that combine multiple events and standardize their properties.2. Here's how to create a custom event: - Expand the Event dropdown in either an Insights, Funnels or Retention report - Select the plus button to the right of the search bar - Select the events and properties you'd like to include - Name your custom event, and click Save3. For your specific case with the article completion funnel, you could create custom events that standardize the page name property across all steps: - Create a custom event for each step in your funnel - Apply filters to each custom event to ensure they represent the same user journey - Give them consistent names that make analysis easierCustom Events: Combine multiple events for analyses explains that custom events allow you to "Merge two events into a single event" or "Create an event based on a filter on another event."Alternatively, you could use Custom Properties to create a new standardized property that works across all your events. This would allow you to transform property values on the fly using Mixpanel's formula language.For your specific funnel tracking article completions, you might want to create custom events that ensure the page name is consistent across all steps, making it easier to analyze the complete user journey from recommendation click through to scroll completion.Remember that you can edit or delete custom events later through the Lexicon interface if you need to make changes to your setup.Would you like more specific guidance on creating custom events for your article completion funnel?
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'll provide more specific guidance on creating custom events in Mixpanel for your article completion funnel scenario.
Step-by-Step Guide to Creating Custom Events
1. Create Custom Events for Each Step
For your article completion funnel, you'll need to create three custom events that standardize the page name property: First Custom Event (Recommendation Click):
1. Go to any Insights, Funnels, or Retention report
2. Click on the Event dropdown
3. Click the plus (+) button next to the search bar
4. Select the recommendation_click
event
5. Name it something like "Article Recommendation Click"
6. Save this custom eventSecond Custom Event (Page View):
1. Create another custom event
2. Select the screen_view
event
3. Add a filter where page_name
equals the value from destination_page_name
in the first event
4. Name it "Recommended Article View"
5. Save this custom eventThird Custom Event (Scroll Completion):
1. Create another custom event
2. Select the scroll
event
3. Add a filter where page_name
equals the value from destination_page_name
in the first event
4. Name it "Recommended Article Scroll"
5. Save this custom event
2. Use These Custom Events in Your Funnel
Now you can create a funnel using these three custom events, which will ensure that the page name is consistent across all steps.
3. Managing Your Custom Events
To view, edit, or delete your custom events: 1. Navigate to Lexicon 2. Click on the "Custom Events" tab 3. Here you can see all custom events and edit them as neededCustom Events: Combine multiple events for analyses
Alternative Approach: Saved Behaviors
Another approach is to use Mixpanel's Saved Behaviors feature, which allows you to save funnel definitions for reuse: 1. Create your funnel with the original events 2. Configure it with the necessary filters and property constraints 3. Save this funnel as a behavior 4. Reuse this saved behavior across different reportsAs noted in Mixpanel's blog: "Once you've drilled down your reporting to identify a specific user behavior, you can now save a funnel or retention behavior definition and reuse it across your reports." This "unlocks standardization on your behavioral definitions" and saves time.More analysis and customization: Here's what you can do with Mixpanel's latest featuresWould you like me to elaborate on any specific part of this process?
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! 📚
You're right, and I apologize for the confusion. Creating a direct filter where page_name
equals the value from destination_page_name
in another event isn't directly possible with standard custom events. Let me provide a more accurate approach using Mixpanel's features.
Better Approach: Using Borrowed Properties
For your article completion funnel, you can use Borrowed Properties to solve this problem: 1. First, create a borrowed property that brings the destination_page_name
from the recommendation_click
event to your other events:
- As an Admin/Owner, create a borrowed property
- Borrow destination_page_name
from recommendation_click
onto your screen_view
and scroll
events
- Name it something like "recommended_page"2. Then create your funnel with:
- Step 1: recommendation_click
- Step 2: screen_view
with a filter where page_name
equals recommended_page
- Step 3: scroll
with a filter where page_name
equals recommended_page
3. Alternatively, use the "Hold Property Constant" feature in funnels:
- Create your funnel with all three events
- Use borrowed properties to standardize the property names
- Then use "Hold Property Constant" to ensure the page remains the same throughout the funnelAs noted in the documentation:
"Borrowed Properties unlocks more analysis with the data you already have, without any lift from your engineering team... You can simply borrow the property directly in our UI and poof—it just works, like it was tracked all along."
Introducing Borrowed Properties: Combine data between events on the flyRemember that borrowed properties have a 7-day lookback window, so they'll only pull values from events that occurred within 7 days before the event you're analyzing.Would you like more specific guidance on implementing borrowed properties for your funnel?
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, you can specify which events you want to use with custom event properties in Mixpanel. There are a few ways to approach this:
Using Custom Events
When creating a custom event in Mixpanel, you can select specific events and apply filters based on their properties: 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 specific events you'd like to include 4. Apply property filters to those events 5. Name your custom event and save itThis allows you to create a virtual event that combines multiple events with specific property conditions.Custom Events: Combine multiple events for analyses
Using Event Whitelisting in Data Pipelines
If you're using Mixpanel's Data Pipelines to export data, you can specify which events you want to include with their properties: LBKS--data 'events=event1' \ --data 'events=event2'LBKS
This creates a whitelist for the specific events you intend to export with their properties.
Using Property Filtering
You can also filter events by their properties in various Mixpanel reports: 1. Click the Filter button in your report 2. Select the event property you want to filter by 3. Choose the condition and value for the filterThis allows you to analyze only events that have specific property values.Would you like more specific guidance on any of these approaches for your use case?
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.