Redirect URLs tagged with Google Analytics?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
22 views
In advertising, for tracking traffic, we use Google Analytics labels that look like this:

www.mysite.ru/page?utm_source=direct&utm_medium=cp...


It is very convenient from the point of view of analysts, but users tend to copy them and paste on the forms blogs etc.


Heard that there could be a redirect, in which all the data will be recorded in the cookie, and the user will see a blank address:
www.mysite.ru/page


How to implement it?
by | 22 views

1 Answer

0 like 0 dislike
Parse the URL before the transfer header ' s if there are GET parameters to put in variables the cookies and redirecturl — if not, continue loading page.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
28,013 users