added google analytics script
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
<div class="row">
|
||||
<form action="{{ request.route_url('home') }}" method="POST" class="form">
|
||||
<div class="col-sm-6 form-group">
|
||||
<input class="form-control" id="name" name="name" placeholder="Nom et prénom" required
|
||||
<input class="form-control" id="name" name="name" placeholder="Nom et prénom - Tên họ" required
|
||||
type="text" value="{{name}}">
|
||||
</div>
|
||||
<div class="col-sm-6 form-group">
|
||||
@@ -157,8 +157,9 @@
|
||||
type="email" value="{{email}} ">
|
||||
</div>
|
||||
</div>
|
||||
<textarea class="form-control" id="comments" name="comments" placeholder="Message" required rows="5"></textarea>
|
||||
<input class="form-control" id="ngot" name="ngot" placeholder="Mât Ngot" type="text">
|
||||
<textarea class="form-control" id="comments" name="comments" placeholder="Message - Tin nhắn" required rows="5"></textarea>
|
||||
|
||||
<p class="antispams"><input class="form-control" id="antispams" name="antispams" type="text"></p>
|
||||
<br>
|
||||
<button class="btn btn-primary" type="submit" name="form.submitted">Envoyer</button>
|
||||
</form>
|
||||
@@ -166,11 +167,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(
|
||||
function(){
|
||||
$('#ngot').hide()
|
||||
}
|
||||
)
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -118,5 +118,14 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NBVRNJ9C0Y"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-NBVRNJ9C0Y');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user