Hello Here's my question: Let's say that I want to send traffic from my website to DigitalPoint and I don't want to put DigitalPoint's link on my site, but I would want that my site is shown as the traffic source when you look at DigitalPoint's Google Analytics (or any other tracking service). Would it look something like this? http://mysitegoeshere.com/ref=?digitalpoint Code (markup): How can I manage that? Edit: I am using WordPress
Take a look at PHP header function. Something like this should do what you're looking for: <?php if (isset($_GET['ref']) and $_GET['ref'] == 'digitalpoint') { header('Location: URL'); } PHP:
As I don't understand PHP to much. I should host that file in the public HTML folder? And, how do I link the post from my blog with that file? Thanks.
Yes, create a new file in your public web folder, usually public_html, with .php extension, say external.php. You'll then be able to access the link through yourdomain.com/external.php?ref=digitalpoint
Thanks for the help. I heard Google doesn't like redirects and that I would have to change the .htaccess file. This will be ok in the eyes of Google?
Not really, however, you may want to add nofollow: [COLOR=#000000][FONT=monospace]<a href="external.php?ref=digitalpoint" rel="nofollow">Link text</a>[/FONT][/COLOR] Code (markup):