Pantheon automatically replaces "utm_" query parameters with "PANTHEON_STRIPPED", preventing their use in Drupal applications via PHP. A JavaScript-based approach allows storing these values in webform submissions, ensuring marketing data remains accessible. Marco Bouwer of The Savvy Few details the implementation using hidden fields, a custom JavaScript library, and Drupal’s library management system.
...more