E Commerce tracking

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 года назад
Hello, we are having issues with e commerce tracking (it's not working). I'm guessing its something about code, this is the code that is used:

<!-- Global site tag (gtag.js) - Google Analytics -->
                <script async src='https://www.googletagmanager.com/gtag/js?id={GOOGLEID}'></script>
                <script>
                  window.dataLayer = window.dataLayer || [];
                  function gtag(){dataLayer.push(arguments);}
                  gtag('js', new Date());

                  gtag('config', '{GOOGLEID}');
                  {CUSTOMER_TRACKING}
                </script>

Any help is more than welcome!
2 года назад
Yes

first you need to install google analytics plugin then  you  can add your Google Analytics tracking code from admin panel:-

Admin>Configuration>Local Plugin>Google analytic plugin>Configure
2 года назад
p.d.dobariya12 wrote:
Yes

first you need to install google analytics plugin then  you  can add your Google Analytics tracking code from admin panel:-

Admin>Configuration>Local Plugin>Google analytic plugin>Configure


It is installed, this is the code that is pasted inside it. E Commerce is enable, everything is as it should be.
2 года назад
If you are using Chrome Browser then you could use this extension, this will help you figure out whether its working or not also it will let you know if there is any issue.
https://chrome.google.com/webstore/detail/tag-assistant-legacy-by-g/kejbdjndbnbjgmefkgdddjlbokphdefk
2 года назад
It shows Google analytics and Global site tag
2 года назад
In the settings section of the google analytics plugin, are you sure you entered the correct ID against "ID"?

2 года назад
rgurel wrote:
In the settings section of the google analytics plugin, are you sure you entered the correct ID against "ID"?



Hello, everything is checked but it seems that {ECOMMERCE_TRACKING} was missing, hopefully that will fix the problem, i will get back to you as soon as i have answer. Thanks!
2 года назад
As i don't have direct access to analytics but have to wait for response from other team, i am replying later. It still didn't fix, does anyone have any other ideas? Do i have to add some additional code to body?
2 года назад
I used the Chrome Browser plugin and it said the GA code is there but there is no tracking results being recorded

There is a few post going back a while and people having problems
https://www.nopcommerce.com/en/boards/topic/91536/google-analytics-ecommerce-tracking
https://www.nopcommerce.com/en/boards/topic/91318/nop-4403-google-analytics-wrong-conversions-value

I think one fix was to the the Foxnet Plugin
https://www.nopcommerce.com/en/tracking-code-manager-foxnetsoftcom
2 года назад
Yidna wrote:
I used the Chrome Browser plugin and it said the GA code is there but there is no tracking results being recorded

There is a few post going back a while and people having problems
https://www.nopcommerce.com/en/boards/topic/91536/google-analytics-ecommerce-tracking
https://www.nopcommerce.com/en/boards/topic/91318/nop-4403-google-analytics-wrong-conversions-value

I think one fix was to the the Foxnet Plugin
https://www.nopcommerce.com/en/tracking-code-manager-foxnetsoftcom


I will check it out, could it be there are some order settings that have to be set up for Ecommerce to work properly? Also, does order have to have specific status in order to pass ecommerce track. Thanks for answer!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.