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o-track-data-attribute.js","platformui/Pages/sectionstart/index.js"],"sourcesContent":["import React from 'react';\r\nimport * as Render from '../../platformui/Base/Render';\r\nimport SectionStartPage from '../../platformui/Pages/sectionstart';\r\nimport IntroBlock from '../../blocks/intro-block';\r\nimport ManuelPageListBlock from '../../blocks/manuel-page-list-block';\r\nimport PageListBlock from '../../blocks/page-list-block';\r\nimport SearchArticleListBlock from '../../blocks/search-article-list-block';\r\nimport MatomoTrackDataAttribute from '../../platformui/Matomo/matomo-track-data-attribute';\r\n\r\nconst Blocks = {\r\n IntroBlock,\r\n ManuelPageListBlock,\r\n PageListBlock,\r\n SearchArticleListBlock,\r\n};\r\n\r\nconst blockTypes = ;\r\nexport default (props) => (\r\n <>\r\n \r\n \r\n \r\n);\r\n","import { useEffect } from 'react';\r\n\r\n/** Tracking clicks for Matomo\r\n * \r\n Any combinations of the four follwing attributes except data-event category, which \r\n is mandatory, can be added to an element in the following way:\r\n \r\n import useWindowLocationHref from '../Hooks/useWindowLocation';\r\n const href = useWindowLocationHref();\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n Due to limitations in SSR, you cannot use window.location.href due to window being undefined.\r\n If you need to track window.location.href it should be done in combination with the useWindowLocationHref hook. \r\n \r\n The above attributes should have corresponding Data-Layer variables in Matomo \r\n and will receive the values of the attribute. The variables needs to be attached\r\n to a tag and trigger which responds to pushed events. The trigger \r\n Event Name value must match the event name pushed in _mtm.push below.\r\n Place on the page you want to track.\r\n The attribute data-event-include may be used on child elements, clicks on them \r\n will pass the data-event values of the closest parent holding \r\n the data-event-category attribute:\r\n\r\n
\r\n \r\n {\r\n useEffect(() => {\r\n const locateAttribute = (event) => {\r\n if (event?.target?.getAttribute('data-event-category') != null) {\r\n sendEventData(event.target);\r\n } else if (event?.target?.getAttribute('data-event-include') != null) {\r\n sendEventData(event.target.closest('[data-event-category]'));\r\n }\r\n };\r\n\r\n const sendEventData = (elem) => {\r\n var _mtm = (window._mtm = window?._mtm || []);\r\n let action = 'Klick';\r\n if (elem?.getAttribute('data-event-action') != null) {\r\n action = elem.getAttribute('data-event-action');\r\n }\r\n let name = '';\r\n if (elem?.getAttribute('data-event-name') != null) {\r\n name = elem.getAttribute('data-event-name');\r\n }\r\n let value = 0;\r\n if (elem?.getAttribute('data-event-value') != null) {\r\n value = elem.getAttribute('data-event-value');\r\n }\r\n\r\n _mtm.push({\r\n event: 'clickEvent',\r\n eventCategory: elem.getAttribute('data-event-category'),\r\n eventAction: action,\r\n eventName: name,\r\n eventValue: value,\r\n });\r\n };\r\n\r\n document?.documentElement?.addEventListener('click', locateAttribute, true);\r\n\r\n return () => {\r\n document?.documentElement?.removeEventListener(\r\n 'click',\r\n locateAttribute,\r\n true\r\n );\r\n };\r\n }, []);\r\n\r\n return null;\r\n};\r\nexport default MatomoTrackDataAttribute;\r\n","import React from 'react';\r\nimport * as Render from '../../Base/Render';\r\nimport Breadcrumb from '../../Breadcrumb';\r\nimport Theme from '../../Theme';\r\n\r\nconst SectionStartPage = (props) => {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n {props.BlockTypeRenderer}\r\n \r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default SectionStartPage;\r\n"],"names":["Blocks","IntroBlock","ManuelPageListBlock","PageListBlock","SearchArticleListBlock","blockTypes","_jsx","Render","props","_jsxs","_Fragment","children","SectionStartPage","_objectSpread","BlockTypeRenderer","MatomoTrackDataAttribute","useEffect","_document","_document$documentEle","locateAttribute","event","_event$target","_event$target2","target","getAttribute","sendEventData","closest","elem","_window","_mtm","window","action","name","value","push","eventCategory","eventAction","eventName","eventValue","document","documentElement","addEventListener","_document2","_document2$documentEl","removeEventListener","className","Breadcrumb","Breadcrumbs","Language","id","dir","Dir","Theme","blocks","Content","MainContent","propertyName","stylePropertyName","currentPageProps"],"sourceRoot":""}