I'm trying to create a simple URL redirection page, and would like to track the analytics of my page using Google analytics.
The steps would be:
- User receives a pamphlet in the mail for mywebsite.com
- User types mywebsite.com into their browser
- Mywebsite.com is a 301 redirect to another website (ex. kiva.org/campaign1234/long-ugly-url)
- How do I track details of step 2?
Basically, mywebsite.com is taking the place of a URL shortener service like bit.ly. However, due to the 301 redirect I'm unsure how I would track analytics of mywebsite.com. Can you help me figure out what I need to do to track google analytics for mywebsite.com? If not google analytics, anything else with date, number of clicks, browser, and city information would work fine too.