Glide HomepageOpen Glide

Getting Started

Quickstart
Intro to Layout
Intro to the Data Editor
Data to Layout
Intro to Actions
Intro to Workflows
App Settings
Templates

Essentials

Data Sources
Basic Columns
Components
Security and User Data
Users
Publishing and Sharing

Automation

Actions
AI
Computed Columns
Integrations
Asana
Azure
Browser
CSV to JSON
Call API
Clearbit
Data Structures
Device Info
Discord
DocsAutomator
DocuSign
ElevenLabs
Files Integration
Giphy
GitHub
Gmail
Google Analytics
Google Calendar
Google Cloud
Google Cloud Vision
Google Gemini
Google Maps
Google Tag Manager
Gravatar
Hubspot
IFTTT Webhook
Image Editor
Intercom
JSON
Koala
Make
Meta Pixel
Microsoft Outlook
Microsoft Teams
Mixpanel
OpenAI Integration Setup
OpenAI and Glide
OpenGraph.io
PDFMonkey
Pexels
Pinecone
PostHog
Push Notifications
Radar
Replicate
Segment
Short.io
Slack
Stripe
Twilio
XML
Yelp
Zapier
ZenRows
Zendesk
urlbox
Workflows
View API Docs

Use Cases

Forms
Images in Glide
Conditions, Filtering, and Visibility
Duplicating Apps

Reference

Account
User Experience
Values
  • Integrations
  • PostHog

PostHog

Track user behavior and product analytics.

PostHog is an open-source product analytics platform. With the PostHog integration, you can track custom events and user behavior in your Glide app.

Don't see the PostHog integration?

You may need to upgrade your plan. Browse Glide's plans and find the right fit for you.

Adding and Configuring the Action

To use the PostHog integration, you'll first need to set up a PostHog account. Once you have a project API key, you can connect the project in Glide.

  1. In Glide, click the Settings menu.

  2. Find the Integrations section and select PostHog.

  3. Click Add.

  4. You will need your PostHog project's Project API Key to track events. You can find it in your PostHog settings.

  5. The API Host will default to https://us.i.posthog.com, but depending on your PostHog region, you may need to change this. Your correct API Host can be found in your settings tab.

  6. Under Person Profiles, choose either:

    • Identified Only: Creates profiles only for users who have been explicitly identified in PostHog

    • Always: Creates profiles for all visitors, including anonymous ones

Track Event

The Track Event action allows you to send custom events to PostHog when users interact with your app.

The action can be added to a Component that supports Actions (e.g., a Button component), added to a workflow in the Workflow Editor, or after a Form is submitted.

Analytics Events Only Work in Live Apps

Tracking custom events only works in live apps when triggered by a user. Note that when testing in the Glide builder, the action will not track data.

In the Layout Editor

  1. Select the component you'd like to add the action to.

  2. In the General tab on the right side of the Layout Editor, navigate to the Actions section and search for Track Event or navigate to Integrations → PostHog → Track Event.

    • Note that there are other integrations that have a Track Event feature. Make sure to pick the correct one.

  3. Name the action.

  4. Choose an icon.

  5. Enter an Event Name that describes the action being tracked.

  6. Add values to track.

  7. Click away to exit the configuration.

In the Workflow Editor

  1. Select the plus (+) sign or the + New Workflow button.

  2. Choose a trigger.

  3. In the General tab on the right side of the Layout Editor, navigate to the Actions section and search for Track Event or navigate to Integrations → PostHog → Track Event.

    • Note that there are other integrations that have a Track Event feature. Make sure to pick the correct one.

  4. Enter an Event Name that describes the action being tracked.

  5. Add the values you want to send to PostHog.

  6. Name your Workflow.

  7. Click away to exit the configuration.

To learn more generally about Integrations in Glide, including how they affect your app’s usage, check out our Introduction to Integrations.

Frequently Asked Questions

Have a question about PostHog? Ask the Glide community.
Need more help? Hire an Expert.

Updated more than a week ago

Previous

Pinecone

Next

Push Notifications

Was this article helpful?
Exit Preview Mode