Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
691272e6
Commit
691272e6
authored
Feb 02, 2016
by
difox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Html tracking code
parent
27d17067
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
frontend/views/layouts/htmlcodes.php
frontend/views/layouts/htmlcodes.php
+9
-0
frontend/views/layouts/main.php
frontend/views/layouts/main.php
+2
-1
No files found.
frontend/views/layouts/htmlcodes.php
0 → 100644
View file @
691272e6
<!-- Google Tag Manager -->
<noscript><iframe
src=
"//www.googletagmanager.com/ns.html?id=GTM-M2LRB5"
height=
"0"
width=
"0"
style=
"display:none;visibility:hidden"
></iframe></noscript>
<script>
(
function
(
w
,
d
,
s
,
l
,
i
){
w
[
l
]
=
w
[
l
]
||
[];
w
[
l
].
push
({
'
gtm.start
'
:
new
Date
().
getTime
(),
event
:
'
gtm.js
'
});
var
f
=
d
.
getElementsByTagName
(
s
)[
0
],
j
=
d
.
createElement
(
s
),
dl
=
l
!=
'
dataLayer
'
?
'
&l=
'
+
l
:
''
;
j
.
async
=
true
;
j
.
src
=
'
//www.googletagmanager.com/gtm.js?id=
'
+
i
+
dl
;
f
.
parentNode
.
insertBefore
(
j
,
f
);
})(
window
,
document
,
'
script
'
,
'
dataLayer
'
,
'
GTM-M2LRB5
'
);
</script>
<!-- End Google Tag Manager -->
\ No newline at end of file
frontend/views/layouts/main.php
View file @
691272e6
...
...
@@ -22,6 +22,7 @@ AppAsset::register($this);
<?php
echo
$this
->
render
(
'head'
)
?>
</head>
<body>
<?php
echo
$this
->
render
(
'htmlcodes'
)
?>
<?php
$this
->
beginBody
()
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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