Skip to content

Commit 9c788c9

Browse files
committed
docs: add page=README.md param to Scarf pixel for GitHub obfuscation
Per Scarf's GitHub obfuscation guidance (https://docs.scarf.sh/web-traffic/#obfuscation-on-github), GitHub's camo image proxy rewrites image URLs to camo.githubusercontent.com, which both strips the referrer and obscures which page is being viewed. Adding the `page=README.md` query param tags the pixel impression with its source page so it still attributes correctly.
1 parent 3fe1e41 commit 9c788c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This repository contains a Dockerized version of the [Pact Broker][pact-broker].
1717
[![size: arm64](https://badgen.net/docker/size/pactfoundation/pact-broker/latest-multi/arm64?icon=docker&label=size%3Aarm64)](https://hub.docker.com/r/pactfoundation/pact-broker)
1818
[![size: arm](https://badgen.net/docker/size/pactfoundation/pact-broker/latest-multi/arm?icon=docker&label=size%3Aarm)](https://hub.docker.com/r/pactfoundation/pact-broker)
1919

20-
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=f0adca49-1631-4f0b-8914-366ea390b5c8" />
20+
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=f0adca49-1631-4f0b-8914-366ea390b5c8&page=README.md" />
2121

2222
## In a hurry?
2323

0 commit comments

Comments
 (0)