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 99f9720 commit 83f52d3Copy full SHA for 83f52d3
packages/homepage/gatsby-browser.js
@@ -1,3 +1,5 @@
1
+import { trackPageview } from '@codesandbox/common/lib/utils/analytics';
2
+
3
exports.onClientEntry = () => {
4
(function addDocSearch() {
5
const path = `https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css`;
@@ -8,3 +10,7 @@ exports.onClientEntry = () => {
8
10
document.head.appendChild(link);
9
11
})();
12
};
13
14
+exports.onRouteUpdate = () => {
15
+ trackPageview();
16
+};
0 commit comments