1(function (window) { 2 var track = {}; 3 4 track.getPathName = function(){ 5 return window.location.pathname; 6 }; 7 8 track.tryButton = function(){ 9 mixpanel.track("Try For Free", {"Page Name": this.getPathName(), "User Type": "Guest"}) 10 }; 11 12 track.getStarted = function(){ 13 mixpanel.track("Get Started", {"Page Name": this.getPathName(), "User Type": "Guest"}) 14 }; 15 16 track.continueToCheckout = function(planName){ 17 mixpanel.track("Continue", { 18 "Plan Name": planName, 19 "Page Name": this.getPathName(), 20 "User Type": "Guest" 21 }); 22 }; 23 24 track.loginClick = function(){ 25 mixpanel.track("Login", { 26 "Page Name": this.getPathName(), 27 "Login Method": "PWD" 28 }); 29 }; 30 31 track.forgetPassword = function(){ 32 // mixpanel.track("Forget Password", { 33 // "Page Name": this.getPathName(), 34 // }); 35 }; 36 37 track.planGetStarted = function(planName){ 38 mixpanel.track("Get Started", { 39 "Page Name": this.getPathName(), 40 "Plan Name": planName 41 }); 42 }; 43 44 track.planForFree = function(planName){ 45 mixpanel.track("Try For Free", { 46 "Page Name": this.getPathName(), 47 "Plan Name": planName 48 }); 49 }; 50 51 track.annualPlan = function(planId, planName){ 52 mixpanel.track("Annually", { 53 "Page Name": this.getPathName(), 54 "Page ID": planId, 55 "Plan Name": planName, 56 "User Type": "Guest" 57 }); 58 }; 59 60 track.monthlyPlan = function(planId, planName){ 61 mixpanel.track("Every 1 Month", { 62 "Page Name": this.getPathName(), 63 "Page ID": planId, 64 "Plan Name": planName, 65 "User Type": "Guest" 66 }); 67 }; 68 69 track.couponEnter = function(){ 70 mixpanel.track("Enter Promo Code", { 71 "Page Name": this.getPathName() 72 }); 73 }; 74 75 track.couponApply = function(){ 76 mixpanel.track("Apply", { 77 "Page Name": this.getPathName() 78 }); 79 }; 80 81 track.viewMemberLibrary = function(){ 82 mixpanel.track("View Your Member Library/Member Library", { 83 "Page Name": this.getPathName() 84 }); 85 }; 86 87 track.joinFacebook = function(){ 88 mixpanel.track("Join On Facebook", { 89 "Page Name": this.getPathName() 90 }); 91 }; 92 93 track.talkInLibrary = function(){ 94 mixpanel.track("Talk In The Library", { 95 "Page Name": this.getPathName() 96 }); 97 }; 98 99 track.findLocalMeetUp = function(){ 100 mixpanel.track("FInd Or Start Local Meetup", { 101 "Page Name": this.getPathName() 102 }); 103 }; 104 105 track.viewAccount = function(){ 106 mixpanel.track("View Account DashBoard/Members Library", { 107 "Page Name": this.getPathName() 108 }); 109 }; 110 111 track.seePastSelection = function(){ 112 mixpanel.track("See All Past Selections", { 113 "Page Name": this.getPathName() 114 }); 115 }; 116 117 track.modifyPlan = function(){ 118 mixpanel.track("Modify", { 119 "Page Section": "Dashboard" 120 }); 121 }; 122 123 track.modifyPlan = function(){ 124 mixpanel.track("Submit Request", { 125 "Page Section": "Dashboard" 126 }); 127 }; 128 129 track.modifyPlan = function(){ 130 }; 131 132 133 //All below is being tracked from the server side component check mixpaneltrack.php file in helium/lib 134 135 //track.signUp = function(){ 136 //}; 137 138 // track.postLoginClick = function(){ 139 // }) 140 // }; 141 142 // track.modifyPlan = function(){ 143 // }; 144 145 window.nbTrack = track; 146 147})(window);
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.