J'ai un objectif dans Google Analytics qui ne fonctionne pas pour une raison que je ne comprends pas. Les conversions ne sont pas comptées. Quel pourrait être le problème? Voilà comment je mets le but dans le code du site:Google Analytics - mon événement d'objectif ne fonctionne pas
<!DOCTYPE html>
<html lang="ru">
<head>
<!— Global site tag (gtag.js) - Google Analytics —>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-108002615-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-108002615-1');
</script>
</head>
<body>
<button onclick="gtag('event', 'best-goal-666', { 'event_category': 'Category', 'event_action': 'Action', 'event_label': 'click-button-347-2', 'value': 1});">RABOTAI BLYAT</button>
</body>
</html>
Screenshot of goal settings in google analytics
Est-ce que vous voyez l'événement dans google analytics? – Confuzing
avez-vous essayé en regardant: Rapports -> Real-Time -> Conversions? – ArmYourselves