kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Documentation correction #600

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API Documentation

https://developers.google.com/analytics/devguides/reporting/core/v3/reference#fi
lters

Issue summary:
The section titled "Filter Expressions - Reserved characters" states:
"The semicolon, comma, and backslash must all be backslash escaped when they 
appear in an expression."

If I escape the backslash character, the expression is not interpreted 
correctly. 
If I do NOT escape the backslash, it works as expected.

Sample query filter (page queries that include a question mark -- the regex 
rules state the question mark must be escaped with a backslash):

ga:pagePath=~\?  when encoded as  [...]%3D~%5C%3F  works

but when escaping the backslash and encoding as   [...]%3D~%5C%5C%3F   does not 
work.

Original issue reported on code.google.com by mike.3.s...@gmail.com on 27 Mar 2015 at 9:05