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
2K members online now
2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

How to track payment methods in Analytics?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi everybody,

 

We need your help Smiley Happy.

 

We have an e-commerce website and we have been unable to track the payment method chosen by our costumers. It simply says: "(Not set)".

Our web programmer created a custom variable using the option field: "option".

 

Here is the code snippet we are currently using:
 ga('insania.ec:addProduct',{
    'id' : '068-345:03090',
    'name' : 'Milho para Pipocas (250 g)',
    'category' : '345',
    'price' : '0.85',
    'variant': ''
    ,'quantity' : 1});
     
            ga('insania.ec:setAction','checkout', {
    'option': 'EMSmiley TongueT'
});

ga('insania.ec:setAction', 'purchase',{
            'id': '488798',
            'affiliation': '',
            'revenue': '0.85',
             'tax': '',
             'option': 'EMSmiley TongueT',
             'shipping': '4.95'});

 

Can somebody help us?

 

Thanks in advance!

 

Re: How to track payment methods in Analytics?

Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭

Hi Maria

 

Please try add "step" property to setAction.

 

For example: 

 

ga('insania.ec:setAction','checkout', {
    'step': 1,
    'option': '〜〜'
});

Thanks