I
I
Igor2016-04-15 21:46:20
Internet advertising
Igor, 2016-04-15 21:46:20

How to get information from UTM tags without dirtying http:?

The very long tail of the yutm tag messes up the address bar.
I saw that the directive has some kind of shorter one like "yclid=80010019052643" but it's still not the same.
I thought I could do a redirect on Apache or delete it through JS, what do you say?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Bukei, 2016-04-21
@maxgabba

The key question is why? Why are you using UTM tags.
Usually UTM and other tags are needed to pass information about the source of the transition, keyword, etc. to the analytics system. And usually this is useful information for contextual advertising, email newsletters, links from partner sites and from social networks.
If you want to clean the URL from these parameters, then you need to be sure that the counter has loaded on the page and the data has already gone into it.
Or "saw" your own solution on the server, which will take into account the source of the transition according to the UTM label and pass it on to GA and / or YaMetrika.
But all these options are fraught with data loss and a decrease in the accuracy of analytics, if implemented inaccurately.
There is another cardinal option - do not use UTM tags at all, it is suitable if you are satisfied with standard data (taken from counters from http headers) and there is no need to specify them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question