Answer the question
In order to leave comments, you need to log in
How to make a display in the metric of the domain from which the redirect?
For example, I have posted a link on Facebook. When you click on it, there is a redirect through domain B to domain A.
In the i.metric, I see a transition from Facebook, or just a direct call.
How to set up a redirect so that domain B is displayed in the metric instead of Facebook or another site that hosts this link? Is it even possible?
Using Ruby on Rails
Made a header
response.headers['referer'] = "https://myapp.herokuapp.com"
Referer: https://myapp.herokuapp.com
Answer the question
In order to leave comments, you need to log in
Try passing the intermediate site ($URL_referer) in the UTM tag. For example mysite.ru/?utm_source=$URL_referer. The metric eats them well and then allows you to filter, sort, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question