); $('.feature-modal').colorbox({ href: '/preview/adoptimist.com/join/feature-modal', title: ' ', onComplete: function(){ _gaq.push(['_trackEvent', 'Click', 'Modal Launched', 'Upsell']); } }); $('.non_member').click(function(e){ e.preventDefault(); alert('This is a member only action. Join now to take advantage of all features!') }); });