Commit 59860b1
docs: Document trailing slash stripping for exact URL matching (#15188)
## Changes
Documents the trailing slash stripping behavior for exact URL matching in product tours and surveys, based on [PostHog/posthog#48497](PostHog/posthog#48497).
### Updated files
- **`contents/docs/product-tours/targeting.mdx`** – Added a note after the URL conditions table explaining that trailing slashes are stripped from both URLs when using exact matching.
- **`contents/docs/surveys/creating-surveys.mdx`** – Added a clarification to the URL targeting bullet point in Display conditions that trailing slashes are stripped for exact matching. Also fixed a missing Oxford comma.
### Context
PR #48497 added a UI clarification message in the product tour configuration that appears when "Exact" URL match type is selected: "Trailing slashes are stripped when matching exact URLs." Since surveys share the same URL matching infrastructure (`SurveyMatchType`), both docs pages are updated to reflect this behavior.1 parent 8ebae48 commit 59860b1
File tree
2 files changed
+4
-1
lines changed- contents/docs
- product-tours
- surveys
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
0 commit comments