I use WP Super Cache - HandL UTM Grabber Guide
UTM attribution overview
This guide explains I use WP Super Cache - HandL UTM Grabber Guide. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales.
There is known caching issues with WP Super Cache plugin. We'll update this document as we have more information. In the mean time, you can try the adding the following code in your functions.php
function handl_add_wpsc_cookie_banner() {
do_action( 'wpsc_add_cookie', 'utm_campaign' );
do_action( 'wpsc_add_cookie', 'utm_medium' );
do_action( 'wpsc_add_cookie', 'utm_term' );
do_action( 'wpsc_add_cookie', 'utm_content' );
do_action( 'wpsc_add_cookie', 'utm_source' );
}
add_action( 'init', 'handl_add_wpsc_cookie_banner' );