Magento 2 Google Tag Manager Can't Export JSON File

Modified on Fri, 21 Apr 2023 at 11:11 AM

This article will guide you on how to fix the problem of exporting JSON files. 

This error mainly occurred because of missing the Liquid Template. There are two solutions to fix this:

  • Solution 1: Install Liquid Template via Composer.

             Run the following command composer: composer require liquid/liquid to install Liquid Template

  • Solution 2: Install Liquid Template manually

             Download Liquid Template via this link. Place Mageplaza file to the following path:

  • /lib/internal

Then, run the following command php bin/magento setup:upgrade.

Hope the above detail resolves your issue. Please feel free to contact us if we can be of further assistance. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article