Japan-Digital-Archives / Japan-Digital-Archive

Digital Archive of Japan's 2011 Disasters
6 stars 18 forks source link

Add UI tracking tool requested by ADK #1091

Closed spacemansteve closed 8 years ago

spacemansteve commented 8 years ago

JDA requested we add Lucky Orange to gather information on how the system is used:

As we discussed in the meeting, we’d like to implement a tool (Lucky Orange) that allows us to view
each user’s journey/experience while they are on the JDA site. This is not something that will be 
visible to the user.

If possible, we think it would make the most sense to have someone on your team who is well-versed 
with the inner workings/code to implement. There is a snippet of code that needs to be added before 
the closing </head>, which I’ve provided below:

<script type='text/javascript'>
window.__lo_site_id = 57096;
       (function() {
               var wa = document.createElement('script'); wa.type = 'text/javascript'; wa.async = true;
               wa.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://cdn') + '.luckyorange.com/w.js';
               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wa, s);
         })();
</script>
horak commented 8 years ago

neat idea! I can see this being useful for lifecycle emails and the like

spacemansteve commented 8 years ago

There have been no reported problems with Lucky Orange.