1jQuery(function ($) { 2 $('.workshop').on("click touch", function(){ 3 var clicked = $(this); 4 var description = $(this).parents('tr').next('.description'); 5 6 if(clicked.hasClass('active')){ 7 clicked.removeClass('active'); 8 } else { 9 $('.workshop.active').removeClass('active'); 10 clicked.addClass('active'); 11 } 12 13 if(description.hasClass('active')){ 14 description.removeClass('active'); 15 } else { 16 $('.description.active').removeClass('active'); 17 clicked.parents('tr').next('.description').addClass('active'); 18 } 19 }); 20 21 //event for workshop register 22 $('.eventum-schedule tito-button').on('click touchstart',function(){ 23 var workshop = $(this).parents('tr').find('.workshop-title').html(); 24 ga('send', 'event', 'workshop','intention to register - workshop', workshop); 25 }); 26 27 //rsvp register 28 if($('body').is('.page-id-981')){ 29 Tito.on('registration:started', function(data){ 30 ga('send', 'event', 'events','intention to register - event', 'The Glass Room Opening Party'); 31 }); 32 } 33 34 // event for press kit download 35 $('.download-press-kit a').on('click touchstart',function(){ 36 ga('send', 'event', 'download', 'presskit'); 37 }); 38 $('.press-email').on('click touchstart',function(){ 39 ga('send', 'event', 'press page', 'email contact'); 40 }); 41 42 // event for link to partner site: Mozilla 43 $('.partner-mozilla').on('click touchstart',function(){ 44 ga('send', 'event', 'partnerships', 'partner site', 'mozilla'); 45 }); 46 47 // event for link to partner site: Tactical Technology Collective 48 $('.partner-ttc').on('click touchstart',function(){ 49 ga('send', 'event', 'partnerships', 'partner site', 'tactical technology collective'); 50 }); 51 52 // event for homepage CTA 53 $('.homepage-cta').on('click touchstart',function(){ 54 ga('send', 'event', 'home page','button click - primary cta', 'Visit the Glass Room. Look into your online life'); 55 }); 56 57 // footer links 58 $('.privacy-policy').on('click touchstart',function(){ 59 ga('send', 'event', 'Footer Links','link click', 'Privacy Policy'); 60 }); 61 $('.press').on('click touchstart',function(){ 62 ga('send', 'event', 'Footer Links','link click', 'Press'); 63 }); 64 $('.subscribe').on('click touchstart',function(){ 65 ga('send', 'event', 'Footer Links','link click', 'Subscribe'); 66 }); 67 68 // social links 69 $('.ttc-facebook').on('click touchstart',function(){ 70 ga('send', 'event', 'Social Media Links','link click', 'https://www.facebook.com/Tactical.Tech/'); 71 }); 72 $('.ttc-twitter').on('click touchstart',function(){ 73 ga('send', 'event', 'Social Media Links','link click', 'https://twitter.com/info_activism'); 74 }); 75 $('.mozilla-facebook').on('click touchstart',function(){ 76 ga('send', 'event', 'Social Media Links','link click', 'https://www.facebook.com/mozilla"'); 77 }); 78 $('.mozilla-twitter').on('click touchstart',function(){ 79 ga('send', 'event', 'Social Media Links','link click', 'https://twitter.com/mozilla'); 80 }); 81 82 //visit 83 $('.address').on('click touchstart',function(){ 84 ga('send', 'event', 'visit page','map link click', '201 Mulberry Street, New York, NY 10012'); 85 }); 86 87 //resources get smart 88 $('.smart-on').on('click touchstart',function(){ 89 ga('send', 'event', 'resources page','link click', 'https://www.mozilla.org/teach/smarton/'); 90 }); 91 $('.smart-outfox').on('click touchstart',function(){ 92 ga('send', 'event', 'resources page','link click', 'https://www.mozilla.org/teach/smarton/tracking/'); 93 }); 94 $('.smart-lock').on('click touchstart',function(){ 95 ga('send', 'event', 'resources page','link click', 'https://www.mozilla.org/teach/smarton/security/'); 96 }); 97 $('.smart-stand').on('click touchstart',function(){ 98 ga('send', 'event', 'resources page','link click', 'https://www.mozilla.org/teach/smarton/surveillance/'); 99 }); 100 101 //resources 102 $('.my-shadow').on('click touchstart',function(){ 103 ga('send', 'event', 'resources page','link click', 'https://myshadow.org/'); 104 }); 105 $('.shadow-privacy').on('click touchstart',function(){ 106 ga('send', 'event', 'resources page','link click', 'https://myshadow.org/increase-your-privacy'); 107 }); 108 $('.shadow-tracking').on('click touchstart',function(){ 109 ga('send', 'event', 'resources page','link click', 'https://myshadow.org/tracking-so-what'); 110 }); 111 $('.shadow-location').on('click touchstart',function(){ 112 ga('send', 'event', 'resources page','link click', 'https://myshadow.org/location-tracking'); 113 }); 114 $('.resources-subscribe').on('click touchstart',function(){ 115 ga('send', 'event', 'resources page','link click', 'https://theglassroomnyc.org/subscribe/'); 116 }); 117 $('.pew-research').on('click touchstart', function(){ 118 ga('send', 'event', 'resources page','link click', 'http://www.pewinternet.org/2015/05/20/americans-attitudes-about-privacy-security-and-surveillance/'); 119 }); 120 $('.cigi-online').on('click touchstart',function(){ 121 ga('send', 'event', 'resources page','link click', 'https://www.cigionline.org/sites/default/files/survey/slides.pdf'); 122 }); 123 124 //subscribe ttc 125 $('.subscribe-ttc').on('click touchstart',function(){ 126 ga('send', 'event', 'relationships','newsletter subscription', 'tactical technology collective'); 127 }); 128 129});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.