Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 16.46 KB
MD5: e5df0ecad1730665c04e04d7f90de922
SHA-1: 3249e44fcdd41d8b0e0b5925774f82960d9a0634
SHA-256: 98b6c3a3c885775e0d43e6880e693e9d1f3fcf351dd5743da822fcf79d64bc0c
Download zip 25.07 KB
MD5: 2bc970e0ee30b8d86b21c9d34ef3d561
SHA-1: 1d14989f7d5591c0f50795c396850758b970762e
SHA-256: 8662f46cd88958f2ab91f23fa7b1724e0de59eb34b7e6920af6127389260fced

Release notes

Second beta of Piano Analytics Short URL 1.0. It comes from a full audit of 1.x: visit events now follow the visitor's consent mode, carry the short URL's destination and leave Piano's traffic source alone, and the settings form no longer breaks the Piano Analytics page's file uploads.

Upgrade

  • With Short URL 2.0.0-beta2, update Piano Analytics to a release that includes #3610324 (2.x-dev until it is tagged). Short URL 2.0.0-beta2 records visits after the response is sent, and Piano Analytics 2.4.0 and earlier only send queued server-side events on kernel.terminate, which runs before that: with those versions together, no short URL visit reaches Piano Analytics. The fix also sends the events of visits served from the page cache, which were never sent before.
  • Drupal 10.3 or later is required (10.2 is no longer supported), and the Redirect module is now a declared dependency (#3602065).
  • No database update. Clear the caches after updating.

Bug fixes

  • #3602063 Visit events:
    • a visitor in essential mode (CNIL exemption) was sent as opted in; essential mode now sends only the page, marked exempt, and opt-out sends nothing;
    • the shorturl_destination property was always empty: it now carries the short URL's destination;
    • the event set the traffic source to "server", overwriting Piano's own source for the whole visit; it no longer sets it;
    • a settings.php override of the tracking switch, and Piano Analytics' own global switch, were ignored.
  • #3602064 Saving the Piano Analytics settings page broke its file upload buttons ("Serialization of 'Closure'"), and the event name accepted any value; it is now validated.

Other changes

  • The README lists the requirements the module really has (#3602065).
  • The visit tracking test destructs Short URL's visit middleware, so it passes with Short URL 2.0.0-beta2 and earlier (#3602066).

All changes since 1.0.0-beta1

Bug fixes

  • #3602063 Visit events ignore the consent mode and settings overrides, overwrite the traffic source and never carry the destination
  • #3602064 The settings form breaks file uploads on the Piano Analytics page and accepts any event name

Tasks

  • #3602065 Declare the requirements the module really has
  • #3602066 Destruct Short URL's visit middleware in the visit tracking test
Created by: mably
Created on: 25 Sep 2026 at 22:57 UTC
Last updated: 25 Sep 2026 at 22:58 UTC
Bug fixes

Other releases