- Posts: 27
- Thank you received: 0
Google Analytics
-
krishankumar
Inactive member - Topic Author
- Member
Less
More
11 years 7 months ago #29665
by krishankumar
Google Analytics was created by krishankumar
How to add Google analytic code into the hot destinations travel template
Krishan
Krishan
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29675
by ivan.milic
Replied by ivan.milic on topic Google Analytics
You need to edit index.php of template to insert code google gave you.
Please Log in to join the conversation.
-
krishankumar
Inactive member - Topic Author
- Member
Less
More
- Posts: 27
- Thank you received: 0
11 years 7 months ago #29685
by krishankumar
Replied by krishankumar on topic Google Analytics
<script>
(function(i,s,o,g,r,a,m){i=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41144241-1', 'especialvacations.com');
ga('send', 'pageview');
</script>
Well this the code, Please advise how to add this to Index file.
Because it gave gave arror once i pasted the same to index.php
Thanks and regards
Krishan
(function(i,s,o,g,r,a,m){i=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41144241-1', 'especialvacations.com');
ga('send', 'pageview');
</script>
Well this the code, Please advise how to add this to Index file.
Because it gave gave arror once i pasted the same to index.php
Thanks and regards
Krishan
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29690
by ivan.milic
Replied by ivan.milic on topic Google Analytics
Find "</head>" and inser your code just above it
The following user(s) said Thank You: krishankumar
Please Log in to join the conversation.
-
krishankumar
Inactive member - Topic Author
- Member
Less
More
- Posts: 27
- Thank you received: 0
11 years 7 months ago - 11 years 7 months ago #29796
by krishankumar
Replied by krishankumar on topic Font Size
How to change body font size and define h1, h2, h3 font size of personel choice
Last edit: 11 years 7 months ago by krishankumar.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #29802
by ivan.milic
Replied by ivan.milic on topic Font Size
In your main template css file at beginning put:
body{
font-size:...
}
h1{
font-size:...
}
h2{
font-size:...
}
h3{
font-size:...
}
usually templates have that already so you just need to change existing code
body{
font-size:...
}
h1{
font-size:...
}
h2{
font-size:...
}
h3{
font-size:...
}
usually templates have that already so you just need to change existing code
Please Log in to join the conversation.
Time to create page: 0.098 seconds