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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions