TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Track Highlighted Text on Your Site with Google Analytics

38 pointsby richardbaxterabout 14 years ago

4 comments

reemrevnivekabout 14 years ago
As I browse, I compulsively select paragraphs of text. I imagine that this habit could cause some interesting data problems, if done on a site which tries to track such actions.<p>Does anyone else highlight as they read without searching, i.e. how valid is their assumption: <i>We all know, or at least suspect, that people on our sites are highlighting text, right clicking on it and selecting "Search Google For..."</i>
评论 #2313853 未加载
评论 #2313905 未加载
will_critchlowabout 14 years ago
This is smart. Wish I'd thought of this. I love hacking GA to do fun stuff. My recent favourite is tracking real page load time (i.e. not just server response times but actual user load times in the wild).
评论 #2313061 未加载
评论 #2313113 未加载
mooism2about 14 years ago
How about, when someone highlights text on your site, it immediately searches itself and presents the results in the margin? (Without causing the page to reflow or otherwise getting in the way.) Perhaps with links to search Google/Wikipedia/etc as well? Too creepy?
评论 #2313052 未加载
评论 #2313942 未加载
评论 #2313874 未加载
评论 #2312981 未加载
richardbaxterabout 14 years ago
It's awesome is what it is. I wonder if you can pull the 1,2 and 3 word terms via the Google Analytics API? I'd betempted to use that data to generate popular search pages / navigation and internal link changes.