magepal / magento2-google-tag-manager

Google Tag Manager is a user-friendly, yet powerful and cost-effective solution that is a must-have integration for every Magento store. It simplifies the process of adding and managing third-party JavaScript tags. With dozens of custom events and hundreds of data points our extensions the #1 GTM solution for Magento.
https://www.magepal.com/google-tag-manager.html
259 stars 89 forks source link

customer-data.js /customer/section/load/?sections=gtm {"message":"gtm section source is not supported"} #38

Closed ipascual closed 6 years ago

ipascual commented 6 years ago

Magento version #: 2.2.2

Edition (EE, CE, OS, etc): CE

Expected behavior: Pull section updates

Actual behavior: gtm section not recognized

Steps to reproduce: Just navigate to PLP, PDP or Checkout

Preconditions

Enable the extension.

screen shot 2018-05-22 at 11 09 40 am screen shot 2018-05-22 at 11 09 27 am
ipascual commented 6 years ago

It was an error because we were using weltpixel/google-analytics-enhanced-ecommerce-tag-manager-magento-2 and the local storage had that section still after the extension was uninstalled.

ipascual commented 6 years ago

Feel free to close it

roshanyadav89 commented 3 years ago

What is the solution for this???

lucafregoso commented 3 years ago

It was an error because we were using weltpixel/google-analytics-enhanced-ecommerce-tag-manager-magento-2 and the local storage had that section still after the extension was uninstalled.

how did you solve the problem?

srenon commented 3 years ago

The best solution will all be base on weather you are run new website or existing website with a lot of returning customer.

In my opinion this is a bug in magento and have review many solution in the past.

You could

  1. Delete the local storage (if you don’t have a lot of return in customers)

  2. Keep the extension disabled

  3. Create a new extension and add the appropriate sections that return blank.

  4. Create a plug-in that rewrite how magento handle missing sections

In order to make our extension better, what was the particular reasoning for switching from their extension to ours.

Sent from my iPhone

On Jul 29, 2021, at 4:39 AM, Luca Fregoso @.***> wrote:

 It was an error because we were using weltpixel/google-analytics-enhanced-ecommerce-tag-manager-magento-2 and the local storage had that section still after the extension was uninstalled.

how did you solve the problem?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

lucafregoso commented 3 years ago

The best solution will all be base on weather you are run new website or existing website with a lot of returning customer. In my opinion this is a bug in magento and have review many solution in the past. You could 1. Delete the local storage (if you don’t have a lot of return in customers) 2. Keep the extension disabled 3. Create a new extension and add the appropriate sections that return blank. 3. Create a plug-in that rewrite how magento handle missing sections In order to make our extension better, what was the particular reasoning for switching from their extension to ours. Sent from my iPhone On Jul 29, 2021, at 4:39 AM, Luca Fregoso @.***> wrote:  It was an error because we were using weltpixel/google-analytics-enhanced-ecommerce-tag-manager-magento-2 and the local storage had that section still after the extension was uninstalled. how did you solve the problem? — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

@srenon I'm sorry but I really can't understand what you're saying: why Magento is throwing that exception? how to solve it? I'm working on an existing e-commerce with existing customers.

nicholasfishjgm commented 1 year ago

@lucafregoso Did you ever find a fix for this?