...
The following eventex matches a pageview
event and applies a regex to the event attribute url
:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
select when web pageview url re#/archives/\d{4}# |
This pattern will match all events in the event stream that contain an attribute named url
that has a value that contains the string /archives/
followed by four digits. This particular event would indicate that the user has viewed a Web page that has a URL matching the regex.
...
the
...
regex
...
.
You can test more than one attribute by simply including them in the eventex. Multiple attribute-regex pairs are evaluated. All of them must be true for the event expressions to match. For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
select when web pageview url re#/archives/\d{4}/# title re#iphone#i |
...