Skip to content

typo in GoogleAnalyticsV4_7_2 #14

Open

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. track event
2.
3.

What is the expected output? What do you see instead?
URI parsing exception


What version of the product are you using? On what operating system?
downloaded latest from Download section


Please provide any additional information below.
replaced this "%7utmcmd%3D" to "%7Cutmcmd%3D" and it worked

Original issue reported on code.google.com by aleksei....@gmail.com on 27 Oct 2012 at 10:55

Activity

  1. andrewswan commented on May 10, 2021

    @andrewswan
    Contributor

    I discovered the same issue when inspecting the source code. It's clearly a programming error; everywhere else it uses %7C, which is a URL-encoded pipe character. These comments in the AnalyticsRequestData class show how the utmcmd param is meant to be preceded by a pipe character:

    	// referal:
    	//utmcsr=forums.jinx.com|utmcct=/topic.asp|utmcmd=referral
    	//utmcsr=rolwheels.com|utmccn=(referral)|utmcmd=referral|utmcct=/rol_dhuez_wheels.php
    	// search:
    	// utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=rol%20wheels
    
  2. added a commit that references this issue on Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions