![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
sell me your banners
Industry Role:
Join Date: Dec 2003
Location: on the tubes
Posts: 12,931
|
PHP & Google Analytics question...
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?
__________________
Media Buyer - Sell me your traffic! FREE to register domains... Better than 99% of the crap sold here! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
depends where you do the forward and how
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Rock Hill, SC
Posts: 5,370
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
sell me your banners
Industry Role:
Join Date: Dec 2003
Location: on the tubes
Posts: 12,931
|
creative (popup/text link/banner) -> redirect.php -> which redirects to the affiliate url
basically I just want to be able to track stats on my server for all affiliate advertising I do.
__________________
Media Buyer - Sell me your traffic! FREE to register domains... Better than 99% of the crap sold here! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
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. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
Quote:
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-888 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jun 2009
Location: Asheville, NC
Posts: 2,277
|
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 :P
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
sell me your banners
Industry Role:
Join Date: Dec 2003
Location: on the tubes
Posts: 12,931
|
Quote:
__________________
Media Buyer - Sell me your traffic! FREE to register domains... Better than 99% of the crap sold here! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |