{"id":15663052,"url":"https://github.com/bnomei/kirby3-utm","last_synced_at":"2026-05-13T14:01:28.911Z","repository":{"id":64065080,"uuid":"573065955","full_name":"bnomei/kirby3-utm","owner":"bnomei","description":"UTM Tracking","archived":false,"fork":false,"pushed_at":"2025-08-23T07:09:00.000Z","size":539,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-28T17:56:49.212Z","etag":null,"topics":["kirby","kirby-cms","kirby-plugin","kirby4","kirby5","reports","stats","tracking","utm"],"latest_commit_sha":null,"homepage":"https://forum.getkirby.com/t/kirby-3-utm-track-events-from-urls-with-utm-parameters/27339","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bnomei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"bnomei","patreon":"bnomei","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://buymeacoff.ee/bnomei","https://paypal.me/bnomei"]}},"created_at":"2022-12-01T16:14:47.000Z","updated_at":"2025-10-27T10:39:16.000Z","dependencies_parsed_at":"2025-04-20T12:01:13.703Z","dependency_job_id":null,"html_url":"https://github.com/bnomei/kirby3-utm","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.03448275862068961,"last_synced_commit":"12b2ec8347e83b994d7d5b0b86ba18a53ce6ead1"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/bnomei/kirby3-utm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnomei%2Fkirby3-utm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnomei%2Fkirby3-utm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnomei%2Fkirby3-utm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnomei%2Fkirby3-utm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bnomei","download_url":"https://codeload.github.com/bnomei/kirby3-utm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnomei%2Fkirby3-utm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32985763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kirby","kirby-cms","kirby-plugin","kirby4","kirby5","reports","stats","tracking","utm"],"created_at":"2024-10-03T13:35:20.898Z","updated_at":"2026-05-13T14:01:28.905Z","avatar_url":"https://github.com/bnomei.png","language":"PHP","funding_links":["https://github.com/sponsors/bnomei","https://patreon.com/bnomei","https://buymeacoff.ee/bnomei","https://paypal.me/bnomei","https://www.buymeacoffee.com/bnomei"],"categories":[],"sub_categories":[],"readme":"# Kirby UTM\n\n[![Kirby 5](https://flat.badgen.net/badge/Kirby/5?color=ECC748)](https://getkirby.com)\n![PHP 8.2](https://flat.badgen.net/badge/PHP/8.2?color=4E5B93\u0026icon=php\u0026label)\n![Release](https://flat.badgen.net/packagist/v/bnomei/kirby3-utm?color=ae81ff\u0026icon=github\u0026label)\n![Downloads](https://flat.badgen.net/packagist/dt/bnomei/kirby3-utm?color=272822\u0026icon=github\u0026label)\n[![Coverage](https://flat.badgen.net/codeclimate/coverage/bnomei/kirby3-utm?icon=codeclimate\u0026label)](https://codeclimate.com/github/bnomei/kirby3-utm)\n[![Maintainability](https://flat.badgen.net/codeclimate/maintainability/bnomei/kirby3-utm?icon=codeclimate\u0026label)](https://codeclimate.com/github/bnomei/kirby3-utm/issues)\n[![Discord](https://flat.badgen.net/badge/discord/bnomei?color=7289da\u0026icon=discord\u0026label)](https://discordapp.com/users/bnomei)\n[![Buymecoffee](https://flat.badgen.net/badge/icon/donate?icon=buymeacoffee\u0026color=FF813F\u0026label)](https://www.buymeacoffee.com/bnomei)\n\n## Installation\n\n- unzip [master.zip](https://github.com/bnomei/kirby3-utm/archive/master.zip) as folder `site/plugins/kirby3-utm` or\n- `git submodule add https://github.com/bnomei/kirby3-utm.git site/plugins/kirby3-utm` or\n- `composer require bnomei/kirby3-utm`\n\n## Usage\n\n### UTM Page\n\nCreate a new page at root level with the blueprint `utm`.\n\n![dashboard](https://raw.githubusercontent.com/bnomei/kirby3-utm/main/screenshot-utm-dashboard.png)\n\u003cbr\u003e\n![campaign](https://raw.githubusercontent.com/bnomei/kirby3-utm/main/screenshot-utm-campaign.png)\n\n### Tracking\n\nEvents will automatically be tracked to a sqlite database and appear in the UTM page within the panel grouped by campaign and displaying multiple stats.\n\n## UTM\n\nOriginal UTM explanation from [Bonnie Kittle at cdgi.com](https://www.cdgi.com/2020/04/how-to-use-utm-codes-to-track-campaigns-in-google-analytics/).\n\n### utm_source\n\nThe advertiser, site, publication, etc. that is sending traffic to your property\n\n### utm_medium\n\nThe advertising or marketing medium, for example, CPC (cost-per-click), banner ad, email newsletter\n\n### utm_campaign\n\nThe individual campaign name, slogan, promo code, etc.\n\n### utm_term\n\nIdentify paid search keywords. If you’re manually tagging paid keyword campaigns, you should also use utm_term to specify the keyword.\n\n### utm_content\n\nUsed 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)\n\n## Cache\n\n\u003e [!WARNING]\n\u003e If **global** debug mode is `true,` the plugin will flush its cache and not write any more caches.\n\nFor best performance, set either the [global or plugin-specific cache driver](https://getkirby.com/docs/reference/system/options/cache) to one using the server's memory, not the default using files on the hard disk (even on SSDs). If available, I suggest Redis/APCu or leave it at `file` otherwise.\n\n**site/config/config.php**\n```php\nreturn [\n  'cache' =\u003e [\n    'driver' =\u003e 'apcu', // or redis\n  ],\n  'bnomei.utm.cache.ipstack' =\u003e [\n    'type' =\u003e 'apcu', // or redis\n  ],\n  'bnomei.utm.cache.ratelimit' =\u003e [\n    'type' =\u003e 'apcu', // or redis\n  ],\n  'bnomei.utm.cache.queries' =\u003e [\n    'type' =\u003e 'apcu', // or redis\n  ],\n];\n```\n\n## Settings\n\n| bnomei.utm.        | Default | Description                                                                                |\n|--------------------|---------|--------------------------------------------------------------------------------------------|\n| enabled            | `true`  |                                                                                            |\n| cache.ipstack      | `true`  | seperate cache for ip data, expires at `ipstack.expire`                                    |\n| cache.ratelimit    | `true`  | seperate cache for ratelimit, expires at `ratelimit.expire`                                |\n| cache.queries      | `true`  | seperate cache for most queries used in panel, flushes automatically with each event tracked |\n| ipstack.access_key | `null`  | string. access key                                                                         |\n| ipstack.allowInsecureHttp | `false` | boolean. if `true`, ipstack lookups use cleartext HTTP. Keep disabled unless your account cannot use HTTPS. |\n| ipstack.expire     | `60*24` | int. cache in minutes for ipstack IP resolution.                                           |\n| sqlite.file        | `fn()`  | path to sqlite file. like site/logs                                                        |\n| stats.range        | `30`    | int. half of range of days for bar and change percentage                                   |\n| ratelimit.enabled  | `true`  | bool. if `true` it will limit on params below                                              |\n| ratelimit.expire   | `60`    | int. in minutes before trials reset                                                        |\n| ratelimit.trials   | `120`   | int. number of allowed trials in given duration                                            |\n| botDetection.CrawlerDetect   | `true`  | check for crawlers (~10ms)                                                        |\n| botDetection.DeviceDetector   | `true`  | check for bots (~40ms)                                                                     |\n\n## Dependencies\n\n- (optional) [free ipstack account for IP geolocations](https://ipstack.com/)\n\n## Disclaimer\n\nThis 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](https://github.com/bnomei/kirby3-utm/issues/new).\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nIt is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnomei%2Fkirby3-utm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbnomei%2Fkirby3-utm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnomei%2Fkirby3-utm/lists"}