PHP Campaign Tracking Help

2 replies
I use prosper 202 but In this case I'm looking for a so bloated tracking script
Looking for a simple script to pass campaign ID to url on landing page or autoresponder tracker

Example.

mysite.com.com?ad=Youtube

My landing page has a link to my offer like

Affiliteurl.com?tid= <I want ad id to pass here>

resulting in

affiliateurl.com?ad=Youtube

link on my landing page.

I really don't want to have to call my programer up for something
so simple. Can anyone help me out.
#campaign #php #tracking
  • Profile picture of the author Brandon Tanner
    Assuming that your landing page's URL is this...

    mysite.com.com?ad=Youtube

    You would use this code to display the value of "ad" on the page...

    <?php echo htmlspecialchars($_GET['ad']); ?>

    So, using your Affiliateurl.com example, if you wanted to make it into a hyperlink, you would do this...

    <a href="http://www.Affiliteurl.com?tid=<?php echo htmlspecialchars($_GET['ad']); ?>">Click here</a>

    Your landing page would need to have a .PHP extension (index.php).
    Signature

    {{ DiscussionBoard.errors[8497216].message }}
    • Profile picture of the author MatthewM
      Thank you so much.
      {{ DiscussionBoard.errors[8509304].message }}

Trending Topics