Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ extra:
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/channel/UCgD4zSzAJwf3tBlOgJo7Qkw
generator: false
analytics:
provider: custom

extra_css:
- extra.css
Expand Down
15 changes: 15 additions & 0 deletions stylesheets-docs/partials/integrations/analytics/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script>
if (window.location.hostname === "wallarm.github.io") {
var script = document.createElement("script");
script.src = "https://cdn.amplitude.com/script/78e35700de65a613b46a06dafca5d5e7.js";
script.onload = function () {
window.amplitude.init("78e35700de65a613b46a06dafca5d5e7", {
fetchRemoteConfig: true,
autocapture: true,
minIdLength: 3
});
};
document.head.appendChild(script);
}
</script>