 |

03-26-2005, 02:49 PM
|
 |
SEO Junior and a half
|
|
Join Date: Aug 2004
Posts: 40
|
|
|
Passing form data in URL using post method
Hi all,
I am trying to pass data from a form field (to help adsense target ads)  and I am running into a wall. I know it should not be that hard and there should be a script that can help.
Anyway, here's the scoop. Normal form, using the POST method. I just want to take a form field (which will be the name of a state) and add it into the URL when the user clicks on submit.
Anyone have any pointers or examples? Thank you in advance. - Kathy
|

03-28-2005, 03:51 AM
|
 |
SEO GUY Moderator
|
|
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,182

|
|
Hi,
Yours is either a very easy or very difficult one to answer... The problem is that I've never used adsense, so I can't guess what you want.
The "get" method appends the query string, but I don't know if you aren't using it because a) you don't know about it b) You have some sort of standard adsense form c) you are sending special characters such as "é" etc.. d) you are sending very large query strings... or some other reason!
Check out this page anyway.... If it doesn't help, post back.
http://www.cs.tut.fi/~jkorpela/forms/methods.html
Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
|

04-01-2005, 12:46 PM
|
 |
SEO Junior and a half
|
|
Join Date: Aug 2004
Posts: 40
|
|
|
Hi Paz,
Thank you for your response.
First, I am not using the get method for a couple reasons. One of which is that I am using more data in the query.
Second, that would also end up being different each time as well.
I am wanting to do this from a query form (and I am using the method "POST").
This is for a real estate property search. There are several different query options available to the visitor including high & low price range, state, city, etc.
Using the "Get" method it would have a very high number of possible strings based on the users input. I don't know how many pages Adsense would inxed but I suspect not that many. There is too much info for the get method anyway.
I have quite a few searches each day (20-25,000)
I am wanting to get the info from the "State" field in the form and add it into the URL of the page it is going to. I'm sure that this would greatly increase the revenue from adsense by being more targeted.
I am running on an IIS server but I don't think that will matter as the change needs to be made at the initial form page.
Hopefully this explains a bit more. If you need an example let m eknow and I'll get you an address. Thanks! - Kathy
|

04-01-2005, 10:05 PM
|
 |
SEO GUY Moderator
|
|
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,182

|
|
|
Hi,
well post me a url and I can have a look, I know a lot about parsing info via forms - though as I said I don't know anything about adsense.
If I can't help then maybe you should think about starting a new thread in the adsense forum.
Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
|

04-06-2005, 09:03 PM
|
 |
SEO Junior and a half
|
|
Join Date: Aug 2004
Posts: 40
|
|
Quote:
|
Originally Posted by Paz
Hi,
well post me a url and I can have a look, I know a lot about parsing info via forms - though as I said I don't know anything about adsense.
|
Hi Paz,
The adsense does not really effect anything. It will index a page and show ads it believes to be relevant.
Here is an form which shows the problem. In this one, the search is for residential real estate.
If you click to do a search for any given state, you will see that the ads will be all over the place in relation to the state you have chosen. This is because the URL is always the same, and each time google visits the page it may be about a different state.
I am wanting to pass along the selected state (from the form) in the URL. This way google will at least always show ads related to the state the person has chosen. It is had to get someone to click an ad for a realtor in Alaska when they are looking for a house in Florida.
Overall with several sites I have more than 20,000 searches a day and targeting the ads would be great.
Any suggestions? Thanks in advance. - Kathy
|

04-07-2005, 01:24 AM
|
 |
SEO GUY Moderator
|
|
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,182

|
|
|
Your using a proprietary script to process your form data, so I think appending the url wouldn't work.
I have another idea though based on CSS, but I'm not sure if it would work with adsense. How does Google handle dynamically generated pages like yours before it dispalys it's "relevant" ads?
Do it spider each new page in real time? If it does you can use CSS to achieve want you want.
Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Last edited by Paz : 04-07-2005 at 01:34 AM.
|

04-08-2005, 05:46 PM
|
 |
SEO Junior and a half
|
|
Join Date: Aug 2004
Posts: 40
|
|
Quote:
|
Originally Posted by Paz
Your using a proprietary script to process your form data, so I think appending the url wouldn't work.
I have another idea though based on CSS, but I'm not sure if it would work with adsense. How does Google handle dynamically generated pages like yours before it dispalys it's "relevant" ads?
Do it spider each new page in real time? If it does you can use CSS to achieve want you want.
Cheers,
Paz.
|
Hi Paz,
I am using Tango for the database search. I can append things to the URL and still process it without problems.
Google does not need to have the pages in it's searchable index for AdSense. It will follow the URL like the one displayed and then show ads realted to what it sees.
It does not spider in real time. That is why I am thinking that if I can get a different URL for each state, (perhaps city if entered), even though the page could be different each time it will at least be for the right state and search type.
If I can even get the URL to just be different for each state (from the same form) then AdSense should show ads relevant to that state and the clickthrough should be much better.
Thanks for any advace you can offer. - Kathy
|

04-14-2005, 01:48 PM
|
 |
SEO Junior and a half
|
|
Join Date: Aug 2004
Posts: 40
|
|
Quote:
|
Originally Posted by Paz
I have another idea though based on CSS, but I'm not sure if it would work with adsense. How does Google handle dynamically generated pages like yours before it dispalys it's "relevant" ads?
|
Hi Paz,
I have a possible script that I was going to post here. After starting this I decided that it should be a new thread. I did want to thank you fo rthe help however. - Kathy
|
 |
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|