开发者

Google adsense reference

开发者 https://www.devze.com 2023-01-04 00:26 出处:网络
My client has a Google Adsense account and one ad-campaign with several ads under it. The client needs to identify t开发者_如何学Gohe incoming users who come through clicking each ad.

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

The client needs to identify t开发者_如何学Gohe incoming users who come through clicking each ad.

The client uses Drupal PHP site.

Is there a possibility to track incoming users who come through Google ads?


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.


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.


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:)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号