bnomei / kirby3-utm
Kirby 3 UTM Tracking
Installs: 147
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 1
Open Issues: 0
Type:kirby-plugin
Requires
- php: >=8.1
- ext-sqlite3: *
- getkirby/composer-installer: ^1.2
- jaybizzle/crawler-detect: ^1.2
- matomo/device-detector: ^6.1
Requires (Dev)
- fzaninotto/faker: ^1.5
- getkirby/cms: ^4.1.0
- php-coveralls/php-coveralls: ^2.4
- phpunit/phpunit: ^9.5
- spatie/ray: ^1.41
README
Install
Using composer:
composer require bnomei/kirby3-utm
Using git submodules:
git submodule add https://github.com/bnomei/kirby3-utm.git site/plugins/kirby3-utm
Using download & copy: download the latest release of this plugin then unzip and copy it to site/plugins
Usage
UTM Page
Create a new page at root level with the blueprint utm
.
Tracking
Events will automatically be tracked to a sqlite database and appear in the UTM page within the panel grouped by campaign and displaying multiple stats.
UTM
Original UTM explanation from Bonnie Kittle at cdgi.com.
utm_source
The advertiser, site, publication, etc. that is sending traffic to your property
utm_medium
The advertising or marketing medium, for example, CPC (cost-per-click), banner ad, email newsletter
utm_campaign
The individual campaign name, slogan, promo code, etc.
utm_term
Identify paid search keywords. If you’re manually tagging paid keyword campaigns, you should also use utm_term to specify the keyword.
utm_content
Used to differentiate similar content or links within the same ad. For example, if you have two call-to-action links within the same email message, you can use utm_content and set different values for each so you can tell which version is more effective. (i.e. image, button, headline)
Settings
Dependencies
- (optional) free ipstack account for IP geolocations
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.