Kirby 3 UTM - Track events from URLs with UTM parameters

I am creating posts for my plugins to make it easier to find them using the forum search and not just the docs search.

This plugin will after an easy setup automatically track events from URLs with UTM parameters and display statistics about them in the panel. The following parameters are supported.

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content

Example URL for tracking a click on a link in x-mas email to clients:
https://www.example.com?utm_source=myself&utm_medium=email&utm_campaign=xmas-2020

If you link it to a free (or paid) ipstack account you can also track information about the location of your visitors. Only hashed IPs will be stored in the tracking database.

Looks nice! Thanks for developing this.

However. I do have some troubles getting it working.

I have created a page with the utm template, which I did and the result is a page similar to the first screenshot, but under campaigns it states “no pages”

I tried to create a campaign or event page following the templates but that gives me and error
Undefined array key “content”

There are no further instructions (or I am overlooking things)

Thank you.

hi @AmberChase which versions of Kirby and the UTM plugin are you using? can you send me sample UTM query you tried to submit (you can remove the domain)?

(edited: issues in plugin has been fixed)