Jump to content

shayne54

New Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

shayne54's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. So are you saying my code should look like this: <?php $tid = $_GET["tid"]; header( 'Location: http://www.liutilities.com/affcb/?id=RBgendtd&aff=14231&xat=WU-'.$tid); ?> thanks so much for your help BTW.
  2. Hey guys, I am not a coder at all and would love a little bit of help with my code not working. Basically, I have a redirect script that sends my visitors to a software download. I want to be able to track a snippet from the incoming refer and send it along with the download. I hope I am explaining this correctly. Here is my code: <?php $tid = $_GET["tid"]; header( 'Location: http://www.liutilities.com/affcb/?id=RBgendtd&aff=14231&xat=WU-<?php echo $tid; ?>' ); ?> The page that sends them to this script automatically adds ?tid={keyword here}. What the above script is supposed to do is grab tid and then put it after the &xat=WU- but instead, its only putting the actual code itself (&xat=WU-<?php echo $tid; ?>). Can anyone offer a suggestion? Thanks so much!
  3. First of all thanks for the help.... I am attempting to track keywords using php for my google adwords campaign. I found the code to do this, but i am having one problem. I have added the code to my google adwords ad so that it passes the keyword on to my website like this: http://www.your-landing-page-domain.come/?kw={keywords} Then I added this code to my webpage to add the keyword to my affiliate url.... <?php $kw = $_GET["kw"]; //get the search keyword user typed ?> <html> <body> <a href=’<?php echo “http://your-affiliate-url?sub=$kw”?>’ >Get Free Widgets Here</a> </body> </html> The issue I'm having and I'm certain its an easy fix for any of you PHP experts is this: My affiliate link is a little more complex than the example i found and placed on my website. I actually need to include my "TID" to the link like this: http://your-affiliate-url?tid=1440.0. and then anything after the 1440.0. is used for my tracking purpose. If I dont include the 1440.0. my affiliate doesn't know that the sale came from me ??? So, is there a way using PHP to make my url similar to this: <a href=’<?php echo “http://your-affiliate-url?tid=1440.0.sub=$kw”?>’ >Get Free Widgets Here</a> Thanks so much for the help! -Shayne54 Report this post
×
×
  • 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.