[tw5] Re: TiddlyWiki Tree Testing Tool

2018-07-06 Thread cushinj


<https://lh3.googleusercontent.com/-YKFcDqspYgs/Wz9Bibocz7I/ACY/GJXuhNgJewct5fjJzI4hNbtqw2dMvCuTgCLcBGAs/s1600/Screen%2BShot%2B2018-07-06%2Bat%2B6.10.09%2BAM.png>
Mohammad,

I created the fields from XLSX. You can see what I used in Sheet2 at:
https://docs.google.com/spreadsheets/d/1djyUJFKzrCFj43cX00Fwkc2s4cNF3-DnfxM-ns8bqJg/edit?usp=sharing

Honestly, I wanted a way to call programs and without thinking too deeply 
and used the XLSX plugin to give them all a "tag" of program. I assumed 
it'd import as a tag. I didn't notice it didn't until now as I never ended 
up needed to reference all of them at once (yet).

Tony,

Thanks Tony for completing. It is a short process. I have a dashboard 
within Google Optimize that currently looks like this:

<https://lh3.googleusercontent.com/-YKFcDqspYgs/Wz9Bibocz7I/ACY/GJXuhNgJewct5fjJzI4hNbtqw2dMvCuTgCLcBGAs/s1600/Screen%2BShot%2B2018-07-06%2Bat%2B6.10.09%2BAM.png>
Part of the reason I'd like to get more data is to find a way to make it 
readily available. I didn't want to have the right choices reveal a message 
like "You found the right page" as it'd encourage people to keep clicking 
around until they found it, ha.

Thanks again!
-Justin


On Friday, July 6, 2018 at 12:20:44 AM UTC-4, cus...@sunyit.edu wrote:

> Having used some paid solutions for tree testing, I started thinking that 
> TiddlyWiki had more functionality than any of them. Being able to convert 
> an XLSX into tiddlers that then can easily be turned into lists is an ideal 
> process that fits nicely into TiddlyWiki's capabilities. I wanted to share 
> this as an example and hopefully get a few clicks on it so I can better 
> test whether the mechanics are working as intended.
>
> http://people.sunyit.edu/~cushinj/idt.htm
>
> This is running a test of a NYS energy program list. You will be randomly 
> put in #Welcome%20(TestA) or #Welcome%20(TestB). The anchors allow two 
> different starting tiddlers. Your choices are measured using Google's 
> analytics suite. 
>
> I am in the process of writing this all up for a class project. Happy to 
> answer any questions or take any advice.
>
> Thanks for all your help as I've worked through this!
>
> -Justin
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03c385e6-c063-470f-a890-c248f2e2e20e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] TiddlyWiki Tree Testing Tool

2018-07-05 Thread cushinj
Having used some paid solutions for tree testing, I started thinking that 
TiddlyWiki had more functionality than any of them. Being able to convert 
an XLSX into tiddlers that then can easily be turned into lists is an ideal 
process that fits nicely into TiddlyWiki's capabilities. I wanted to share 
this as an example and hopefully get a few clicks on it so I can better 
test whether the mechanics are working as intended.

http://people.sunyit.edu/~cushinj/idt.htm

This is running a test of a NYS energy program list. You will be randomly 
put in #Welcome%20(TestA) or #Welcome%20(TestB). The anchors allow two 
different starting tiddlers. Your choices are measured using Google's 
analytics suite. 

I am in the process of writing this all up for a class project. Happy to 
answer any questions or take any advice.

Thanks for all your help as I've worked through this!

-Justin

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d7fb6bb5-ce97-499f-bb66-72c4fe0498f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Tree Testing with TiddlyWiki and Google

2018-05-30 Thread cushinj
I am looking into utilizing TiddlyWiki as a web tree testing platform. To 
accomplish this, I'm trying to incorporate Google Analytics and Google 
Optimize. Google Optimize requires a slightly modified version of Google 
Analytics in order to be used on a site. The jermolene plugin 

 would 
need some slight modifications in order to accommodate this. I would 
imagine this:
/*\
title: $:/plugins/tiddlywiki/googleanalytics/googleanalytics.js
type: application/javascript
module-type: startup
Runs Google Analytics with the account number in the tiddler 
`$:/GoogleAnalyticsAccount` and the domain name in 
`$:/GoogleAnalyticsDomain`
\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

// Export name and synchronous status
exports.name = "google-analytics";
exports.platforms = ["browser"];
exports.synchronous = true;

exports.startup = function() {
// getting parameters
var GA_ACCOUNT = 
$tw.wiki.getTiddlerText("$:/GoogleAnalyticsAccount","").replace(/\n/g,""),
GA_DOMAIN = 
$tw.wiki.getTiddlerText("$:/GoogleAnalyticsDomain","").replace(/\n/g,"");
if (GA_DOMAIN == "" || GA_DOMAIN == undefined) GA_DOMAIN = "auto";

// using ga "isogram" function
  
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', GA_ACCOUNT, GA_DOMAIN);
  ga('send', 'pageview');
};

})();// JavaScript Document

would just need to become something like:
/*\
title: $:/plugins/tiddlywiki/googleanalytics/googleanalytics.js
type: application/javascript
module-type: startup
Runs Google Analytics with the account number in the tiddler 
`$:/GoogleAnalyticsAccount` and the domain name in 
`$:/GoogleAnalyticsDomain`
\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

// Export name and synchronous status
exports.name = "google-analytics";
exports.platforms = ["browser"];
exports.synchronous = true;

exports.startup = function() {
// getting parameters
var GA_ACCOUNT = 
$tw.wiki.getTiddlerText("$:/GoogleAnalyticsAccount","").replace(/\n/g,""),
GO_ACCOUNT = 
$tw.wiki.getTiddlerText("$:/GoogleOptimizeAccount","").replace(/\n/g,""),
GA_DOMAIN = 
$tw.wiki.getTiddlerText("$:/GoogleAnalyticsDomain","").replace(/\n/g,"");
if (GA_DOMAIN == "" || GA_DOMAIN == undefined) GA_DOMAIN = "auto";

// using ga "isogram" function
  
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', GA_ACCOUNT, GA_DOMAIN);
  ga('send', 'pageview');
 ga('require', GO_ACCOUNT);
};

})();// JavaScript Document
(changes highlighted)

Is the way I'm looking at this fit into how TiddlyWiki works (I'm still new 
to it)? Is this a change I could implement myself? I can't seem to find a 
beginner's guide to modifying and uploading a customized plugin, which 
leads me to believe it isn't a beginner's sort of task. Simply saving this 
as a JS and dragging it in didn't prove effective. Any help or direction is 
greatly appreciated.

Thanks all!

-Justin

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a749a53-eba6-4d31-b6f8-25c3842e31f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.