dynamic/silverstripe-shorturls

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

Installs: 2 043

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 2

Open Issues: 1

Type:silverstripe-vendormodule

3.0.1 2023-07-26 02:03 UTC

This package is auto-updated.

Last update: 2024-03-26 03:52:23 UTC


README

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

CI codecov

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • SilverStripe 4
  • guzzlehttp/guzzle ^7.4

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'

Usage

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

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.