Optibase
  • 🤔What is Optibase
    • 🧪What is a Test/Variant Group
    • 🪞What is a Variant
    • 🏁What is a Conversion
    • 🧑What is a Tested User
    • 🏠What is a Guest User
    • ⚙️What does the custom script do?
    • 👑Probability to Be Best (P2BB)
  • 👷How to setup Optibase
    • ✍️Add the custom script
    • 🎯Create a Conversion
    • 🔗Connect a Conversion
    • 🖥️Server-side Conversions
    • ⚖️Create a Test/Variant Group
    • 🆎Create an A/B Variant
    • 🔗Connect an A/B Variant
    • 🔀Create a Split Variant
    • 🔒Force Variants
    • 👑Turn off when a winner is found
    • 🔞Set up restrictions
    • ⏲️Schedule a Test
    • 📨Share test results
    • 🔄Connect Conversions to a Test
    • 📅Filter test results by a specific time period
  • 🪄Optibase Webflow App
    • ✍️Add the custom script
    • 🎯Create a Conversion
    • 🔗Connect a Conversion
    • ⚖️Create a Test/Variant Group
    • 🆎Create an A/B Variant
    • 🔗Connect an A/B Variant
    • 🔀Create a Split Variant
    • ☑️Types of Content You Can Connect
  • 🔗Integrations
    • 📞Active Variants API
    • ⚡Trigger Conversions with GTM
    • 📈Google Analytics 4
    • 👷Google Analytics 4 with GTM
    • ✖️Mixpanel
    • 🦔Track conversions in PostHog
  • ❓FAQs
    • Why can you see views in the views tab for pages that don't have a test?
    • Why can't I see detailed metrics like average "Time on Page" and "Scroll Depth"?
    • Why do conversions in the Webflow app appear to disconnect randomly, and are these conversions still
    • Troubleshooting Component Connection Issues in Optibase
    • How Optibase Works with CMS in Webflow
    • Why Your Screen Flickers Before Loading the Right Variants
    • Why variants appear disconnected when inside a component?
    • Localisation Limitations in Webflow with Optibase
    • Why Conversions May Not Be Recording in Optibase
    • Does a URL Split Test Work with UTM Parameters?
    • Using Optibase Across Multiple Websites
    • Why Conversions or Results May Not Be Visible in the Results Tab
    • Can I redirect traffic between two different URLs using Optibase?
    • How do I exclude internal traffic from being counted in Optibase tests?
    • Can I connect multiple conversions to a single test?
    • How does Optibase handle geo-restricted A/B tests?
    • Why are conversion events double counted in my test?
    • How can I transfer ownership of an Optibase workspace?
    • Why do I see flickering between A/B variants?
    • Can I test elements across all pages on my website?
    • Why is a guest user still on a free plan after being invited to a paid workspace?
    • Can I redirect traffic between two different URLs using Optibase?
    • How do I set up a multivariate test in Optibase?
    • How do I exclude internal traffic from being counted in Optibase tests?
    • Why are conversion events double counted in my test?
    • Why is the wrong variant showing when I preview using the variant URL?
    • How can I force a specific variant to display for debugging?
    • How do I check which buttons are connected to a conversion event?
    • Can I run multiple tests on the same page?
    • Is it possible to set traffic allocation dynamically during a test?
    • How can I test different CTAs that exist across 50+ pages?
    • What happens when a test reaches statistical significance?
    • How do I view which conversion event was triggered?
    • Can I filter out specific IPs or users from test results?
    • Can I run tests on a site that uses a custom CMS or codebase?
    • Is Optibase compliant with GDPR?
    • Do I need to connect a conversion event to a test for it to be tracked?
    • How do I test different product pages with different pricing?
    • What if my team member can't access the Business plan features?
    • Can I test hero images with multiple slides in each variant?
    • Why does a variant not show even with 100% traffic assigned?
    • Can I export test results?
    • How do I test a new user journey that starts on different landing pages?
    • How can I preview the test without affecting analytics?
    • How do I know if my test is live?
    • How many users do I need to reach statistical significance?
    • Can I pause a test and restart later?
    • What is the difference between A/B and multivariate testing?
    • Can I run a test with just one variant?
    • Does Optibase support UTM tracking across redirects?
    • What is a 'Tested User' in Optibase?
    • How do I know when to stop a test?
    • Can I use Optibase for content localization testing?
    • Do I need to re-add conversion tracking for each new test?
Powered by GitBook
On this page
  • Identify the Conversion Attribute in Optibase:
  • Set Up the Conversion Event in PostHog:
  • Test Your Setup:
  1. Integrations

Track conversions in PostHog

If you’re using PostHog alongside Optibase, you can easily track conversions by integrating Optibase’s data attributes into PostHog. Here’s how you can set it up:

Identify the Conversion Attribute in Optibase:

In Optibase, locate the data attribute associated with the conversion event you want to track (e.g., a button click or form submission).

Set Up the Conversion Event in PostHog:

• Navigate to Data Management in your PostHog dashboard.

• Go to Actions and create a new action to track the desired event.

• Use the HTML Selector Match option to identify elements based on the Optibase data attribute.

• For example: If Optibase assigns data-optibase-conversion="get-started" to a button, use this selector in PostHog to track clicks on that button.

Once the PostHog action is set up with the Optibase attribute, any interaction with the element will now trigger events in both Optibase and PostHog.

Test Your Setup:

• Visit the page where the conversion is set up.

• Trigger the action (e.g., click the button or submit a form).

• Check both Optibase and PostHog to ensure the events are being recorded as expected.

PreviousMixpanelNextFAQs

Last updated 5 months ago

🔗
🦔