lerni/hubspot

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

Installs: 1 196

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 4

Type:silverstripe-vendormodule

dev-master 2023-11-24 13:41 UTC

This package is auto-updated.

Last update: 2024-11-24 15:40:37 UTC


README

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

Requirements

  • Silverstripe ^4, SiteConfig

Installation

`composer require lerni/hubspot`

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

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

Hint

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