google analytics script
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Wed Nov 06, 2013 10:01 pm
- Reply with quote
- Report this post
Hello,
I'd like to integrate google analytics but I can't find a place where I can integrate the required script.
Google instructions are:
...
Create a PHP file named "analyticstracking.php" with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening <body> tag:
<?php include_once("analyticstracking.php") ?>
where the "above file" a javascript <script>...</script>
Any suggestions where this include can go ?
Thank You
Walter
I'd like to integrate google analytics but I can't find a place where I can integrate the required script.
Google instructions are:
...
Create a PHP file named "analyticstracking.php" with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening <body> tag:
<?php include_once("analyticstracking.php") ?>
where the "above file" a javascript <script>...</script>
Any suggestions where this include can go ?
Thank You
Walter
-
- Junior Boarder
- GK User
- Wed Nov 06, 2013 11:08 pm
- Reply with quote
- Report this post
Hi.
If you like use this method not simple GA code, you have two solutions:
1) Edit template file: template/gk_bluap/layout/default.php
2) Or use this tip: http://www.gavick.com/documentation/joo ... ted-pages/
and inside module paste your php code from analyticstracking.php file.
If you like use this method not simple GA code, you have two solutions:
1) Edit template file: template/gk_bluap/layout/default.php
2) Or use this tip: http://www.gavick.com/documentation/joo ... ted-pages/
and inside module paste your php code from analyticstracking.php file.
-
- Platinum Boarder
- GK User
- Wed Nov 06, 2013 11:11 pm
- Reply with quote
- Report this post
p.s.
But generally you can use "Features" tab in Gavick Template where you can find Google Analytics features ready for GA code.
But generally you can use "Features" tab in Gavick Template where you can find Google Analytics features ready for GA code.
-
- Platinum Boarder
3 posts
• Page 1 of 1