api-docs/docs/browser-tracker/markdown/browser-tracker.crossdomainlinker.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [crossDomainLinker](./browser-tracker.crossdomainlinker.md)
## crossDomainLinker() function
Enable querystring decoration for links passing a filter
<b>Signature:</b>
```typescript
declare function crossDomainLinker(crossDomainLinkerCriterion: (elt: HTMLAnchorElement | HTMLAreaElement) => boolean, trackers?: Array<string>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| crossDomainLinkerCriterion | (elt: HTMLAnchorElement \| HTMLAreaElement) => boolean | |
| trackers | Array<string> | The tracker identifiers which will be configured |
<b>Returns:</b>
void