PHPackages                             sminnee/silverstripe-segment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sminnee/silverstripe-segment

AbandonedArchivedSilverstripe-vendormodule[API Development](/categories/api)

sminnee/silverstripe-segment
============================

Integration with Segment.com via Tag Manager

01PHP

Since Jan 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sminnee/silverstripe-segment)[ Packagist](https://packagist.org/packages/sminnee/silverstripe-segment)[ RSS](/packages/sminnee-silverstripe-segment/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Segment.com Integration
=======================

[](#segmentcom-integration)

This module provides integration with Segment.com, via the tagmanager module.

Setting up
----------

[](#setting-up)

To use the module to track pageviews, do the following:

- Log into your Segment.com account
- Create a JavaScript source
- Open its code snippet, and find the API key int he analytics.load('...') line. Copy this value.
- Open the CMS. Go to the Tag Manager section.
- Create a tag of type Segment.com. Populate the API key field with API key you copied from segment.com
- Save

Tracking logged-in user details
-------------------------------

[](#tracking-logged-in-user-details)

To track the email &amp; name of logged in users

- Open the Segment.com snippet you created in the Tag Manager section of the CMS
- Check the box, "Send details of logged-in user"
- Save

Coming soon
-----------

[](#coming-soon)

- Tracking of events for visiting marked pages.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/be6648e60fbab6f70bfc34dd8c14259562d28a47510a934ea9c01fe98633f3c2?d=identicon)[sminnee](/maintainers/sminnee)

### Embed Badge

![Health badge](/badges/sminnee-silverstripe-segment/health.svg)

```
[![Health](https://phpackages.com/badges/sminnee-silverstripe-segment/health.svg)](https://phpackages.com/packages/sminnee-silverstripe-segment)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
