![]() | | ||||||||
| | #1 |
| Active Warrior War Room Member Join Date: Aug 2008 Location: Ann Arbor, Michigan
Posts: 40
Thanks: 7
Thanked 5 Times in 3 Posts
|
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 |
| | |
| | |
| | #2 |
| Active Warrior War Room Member Join Date: Aug 2008 Location: Ann Arbor, Michigan
Posts: 40
Thanks: 7
Thanked 5 Times in 3 Posts
|
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! |
| | |
| | |
| | #3 |
| HyperActive Warrior War Room Member Join Date: Oct 2007 Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
|
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
| |
| | |
| | #4 |
| HyperActive Warrior War Room Member Join Date: Oct 2007 Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
|
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
| |
| | |
![]() |
|
| Tags |
| 1shoppingcart, aweber, pass, search, term |
| Thread Tools | |
| |
![]() |