ASP - Google Adwords

disrupt
disrupt used Ask the Experts™
on
Hey I am using ASP .NET 2008 (3.5) with C# code behind also using jquery.  I want to be able to setup a way so that if a customer clicked on our google adwords it would display a different contact number on the website page.  The phone number on the webpage is in a span with the class labeled "phone".  So basically if they have reached the site by clicking on the adwords I want to display a different phone number and if they have not reached the side by clicking on the adwords to leave the phone number as is.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
we can hide or show the controls in jquery by class name.

$(".phone").show();
$(".otherphone").hide();

or

$(".phone").hide();
$(".otherphone").show();

write this code in Javascript function and call adwords area.



Author

Commented:
Yeah I am familiar with the .show and .hide, I am not sure how to determine if the customer was referred by the google adwords or not.  What code can I use to determine that?
GlobaLevelProgrammer
Commented:
use the Google Adwords API..
http://code.google.com/apis/adwords/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial