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
128a5abc
Commit
128a5abc
authored
Nov 19, 2013
by
Matija Obreza
Browse files
GA custom variables must have unique slot index
parent
29713803
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/decorator/footer.jsp
View file @
128a5abc
...
...
@@ -33,10 +33,10 @@
<script
type=
"text/javascript"
>
var
_gaq
=
_gaq
||
[];
_gaq
.
push
([
'
_setAccount
'
,
'
${googleAnalyticsAccount}
'
]);
_gaq
.
push
([
'
_trackPageview
'
]);
try
{
_gaq
=
_gaq
.
concat
(
_pageGaq
);
}
catch
(
e
)
{}
_gaq
.
push
([
'
_trackPageview
'
]);
(
function
()
{
var
ga
=
document
.
createElement
(
'
script
'
);
ga
.
type
=
'
text/javascript
'
;
ga
.
async
=
true
;
...
...
src/main/webapp/WEB-INF/jsp/accession/details.jsp
View file @
128a5abc
...
...
@@ -251,8 +251,8 @@
_pageGaq
=
[];
_pageGaq
.
push
([
'
_setCustomVar
'
,
1
,
'
Institute
'
,
'
${accession.instituteCode}
'
]);
_pageGaq
.
push
([
'
_setCustomVar
'
,
1
,
'
Genus
'
,
'
${accession.genus}
'
]);
<c:forEach
items=
"
${
crops
}
"
var=
"crop"
>
_pageGaq
.
push
([
'
_setCustomVar
'
,
1
,
'
Crop
'
,
'
${crop.shortName}
'
]);
_pageGaq
.
push
([
'
_setCustomVar
'
,
2
,
'
Genus
'
,
'
${accession.genus}
'
]);
<c:forEach
items=
"
${
crops
}
"
var=
"crop"
>
_pageGaq
.
push
([
'
_setCustomVar
'
,
3
,
'
Crop
'
,
'
${crop.shortName}
'
]);
</c:forEach>
</script>
</body>
...
...
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