Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

typo in GoogleAnalyticsV4_7_2 #14

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment
Open

typo in GoogleAnalyticsV4_7_2 #14

GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@andrewswan
Copy link
Contributor

andrewswan commented May 10, 2021

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

dmurph added a commit that referenced this issue Sep 16, 2021
Issue #14 - fixed escaping of pipe character in URL before utmcmd param
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants