Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 814 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 814 Bytes

Unique Event ID Variable for Google Tag Manager WEB Container

Custom variable for Google Tag Manager Web container that generated a unique ID for Google Tag Manager events. It can be used to set up event deduplication for Facebook conversion API.

How it works

Variable is generated based on the data in the DataLayer, current timestamp and random number:

For example:

Event ID: '1646750371301_16467595538826'

How to set it up

The instructions for setting up Facebook conversion API event deduplication using this variable are described in this blog post.

Open Source

Unique Event ID Variable for GTM is developed and maintained by Stape Team under the Apache 2.0 license.