Forum Moderators: DixonJones

Message Too Old, No Replies

Generating Tracking URLS Using Keywords

I'm interested in generating thousands of unique tracking url's based on tw

         

Insomniac

6:41 pm on Dec 23, 2004 (gmt 0)

10+ Year Member



I'm interested in generating thousands of unique tracking url's based on two variables(affiliate ID and keyword). The resulting url would look like this with the affiliate id being 87 and the keyword being blue widgets.

[somedomain.com...]

Any ideas on how this can be done? I know some PPC engines support dynamic keywords being appended to the url but I will be working with some second tier engines that don't offer this feature.

willis1480

5:39 am on Dec 24, 2004 (gmt 0)

10+ Year Member



well, I am not certain about this. Have you considered creating actual html pages dynamically. Such as www.mydomain.com/test/87_widgets.htm and setting your .htaccess to forward 404 pages to some html page.

This html page could then parse the browser history and and get the variables out of the name.

I am not sure if using htaccess to forward 404 pages will have the browser history work properly.

If there is any easier way, let me know. I will try the above method some time and see if it works. I write back if I get around to it, but if it works for you, let me know.

willis1480

5:52 am on Dec 24, 2004 (gmt 0)

10+ Year Member



did a little looking and this page presents a solution. Using a url rewrite. The page can be found here:
[lwdinternet.co.uk...]

Look for the "rewriting url" header

growingdigital

7:08 am on Dec 24, 2004 (gmt 0)

10+ Year Member



I maintain an index of keywords in a database, so each keyword has a numeric value.

e.g. keyword1 = 1

When I bid on keywords or whatever, I just use this numeric value in the landing page URL like www.widgets.com?kw=1

Receptional

2:10 pm on Dec 24, 2004 (gmt 0)



generating thousands of unique tracking url's based on two variables

Use Excel - Put most of the URL in 1 column, the keyword in the next column, then merge the columns.

Insomniac

5:51 am on Dec 29, 2004 (gmt 0)

10+ Year Member



Thanks for all of the replies!

Specifically the merging option in Excel is great but for my tracking purposes and to maintain a valid URL syntax I have to convert spaces into %20. Is this possible in Excel?

willis1480

7:20 am on Dec 29, 2004 (gmt 0)

10+ Year Member



yes, use the edit/replace. Put a "space" in the string to be replaced, and a %20 in the sting to replace.