GA works in a browser. Whenever a user visits a page with a GA script, a request is sent from the user to google notifying about the visit. Since you are creating a 301 header redirect, a GA script is loaded, and therefore google does not know that the user was on this page.
You have
- Toggle redirect from 301 header to meta-redirect page and GA code
- Switch to another analytics system, such as Piwik, and manually add data to it on the redirect page.
- Add your own counter inside a redirect script separate from GA
, , , - GA, redirect.php script, , , 301, .