We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9df65f commit 579cc57Copy full SHA for 579cc57
src/components/404.astro
@@ -20,7 +20,7 @@
20
21
anchor.setAttribute("href", `/search/?q=${encodeURIComponent(pretty)}`);
22
anchor.addEventListener("click", () => {
23
- track("serp from 404", { query: pretty });
+ track("serp from location", { value: "404", query: pretty });
24
});
25
}
26
</script>
src/plugins/docsearch/index.ts
@@ -28,7 +28,7 @@ export default {
28
key: state.query,
29
props: {
30
onclick: () => {
31
- track("serp from widget", { query: state.query });
+ track("serp from location", { value: "widget", query: state.query });
32
},
33
id: "docsearch-search-link",
34
href: `/search/?query=${state.query}`,
0 commit comments