• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Outgoing Link Tracking with Google Analytics

By Abhishek Ghosh October 12, 2013 4:38 am Updated on October 17, 2014

Outgoing Link Tracking with Google Analytics

Advertisement

Outgoing Link Tracking with Google Analytics is quite easy to setup both with the traditional or the asynchronous code. You can track outgoing certain link. We published lot of articles on Google Analytics, although Google Analytics itself has changed a lot, definitely the basics of these articles are quite important. Whatever Google officially tells, the evergreen facts of Outgoing links and SEO is still true today. Sometimes we need relevant, fully good outgoing link tracking system – Google Analytics itself has such system.

 

Outgoing Link Tracking with Google Analytics : Understanding the Basics

 

Outgoing Link Tracking with Google Analytics is possible with the Event Tracking method in the new asynchronous ga.js tracking code that enables the webmaster to record user interaction with website elements. Event Tracking data model has some components which map directly to elements in the Analytics Reports interface.

 

Note : Do Not Use anyone’s WordPress Plugin, kindly read the Free articles of Google Analytics and insert your own code yourself manually by either PHP call function or manually the Javascripts in header & footer (in case of spitted code). We do not recommend to use any dedicated or SEO WordPress Plugin for inserting tracking codes as, if the source codes are checked not line by line and nulled, these Plugins can send your data to the Plugin developer or any third party. When you are login, that can also be tracked with these plugins.

 

This is the current reference webpage :

Advertisement

---

 

Vim
1
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

 

We prefer the split code (reference) :

 

Vim
1
https://developers.google.com/analytics/devguides/collection/gajs/?csw=1

 

So, this is your minimum setup :

 

 

This function is named ‘push’ so that an array can be used in the place of _gaq before Analytics has completely loaded. While Analytics is loading, commands will be pushed/queued onto the array. It uses _setAccount to set the page’s web property ID and then calls _trackPageview to send the tracking data back to the Google Analytics servers. One line tracking is also possible :

You are not doing all of these three at one time – you can select only one to use. If you wrongly add two, nothing wrong will happen – the second script will not load. You can read how asynchronous javascript actually works.

 

Outgoing Link Tracking with Google Analytics : Now Make Clicking Trackable

 

Outgoing Link Tracking with Google Analytics

So, we have added the var (variable), its funny that – even if a HTML5 button with tracker is clicked before the browser has fully finished loading, the event will be captured :

The names like Button 3 things are arbitrary in example. But, not that we always need a button ! What will happen in those cases where we want to track an in line link ?

Here is the solution :

https://support.google.com/analytics/answer/1136920?hl=en

You will simply add this within head as extra :

And this to link :

thecustomizewindows.com is the domain you are linking towards in this case. Now, actually its like normal HTML link, you can add itemprop, rel etc stuffs :

Outgoing Link Tracking

You will get the info of tracking on STANDARD REPORTS > Events > Event Category where you will see the Event Category and ‘Outbound Links’.

Tagged With google analytics manage outgoing referrals , tracking outgoing traffic with google analytics
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Outgoing Link Tracking with Google Analytics

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy