Analytics
5K members online now
5K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

E-Commerce Isn't getting Tracked

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am unable to solve the missing ecommerce data, I have placed the code in the header of the Site. As the site is based on wordpress, tried it with the Google Analytics Plugin still the issue persist. Right now I have added the code manually in the header few days ago but I am unable to solve the E-Commerce Reporting Issue.

Capture1.PNG

1 Expert replyverified_user

Re: E-Commerce Isn't getting Tracked

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭
Hi,
Missing Ecommerce Data means you’ve turned on Ecommerce Tracking in your view, but Google Analytics doesn’t see any Ecommerce data in your view.

It seems you didn't add ecommerce tracking code to your site.

To know more check this @ https://support.google.com/analytics/answer/1037063?hl=en

Hope this helps.

Thanks

Re: E-Commerce Isn't getting Tracked

Top Contributor
# 3
Top Contributor
Hi,

What ecommerce plugin are you using with Wordpress? You need a Google Analytics plugin that has support for your ecommerce plugin.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: E-Commerce Isn't getting Tracked

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
I have personally added the E-Commerce code in my site which is as follows
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-xxxxxxxx-x', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['domain2.com'] );
ga('send', 'pageview');

ga('require', 'ecommerce');
ga('ecommerce:addTransaction', {
'id': '829875', // Transaction ID. Required.
'affiliation': 'WebsiteName', // Affiliation or store name.
'revenue': 297, // Grand Total.
'shipping': 0.00, // Shipping.
'tax': '0' // Tax.
});
ga('ecommerce:addItem', {
'id': '829875', // Transaction ID. Required.
'sku': '74',
'name': 'ProductName',
'category': 'Package',
'price': 297,
'quantity': 1
});
ga('ecommerce:send');
</script>

Re: E-Commerce Isn't getting Tracked

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
I Have tried using WooCommerce Google Analytics Integration, Also tried to test with WooCommerce Google Analytics Pro. Since it didn't worked I disabled both the plugins. I found in Theme option that has a option of Google Analytics Code, So current;y Placed the code there, Still the issue is persisting.
Here's the Analytics code which I pasted on the site
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-77093361-1', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['domain2.com'] );
ga('send', 'pageview');

ga('require', 'ecommerce');
ga('ecommerce:addTransaction', {
'id': '829875', // Transaction ID. Required.
'affiliation': 'WebsiteName', // Affiliation or store name.
'revenue': 297, // Grand Total.
'shipping': 0.00, // Shipping.
'tax': '0' // Tax.
});
ga('ecommerce:addItem', {
'id': '829875', // Transaction ID. Required.
'sku': '74',
'name': 'ProductName',
'category': 'Package',
'price': 297,
'quantity': 1
});
ga('ecommerce:send');
</script>

Re: E-Commerce Isn't getting Tracked

Top Contributor
# 6
Top Contributor
Hi,

Your code seems to be fine.

Are you receiving data under Conversions -> Ecommerce? If so the warning will disappear once GA sees that the data is flowing in.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: E-Commerce Isn't getting Tracked

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
yes I can see the conversation but again with the same notification one more notification has appeared Saying
Bad Event Tracking Code error
(not set) entry present in reports for property mysite.com
alarm Pending verification RESTORE

Re: E-Commerce Isn't getting Tracked

Top Contributor
# 8
Top Contributor
Hi,

Pending verification means that GA is checking that everything is OK with your ecommerce data. If it finds everything in order the notification will disappear. Regarding the bad event tracking code error I would have to take a look at your site in order to check what is wrong with your code.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: E-Commerce Isn't getting Tracked

Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭
My site is Instantstore.com

Re: E-Commerce Isn't getting Tracked

Top Contributor
# 10
Top Contributor
Hi,

I'm getting redirected to https://www.skydesktop.com/, is that correct?

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital