1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 17:46:19 +00:00
TiddlyWiki5/plugins/tiddlywiki/googleanalytics/usage.tid
Sylvain Comte c16f96626e Update to latest version of google analytics code (#2671)
* trying to implement new googleanalytics tracker

* trying to put new google tracker. Not working...

* more dev options for testing

still don"t understand wants goes wrong

* New version. Seems to work

* achieved update for new tests
brought back tiddlywiki.com settings value
created a settings tab to make it easier

* adding settings to plugin

add a settings tab to plugin to make it easier to use and see which GA account is in use

* fixes bug with GA_ACCOUNT and GA_DOMAIN tiddlers containing newlines at their end, preventing plugins to work

* soft rebase on jermolene's master

* revert to oldest version of GA_account and GA_domain tiddlers - had been overwritten by ones with a new line at the end

* Integrates some @tobibeer comments

* googleanalytics.js : removed "rebranding", var declaration and console log. Did not manage to get a non-minified version of Google script. But as far as I can see, jermolene's original plugin did same way
* plugin.info : placed "readme" first
* readme : back to previous "legacy" version. No more mention to temporary fork. Added mention and link to google official code.

* signed CLA
2017-01-03 15:43:05 +00:00

24 lines
1.2 KiB
Plaintext

title: $:/plugins/tiddlywiki/googleanalytics/usage
!! Create a google analytics account
If you already got one, go to next step, else
# Go to the Google Analytics website: http://www.google.com/analytics/
# Click the ''Access Google Analytics'' button and follow instructions to set up your account
# Enter the URL of your hosting domain, might be a TiddlySpot one for example "mysite.tiddlyspot.com" or even a github.io or gitlab.io url
# You will be given your own Tracking ID for this domain `UA-XXXXXX-XX`
!! Install the plugin on your local copy of the tiddlywiki
# ''BACKUP your tiddlywiki''. Just in case.
# grab a copy of the plugin [[$:/plugins/tiddlywiki/googleanalytics]] from a wiki containing it like http://tiddlywiki.com to yours
# save the tiddlywiki, refresh the page to load the plugin
# in your tiddlywiki, go to [[$:/ControlPanel]] > Plugins tab. Unfold the Google Analytics box.
# go to //settings// tabs and edit parameters : Google Analytics Account and Google Analytics Domain
# save the tiddlywiki
!! Upload the new version of your tiddlywiki
# Upload the saved tiddlywiki to TiddlySpot, github, gitlab or other web host
# Return to your Google Analytics page to check that your site is being tracked