Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 03-21-2009, 04:24 PM   #1
Active Warrior
War Room Member
 
csstanton's Avatar
 
Join Date: Aug 2008
Location: Ann Arbor, Michigan
Posts: 40
Thanks: 7
Thanked 5 Times in 3 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default How do I Pass on Search Term to 1ShoppingCart?

Ok. I'm stuck. I need your help.

I need to track conversions when they come in organically on the search engines. Currently, I am able to track to the shopping cart with cookies + variables added to the URL's. Google Analytics picks up a lot of this stuff for me, which allows the tracking.

Problem is -- I can't track the organics.

I want to pass on the search term that landed the person on my landing page to Aweber, then ultimately to 1ShoppingCart.


Can anyone help? Any suggestions on a PHP code I can add to chomp the data?


Thank you a MILLION!


-- Casey

Casey Stanton
Outdoor Guy

Twitter: twitter.com/CaseyStanton
csstanton is offline   Reply With Quote
Old 03-26-2009, 11:00 PM   #2
Active Warrior
War Room Member
 
csstanton's Avatar
 
Join Date: Aug 2008
Location: Ann Arbor, Michigan
Posts: 40
Thanks: 7
Thanked 5 Times in 3 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: How do I Pass on Search Term to 1ShoppingCart?

Does anyone have any tips on how to do this? It seems that it would be a simple PHP code, but it's not my expertise. Any pointers?


Thanks for the help!

Casey Stanton
Outdoor Guy

Twitter: twitter.com/CaseyStanton
csstanton is offline   Reply With Quote
Old 03-27-2009, 12:34 PM   #3
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: How do I Pass on Search Term to 1ShoppingCart?

Casey, search engines do pass organic keywords, you just need to check them.
I'm sure there's PHP that will allow you to see them, but I am not familiar with the
tokens used.

For example:

$keyword = $_GET["token"]

where token is the word used to pass a variable. Look at this URI:

http://yoursitename.con/landing-page.php?token={variable}

But I don't know what Google uses as its token to pass this data.

~Dave
RedMatrix is offline   Reply With Quote
Old 04-21-2009, 02:19 AM   #4
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: How do I Pass on Search Term to 1ShoppingCart?

I have finally found the codes! (For google that is)


//find out what keywords they entered in search engine
$parsed_url=parse_url($_SERVER['HTTP_REFERER']);
if(stripos($parsed_url['host'],'google'))
{

parse_str($parsed_url['query'],$parsed_query_string);
$keyword_string=$parsed_query_string['q'];
$keywords=explode('?',$keyword_string);
}


All of they words the visitor typed into google search are in the variable $keywords.

~Dave
RedMatrix is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
1shoppingcart, aweber, pass, search, term

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:48 AM.