Jump to content

Redirecting by php


etrader

Recommended Posts

You would have to use a meta tag redirect and set it to like 1 second. This is because the JavaScript doesn't send the information to Google Analytics until after/during the page is loading. Which doesn't occur if you're php header('Location:');

Link to comment
https://forums.phpfreaks.com/topic/173484-redirecting-by-php/#findComment-914470
Share on other sites

I also have chance to add php tracking codes without any javascript; thus a pure php code in php.index; but the problem is that

 

header('Location:');

 

should be the first line, otherwise it gives error ... is there any similar command which can be placed at bottom of a page ?

Link to comment
https://forums.phpfreaks.com/topic/173484-redirecting-by-php/#findComment-914539
Share on other sites

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.