Skip to content

Commit

Permalink
Rotate distinct id
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Dec 11, 2024
1 parent 4b28ae7 commit 5028c0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testcafe/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export const initPosthog = (testName, config) => {
api_host: POSTHOG_API_HOST,
api_key: POSTHOG_PROJECT_KEY,
bootstrap: {
distinctID: 'automated-tester', // We set this to get around the ingestion delay for new distinctIDs
// We set this to get around the ingestion delay for new distinctIDs. It's not ideal, as if we have a
// lagging partition on prod then we can be blocked from merging any PRs. Until we run these tests against
// a local posthog instance, you can change this ID to change the partition.
distinctID: 'automated-tester-2',
isIdentifiedID: true,
},
opt_out_useragent_filter: true,
Expand Down

0 comments on commit 5028c0b

Please sign in to comment.