GithubHelp home page GithubHelp logo

calendly-app's Introduction

PostHog Plugin: Calendly

Category: Data in

Enrich Calendly events which have calendly_event_url and calendly_invitee_url properties set with additional information from those URLs. Set the Calendly API key and the event name to watch for enrichment.

This app assumes that you're using react-calendly to send capture events into PostHog after an event has been scheduled in Calendly.

Installation

  1. Access PostHog's Apps page from the sidebar.
  2. To perform installation either:
  3. go to the Repository tab, find this plugin, and Install it,
  4. or go to the Advanced tab and Fetch and install the following URL in the Install from GitHub, GitLab or npm section:
    https://github.com/posthog/calendly-app.
  5. Configure the plugin by entering your Calendly API key and the name of the event to enrich.

Capture example using react-calendly

const calendlyEventScheduled = (e: EventScheduledEvent) => {
        const { event, payload = null } = e.data
        posthog?.capture(event, {
            calendly_event_uri: payload?.event.uri,
            calendly_invitee_uri: payload?.invitee.uri,
        })
    }

Properties set by the app

If available in the event and invitee URLs, the following properties will be set:

  • From calendly_event_url:
    • calendly_event_name - the name of the event
    • calendly_event_start - the scheduled start time of the event
    • calendly_event_end - the scheduled end time of the event
    • calendly_owner - the email address of the event owner
  • From calendly_invitee_url:
    • distinct_id - the email address of the person who booked the event
    • email - the email address of the person who booked the event
    • Any questions as properties and answers as values from the questions_and_answers invitee record

calendly-app's People

Contributors

simfish85 avatar twixes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.