An open API service indexing awesome lists of open source software.

https://github.com/stape-io/mixpanel-tag

Mixpanel tag for Google Tag Manager Server Side
https://github.com/stape-io/mixpanel-tag

gtm gtm-custom-template gtm-server-side mixpanel mixpanel-api stape

Last synced: 4 months ago
JSON representation

Mixpanel tag for Google Tag Manager Server Side

Awesome Lists containing this project

README

          

# Mixpanel Tag for Google Tag Manager Server Container

**Mixpanel tag can track these action types:**

- Track - tracks Mixpanel events.
- Identify - merges anonymous ID with first-party User ID.
- Alias - adds an alias to existing Mixpanel contact.
- Set - sets user profile properties.
- Set Once - sets user profile properties **only** if they are not already set.
- Append - appends user profile properties to a list.
- Reset - resets identification of Mixpanel contact.

> ⚠️ This tag currently supports only the **Original ID Merge** method of `ID Management`.
>
> An update to also support the **Simplified ID Merge** is already on our backlog.
>
> Learn more: [ID Management](https://docs.mixpanel.com/docs/tracking-methods/id-management), [Original ID Merge](https://docs.mixpanel.com/docs/tracking-methods/id-management/identifying-users-original), [Simplified ID Merge](https://docs.mixpanel.com/docs/tracking-methods/id-management/identifying-users-simplified) and [Migrating to Simplified ID Merge](https://docs.mixpanel.com/docs/tracking-methods/id-management/migrating-to-simplified-id-merge-system)

**Mixpanel tag capabilities:**

- `Automatically handle customer distinct_id` - Mixpanel server API optimized for stateless shared usage; e.g., in a web application, the same mixpanel instance is used across requests for all users. Rather than setting a `distinct_id` through `identity()` calls like Mixpanel client-side libraries (where a single Mixpanel instance is tied to a single user), this API requires you to pass the `distinct_id` with every tracking call.
- `Send common data with request` - sends user_agent, path, $current_url, $screen_width, $screen_height, $referrer, user ip, etc.
- `Get parameters from the variable` - extracts parameters from the sGTM variable.
- `Additional Parameters` - add parameters you need to send to Mixpanel.
- `Remove parameters from the request` - specify parameters you want to remove from the requests.
- `Logs Settings` - enable to use stape logs.

## How to use

- [Mixpanel tag for server Google Tag manager](https://stape.io/blog/mixpanel-tag-for-server-google-tag-manager)

## Open Source

The **Mixpanel Tag for GTM Server Side** is developed and maintained by [Stape Team](https://stape.io/) under the Apache 2.0 license.

Also, big thanks to our contributors:

- [Mariusz Brucki](https://github.com/mbrucki)