Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

10.7 KB
Raw Blame
<!DOCTYPE html>
<html lang="en">

<head>
    <meta name="robots" content="noindex" />
    <title>PostHog</title>
    {% include "head.html" %}

    <script nonce="{{ request.csp_nonce }}">
        // these values are properly sanitized
        // nosemgrep: generic.html-templates.security.var-in-script-tag.var-in-script-tag
        const posthogJSApiKey = "{{ js_posthog_api_key|escapejs }}";
        // nosemgrep: generic.html-templates.security.var-in-script-tag.var-in-script-tag
        let posthogHost = "{{ js_posthog_host|escapejs }}";
        if (posthogHost.trim().length === 0) {
            posthogHost = window.location.origin;
        }
        // The cloud host serves the CDN's mutable aliases, so /static/1/ holds this page on the
        // browser SDK's current major until a migration moves it. A self-hosted or dev app serves
        // its own pinned build under /static/ and has no major alias.
        const posthogJSPath = posthogHost === window.location.origin ? "/static/array.js" : "/static/1/array.js";
        !function (t, e) { var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) { function g(t, e) { var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () { t.push([e].concat(Array.prototype.slice.call(arguments, 0))) } } (p = t.createElement("script")).type = "text/javascript", p.crossOrigin = "anonymous", p.async = !0, p.src = s.api_host.replace(".i.posthog.com", "-assets.i.posthog.com") + posthogJSPath, (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], Object.defineProperty(u, "toString", { configurable: !0, enumerable: !0, writable: !0, value: function (t) { var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e } }), Object.defineProperty(u.people, "toString", { configurable: !0, enumerable: !0, writable: !0, value: function () { return u.toString(1) + ".people (stub)" } }), o = "capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId setPersonProperties".split(" "), n = 0; n < o.length; n++)g(u, o[n]); e._i.push([i, s, a]) }, e.__SV = 1) }(document, window.posthog || []);
        posthog.init(posthogJSApiKey, { api_host: posthogHost, persistence: 'localStorage+cookie' })
    </script>
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"
        crossorigin="anonymous" />

    <!-- 
        Trying to make changes here? LOL good luck! ;)
        (Pro tip: Reboot the server after making changes.)
    -->

    <style>
        html,
        body {
            height: 100%;
        }

        body {
            background: #E5E7E0 !important;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-align: center;
            align-items: center;
            padding-top: 40px;
            padding-bottom: 40px;
        }

        .auth-frame {
            margin: 0 auto;
            max-width: 450px;
            padding: 0 1rem;
        }

        .auth-frame ul {
            padding: 0 1rem 1rem !important;
        }

        .auth-frame li {
            list-style: disc !important;
        }

        .logo-frame {
            margin-bottom: 2rem;
            text-align: center;
        }

        .logo-frame svg {
            height: 30px;
        }

        .form-signin {
            background: #EEEFE9;
            border-radius: .5rem;
            border: solid 1px #D0D1C9;
            border-bottom-width: 3px;
            margin: auto;
            max-width: 450px;
            padding: 2rem;
            width: 100%;
        }

        .form-signin .checkbox {
            font-weight: normal;
        }

        .form-signin .form-control {
            position: relative;
            box-sizing: border-box;
            height: auto;
            padding: 10px;
            font-size: 16px;
        }

        .form-signin .form-control:focus {
            z-index: 2;
        }

        .form-signin-inputs input {
            border-radius: 0;
            margin-bottom: -1px;
        }

        .form-signin-inputs input:first-child {
            border-radius: var(--radius) 0.25rem 0 0;
        }

        .form-signin input:last-child {
            border-radius: 0 0 0.25rem 0.25rem;
        }

        .field {
            display: flex;
            flex-flow: column-reverse;
            margin-bottom: 1em;
        }

        .field label,
        .field input {
            transition: all 0.2s;
            touch-action: manipulation;
            color: #495057;
        }

        .field input {
            font-size: 1.5em;
            border: 0;
            border-bottom: 1px solid #ccc;
            font-family: inherit;
            -webkit-appearance: none;
            border-radius: 0;
            padding: 0;
            cursor: text;
        }

        .field input:focus {
            outline: 0;
            border-bottom: 1px solid #666;
        }

        input:placeholder-shown+label {
            cursor: text;
            max-width: 66.66%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transform-origin: left bottom;
            transform: translate(0, 2.125rem) scale(1.5);
        }

        ::-webkit-input-placeholder {
            opacity: 0;
            transition: inherit;
        }

        input:focus::-webkit-input-placeholder {
            opacity: 1;
        }

        input:not(:placeholder-shown)+label,
        input:focus+label {
            transform: translate(0, 0) scale(1);
            cursor: pointer;
            color: var(--color-accent);
        }

        h2 {
            font-size: 1.5rem;
            font-weight: 600 !important;
        }

        .button {
            animation-delay: 1.2s;
            animation-direction: normal;
            animation-duration: 3s;
            animation-fill-mode: both;
            animation-iteration-count: 1;
            animation-play-state: running;
            animation-range-end: normal;
            animation-range-start: normal;
            animation-timeline: auto;
            animation-timing-function: ease;
            background-color: rgb(205, 132, 7);
            border-bottom-color: rgb(177, 120, 22);
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
            border-bottom-style: solid;
            border-bottom-width: 1.5px;
            border-image-outset: 0;
            border-image-repeat: stretch;
            border-image-slice: 100%;
            border-image-source: none;
            border-image-width: 1;
            border-left-color: rgb(177, 120, 22);
            border-left-style: solid;
            border-left-width: 1.5px;
            border-right-color: rgb(177, 120, 22);
            border-right-style: solid;
            border-right-width: 1.5px;
            border-top-color: rgb(177, 120, 22);
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            border-top-style: solid;
            border-top-width: 1.5px;
            box-sizing: border-box;
            color: rgb(21, 21, 21);
            cursor: pointer;
            display: block;
            font-family: 'Emoji Flags Polyfill', MatterVF, -apple-system, "system-ui", "avenir next", avenir, "segoe ui", "helvetica neue", helvetica, Ubuntu, roboto, noto, arial, "sans-serif";
            font-feature-settings: normal;
            font-variant-ligatures: none;
            font-variant-numeric: normal;
            font-variation-settings: "wght" 600;
            font-weight: 600;
            height: 44.5px;
            line-height: 24px;
            overflow-wrap: break-word;
            position: relative;
            tab-size: 4;
            text-align: center;
            text-decoration-color: rgb(21, 21, 21);
            text-decoration-line: none;
            text-decoration-style: solid;
            text-decoration-thickness: auto;
            text-size-adjust: 100%;
            top: 2px;
            -webkit-font-smoothing: antialiased;
        }

        .button span {
            background-color: rgb(235, 157, 42);
            border-bottom-color: rgb(177, 120, 22);
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
            border-bottom-style: solid;
            border-bottom-width: 1.5px;
            border-image-outset: 0;
            border-image-repeat: stretch;
            border-image-slice: 100%;
            border-image-source: none;
            border-image-width: 1;
            border-left-color: rgb(177, 120, 22);
            border-left-style: solid;
            border-left-width: 1.5px;
            border-right-color: rgb(177, 120, 22);
            border-right-style: solid;
            border-right-width: 1.5px;
            border-top-color: rgb(177, 120, 22);
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            border-top-style: solid;
            border-top-width: 1.5px;
            box-sizing: border-box;
            color: rgb(21, 21, 21);
            cursor: pointer;
            display: block;
            font-family: 'Emoji Flags Polyfill', MatterVF, -apple-system, "system-ui", "avenir next", avenir, "segoe ui", "helvetica neue", helvetica, Ubuntu, roboto, noto, arial, "sans-serif";
            font-feature-settings: normal;
            font-size: 15px;
            font-variant-ligatures: none;
            font-variant-numeric: normal;
            font-variation-settings: "wght" 800;
            font-weight: 700;
            height: 41.5px;
            line-height: 22.5px;
            margin-left: -1.5px;
            margin-right: -1.5px;
            overflow-wrap: break-word;
            padding-bottom: 8px;
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 8px;
            position: relative;
            tab-size: 4;
            text-align: center;
            text-size-adjust: 100%;
            transform: matrix(1, 0, 0, 1, 0, -4);
            user-select: none;
            -webkit-font-smoothing: antialiased;
        }

        .button:hover {
            text-decoration: none;
        }

        .button:hover span {
            top: -2px;
        }

        .button:active span {
            top: .5px;
        }
    </style>
    {% block head %} {% endblock %}
</head>

<body>
    {% include "overlays.html" %} {% block content %} {% endblock %}
</body>

</html>