I normally handle most of my redirect in a php file, using either a single file or arrays.
Here's an example of lets say wickedfire.php:
Does anyone know if it's possible to insert Google Analytics into that PHP file so that it registers everytime someone passes through the redirect.
I know you can track outgoing links by appending onClick="javascript:urchinTracker ('/outgoing/linkname');" into the a href. I just want to know if the above is possible too.
Here's an example of lets say wickedfire.php:
Code:
<?php
header( 'Location: http://www.wickedfire.com' );
?>
Does anyone know if it's possible to insert Google Analytics into that PHP file so that it registers everytime someone passes through the redirect.
I know you can track outgoing links by appending onClick="javascript:urchinTracker ('/outgoing/linkname');" into the a href. I just want to know if the above is possible too.