Google Analytics by Yoast
[Plugin: Google Analytics for WordPress] Virtual URLs for onclick are being picked up by Google Spid (1 post)

  1. spanishgringo
    Posted 3 years ago #

    The google spider is picking up the onclick parameters for tracking. it sees what looks like a real URL, so it tries to crawl it and it results in a 404 because it is artificial to track virtual URLs.

    The easiest solution is to change your onclick code to make this an array of text elements that you then join with "/" just prior to the trackpageview call.

    For example what today looks like this?
    business phone systems

    business phone systems

    can now look like this:

    business phone systems


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic