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

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
Looking at the mozilla documentation , looking at the regular expression example (headed "Creating
Just looking for the relevant documentation. An example is not necessary, but would be
I was looking at the API documentation for stl vector, and noticed there was
I'm looking for more and better documentation about snapshots, flow repositories, and flow state
I'm looking for the ideal tool to use for publishing technical documentation in English
I was looking at the builtin object methods in the Python documentation , and
The documentation for .NET's Excel interop API at msdn.com seems rather sparse. Does anyone
I'm looking at integrating an ESB into an existing Java/Maven web based product. Specifically,

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.