Answer the question
In order to leave comments, you need to log in
Why are Google Analytics goals not working?
Hello. I cant. I fight and fight.
Goals are not readable in Google. Event goals. Not at all. Site on Bitrix.
The main.feedback form is standard. AJAX_MODE is off.
I did
1st option.
if(strlen($arResult["OK_MESSAGE"]) > 0) { ?>
<?=$arResult["OK_MESSAGE"]?>
<script>
$(document).ready(function() {
ga('send','event','left_phone','submit');
};
</script>
<?}?>
if(strlen($arResult["OK_MESSAGE"]) > 0) { ?>
<?=$arResult["OK_MESSAGE"]?>
<script>
window.onload = function() {
ga('send','event','left_phone','submit');
};
</script>
<?}?>
<form onsubmit="ga('send','event','left_phone','submit');">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question