Hello @kartik,
Since the page that is sending visitors to the redirect is also under your control, I would suggest a totally different approach: use event tracking on the source page.
On the page that has the /index.php?id=32 link, measure all clicks on this link by attaching an onClick handler to the link and executing something like
ga('send', 'event', {
eventCategory: 'Redirect Link',
eventAction: 'click',
eventLabel: event.target.href
});