forked from mirrors/easyappointments
Move the analytics script to the booking message page
This commit is contained in:
parent
821afb2211
commit
88b8742b10
2 changed files with 10 additions and 6 deletions
|
@ -62,9 +62,6 @@
|
||||||
<?php component('js_vars_script') ?>
|
<?php component('js_vars_script') ?>
|
||||||
<?php component('js_lang_script') ?>
|
<?php component('js_lang_script') ?>
|
||||||
|
|
||||||
<?php component('google_analytics_script', ['google_analytics_code' => vars('google_analytics_code')]) ?>
|
|
||||||
<?php component('matomo_analytics_script', ['matomo_analytics_url' => vars('matomo_analytics_url')]) ?>
|
|
||||||
|
|
||||||
<?php slot('scripts') ?>
|
<?php slot('scripts') ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,14 +3,21 @@
|
||||||
<?php section('content') ?>
|
<?php section('content') ?>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<img id="message-icon" src="<?= $message_icon ?>" alt="warning">
|
<img id="message-icon" src="<?= vars('message_icon') ?>" alt="warning">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3><?= $message_title ?></h3>
|
<h3><?= vars('message_title') ?></h3>
|
||||||
|
|
||||||
<p><?= $message_text ?></p>
|
<p><?= vars('message_text') ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php section('content') ?>
|
<?php section('content') ?>
|
||||||
|
|
||||||
|
<?php section('scripts') ?>
|
||||||
|
|
||||||
|
<?php component('google_analytics_script', ['google_analytics_code' => vars('google_analytics_code')]) ?>
|
||||||
|
<?php component('matomo_analytics_script', ['matomo_analytics_url' => vars('matomo_analytics_url')]) ?>
|
||||||
|
|
||||||
|
<?php section('scripts') ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue