Skip to content

Commit 80dd684

Browse files
committed
only load analytics script when running on client.rdap.org
1 parent 919f217 commit 80dd684

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060

6161
<script>
6262
loadRegistries();
63-
</script>
6463

65-
<script src="//analytics.tau.uk.com"></script>
64+
if ("client.rdap.org" == document.location.hostname.toLowerCase()) {
65+
document.body.appendChild(document.createElement("script")).setAttribute("src", "//analytics.tau.uk.com");
66+
}
67+
</script>

0 commit comments

Comments
 (0)