> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentlinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# linktrail context ga4 refresh

> Refresh optional GA4 context.

```bash theme={null}
linktrail context ga4 refresh --property properties/123
```

## Behavior and output

Uses LINKTRAIL\_GA4\_TOKEN with analytics.readonly. Without a token reports ga4\_absent. A token requires --property. Writes GA4 rows/state with bounded report calls and cached reuse.

## Arguments

\--property PROPERTY (first value used); --start YYYY-MM-DD and --end YYYY-MM-DD together. --json prints structured output except profile render, which prints its write summary; --help prints main CLI help when invoked through linktrail.

## Exit status

0 on success; 2 on usage, configuration, input or request failure.

Read [configuration and file ownership](/reference/local/configuration) before automating this command. Read [local file contracts](/reference/local/artifacts) for artifact fields. Browse the [local command index](/reference/local/index) for related commands.

<Note>Reference follows the current development CLI and HTTP contracts. Hosted availability depends on the selected environment. See [capability status](/capability-status).</Note>
