Remove remaining FB-pixel code
This commit is contained in:
-14
@@ -1,14 +0,0 @@
|
|||||||
import { Controller } from 'stimulus'
|
|
||||||
|
|
||||||
export default class extends Controller {
|
|
||||||
|
|
||||||
static values = { props: Object }
|
|
||||||
|
|
||||||
connect() {
|
|
||||||
const CF = window.CookieFirst
|
|
||||||
if (CF && null !== CF.consent && true === CF.consent.advertising) {
|
|
||||||
fbq('track', 'ViewContent', this.propsValue)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -119,8 +119,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<div data-controller="fbpixel"
|
|
||||||
data-fbpixel-props-value='{ "content_ids": [ {product.busProId -> f:format.raw()} ], "content_name": "{product.nameInternal -> f:format.raw()}", "content_type": "product" }'></div>
|
|
||||||
<div id="faq">
|
<div id="faq">
|
||||||
<f:render partial="Faq" arguments="{faqs: product.faqs, settings: settings}"/>
|
<f:render partial="Faq" arguments="{faqs: product.faqs, settings: settings}"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -51,8 +51,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-controller="fbpixel"
|
|
||||||
data-fbpixel-props-value='{ "content_ids": [ {region.uid -> f:format.raw()} ], "content_name": "{region.nameInternal -> f:format.raw()}", "content_type": "product" }'></div>
|
|
||||||
</f:section>
|
</f:section>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user