We have two domains such that www.example.org is redirecting to www.example.com. We want to track how many times someone gets to example.com from the example.org redirect. How can do do this in Google Analytics?

Can you add utm tags to the URL in the .htaccess file? Or is there an even better way to do this?

1 Answer 1


I use the solution of adding UTM parameters to the redirects. It is the only thing that I've found that works well with Google Analytics.

When somebody visits my example.net domain they get redirected to:


Then I can get a "campaign" report in Google Analytics that shows me the visitors:

domain campaign google analytics report

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.