Wagtail-ab-testing

Latest version: v0.11.1

Safety actively analyzes 688803 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.2.2

Following the [installation guide](https://github.com/torchbox/wagtail-ab-testing/#installation), add the new URL pattern into your ``urls.py`` (note this is a separate URL to the one used by the old Cloudflare worker).
And add the tracking script HTML tag to your base template

If you use the Cloudflare worker

Before deploying the update to 0.3, you must first update the code to match the [latest version in the readme](https://github.com/torchbox/wagtail-ab-testing/#running-ab-tests-on-a-site-that-uses-cloudflare-caching). Note that your A/B tests will temporarily stop working, but this shouldn't have any other impact on your site. They should start working again once you've deployed 0.3.

Remove the following URL pattern from your ``urls.py`` (note this is not the same pattern we added in the previous step!):

python
url(r'^abtestingapi/', include(ab_testing_api)),


And the following setting is no longer required, remove it if you have it in your settings:

python
WAGTAIL_AB_TESTING = {
'MODE': 'external',
}


[Unreleased]: https://github.com/torchbox/wagtail-ab-testing/compare/v0.6...main

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.