Open optimalisatie opened 9 years ago
Hi!
First of all many thanks for the great plugin!
I wanted to report a bug that is related to HTML optimizers such as the plugin Autoptimize. The optimizer causes the tracking code to break.
https://wordpress.org/support/topic/autoptimize-breaking-google-remarketing-code
https://support.google.com/tagassistant/answer/2947038?hl=en#cdata_comments
The cause is mainly that /* <![CDATA[ */ is stripped.
/* <![CDATA[ */
To prevent this from happening the tracking code should be wrapped in the following tags:
<!--noptimize--> ... <!--/noptimize-->
I hope you find this suggestion useful.
Best, Jan Jaap
Thanks. Can you made a pull request?
Hi!
First of all many thanks for the great plugin!
I wanted to report a bug that is related to HTML optimizers such as the plugin Autoptimize. The optimizer causes the tracking code to break.
https://wordpress.org/support/topic/autoptimize-breaking-google-remarketing-code
https://support.google.com/tagassistant/answer/2947038?hl=en#cdata_comments
The cause is mainly that
/* <![CDATA[ */
is stripped.To prevent this from happening the tracking code should be wrapped in the following tags:
I hope you find this suggestion useful.
Best, Jan Jaap