auto adwords tracking for affiliates

Discussion in 'ClickBank' started by Swerd, Dec 1, 2008.

  1. #1
    Hey guys,

    I posted this at the adwords forum with no help and also contacted google with no luck... Hopefully somebody here will know how this is done.....

    Does anybody know how to setup automatic google tracking?

    Example: ttp://NICKNAME.phonesrch.hop.clickbank.net?tid=XXXXXX&gid=XXXXXX

    So my affiliates can simply ad the "gid=xxxxxx" part to their affiliate links rather than me inserting 10 new codes on the thank yo upage every day?

    The vendor at the link below is doing this and I think its a great idea:
    http://www.reversephonedetective.com/affiliates/affiliates.html#PPC

    I am assuming I would just need the normal ggl tracking code on my thank you page then somehow insert the "gid" into the code.

    Anybody good with this sort of thing? It would be a real time saver!

    Thanks for any help.

    Swerd,
     
    Swerd, Dec 1, 2008 IP
  2. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could do this with php. You site supports it (/order.php) but you may need to change the .html extension of you pages to .php (or you could use .htaccess to redirect .html to .php so this would be invisible to the user).

    Then, where you want the GID to be put this code:
    where "gid" is the .....?tid=XXXXXX&gid=XXXXXX as per the above.
     
    mallorcahp, Dec 1, 2008 IP
  3. Swerd

    Swerd Active Member

    Messages:
    1,657
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #3
    cool,
    have you see this workign before?

    What do i do with the conversion label? Is it needed?

    Also do you knwo what to do with the below part:

    <noscript>
    <img height="1" width="1" border="0" src="http://www.googleadservices.com/pagead/conversion/32323232323/?label=vdv3r3r3r3r3r3r3_0Aw&amp;script=0"/>
    </noscript>

    Just get rid of it and have the below code:

    <script language="JavaScript" type="text/javascript">
    <!--
    var google_conversion_id = <?php echo $_GET['gid']; ?> ;
    var google_conversion_language = "en_US";
    var google_conversion_format = "1";
    var google_conversion_color = "ffffff";
    //-->
    </script>
    <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>

    What do ya reckon?
     
    Swerd, Dec 4, 2008 IP
  4. Swerd

    Swerd Active Member

    Messages:
    1,657
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Just did a bit testing and it doesnt seem to pass the google ID through and gives an error on the conversion page. Thanks though.
     
    Swerd, Dec 5, 2008 IP
  5. Ripped

    Ripped Well-Known Member

    Messages:
    2,151
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    165
    #5
    I have another idea.

    You can set up a simple web form, made in PHP, in that form, the affiiliates will copy + paste the whole google tracking code. Their tracking code is going to be stored in a MySQL database, in a table called for example - TrackingIds.

    After that in the thankyou page, just query the MySQL database to echo all of the entries in the table TrackingIds of the database on to the thankyou page code.

    It's very simple, an experienced PHP coder can do it in less than 10 minutes.
     
    Ripped, Dec 5, 2008 IP
  6. Swerd

    Swerd Active Member

    Messages:
    1,657
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #6
    it would make life easier for me.

    The reason why I would like the other option though is because this would only ever have 1 conversion code on the thank you page.

    Because there are so many codes on my thank you page at the moment its actually taking about 5 seconds to load.
     
    Swerd, Dec 5, 2008 IP
  7. domainiac

    domainiac Active Member

    Messages:
    613
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    70
    #7
    domainiac, Dec 5, 2008 IP
  8. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #8
    How does the Google tracking work in the first place? I can't help you until I know this.
     
    mikey1090, Dec 20, 2008 IP