javascript - Google Analytics Goal for selecting text on web page -


i have project page @ http://fulldecent.github.io/cameralife/ , users "convert" selecting text on page:

git clone https://github.com/fulldecent/cameralife.git 

and paste terminal :-)

i looking advice on how fire google analytics goal when text selected. right working with:

  • attach mouseup
  • check createrange or window.getselection
  • fire analytics goal

that technique at: selected text event trigger in javascript

this approach 2010, , wanted ask first. best approach html5 or should using more modern approach?

i suggest looking @ copypaste tynt. main purpose different (inserting url copied text), why wouldn't allow firing trackevent request, subsequently record conversion (assuming set goal tracking based on specific event occurrence)


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -