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,
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.
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&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?
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.
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.
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.
Fat loss 4 idiots does it as well. Here is the link they ask you to use and then they have a php script that auto adds it. Not sure how though so I guess i wasn't really any help. Have you tried contacting publishers directly? http://YourClickBankID.4idiots.hop.clickbank.net?tc=123&gg=YourGoogleID