Skip to content

Implement tracing headers #97

Description

@marandaneto

Summary

Implement canonical PostHog tracing headers behavior for the Unity SDK.

Expected behavior

When tracing headers are enabled for an allowlisted host, outgoing requests include:

  • X-POSTHOG-DISTINCT-ID
  • X-POSTHOG-SESSION-ID

The SDK should not inject these headers for non-allowlisted hosts.

Spec

https://github.com/PostHog/sdk-specs/blob/main/acceptance/private/tracing-headers.feature

Notes

This should take into account Unity networking APIs and supported platform constraints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions