Hi, I noticed a weird behaviour today.
I'm trying to capture utm metrics. I used utm_source and utm_campaign . Tested locally, it is working (adding a db entry).
But on prod env, the string utm_source is getting lost
I tried with variants utm_sourc works utm_sourcee but utm_source is lost (lost -> doesn't show in params, or logs)
Same with utm_campaign
With this behaviour, I'm wondering is there a middleware that removes them in prod?
that's odd. I haven't written any middleware to do anything with utm params. so you mean E.g. if you have a handler like (defn foo-handler [ctx] (prn (:params ctx) ...) and you go to , then the param doesn't show up? my first thought is maybe your browser or as extension is stripping the params out as a privacy measure.
Yeah, it is kinda funny. Whatever is causing this, is doing exact string match 🤣 utm-source works for eg. Also, http://localhost:8080/jan?utm_source=test works btw I'll see if I can test in another browser to check extension is the issue.