Skip to content

odin-labs-tech/posthog-loops-plugin

Repository files navigation

PostHog Plugin for Loops

License: MIT

This is a PostHog plugin for passing events to the Loops app.

Functionality

This plugin handles two types of actions:

1. Event

When detect a normal event, we will simply send the event to Loops. All custom properties will be included in the event.

2. Identify

When we detect an identify, we will also send the event to Loops, but also include contact properties. If the user does not exist, it will be created, otherwise, it will be updated.

Testing

In order to test this plugin locally, do the following:

  1. Install node modules with yarn install

  2. Create a .env file with the following contents:

LOOPS_API_KEY=ENTER_API_KEY_HERE

Make sure to include your Loops.so API key

  1. Run yarn test

About

A posthog plugin to push data into a Loops instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published