{"id":106063,"date":"2013-02-06T20:21:13","date_gmt":"2013-02-06T12:21:13","guid":{"rendered":"https:\/\/seo-hacker.com\/?p=6063"},"modified":"2023-02-08T09:10:16","modified_gmt":"2023-02-08T01:10:16","slug":"track-outbound-links-google-analytics","status":"publish","type":"post","link":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/","title":{"rendered":"How to Track Outbound Links using Google Analytics"},"content":{"rendered":"<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png\"><img decoding=\"async\" class=\"fpi-shvzz\" class=\"aligncenter size-full wp-image-6081 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png\" alt=\"Outbound Links Tracking\" width=\"300\" height=\"238\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 300px; --smush-placeholder-aspect-ratio: 300\/238;\" \/><\/a><\/p>\n<h2>How do I track outbound links in Google Analytics 4?<\/h2>\n<p><strong>Quick Answer:<\/strong> In the latest version of Google Analytics (GA4), outbound clicks are automatically tracked. To view this data, click on the \u201cReal Time\u201d section of your Google Analytics dashboard. Then, choose \u201cEvents,\u201d then \u201cOverview.\u201d Next, click \u201coutbound-link,\u201d and set the secondary dimension to \u201cSource.\u201d This will show you all the sources of outbound link traffic.<\/p>\n<p><em>Author&#8217;s Note: The process outlined below is not applicable to the current Google Analytics anymore. To know the latest process on tracking outbound links clicks, read <a href=\"https:\/\/seo-hacker.com\/track-outbound-link-clicks-google-tag-manager\/\">How to Track Outbound Link Clicks with Google Tag Manager<\/a>.<\/em><\/p>\n<p><!--more--><\/p>\n<h2>Overview<\/h2>\n<p>For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your <a title=\"Google Analytics Tutorial\" href=\"https:\/\/seo-hacker.com\/google-analytics-tutorial\/\" target=\"_blank\" rel=\"noopener\">Google Analytics Tracking code<\/a>.<\/p>\n<p><strong>Where are you Going?<\/strong><\/p>\n<p>For sure you&#8217;d like to see where your visitors are headed to after they&#8217;ve been through your website. Tracking where all your outbound traffic is headed can tell you which outbound links are doing well in your website and which are not. Here&#8217;s the code to track all outbound links in your website:<\/p>\n<blockquote><p><span style=\"color: #0000ff;\">&lt;script type=&#8221;<a><span style=\"color: #0000ff;\">text\/javascript<\/span><\/a>&#8220;&gt;<\/span><\/p>\n<p><span style=\"color: #0000ff;\">var a = document.getElementsByTagName(&#8216;a&#8217;);<\/span><br \/>\n<span style=\"color: #0000ff;\"> for(i = 0; i &lt; a.length; i++){<\/span><br \/>\n<span style=\"color: #0000ff;\"> if (a[i].href.indexOf(location.host) == -1 &amp;&amp; a[i].href.match(\/^https:\/\/\/i)){<\/span><br \/>\n<span style=\"color: #0000ff;\"> a[i].onclick = function(){<\/span><br \/>\n<span style=\"color: #0000ff;\"> _gaq.push([&#8216;_trackEvent&#8217;, &#8216;outgoing_links&#8217;, this.href.replace(\/^https:\/\/\/i, &#8221;)]);<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><\/p>\n<p><span style=\"color: #0000ff;\">&lt;\/script&gt;<\/span><\/p><\/blockquote>\n<p>What this code does is it gets all your &lt;a&gt; tags (which is what your links are made out of) and appends an onClick function to it. The onClick function will create an Event Category which will be outgoing_links, and the event action will be the URL.<\/p>\n<p>Put this below your Google Analytics Tracking code like this (highlighted in blue):<\/p>\n<blockquote><p>&lt;!&#8211;THIS IS YOUR GOOGLE ANALYTICS TRACKING CODE&#8211;&gt;<\/p>\n<p>&lt;script type=&#8221;text\/javascript&#8221;&gt;<\/p>\n<p>var _gaq = _gaq || [];<br \/>\n_gaq.push([&#8216;_setAccount&#8217;, &#8216;UA-xxxxxxxx-x&#8217;]);<br \/>\n_gaq.push([&#8216;_trackPageview&#8217;]);<\/p>\n<p>(function() {<br \/>\nvar ga = document.createElement(&#8216;script&#8217;); ga.type = &#8216;text\/javascript&#8217;; ga.async = true;<br \/>\nga.src = (&#8216;https:&#8217; == document.location.protocol ? &#8216;https:\/\/ssl&#8217; : &#8216;https:\/\/www&#8217;) + &#8216;.google-analytics.com\/ga.js&#8217;;<br \/>\nvar s = document.getElementsByTagName(&#8216;script&#8217;)[0]; s.parentNode.insertBefore(ga, s);<br \/>\n})();<br \/>\n<span style=\"color: #0000ff;\"> var a = document.getElementsByTagName(&#8216;a&#8217;);<\/span><br \/>\n<span style=\"color: #0000ff;\"> for(i = 0; i &lt; a.length; i++){<\/span><br \/>\n<span style=\"color: #0000ff;\"> if (a[i].href.indexOf(location.host) == -1 &amp;&amp; a[i].href.match(\/^https:\/\/\/i)){<\/span><br \/>\n<span style=\"color: #0000ff;\"> a[i].onclick = function(){<\/span><br \/>\n<span style=\"color: #0000ff;\"> _gaq.push([&#8216;_trackEvent&#8217;, &#8216;outgoing_links&#8217;, this.href.replace(\/^https:\/\/\/i, &#8221;)]);<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><br \/>\n<span style=\"color: #0000ff;\"> }<\/span><br \/>\n<span style=\"color: #0000ff;\"> &lt;\/script&gt;<\/span><\/p>\n<p><span style=\"color: #0000ff;\">&lt;!&#8211;END RECORD OUTBOUND LINKS CODE&#8211;&gt;<\/span><\/p><\/blockquote>\n<p>This should track all your outbound links. You can check this at the Content -&gt; Events section when you go to your Google Analytics account.<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Events-Tracking.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6078 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Events-Tracking.jpg\" alt=\"Google Analytics Events Tracking\" width=\"226\" height=\"376\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 226px; --smush-placeholder-aspect-ratio: 226\/376;\" \/><\/a><\/p>\n<p>You will be able to see something like this:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Events-Results.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6079 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Events-Results.jpg\" alt=\"Events Results\" width=\"500\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 758px; --smush-placeholder-aspect-ratio: 758\/384;\" \/><\/a><br \/>\n(Click the Image to Enlarge)<\/p>\n<p><strong>Event Category<\/strong> is the name of the event. In this example, it is the name of my outbound links &#8211; if you noticed, I customized my Events Categories giving them names like &#8216;<a title=\"SEO Services\" href=\"https:\/\/seo-hacker.net\" target=\"_blank\" rel=\"noopener\">SEO Services<\/a> SB&#8217;, &#8216;<a title=\"SEO School\" href=\"https:\/\/seo-hacker.org\" target=\"_blank\" rel=\"noopener\">SEO School<\/a> SB&#8217;, &#8216;Facebook Group SB&#8217;, etc. You can also <a title=\"Google Analytics Events Tracking\" href=\"https:\/\/seo-hacker.com\/google-analytics-tutorial-events-tracking\/\" target=\"_blank\" rel=\"noopener\">customize your Event Categories by using the onClick function for Google Analytics Events tracking here<\/a>.<\/p>\n<p><strong>Total Events<\/strong> is the times the Event occurred &#8211; in this case, it&#8217;s the number of times my outbound link was clicked by a user.<\/p>\n<p><strong>Unique Events<\/strong> is the times the Event occurred for a Unique IP address &#8211; in this case, it&#8217;s the number of times my outbound link was clicked by a Unique user.<\/p>\n<p><strong>Event Value<\/strong> and<strong> Avg Value<\/strong> can be set on <a title=\"Google Analytics Goals Setting\" href=\"https:\/\/seo-hacker.com\/google-analytics-tutorial-goals-funnels\/\" target=\"_blank\" rel=\"noopener\">Goals Settings<\/a>. As of now, we will not use these.<\/p>\n<p><strong>Where are You Going?<\/strong><\/p>\n<p>If you check out my Event Categories, I name my links to my understanding. For example, I append an &#8216;SB&#8217; label to my sidebar links to see if they are clicked more often than their in-content or image counterparts. For this timeframe, it strongly suggests that my sidebar links are the most clicked links &#8211; particularly my SEO Services link and SEO School link.<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Most-Clicked-Links.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6080 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Most-Clicked-Links.jpg\" alt=\"Most Clicked Links\" width=\"553\" height=\"375\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 553px; --smush-placeholder-aspect-ratio: 553\/375;\" \/><\/a><\/p>\n<p>If you want to check your outbound links without the categories simply click the &#8216;outbound-article&#8217; Event Category and it should take you to the raw URLs of your outbound links.<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Article.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6085 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Article.jpg\" alt=\"Outbound Article\" width=\"338\" height=\"378\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 338px; --smush-placeholder-aspect-ratio: 338\/378;\" \/><\/a><\/p>\n<p>The results should look like this:<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Outbound-Links.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6086 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Outbound-Links.jpg\" alt=\"Google Analytics Outbound Links\" width=\"558\" height=\"445\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 558px; --smush-placeholder-aspect-ratio: 558\/445;\" \/><\/a><\/p>\n<p><strong>One More Trick<\/strong><\/p>\n<p>When you&#8217;re tracking site-wide outbound links, you can check which pages prove most effective in compelling your users to click-through. Simply add a secondary dimension like this:<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Landing-Page-Dimension.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6087 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Landing-Page-Dimension.jpg\" alt=\"Outbound Links Landing Page Dimension\" width=\"553\" height=\"399\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 553px; --smush-placeholder-aspect-ratio: 553\/399;\" \/><\/a><\/p>\n<p>Then filter the results such that it won&#8217;t show you anything but your site-wide links (you should <a title=\"Google Analytics Events Tracking\" href=\"https:\/\/seo-hacker.com\/google-analytics-tutorial-events-tracking\/\" target=\"_blank\" rel=\"noopener\">manually put a customized onClick Events Tracking code in your Site-wide links to effectively track them<\/a>.) First, click on the Advanced Filter link:<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Advanced-Filtering.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6089 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Google-Analytics-Advanced-Filtering.jpg\" alt=\"Google Analytics Advanced Filtering\" width=\"248\" height=\"88\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 248px; --smush-placeholder-aspect-ratio: 248\/88;\" \/><\/a><\/p>\n<p>Then Exclude all non site-wide links (Event Category) in my case it is labeled as an &#8216;outbound-article&#8217; and an &#8216;outbound-menu&#8217; :<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Advanced-Filter-for-Outbound-Links.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6088 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Advanced-Filter-for-Outbound-Links.jpg\" alt=\"Advanced Filter for Outbound Links\" width=\"596\" height=\"201\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 596px; --smush-placeholder-aspect-ratio: 596\/201;\" \/><\/a><\/p>\n<p>Your Google Analytics should show you data that looks like this:<\/p>\n<p><a href=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Sitewide-Links-Landing-Page.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-6090 lazyload\" data-src=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Sitewide-Links-Landing-Page.jpg\" alt=\"Sitewide Links Landing Page\" width=\"500\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 743px; --smush-placeholder-aspect-ratio: 743\/515;\" \/><\/a><\/p>\n<p>This data tells me on which landing page has any of my site-wide links have been clicked. This is especially helpful if you are testing sidebar ads, banners, links or email signup forms.<\/p>\n<p><strong>Tips for Keeps:<\/strong> Implementing this Google Analytics Outbound Links Tracking code is a piece of cake &#8211; paste the code beside your Google Analytics Tracking code to start gathering your outbound user activity data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I track outbound links in Google Analytics 4? Quick Answer: In the latest version of Google Analytics (GA4), outbound clicks are automatically tracked. To view this data, click on the \u201cReal Time\u201d section of your Google Analytics dashboard. Then, choose \u201cEvents,\u201d then \u201cOverview.\u201d Next, click \u201coutbound-link,\u201d and set the secondary dimension to \u201cSource.\u201d [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wl_entities_gutenberg":"","footnotes":""},"categories":[101725],"tags":[101742,101551,101748,100486,101747,101724],"wl_entity_type":[102583],"class_list":["post-106063","post","type-post","status-publish","format-standard","hentry","category-google-analytics-seo-school","tag-events-tracking","tag-google-analytics","tag-outbound-activity","tag-outbound-links","tag-outbound-tracking","tag-tracking-code","wl_entity_type-article"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Track Outbound Links using Google Analytics<\/title>\n<meta name=\"description\" content=\"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Track Outbound Links using Google Analytics\" \/>\n<meta property=\"og:description\" content=\"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Services Agency in Manila, Philippines\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-06T12:21:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-08T01:10:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png\" \/>\n<meta name=\"author\" content=\"Sean Si\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/\"},\"author\":{\"name\":\"Sean Si\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/#\\\/schema\\\/person\\\/5565b7823135bb49dd1618bbcaec2dbf\"},\"headline\":\"How to Track Outbound Links using Google Analytics\",\"datePublished\":\"2013-02-06T12:21:13+00:00\",\"dateModified\":\"2023-02-08T01:10:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/\"},\"wordCount\":903,\"commentCount\":16,\"image\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/seo-hacker.com\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/Outbound-Links-Tracking.png\",\"keywords\":[\"events tracking\",\"google analytics\",\"outbound activity\",\"outbound links\",\"outbound tracking\",\"tracking code\"],\"articleSection\":[\"Google Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/\",\"url\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/\",\"name\":\"How to Track Outbound Links using Google Analytics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/seo-hacker.com\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/Outbound-Links-Tracking.png\",\"datePublished\":\"2013-02-06T12:21:13+00:00\",\"dateModified\":\"2023-02-08T01:10:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/#\\\/schema\\\/person\\\/5565b7823135bb49dd1618bbcaec2dbf\"},\"description\":\"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#primaryimage\",\"url\":\"https:\\\/\\\/seo-hacker.com\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/Outbound-Links-Tracking.png\",\"contentUrl\":\"https:\\\/\\\/seo-hacker.com\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/Outbound-Links-Tracking.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/track-outbound-links-google-analytics\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/seo-hacker.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Track Outbound Links using Google Analytics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/#website\",\"url\":\"https:\\\/\\\/seo-hacker.com\\\/\",\"name\":\"SEO Services Agency in Manila, Philippines\",\"description\":\"SEO Hacker is an SEO Agency and SEO Blog in the Philippines. Let us take your website to the top of the search results with our holistic white-hat strategies. Inquire today!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/seo-hacker.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/seo-hacker.com\\\/#\\\/schema\\\/person\\\/5565b7823135bb49dd1618bbcaec2dbf\",\"name\":\"Sean Si\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g\",\"caption\":\"Sean Si\"},\"description\":\"Sean Si is a Filipino motivational speaker and a Leadership Speaker in the Philippines. He is the head honcho and editor-in-chief of SEO Hacker. He does SEO Services for companies in the Philippines and Abroad. Connect with him at Facebook, LinkedIn or Twitter. Check out his new project...\",\"sameAs\":[\"https:\\\/\\\/sean.si\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Track Outbound Links using Google Analytics","description":"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/","og_locale":"en_US","og_type":"article","og_title":"How to Track Outbound Links using Google Analytics","og_description":"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.","og_url":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/","og_site_name":"SEO Services Agency in Manila, Philippines","article_published_time":"2013-02-06T12:21:13+00:00","article_modified_time":"2023-02-08T01:10:16+00:00","og_image":[{"url":"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png","type":"","width":"","height":""}],"author":"Sean Si","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#article","isPartOf":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/"},"author":{"name":"Sean Si","@id":"https:\/\/seo-hacker.com\/#\/schema\/person\/5565b7823135bb49dd1618bbcaec2dbf"},"headline":"How to Track Outbound Links using Google Analytics","datePublished":"2013-02-06T12:21:13+00:00","dateModified":"2023-02-08T01:10:16+00:00","mainEntityOfPage":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/"},"wordCount":903,"commentCount":16,"image":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png","keywords":["events tracking","google analytics","outbound activity","outbound links","outbound tracking","tracking code"],"articleSection":["Google Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/","url":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/","name":"How to Track Outbound Links using Google Analytics","isPartOf":{"@id":"https:\/\/seo-hacker.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#primaryimage"},"image":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png","datePublished":"2013-02-06T12:21:13+00:00","dateModified":"2023-02-08T01:10:16+00:00","author":{"@id":"https:\/\/seo-hacker.com\/#\/schema\/person\/5565b7823135bb49dd1618bbcaec2dbf"},"description":"For sure you have some outbound links in your website going to other websites for various reasons. We sometimes cite other websites as sources of fun, information, or attribution, etc. You can track which outbound links are clicked by your users by adding a short, simple code in your Google Analytics Tracking code.","breadcrumb":{"@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#primaryimage","url":"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png","contentUrl":"https:\/\/seo-hacker.com\/wp-content\/uploads\/2013\/02\/Outbound-Links-Tracking.png"},{"@type":"BreadcrumbList","@id":"https:\/\/seo-hacker.com\/track-outbound-links-google-analytics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/seo-hacker.com\/"},{"@type":"ListItem","position":2,"name":"How to Track Outbound Links using Google Analytics"}]},{"@type":"WebSite","@id":"https:\/\/seo-hacker.com\/#website","url":"https:\/\/seo-hacker.com\/","name":"SEO Services Agency in Manila, Philippines","description":"SEO Hacker is an SEO Agency and SEO Blog in the Philippines. Let us take your website to the top of the search results with our holistic white-hat strategies. Inquire today!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/seo-hacker.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/seo-hacker.com\/#\/schema\/person\/5565b7823135bb49dd1618bbcaec2dbf","name":"Sean Si","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3225fbc3fa29eafa997934ff429b9b1949121b469f7a110079f055ad4eeffd25?s=96&d=mm&r=g","caption":"Sean Si"},"description":"Sean Si is a Filipino motivational speaker and a Leadership Speaker in the Philippines. He is the head honcho and editor-in-chief of SEO Hacker. He does SEO Services for companies in the Philippines and Abroad. Connect with him at Facebook, LinkedIn or Twitter. Check out his new project...","sameAs":["https:\/\/sean.si"]}]}},"_wl_alt_label":[],"jetpack_featured_media_url":"","wl:entity_url":"http:\/\/data.wordlift.io\/wl0320\/post\/how_to_track_outbound_links_using_google_analytics","_links":{"self":[{"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/posts\/106063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/comments?post=106063"}],"version-history":[{"count":0,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/posts\/106063\/revisions"}],"wp:attachment":[{"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/media?parent=106063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/categories?post=106063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/tags?post=106063"},{"taxonomy":"wl_entity_type","embeddable":true,"href":"https:\/\/seo-hacker.com\/wp-json\/wp\/v2\/wl_entity_type?post=106063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}