ExtraSectionCondition question

Developers
2008-02-12
2012-10-11
  • Drew Campbell
    Drew Campbell
    2008-02-12

    We have a url that has query parameters and we don't want to count them separately in the extra section. But there is one query parameter that we don't want counted in the stats at all in the extra section.

    This is the url we don't want to count in the extra section:
    https://somedomain.com/sales/order-placed?backPage=/sales/review-order&_requestid=121784&print=true

    This url we do want to count in the extra section:
    https://somedomain.com/sales/order-placed?backPage=/sales/review-order&_requestid=121784

    The only difference is the print=true query parameter which creates a print friendly view of the page. We're not able to get a regular expression to work in this instance. Using the url field condition counts both, when the path is matched. We'd like to use something like 'this and not this' regular expression in the field condition, is this possible? How?