Skip to content

rules.yaml not affecting timeline view #78

@calbon2702

Description

@calbon2702

Expected behavior

    # uk gov utm rule
    - url_prefix: uk,gov,www)/government/publications/reporting-requirements-for-medicine-shortages-and-discontinuations
      fuzzy_lookup: 
        re_type: sub
        match: '[?&]utm_[^=]+=[^&]+(?=&|$)'
        replace: ''

Should adding this code to rules.yaml replace the UTM parameters on this URL:
https:/www.gov.uk/government/publications/reporting-requirements-for-medicine-shortages-and-discontinuations?utm_medium=email&utm_campaign=govuk-notifications-topic&utm_source=9db305b6-aec1-4c37-884e-961ad0f717e8&utm_content=daily

What actually happened

  1. Rules added to rules.yaml (TNA)
  2. Ran local environment (http://localhost:8080/*/https://www.gov.uk/government/publications/reporting-requirements-for-medicine-shortages-and-discontinuations?utm_source=9db305b6-aec1-4c37-884e-961ad0f717e8?utm_medium=email&utm_campaign=govuk-notifications-topic&utm_source=9db305b6-aec1-4c37-884e-961ad0f717e8&utm_content=daily)
  3. Has no affect on the URL

Browser

Chrome

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions