$(document).ready(function(){$("a").click(function(){var e=$(this),t=e.attr("href");if(typeof t!="undefined"&&t.match(/^http/)){if(!t.match(document.domain)||t.includes("open-article-id=")){var n="outgoing",r="click",i=t;return ga("send","event",n,r,i),e.target="_blank",!0}var s=e.attr("target");typeof s!="undefined"&&s.match("_blank")&&t.indexOf("go/r/10/")>-1&&$.ajax({type:"POST",url:t.replace("go/r/10/","go/r/21/"),success:function(e){var t="outgoing",n="click",r=e.url;return ga("send","event",t,n,r),!0}})}}),$(".ga-article-detail").on("shown.bs.modal",function(e){var t=$(this).find("a.article-title").attr("href");ga("send","event","articleDetails","show",t)}),$("a.st_facebook_custom").click(function(){var e=$(this).attr("data-share-url");ga("send","event","shareThis","facebook",e)}),$("a.st_linkedin_custom").click(function(){var e=$(this).attr("data-share-url");ga("send","event","shareThis","linkedin",e)}),$("a.st_twitter_custom").click(function(){var e=$(this).attr("data-share-url");ga("send","event","shareThis","twitter",e)}),$("#newLoginForm").on("shown.bs.modal",function(e){ga("send","event","loginSignupForm","show")}),$('[name="user-login-registration-form-submit"]').click(function(){ga("send","event","signup","submit")}),$("#lhlogin").click(function(){ga("send","event","login","submit")}),$('#main-content input[name="user-registration-form-submit"]').click(function(){ga("send","event","signup","submit")}),$("#newForgotPasswordForm").on("shown.bs.modal",function(e){ga("send","event","ForgotPasswordForm","show")}),$('#newForgotPasswordForm input[type="submit"]').click(function(){ga("send","event","ForgotPasswordForm","submit")}),$(".complete-registration-form").on("shown.bs.modal",function(e){ga("send","event","CompleteRegistrationForm","newsletterTab")}),$("#newRegistrationForm").on("shown.bs.modal",function(e){ga("send","event","PopUpNewRegistrationForm","show")}),$('#newRegistrationForm input[name="user-registration-form-submit"]').click(function(){ga("send","event","PopUpNewRegistrationForm","submit")}),$('a[data-toggle="tab"]').on("shown.bs.tab",function(e){ga("send","event","supporting","show",e.target.href)}),$("a.more-topics-link").click(function(){ga("send","event","moreTopics","click",$(this).attr("href"))}),$("a.more-related-topics-link").click(function(){ga("send","event","moreRelatedTopics","click",$(this).attr("href"))})})