views:

28

answers:

3

My client has a google adsense account and one ad-campaign with several ads under it.

The client needs to identify the incoming users who comes through clicking each ad.

The client uses Drupal PHP site.

Is there a possibility to track incoming users who comes through google ads?

+1  A: 

Use Google Analytics. From the Features page:

Integrated with AdWords and AdSense

Optimize your AdWords performance with post-click data on your keywords, search queries, match type and more. AdSense reports show publishers which site content generates the most revenue.

Skilldrick
No my client need to capture the campaign id and save the details under particular user in his DB for future reference.
mepo
I think there may be some privacy issues with that.
Skilldrick
A: 

You can add arguments to the urls used in the adds:

http://example.com

changed to

http://example.com?google=ad123

You can then in your Drupal check for the presence of the google argument in the $_REQUEST variable and act accordingly. This should be done in hook_boot.

googletorp
A: 

http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html

You may use events, and you may add custom parameters to them, but they didn't work for me on the first shot and i gave up. If you figure out how to use them please post a story on how you did that:)

Quamis