Are you a Google Analytics enthusiast?
More SEO Content
Record Outbound Click But Perserve Link
Posted 22 February 2011 - 06:30 AM
I do a php/mysql generated site that brings advertisers ads up in resposnse to a user search, the ads then have a link to their website, all good
Some time ago I changed the links so that they went to a php page that recorded the click to mysql before sending the browser on to their link using header()
ie - 'http://www.mywebsite...site.com&Type=A'
All good until an advertiser cmplained that they were no longer getting 'their backlink'
I rather casually believed that google would follow anything the browser followed, ie it would go the php page and then pick up the ouward link from there
1. Am I wrong and have I effectively broke the backlinks to advertisers' sites by using the php page to record the click
2. If I'm wrong how should i tackle this, recording th click while preserving the link so google sees the link as a normal ouward link
I do want to record these clicks myself so I can display it for the sales types on some admin pages
Posted 22 February 2011 - 10:17 AM
The HTML is coded with the link to the web site, as normal, and a CSS class added of something similar to outbound. jQuery then converts all links with a class of outbound to a tracked link (in my case, a Google Analytics event).
Posted 22 February 2011 - 01:07 PM
Posted 22 February 2011 - 02:36 PM
Thanks for that, I tried some of those tools today, one of them was reporting backlinks form a page that stopped being live a year ago
Posted 22 February 2011 - 05:41 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users