lerni/hubspot

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

Installs: 1 160

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 4

Type:silverstripe-vendormodule

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

This package is auto-updated.

Last update: 2024-02-24 14:13:34 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.