Google Analytics to TW5

479 views
Skip to first unread message

cybermails

unread,
Jul 12, 2014, 11:18:17 AM7/12/14
to tiddl...@googlegroups.com
Is there a way to add Google Analytics or any other site/tiddler visit count to my tiddlywiki5 page on tiddlyspot? I've tried reading about it without much success. Any help is appreciated. Thanks.

Alberto Molina

unread,
Jul 13, 2014, 7:05:02 PM7/13/14
to tiddl...@googlegroups.com
Hi,


Is there a way to add Google Analytics or any other site/tiddler visit count to my tiddlywiki5 page on tiddlyspot? I've tried reading about it without much success. Any help is appreciated. Thanks.

There is a plugin.
  • Go to tiddlywiki.com, open the $:/ControlPanel, and look for the plugins tab.
  • Create/modify the following tiddlers:
    • $:/GoogleAnalyticsDomain
    • $:/GoogleAnalyticsAccount

Alberto



Message has been deleted

cybermails

unread,
Jul 13, 2014, 7:46:50 PM7/13/14
to tiddl...@googlegroups.com
Hi Alberto,

Thanks for your reply. However, I still have a few more questions, if you will.


Go to tiddlywiki.com, open the $:/ControlPanel, and look for the plugins tab.
I saw a relevant plugin called "Google Analytics plugin for TiddlyWiki5 $:/plugins/tiddlywiki/googleanalytics". What am I supposed to do with this?


  • Create/modify the following tiddlers:
    • $:/GoogleAnalyticsDomain
    • $:/GoogleAnalyticsAccount
Are these tiddlers I need to create in my xyzuser.tiddlyspot.com or a local copy of my tiddlywiki, or something else?
Also, when you say modify those, could you please explain how? Thanks in advance!

Cheers

Matabele

unread,
Jul 14, 2014, 4:14:21 AM7/14/14
to tiddl...@googlegroups.com
Hi

1. Go to the Google Analytics website: http://www.google.com/analytics/
2. Click the 'Access Google Analytics' button and follow instructions to set up your account
3. Enter the name of your tiddlyspot Domain i.e "mysite.tiddlyspot.com
4. You will be given your own Tracking ID for this domain
5. Now go to tiddlywiki.com -- open the More/System tab and copy these three tiddlers across to a local copy of your site
    -- $:/GoogleAnalyticsDomain
    -- $:/GoogleAnalyticsAccount
    -- $:/plugins/tiddlywiki/googleanalytics
6.  Edit the first two of these tiddlers to reflect your Domain and Tracking ID
7.  Upload the new version to tiddlyspot
8.  Return to your Google Analytics page to see if your site is being tracked

regards

Jeremy Ruston

unread,
Jul 14, 2014, 9:27:52 AM7/14/14
to TiddlyWiki
Thanks Matabele, I've used your notes as the basis for a readme for the google analytics plugin for 5.0.14.

Best wishes

Jeremy


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

cybermails

unread,
Jul 14, 2014, 9:47:57 AM7/14/14
to tiddl...@googlegroups.com
Hi Matabele,

Thank you so much for your instructions. It is working now!

Kind regards

Vinayak Naik

unread,
Nov 26, 2014, 6:37:59 AM11/26/14
to tiddl...@googlegroups.com
I installed the Google Analytics plugin and set the domain and the ID as per my settings. I am not hosting my wiki on tiddlyspot. I am not seeing any analytics in my Google Analytics dashboard. I am hosting my wiki at http://www.iiitd.edu.in/~naik

Am I making any mistake?

- Vinayak

Jeremy Ruston

unread,
Nov 26, 2014, 6:44:45 AM11/26/14
to TiddlyWiki
Hi Vinayak

I don't see an obvious mistake; looking in the browser dev tools it seems that Google Analytics is being loaded correctly, and your configured values look OK.

I do remember that it took a some time (maybe 12 hours) for stats to show up for me for tiddlywiki.com when I first set it up. (As I remember it, I saw realtime traffic reports a few hours before the proper analytics came through).

So I guess it might be worth tackling it from the Google Analytics side, and use their tools to investigate what is being logged?

Best wishes

Jeremy.


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Vinayak Naik

unread,
Nov 28, 2014, 6:32:57 AM11/28/14
to tiddl...@googlegroups.com
Nothing on Google Analytics page even after two days. I am new to
Javascript. Any pointers to how I can debug the issue ? Thanks,

- Vinayak

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/krl1pEz8L9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.

Tobias Beer

unread,
Nov 28, 2014, 7:26:21 AM11/28/14
to tiddl...@googlegroups.com
Try and see what google tells you when you have it index your site using...


Best wishes, Tobias.

Vinayak Naik

unread,
Nov 28, 2014, 11:01:15 AM11/28/14
to tiddl...@googlegroups.com
It is working fine. "No errors detected in the last 90 days. Nice!" I have been using classic tiddly till last week and I could see the analytics on Google Analytics.

- Vinayak

--

RichShumaker

unread,
Dec 9, 2014, 5:25:52 PM12/9/14
to tiddl...@googlegroups.com
First I think I am doing it wrong as I am sure I missed something obvious, but I can't see it, d'oh!!!
So I am posting to get some help and thank you in advance.
Here is what I am doing and what happens after I do it.

I am following these instructions that were from the google group and posted on TW

I drag the 3 Tiddlers to my TW and then I get an error.
Safe mode did not work for me.
Below is the Error
TypeError: $tw.wiki.getTiddlerText is not a function

Any ideas and thanks again for your help.

Rich Shumaker

Jeremy Ruston

unread,
Dec 11, 2014, 10:54:53 AM12/11/14
to TiddlyWiki
Hi Rich

It sounds like you followed the instructions correctly. Can you post the wiki so that I can examine it?

Best wishes

Jeremy

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

RichShumaker

unread,
Dec 11, 2014, 3:42:19 PM12/11/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Welcome to weirdsville.
BUT
I had a 2nd broken version that that I tried today and it worked.
So I dragged the Google Analytics stuff over to my most recent version and updated it on the site.
So the current version on the site is working and 'should' have the Google stuff in it.

No idea what happened there and why it was broken before and then worked later.
At least one is still broken so I don't feel quite as crazy as I did.

Thanks again Jeremy.

Rich Shumaker

Jeremy Ruston

unread,
Dec 11, 2014, 3:58:29 PM12/11/14
to RichShumaker, TiddlyWiki
Hi Rich

As best as I can tell, the problem with the faulty version is that somehow you imported the payload tiddlers of the googleanalytics plugin (ie, there are tiddlers called "$:/plugins/tiddlywiki/googleanalytics/googleanalytics.js" and "$:/plugins/tiddlywiki/googleanalytics/readme" in the wiki; these are the shadow tiddlers that are the payload of the googleanalytics plugin).

Glad it's working now anyway,

Best wishes

Jeremy


Jed Carty

unread,
Dec 11, 2014, 10:45:40 PM12/11/14
to tiddl...@googlegroups.com
I tried putting the Google Analytics  plugin on inmysocks.tiddlyspot.com and zorklike.tiddlyspot.com but on both the analytics site and the webmaster site it says that the code isn't working. It has the status 'tracking not installed' on the analytics site and it says that the code seem malformed on the webmaster site. It has only been 5 or 6 hours, so that may be the problem, but the 'tracking not installed' status says it is checking every few minutes.

I was just mildly curious about how/if it works so it isn't a big concern. Aside from the few that have already posted are other people having this trouble?

Vinayak Naik

unread,
Feb 2, 2015, 2:16:17 AM2/2/15
to tiddl...@googlegroups.com
Update. After moving from 5.1.4 to 5.1.7, the issue has disappeared for http://www.iiitd.edu.in/~naik Now I see the page's analytics in Google Analytics.

- Vinayak
Reply all
Reply to author
Forward
0 new messages