WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Upper case letters in settings-site name cause outbound link tracking problems (2 posts)

  1. jon.evans
    Member
    Posted 2 years ago #

    I enabled track outbound links as downloads and GA for WP was adding tracking code for almost every link it found. I decided this was probably because my site address (URL) in my general settings included capital letters.

    How likely does this explanation sound?

    The solution of changing my site address to all lowercase annoyingly means that Facebook thinks I am a different site and resets my Like count to 0!

    Crazy case sensitive business :-).

  2. forensicneophyte
    Member
    Posted 2 years ago #

    You should be able to use the js strtolower() function to change the case.
    I don't know google js yet, but in general it would be something like putting the ga.js in a function that has a variable something like this:
    url=(whatever var name google uses)
    url=url.toLowerCase();

    or something like that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic