Jump to content

Redirecting to homepage - quick answer please


dc_jt

Recommended Posts

Hi I want to redirect a url to the homepage but still track this in google analytics.

 

Therefore my page, www.blahblah.com/blah/

 

needs to redirect to www.blahblah.com/index.php so I have created a folder called blah and index.php which only contains:

 

<?php 
die(header("Location: /index.php"));
?>

 

This redirects the user back, however will this still be tracked in google analytics?

 

I need a quick answer please.

 

Thanks

Nope.  Google analytics (love the fact that has the word anal at the start;)) works on the the javascript urchin that you place on your page. Unless you actuall let the page load that info will never bee sent to google.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.