Create short URLs via Bit.ly, tagged with Google Analytics Campaign data.
Create short URLs via Bit.ly, tagged with Google Analytics Campaign data.
composer require dynamic/silverstripe-shorturls
Create the file app/myshorturlconfig.yml
:
---
Name: myshorturlconfig
After: 'shorturlconfig'
---
Dynamic\ShortURL\Model\ShortURL:
bitly_token: 'your_token_here'
Use the Short URLs model admin to create campaign links, which can be used to track incoming traffic via Google Analytics.
If you'd like to include a "Share" tab on pages, add the following to your config.yml:
SilverStripe\CMS\Model\SiteTree:
extensions:
- Dynamic\ShortURL\ORM\SiteTreeDataExtension
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem