diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt index 41ab8112..51fe308f 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt @@ -82,6 +82,10 @@ plugin.tx_eptheme { instagramUrl = # cat=eptheme/100/130; type=string; label=Youtube URL youtubeUrl = + # cat=eptheme/100/140; type=string; label=Facebook ViewContent 'product uid' + facebookViewContentProductUid = + # cat=eptheme/100/150; type=string; label=Facebook ViewContent 'name internal' + facebookViewContentNameInternal = # cat=eptheme; type=string; label=Slider storage PID sliderStoragePid = diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt index 157f968a..5e5be1ca 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt @@ -88,6 +88,10 @@ plugin.tx_eptheme { germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid} conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid} myEpApiBaseUrl = {$plugin.tx_eptheme.settings.myEpApiBaseUrl} + facebookViewContentValues { + productUid = {$plugin.tx_eptheme.settings.facebookViewContentProductUid} + nameInternal = {$plugin.tx_eptheme.settings.facebookViewContentNameInternal} + } } view { templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html index 32683d3d..bfda6efe 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html index 9c370ace..17715913 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html index 7db010ed..f7257c7e 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/FacebookPixelCode.html b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/FacebookPixelCode.html index 1f61d8d5..3e4fc647 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/FacebookPixelCode.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/FacebookPixelCode.html @@ -1,3 +1,4 @@ +{namespace v=FluidTYPO3\Vhs\ViewHelpers} + fbq('track', 'PageView'); + + fbq('track', 'ViewContent', '{viewContent -> v:format.json.encode() -> f:format.raw()}'); + +