URL Proxy Module

Vision Media releases the URL Proxy module, allowing developers to track and report on outgoing traffic. This type of functionality is commonly found with ad publishers who wish to keep tabs on who has clicked certain ads, when they did it, and from which page(s).

How It Works

By simply calling urlproxy_url() rather than the original URL, all users will be passed through the URL Proxy (except those with the 'bypass url proxy' permission). At this stage modules have a chance to work with the user, referer, and URL being sent through the proxy, and then the user is simply redirected to its destination.

Alternatively developers can force redirection programmatically by calling url proxy_redirect() which is the programmatic counterpart to urlproxy_url() and cannot be bypassed.

Reporting

Currently core reporting is performed on URLs, hostnames, and referring paths shown in the Drupal screenshots below.

URL Tracking Module

Outgoing Traffic Tracking

Referring Paths