Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
dcca4ccc
Commit
dcca4ccc
authored
Nov 20, 2013
by
Matija Obreza
Browse files
ga.jsp
parent
128a5abc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/decorator/footer.jsp
View file @
dcca4ccc
...
...
@@ -29,22 +29,7 @@
</div>
</div>
<c:if
test=
"
${
googleAnalyticsAccount
ne
null
}
"
>
<script
type=
"text/javascript"
>
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
${googleAnalyticsAccount}
'
]);
try
{
_gaq
=
_gaq
.
concat
(
_pageGaq
);
}
catch
(
e
)
{}
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
ga
.
src
=
(
'
https:
'
==
document
.
location
.
protocol
?
'
https://ssl
'
:
'
http://www
'
)
+
'
.google-analytics.com/ga.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
</script>
</c:if>
<%@include
file=
"ga.jsp"
%>
<!-- Processing time:
<div class="footer clearfix" style="font-size: 80%">
<spring:message
code=
"page.rendertime"
arguments=
"
${
springExecuteTime
}
"
/>
</div>
...
...
src/main/webapp/WEB-INF/decorator/ga.jsp
0 → 100644
View file @
dcca4ccc
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<c:if
test=
"
${
googleAnalyticsAccount
ne
null
}
"
>
<script
type=
"text/javascript"
>
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
${googleAnalyticsAccount}
'
]);
try
{
_gaq
=
_gaq
.
concat
(
_pageGaq
);
}
catch
(
e
)
{
}
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
ga
.
src
=
(
'
https:
'
==
document
.
location
.
protocol
?
'
https://ssl
'
:
'
http://www
'
)
+
'
.google-analytics.com/ga.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
ga
,
s
);
})();
</script>
</c:if>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment