mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-23 20:10:52 +00:00
Including my OWA Tracker
This commit is contained in:
parent
b335bcc613
commit
5e0637a1fd
@ -16,4 +16,5 @@
|
||||
</div>
|
||||
<!-- Copyright -->
|
||||
</div>
|
||||
</footer>
|
||||
</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