Groups
Groups
Sign in
Groups
Groups
google-analytics-data-export-api
Conversations
About
Send feedback
Help
Removing querystring with filter ga:pagePath
689 views
Skip to first unread message
Joel Bernerman
unread,
Nov 7, 2011, 8:57:59 AM
11/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-analytics...@googlegroups.com
Hi!
I´m trying to filter som searchqueries from the results in my site.
I tried to filter results with ga:pagePath!~^/?s=* but it still includes "/?s=anything".
Anyone knows how to filter this correctly, i want to exclude any pagePath containing query string?
Regards
/Joel
Nick
unread,
Nov 8, 2011, 12:43:22 AM
11/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-analytics...@googlegroups.com
? is a meta character:
http://en.wikipedia.org/wiki/Regular_expression#POSIX_Extended_Regular_Expressions
So you need to escape it. Also * matches any number of the preceding character . is the wild character in reg ex. What about using:
^/\?s=.*
To match any query which starts with /?s=
-Nick
Joel Bernerman
unread,
Nov 8, 2011, 3:21:10 AM
11/8/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-analytics...@googlegroups.com
Ahh.
I really thought it was some bug, but its was my poor regex skills.
Thank you so much for the help.
Regards
/Joel
Reply all
Reply to author
Forward
0 new messages