Title: File format is invalid.
Last modified: September 14, 2023

---

# File format is invalid.

 *  [pardinis](https://wordpress.org/support/users/pardinis/)
 * (@pardinis)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/)
 * Hello,
 * I have been using the plugin in many may occasions and it is the first time I
   get this error: [https://prnt.sc/tXBtfadabfFD](https://prnt.sc/tXBtfadabfFD)
 * Can you help?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Roman Rozenberger](https://wordpress.org/support/users/romanrozen/)
 * (@romanrozen)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17053368)
 * Same problem to me: containerVersion.tag[0].vendorTemplate.parameter.measurementIdOverride:
   The value cannot be empty.
 *  [grehgor](https://wordpress.org/support/users/grehgor/)
 * (@grehgor)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17059201)
 * I confirm that I also get this error
 * ![](https://i0.wp.com/www.galerianuage.pl/wp-content/uploads/2023/09/Zrzut-ekranu-
   2023-09-18-o-13.49.16.png?ssl=1)
    -  This reply was modified 2 years, 7 months ago by [grehgor](https://wordpress.org/support/users/grehgor/).
 *  [enjindev](https://wordpress.org/support/users/enjindev/)
 * (@enjindev)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17063135)
 * Same problem here : [https://prnt.sc/hBZzIDtPqGXi](https://prnt.sc/hBZzIDtPqGXi).
   Can you provide a fix please ? Thanks
 *  [Alpha Vale Tec](https://wordpress.org/support/users/donatelol/)
 * (@donatelol)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17066475)
 * Same error here for new installs.
 * The plugin is very good, they just didn’t update the json on the site
 *  [Mohammad Javed](https://wordpress.org/support/users/digitljaved/)
 * (@digitljaved)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17068655)
 * I have the same problem when trying to import the JSON file in to Tag Manager.
   [https://prnt.sc/AyC7NdVXKkvL](https://prnt.sc/AyC7NdVXKkvL)
 *  [Mohammad Javed](https://wordpress.org/support/users/digitljaved/)
 * (@digitljaved)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17068698)
 * SOLUTION
 * To fix this you need to add:
 * `"parameter": [ { "type": "TEMPLATE", "key": "measurementIdOverride", "value":"{
   your measurementId from google analytics}" },`
 *  [damiel](https://wordpress.org/support/users/damiel/)
 * (@damiel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17070876)
 * [@digitljaved](https://wordpress.org/support/users/digitljaved/) what line do
   you past it on? Maybe you could share JSON on a pastebin ?
 *  [Mohammad Javed](https://wordpress.org/support/users/digitljaved/)
 * (@digitljaved)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17070934)
 * [@damiel](https://wordpress.org/support/users/damiel/) from the top of my head
   this is what the file was like when I amended it. [https://pastebin.com/uaF0qYmf](https://pastebin.com/uaF0qYmf)
 * I don’t have the file to hand as it’s on my work laptop.
 *  [damiel](https://wordpress.org/support/users/damiel/)
 * (@damiel)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17070999)
 * Thanks Mohammed 🙂
 * Also found this one; [https://www.analyticsmania.com/google-tag-manager-recipes/gtm4wp/](https://www.analyticsmania.com/google-tag-manager-recipes/gtm4wp/)
 * Quite old, but great with variables.
    -  This reply was modified 2 years, 7 months ago by [damiel](https://wordpress.org/support/users/damiel/).

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘File format is invalid.’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

 * [gtm](https://wordpress.org/support/topic-tag/gtm/)

 * 9 replies
 * 8 participants
 * Last reply from: [damiel](https://wordpress.org/support/users/damiel/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/file-format-is-invalid/#post-17070999)
 * Status: not resolved