Commit 381e1b06cfb88f51636f4372124d491f709c6694

Authored by Eugeny Galkovskiy
1 parent 86304566

кнопка оформить заказ, код аналитики

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
frontend/views/checkout/confirm.php
... ... @@ -190,6 +190,7 @@
190 190 \Yii::t('app', 'Оформить заказ'),
191 191 [
192 192 'class' => 'btn btn-success',
  193 + 'onClick' => "ga('send', 'event', { eventCategory: 'button-order', eventAction: 'click'})",
193 194 ]
194 195 );
195 196 ?>
... ...