Mixpanel Community Icon
  • Avatar of Christian G.
    Christian G.
    ¡
    ¡

    Documentation is wrong. Calling start_session_recording without record_sessions_percent doesn’t work. Which defeats the point of the starting function.

  • Avatar of Christian G.
    Christian G.
    ¡
    ¡

    Eric N. ☝️

  • Avatar of Christian G.
    Christian G.
    ¡
    ¡

    The documentation doesn’t say how to enable it, if needed, before using start_session_recording.

  • Avatar of Christian G.
    Christian G.
    ¡
    ¡

    It was indeed my plan not being the latest. Pricing page was giving an hint, not the plan details page.

  • Avatar of Eric N.
    Eric N.
    ¡
    ¡

    Thanks for the heads up Christian G.! I’ll ask my docs team about this and to correct this.

  • Avatar of Myron F.
    Myron F.
    ¡
    ¡

    To be clear, setting the record_sessions_percent init option officially enables Session Replay collection at the sample rate. The start_session_recording() allows you to force a session recording to take place even if it is not part of the automatic sampling. I can see how the naming of the init option does not clearly imply that it is also necessary to enable Session Replay in general. So thanks for the feedback. I just added an addendum to the documentation to make this more clear here and will have my team review this for accuracy before publishing.