Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Ecommerce Tracking, difference between product sku and product name visits (1 reply)

$
0
0
Hi,

I do not understand the following stats under Ecommerce & Goals > Goal Ecommerce conversions by type of visit > (Product SKU or Product Name) > Abandoned Carts:

Product SKU | Product Revenue left in cart | Quantity left in cart | Average Price | Average Quantity left in cart | Visits | Abandoned Carts
@Product SKU: Productname, color | 5 € | 1 | 5 € | 1 | 1 | 1
@Product Name: ID-120 | 5 € | 1 | 5 € | 1 | - | 1

Same Product(-id) but different visits. How could this be? And, how could a product beeing added without visiting it? :-)

The code on product visit:
    var _paq = _paq || [];

    _paq.push(['setCampaignNameKey', 'campaign']);
    _paq.push(['setCampaignKeywordKey', 'key']);

   _paq.push(['setEcommerceView', 'ID-120', 'Productname, color', ["category1", "category2"], 5]);
        
    _paq.push(["trackPageView"]);
    _paq.push(["enableLinkTracking"]);

    (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://url";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "1"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
    })();

The code on the same! page, after the product was added (only shown once after add):
    var _paq = _paq || [];

    _paq.push(['setCampaignNameKey', 'campaign']);
    _paq.push(['setCampaignKeywordKey', 'key']);
      
    _paq.push(['addEcommerceItem', 'ID-120', 'Productname, color', ["category1", "category2"], 5, 1]);              
    _paq.push(['trackEcommerceCartUpdate', 5]);
                
    _paq.push(["trackPageView"]);
    _paq.push(["enableLinkTracking"]);

    (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "url";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "1"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
    })();

How is this aberration possible? My mistake?
Thanks for help.

Viewing all articles
Browse latest Browse all 4243

Trending Articles