AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.2K members online now
2.2K 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

Goals work in local but no online

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

 

Hello,

I need your help for this problem, actualy i'v create goal for 'make order', i'v 7 step (Confirm cart/ login / Select billing address / Select shipping address / Choice of delivery method / Payment / Validation of the order) i send this :

// Add Enchanced Ecommerce for checkout-process only when the page is loaded
            ga('require', 'ec');
        ga('set', '&cu', 'EUR');
                            ga('ec:addProduct',
                {"id":"*****","name":"****","price":"****","quantity":"****"}            );
                    ga('ec:addProduct',
                {"id":"*****","name":"****","price":"*****","quantity":"****"}            );
     
                    ga('send','pageview','/checkout/onepage/login/');
            checkoutAnalytics('1');

        // Call this function when a step is complet
        function checkoutAnalytics(step) {
            ga('ec:setAction','checkout', {
                'step': step
            });
        }

(all my button for complet step call checkoutAnalyctics(n) for ecommerce AND send pageview like /checkout/onepage/billing/).

That work in local (localhost.dev) but in production the funnel complet only first step, i don't know why...

http://screencast.com/t/GEKmZcjk9rx <-in production
http://screencast.com/t/J2CoFUECHO <- in local
http://screencast.com/t/qNVO1nY1q <- goal config


Thank you for your help.

 

 

Re: Goals work in local but no online

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭