Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3595066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T19:48:09+00:00 2026-05-18T19:48:09+00:00

Looking at the documentation on the web, it seems to be a common practise

  • 0

Looking at the documentation on the web, it seems to be a common practise to track outbound links as a virtual pageview with a URL like /outgoing/{original_url}. But a lot of that documentation is from before Google added events to analytics. Which is the preferred method nowadays – page views or events?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T19:48:09+00:00Added an answer on May 18, 2026 at 7:48 pm

    The ‘correct’ way is to track outbound links, downloads, etc. as events. – Creating virtual pageviews is a hack, from back when events wasn’t released.

    Virtual pageview tracking artificially inflates the number of aggregated pageview, and thereby polutes the data, so best-practice is to avoid this if possible.

    However, there are cases where virtual-pageview-tracking is the only solution, and thats when you need to track the outbound link (or download etc.) as a goal – and thereby being able to optimize against this goal in AdWords.

    Examples include AdWords optimization with regard to PDF-download.

    If this is not the case, use event-tracking.

    —

    A standard snippet is (which simply is included in the specific <a>‘s onclick-attribute):

    _trackEvent('Outbound link', 'Click', 'http://www.external-link.com', 0)
    

    Google has another solution to this:

    http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55527

    Which tracks the events, waits 100ms and the redirects to the external link – this imo, is not the best solution.

    —

    Another thing to remember, is that the onclick-event is not fired when the user right-clicks -> open in tab, or the equilivant middle-click.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking for an example or documentation links as to how to implement a method
I'm looking to do some synchronous web-programming in Common Lisp, and I'm rounding up
I'm looking on the web, but documentation is hard to come by. We all
I have been looking for documentation related to interacting with MSPaint from the command
I'm looking for: documentation blogs books ready-to-use pre-configured slice images services wrappers libraries tutorials
I'm looking for documentation on boost::threadpool. I downloaded the source and documentation zip files.
I'm looking at WCF documentation in the MSDN ( http://msdn.microsoft.com/en-us/library/bb332338.aspx ), and have come
I'm looking for some documentation on how Information Retrieval systems (e.g., Lucene) store their
I am interested in using a DataObject and have been looking through the documentation.
I'm currently messing around with Rob Eisenberg's Caliburn framework. When looking at the documentation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.