Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rules.yaml not affecting timeline view #78

Open
calbon2702 opened this issue Sep 5, 2023 · 0 comments
Open

rules.yaml not affecting timeline view #78

calbon2702 opened this issue Sep 5, 2023 · 0 comments

Comments

@calbon2702
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant