зеркало из https://github.com/mozilla/bedrock.git
Родитель
3a7c190bf7
Коммит
8ca666fb56
|
@ -24,4 +24,19 @@ function copyText() {
|
|||
textCopiedMessage.style.display = 'none';
|
||||
copyButtonText.style.display = 'block';
|
||||
}, 2500);
|
||||
|
||||
// UA
|
||||
window.dataLayer.push({
|
||||
event: 'in-page-interaction',
|
||||
eAction: 'copy',
|
||||
eLabel: 'Copy and share'
|
||||
});
|
||||
|
||||
// GA4
|
||||
window.dataLayer.push({
|
||||
event: 'widget_action',
|
||||
type: 'copy',
|
||||
action: 'copy',
|
||||
name: 'Copy and share'
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче