# getSourcePage

Package: `@threadplane/telemetry/shared` · 0.3.4

Reference: /docs/api/telemetry/shared/getSourcePage

```typescript
import { getSourcePage } from '@threadplane/telemetry/shared';
```

## getSourcePage · overload 1

Return a trimmed path beginning with `/`, or the path, query, and fragment of an absolute URL.
Input is truncated to 2,000 characters; missing or unparseable input returns `/`.

```typescript
export declare function getSourcePage(value: unknown): string;
```