Cookie is not set when the site is entered with the utm parameter




Wordpress LScache Plugin: Cookie is not set when the site is entered with the utm parameter

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello. I added a php code that sets a cookie when the site is entered with the utm parameter. However, cookies are not set because of the litespeed caching plugin. What can I do? Have you tried to check ? to clear the cache after changes? ? used private mode with 3rd party cookies accepted without adblocking / PiHole / DNS / VPN with adblocking features? ? whether you or one of your collegues have excluded that cookie? ? if the cookie is set while disable all features or disable the LS Plugin? dont know if this fits in this case? tried to vary the cache? https://docs.litespeedtech.com/lscache/devguide/advanced/ Hi, utm qs is default dropped by that means https://domain.com/ and https://domain.com/?utm=xxxxx will hit same cache , and therefore no PHP execution please consider to make it ajax call



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference