Mautic Community Forums

Tracking pixel breaks Chrome layout?

I am just getting started with Mautic and I hope to use it in my freelancing business (I’ve used Marketo and Eloqua in my dayjobs). I’ve installed the tracking pixel using the Wordpress plugin, but I believe that it breaks the layout in Chrome. My contents doesn’t get centered in the layout, but is flushed to the left. It happens both on Mac and PCs. Works as expected on Firefox and Safari.



Anyone else having the same issue?



You can see it here: www.thomasnorden.se


I am just getting started with Mautic and I hope to use it in my freelancing business (I’ve used Marketo and Eloqua in my dayjobs). I’ve installed the tracking pixel using the Wordpress plugin, but I believe that it breaks the layout in Chrome. My contents doesn’t get centered in the layout, but is flushed to the left. It happens both on Mac and PCs. Works as expected on Firefox and Safari.

Anyone else having the same issue?

You can see it here: www.thomasnorden.se

Hi Thomas

I just checked your homepage and it looks like the content is displaying properly. Did you get the issue resolved?

Hello Thomas, I can see the tracking pixel code in source code of your website like this:

<img src="http://norton.mautic.com/mtracking.gif?d=YTo0OntzOjU6InRpdGxlIjtzOjg0OiJUaG9tYXMgJnF1b3Q7Tm9ydG9uJnF1b3Q7IE5vcmTDqW4gJm5kYXNoOyBEaWdpdGFsIG1hcmtuYWRzZsO2cmluZyBmw7ZyIHNtw6UgZsO2cmV0YWciO3M6ODoibGFuZ3VhZ2UiO3M6NToic3ZfU0UiO3M6ODoicmVmZXJyZXIiO3M6MjY6Imh0dHA6Ly93d3cudGhvbWFzbm9yZGVuLnNlIjtzOjM6InVybCI7czoyNjoiaHR0cDovL3d3dy50aG9tYXNub3JkZW4uc2UiO30%3D" /> <div style="display:none"> </div>

When I look at the latest version of Mautic-Wordpress plugin (https://github.com/mautic/mautic-wordpress/blob/master/wpmautic.php#L56), the code should be different a bit. It should have display:none style attribute. Could you check you are using the latest version of the plugin? You have some div with that style below the tracking pixel. The problem would also be solved if you’d put the image inside that div.