Sam Winslow 126f21e8cd Email gated signup integration (#1742)
* remove nested info from HubSpot request

* introduce feature flags to constants file

* set experiment variant on mount

* routing and flag logic for email flow

* old flow (skipDeploymentOptions)

* try routing everything through signup page

* add a call to reload feature flags; show that it still does not work

* logic to set, persist, and update active experiment variants

* changes and hydration from feature flags

* selector for activeVariant, minor cleanup

* bugfix

* capture with set_once

* send variant name as an event prop, use a more description user prop name

* render nothing on the intermediate page if a redirect should occur

Co-authored-by: kunal <kunal@kunals-MacBook-Pro.local>
2021-08-11 17:22:53 -04:00
2021-08-05 13:34:29 -05:00
2021-08-06 12:47:31 +00:00
2021-02-09 09:01:47 +00:00
2021-04-01 17:42:54 +02:00
2021-08-04 18:42:16 +00:00
2021-08-11 17:22:53 -04:00
2020-07-24 12:25:12 +01:00
2021-05-12 10:20:33 -04:00

PostHog.com - Docs, Website, and Handbook

This is the repository for the PostHog website, which includes our Docs and Handbook.

Please feel free to suggest any changes. See our contributing guide for more information.

Quick Start

  1. Pre-Installation

    Install Node and Yarn.

    npm install --global yarn
    
  2. Start Developing

    Clone the repo then navigate into your new sites directory, install the site dependencies, and start it up.

    cd posthog.com/
    yarn
    yarn start
    

    Tip: Seeing a discrepancy between local development and staging/production? Preview the production build locally by running gatsby build && gatsby serve

  3. Open the Source Code and Start Editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

If you are using Apple M1 (read this for more):

rm -rf ./node_modules
brew install vips
yarn install

It is also possible to use docker:

docker run -it --rm \
    -w /app -v "$PWD":/app \
    -p 8000-8001:8000-8001 \
    -e INTERNAL_STATUS_PORT=8001 \
    node:14-slim \
    sh -c 'yarn && yarn start'

Questions?

Join our Slack community.

Description
No description provided
Readme MIT 2.1 GiB
Languages
TypeScript 61%
MDX 32.4%
JavaScript 6.1%
CSS 0.5%