Hi @thecatkin,
I understand that you’re seeing window.wpmDataLayer.products = window.wpmDataLayer.products || {}. Allow me to help you with this.
In rare cases you might run into rendering issues on the front end which visibly show JavaScript code that is injected by the Pixel Manager into the page source.
There are two known cases where this problem appears.
- Users of the Elementor Pro widget for related and upsell products. For them, we have an own support article with a workaround: Elementor Render Issue
- The theme is using a front end JavaScript library which makes a mistake when rendering the code that the Pixel Manager injects into the product templates. The Pixel Manager injects the following three HTML elements into the page source:
<meta>
, <input type="hidden">
and <script></script>
. All those HTML elements are invisible elements by definition and should not be visibly rendered. However, some JavaScript helper libraries don’t account for those invisible elements and render some or all of them visibly nonetheless.
This needs to be fixed by the developers of those render libraries. The Pixel Manager cannot work around this issue.