---
title: SyncEvent.tag
slug: Web/API/SyncEvent/tag
tags:
  - API
  - Background Sync
  - Experimental
  - Property
  - Reference
  - ServiceWorker
  - SyncEvent
  - tag
browser-compat: api.SyncEvent.tag
---
{{SeeCompatTable}}{{APIRef("")}}

The **`SyncEvent.tag`** read-only property of the
{{domxref("SyncEvent")}} interface returns the developer-defined identifier for
this `SyncEvent`. This is the value passed in the `tag` parameter
of the {{domxref("SyncEvent.SyncEvent","SyncEvent()")}} constructor.

## Syntax

```js
var tag = SyncEvent.tag
```

### Value

The developer-defined identifier for this `SyncEvent`.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
