mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-29 02:57:38 +08:00
Send a consistent event name to GTM (#222)
This commit is contained in:
committed by
GitHub
parent
68b2fccbc0
commit
5f37442cbe
@@ -44,7 +44,7 @@ export default ({ category, action, label, value, nonInteraction }) => {
|
|||||||
// Google Tag Manager
|
// Google Tag Manager
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
window.dataLayer.push({
|
window.dataLayer.push({
|
||||||
event: `${category} ${action}`,
|
event: 'nginx_tool',
|
||||||
category,
|
category,
|
||||||
action,
|
action,
|
||||||
label,
|
label,
|
||||||
|
Reference in New Issue
Block a user