wagtail-experiments
wagtail-experiments copied to clipboard
[fixes #14] Allow for standalone URL to be use as goals
It's convenient to be able to use URLs outside wagtail as goals as well as wagtail pages. In this PR, I am adding a GoalURLMiddleware that checks the current URL and compares it with URLs for live experiments. In order to make this more performant, I added an index to the status DB column.