mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 04:14:57 +00:00
Including my OWA Tracker
This commit is contained in:
parent
6339a23b02
commit
0b3f6d4837
@ -17,3 +17,4 @@
|
||||
<!-- Copyright -->
|
||||
</div>
|
||||
</footer>
|
||||
@include('layouts.tracker')
|
19
resources/views/layouts/tracker.blade.php
Normal file
19
resources/views/layouts/tracker.blade.php
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- Start Open Web Analytics Tracker -->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var owa_baseUrl = 'https://brunofontes.net/owa/';
|
||||
var owa_cmds = owa_cmds || [];
|
||||
owa_cmds.push(['setSiteId', {{ config('tracking.id') }}]);
|
||||
owa_cmds.push(['trackPageView']);
|
||||
owa_cmds.push(['trackClicks']);
|
||||
owa_cmds.push(['trackDomStream']);
|
||||
|
||||
(function() {
|
||||
var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true;
|
||||
owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl );
|
||||
_owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
|
||||
var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s);
|
||||
}());
|
||||
//]]>
|
||||
</script>
|
||||
<!-- End Open Web Analytics Code -->
|
@ -114,5 +114,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@include('layouts.tracker')
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user