dynamic/silverstripe-shorturls

Create short URLs via Bit.ly, tagged with Google Analytics Campaign data.

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 5

Forks: 1

Open Issues: 1

Type:silverstripe-vendormodule

2.0.1 2019-02-12 03:45 UTC

README

Create short URLs via Bit.ly, tagged with Google Analytics Campaign data.

Build Status Scrutinizer Code Quality Code Coverage Build Status codecov

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • SilverStripe ^4.2

Installation

composer require dynamic/silverstripe-shorturls

Create the file app/myshorturlconfig.yml:

---
Name: myshorturlconfig
After: 'shorturlconfig'
---
Dynamic\ShortURL\Model\ShortURL:
  bitly_token: 'your_token_here'

Example usage

Use the Short URLs model admin to create campaign links, which can be used to track incoming traffic via Google Analytics.