matomo-for-wordpress icon indicating copy to clipboard operation
matomo-for-wordpress copied to clipboard

Wrong script tag in Matomo Tag Manager

Open mattmary opened this issue 3 years ago • 4 comments

Hi support,

the generated script from google tag manager is

Expected Behavior

Having this content `

`

Current Behavior

We get this content: `

`

mattmary avatar Feb 07 '22 21:02 mattmary

@mattmary moved this to the Matomo for WordPress issue tracker as this is an issue in our code in https://github.com/matomo-org/matomo-for-wordpress/blob/4.6.0/classes/WpMatomo/TrackingCode/TrackingCodeGenerator.php#L158

tsteur avatar Feb 07 '22 22:02 tsteur

Can this be closed here now then @tsteur @mattmary ?

justinvelluppillai avatar Feb 08 '22 02:02 justinvelluppillai

@justinvelluppillai not sure what you mean? The issue is still a todo in Matomo for WordPress and would need to keep the issue open

tsteur avatar Feb 08 '22 02:02 tsteur

Thanks I see 👍

justinvelluppillai avatar Feb 08 '22 02:02 justinvelluppillai