Commit b4fcf94d by Jason Jordan

remove outbound link tracking; will attempt to setup as a custom event in GA4

parent 3293686c
......@@ -8,3 +8,4 @@ log/
#test/
src/virtualhosts/log
src/virtualhosts/output
*.swp
......@@ -255,14 +255,7 @@ function trackOutboundRepoLinks() {
});
}
// Send Outbound link clicks to Google Analytics for logging
function handleOutboundLinkClicks(event) {
if (typeof gtag === "function") { // check for Google Analytics 4
gtag('event', 'outbound_repo_link', {
'holding_repo_url': event.target.href
});
}
var logInfo = "url=" + event.target.href;
var icid = $('#constellationid').val();
var repoICID = $(event.target).data('repoIcId');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment