Hi all,
I saw this post on the old Google Groups ages ago:
https://groups.google.com/forum/#!topic/tweecode/ENbun6TbfiIFinally tried it out, sharing the link to a (soon-to-be-posted) story with a few friends. But I received no data! No events, no visits, nothing for this page. To make sure of some things (that I had uploaded the right version, that my friends weren't cleverly lying about reading through the story, etc etc) I had a friend visit the page while I chatted with her, so she could tell me exactly when she opened it, if she clicked on things. Her visit, and the events she clicked through, showed up on the real-time data! ...But nothing still shows up on the summary/regular data.
I don't know enough about GA to troubleshoot this. What. What is even happening. Should I give up on event tracking? Anyone have clever ideas?
I... I just want to obsess over how far people read and which endings are popular.
Comments
Nope.
The analytics code from Google absolutely has to be dropped into the HEAD area of your HTML, and a script passage within Twine won't be recognized as analytics code. So I deleted that from the Twine and dropped the code in my built story, and all seems to be well.
I think.
I have it set up basically as that Google Groups post describes and it works fine. The analytics code that they recommend putting into a Twine passage actually writes its own code directly into the <head>, and normally you wouldn't put that into the head (Google instructs you to put it at the very bottom of your HTML).
All I changed was what I described in my previous post, so... *shrug*