Track UTM source

I’m not sure this category is the best place to share, but it seems it’s close enough to share and get your suggestions:

  1. A user lands on our webpage from a link having a UTM code.
  2. She doesn’t click to apply button immediately but instead, she browses different pages in our webpage to collect more information about the service.
  3. Then clicks to Apply CTA. But, since she browsed other pages, the UTM code disappeared when she clicked Apply CTA.

In this case, we’re not able to track where she came from… Any suggestions?

[As it is a general question, I don’t include the website’s link.]

Try this (the second Example cockie)

If you don’t know JavaScript- Maybe You should hire a freelancer.