Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/templates/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import PageContainer from "../components/PageContainer";
import PropTypes from "prop-types";

export default function Article({ data }) {

useEffect(() => {
ReactGA.pageview(window.location.pathname);
}, []);

const post = data.markdownRemark;
return (
<PageContainer>
Expand Down
5 changes: 5 additions & 0 deletions src/templates/kontakt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import SEO from "../components/seo";
import Form from "../components/form";

export default function Kontakt({ data }) {

useEffect(() => {
ReactGA.pageview(window.location.pathname);
}, []);

const info = data.markdownRemark.frontmatter;
return (
<div>
Expand Down
5 changes: 5 additions & 0 deletions src/templates/om.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import SEO from "../components/seo";
import CompatibleImage from "../components/CompatibleImage";

export default function Om({ data }) {

useEffect(() => {
ReactGA.pageview(window.location.pathname);
}, []);

const text = data.markdownRemark.frontmatter;
return (
<div>
Expand Down
5 changes: 5 additions & 0 deletions src/templates/tjanst.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import { QuoteBlock } from "../components/QuoteBlock";


export default function Tjanst({ data }) {

useEffect(() => {
ReactGA.pageview(window.location.pathname);
}, []);

const post = data.markdownRemark;
return (
<PageContainer>
Expand Down