PHPackages                             lerni/hubspot - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lerni/hubspot

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

lerni/hubspot
=============

A Silverstripe module to add HubSpot Tracking Code per SiteConfig &amp; Page extension

3.x-dev(8y ago)21.2k4BSD-3-ClausePHP

Since Jan 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lerni/hubspot)[ Packagist](https://packagist.org/packages/lerni/hubspot)[ Docs](http://github.com/lerni/hubspot)[ RSS](/packages/lerni-hubspot/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

HubSpot for SilverStripe
========================

[](#hubspot-for-silverstripe)

A Silverstripe module to add HubSpot Tracking Code and manage per SiteConfig (CMS) &amp; Page extension.

Requirements
------------

[](#requirements)

- Silverstripe ^4, SiteConfig

Installation
------------

[](#installation)

```
`composer require lerni/hubspot`

```

Config
------

[](#config)

You need to set the extensions in your config.

```
SilverStripe\SiteConfig\SiteConfig:
  extensions:
	- Kraftausdruck\Extensions\HubSpotConfigExtender
SilverStripe\CMS\Model\SiteTree:
  extensions:
	- Kraftausdruck\Extensions\HubSpotRequestExtender

```

Run `dev/build` either way.

How to use
----------

[](#how-to-use)

Set the ID (~7 digits) in yoursite.tld/admin/settings and you're set.

Hint
----

[](#hint)

- Trackingcode 'll only be shown in live-mode.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3055d ago

### Community

Maintainers

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

---

Top Contributors

[![lerni](https://avatars.githubusercontent.com/u/472115?v=4)](https://github.com/lerni "lerni (4 commits)")

---

Tags

hubspotsilverstripetrackingsilverstripehubspot

### Embed Badge

![Health badge](/badges/lerni-hubspot/health.svg)

```
[![Health](https://phpackages.com/badges/lerni-hubspot/health.svg)](https://phpackages.com/packages/lerni-hubspot)
```

###  Alternatives

[tractorcow/silverstripe-opengraph

Implementation of the Facebook Open Graph protocol for SilverStripe

52141.6k5](/packages/tractorcow-silverstripe-opengraph)[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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