Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Script to track search terms all the way to completed form?

Trying to find a script to pass search terms

     
5:17 am on Jan 15, 2004 (gmt 0)

New User

10+ Year Member

joined:Oct 7, 2003
posts:18
votes: 0


Is anyone aware of script that saves search terms and passes them through an email form?

Example, when a user arrives at my site, it keeps track of the search term somehow as they surf around. If the visitor submits a form, it should pass that search term value along in the email (hidden form field or whatever).

I don't care how it does this (via the url or cookies) and what language it is in (perl, php, etc.) as long as it isnt asp.

Thanks!

5:59 pm on Jan 15, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 19, 2000
posts:193
votes: 0


Have you thought about using sessions in php or perl?

just my $.02

4:46 pm on Jan 16, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 2, 2002
posts:1099
votes: 0


I think 3rd party DeepMetrix Pro does this for $49 a month. I'm so excited to find out about this service. Because I have no desire to commit so much time into such coding adventure.
5:55 pm on Jan 20, 2004 (gmt 0)

Senior Member

joined:Mar 8, 2002
posts:2897
votes: 0


You can do it for free.

We use a javascript file on every page of our site which says adds the referring URL if no referring URL exists as a cookie. Then on your web form add a script that writes the cookie into a hidden field.

Then the whole referring URL ends up on the email that comes to us, Search phrase and all.

6:01 pm on Jan 20, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 27, 2002
posts:1422
votes: 0


Receptional - if you would care to share any code, or help someone out :), please sticky me - what you describe (and what c_c asked for) is exactly what I am looking for.
6:15 pm on Jan 20, 2004 (gmt 0)

Senior Member

joined:Mar 8, 2002
posts:2897
votes: 0


Rats - I knew I shouldn't have started...

Sorry - I am not allowed to give you the code, even though it's not hard - just the methodology.

Dixon.

6:39 pm on Jan 20, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 11, 2003
posts:1375
votes: 0


I've been throwing something like this together...
  1. How many of you that are interested in this know anything about PHP?
  2. And do your sites use it?

I could share the basics... Maybe write up a thread about it?

Thing is, I'm a PHP hack, but I am getting all of the data that you have outlined here, and more... But you'll need PHP, and mySQL.

[edited by: mipapage at 8:11 pm (utc) on Jan. 20, 2004]

7:09 pm on Jan 20, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 7, 2003
posts:540
votes: 0


Mardi_Gras: something like this? [webmarketingplus.co.uk]

LisaB

8:04 pm on Jan 20, 2004 (gmt 0)

New User

10+ Year Member

joined:Nov 25, 2003
posts:19
votes: 0


Does anyone by chance know of a software that could track search terms to the completed form by analyzing the logs *without* the scripts? I've looked around, but can't find anything that looks promising.

-Thanks

4:33 pm on Jan 21, 2004 (gmt 0)

Senior Member

joined:Mar 8, 2002
posts:2897
votes: 0


Jolly good - LisaB is spot on. My conscience is clear now :)
4:38 pm on Jan 21, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 27, 2002
posts:1422
votes: 0


>My conscience is clear now

Not so quick, receptional. I need some help troubleshooting that script ;)

6:49 pm on Jan 21, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 27, 2002
posts:1422
votes: 0


Has anyone implemented the script LisaB pointed out?

I'm getting a javascript error related to "blockedreferrer unidentified" or something similar. If anyone has addressed this I would appreciate a sticky.

Thanks.

Don

7:37 pm on Jan 21, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 11, 2003
posts:1375
votes: 0


Has anyone implemented the script LisaB pointed out?

Can anyone else not see the script that lisa b pointed out? Is it an edited link?

7:48 pm on Jan 21, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 27, 2002
posts:1422
votes: 0


No, it's there - I sent it to you in a sticky, though.
12:00 am on Jan 22, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 27, 2002
posts:1422
votes: 0


Receptional - now you are off the hook. I sorted out my difficulties. Script working as advertised.

Still looking to play with the PHP/MySQL solution that mipapage is working with , though :)

12:27 am on Jan 22, 2004 (gmt 0)

New User

10+ Year Member

joined:Jan 3, 2004
posts:5
votes: 0


I've been trying to do something similar using WebTrends. I've tried using hit filters, visit filters, parameters, and more, all to track URL's submitted to Paid Engines with "key=" apprended to the URL.

Every time I try to keep it pure, filtering by regular expression, either as entry pages, or referring pages, I end up with 0 visits.

Is there a WT wiz out there that can tell me how to track conversion by keyword? Or is the script a better way to go?

7:17 pm on Jan 22, 2004 (gmt 0)

New User

10+ Year Member

joined:Nov 25, 2003
posts:19
votes: 0


akkseo,

The only (theoretical) way to track conversions by keywords that I've found is by filtering using the URL parameter, but I've been unsuccessful filtering users that way as well. I have actually given up trying to track the PPC campaigns through WT and now just use the tools provided by the PPC programs themselves. They are usually script-based, but you could also write your own script just as well.

I'd also be curious to know though if anybody has been able to do the WT filtering of this sort!

12:36 am on Jan 23, 2004 (gmt 0)

New User

10+ Year Member

joined:Jan 3, 2004
posts:5
votes: 0


When you click on Custom Reports, there should be a long list of different options, in several categories. In Marketing there are several that mention keywords, and/or you can configure your own by clicking "Add" at the bottom.

You then have the option of selecting 2 dimensions, or set & subset of what you'd like tracked, and 4 measures you may select.

If you have any further questions, let me know. I think I'm finally making progress.