The following snippet will let you detect users from Google in WordPress.

Snippet Source/Credit: WP-Snippets.com