If I use a php redirect to send my traffic to the destination url can I still include google analytics on this redirect.php to track the traffic or will it have no chance of loading since it redirects immediately?
PHP & Google Analytics question...
Collapse
X
-
PHP & Google Analytics question...
Media Buyer - Sell me your traffic!
FREE to register domains...
Better than 99% of the crap sold here!Tags: None -
Comment
-
Media Buyer - Sell me your traffic!
FREE to register domains...
Better than 99% of the crap sold here!Comment
-
you will need to use javascript to redirect, not php
analytics javascript, then the redirect javascript
<script language="JavaScript"><!--
window.location="http://nextjump.com";
//--></script>
For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)
All models are wrong, but some are useful. George E.P. Box. p202Comment
-
dont forget to set the metatag to for if they have javascript disabled
Code:<META http-equiv="refresh" content="1;URL=yoururl">
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888Comment
-
There's a better way, use event tracking...
On outbound links (anchor tags) add a onclick="pageTracker._trackEvent('blah', 'blah', 'blah');"
I don't even bother with a redirect any more, I just track the page it was clicked from, position of the click within the page, and the site it was sent to. Very accurate, very simple, and faster for the user not having to do some redirect BS :PICQ: 258-202-811 | Email: eric{at}bestxxxporn.comComment
-
For this you would have to have control over the page your ad is displayed on, correct?There's a better way, use event tracking...
On outbound links (anchor tags) add a onclick="pageTracker._trackEvent('blah', 'blah', 'blah');"
I don't even bother with a redirect any more, I just track the page it was clicked from, position of the click within the page, and the site it was sent to. Very accurate, very simple, and faster for the user not having to do some redirect BS :PMedia Buyer - Sell me your traffic!
FREE to register domains...
Better than 99% of the crap sold here!Comment

Comment