<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/node-tracker](./node-tracker.md) &gt; [Emitter](./node-tracker.emitter.md) &gt; [setCollectorUrl](./node-tracker.emitter.setcollectorurl.md)

## Emitter.setCollectorUrl property

Updates the collector URL to which events will be sent.

<b>Signature:</b>

```typescript
setCollectorUrl: (url: string) => void;
```
