项目作者: stape-io

项目描述 :
Unique Event ID Variable for Google Tag Manager WEB Container
高级语言: Smarty
项目地址: git://github.com/stape-io/unique-event-id-variable.git
创建时间: 2021-03-11T17:25:22Z
项目社区:https://github.com/stape-io/unique-event-id-variable

开源协议:Apache License 2.0

下载


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:

  1. 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.