rishuk51 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

iOS SDK E-commerce transaction items not working #453

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Google Analytics iOS

Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.): Objective-C 3.08 

Issue summary:
E-commerce transaction item is not saved in analytics even when I can see hit 
is sent to Analytics server.
In one case it works in other it does not.

Steps to reproduce issue:
1.
Recorded both transaction and item:

Saved hit: {
    parameters =     {
        "&_crc" = 0;
        "&_u" = ".etnogL";
        "&_v" = "mi3.0.8";
        "&a" = 171150464;
        "&aid" = "com.groundlink.iphone";
        "&an" = GroundLink;
        "&ate" = "<null>";
        "&av" = "3.8.3";
        "&cid" = "f3d718e5-4c41-48d2-a87f-5734743ee3ba";
        "&cu" = USD;
        "&idfa" = "<null>";
        "&sr" = 320x568;
        "&t" = transaction;
        "&ta" = GroundLinkIphone;
        "&ti" = 425813554;
        "&tid" = "UA-49455826";
        "&tr" = 176;
        "&ts" = 0;
        "&tt" = 0;
        "&ul" = en;
        "&v" = 1;
        "&z" = 12754392373796685118;
        gaiVersion = "3.08";
    };
    timestamp = "2014-06-30 09:32:34 +0000";
}
Saved hit: {
    parameters =     {
        "&_crc" = 0;
        "&_u" = ".zL";
        "&_v" = "mi3.0.8";
        "&a" = 171150464;
        "&aid" = "com.groundlink.iphone";
        "&an" = GroundLink;
        "&ate" = "<null>";
        "&av" = "3.8.3";
        "&cid" = "f3d718e5-4c41-48d2-a87f-5734743ee3ba";
        "&cu" = USD;
        "&ic" = SUV;
        "&idfa" = "<null>";
        "&in" = "ride_now";
        "&ip" = 176;
        "&iq" = 1;
        "&iv" = job;
        "&sr" = 320x568;
        "&t" = item;
        "&ti" = 425813554;
        "&tid" = "UA-49455826";
        "&ul" = en;
        "&v" = 1;
        "&z" = 12754392373796685119;
        gaiVersion = "3.08";
    };
    timestamp = "2014-06-30 09:32:34 +0000";
}
2.
Recorder only transaction. Item is NOT recorded
Saved hit: {
    parameters =     {
        "&_crc" = 0;
        "&_u" = ".ogL";
        "&_v" = "mi3.0.8";
        "&a" = 171150464;
        "&aid" = "com.groundlink.iphone";
        "&an" = GroundLink;
        "&ate" = "<null>";
        "&av" = "3.8.3";
        "&cid" = "f3d718e5-4c41-48d2-a87f-5734743ee3ba";
        "&cu" = USD;
        "&idfa" = "<null>";
        "&sr" = 320x568;
        "&t" = transaction;
        "&ta" = GroundLinkIphone;
        "&ti" = 4710831;
        "&tid" = "UA-49455826";
        "&tr" = 100;
        "&ts" = 0;
        "&tt" = 0;
        "&ul" = en;
        "&v" = 1;
        "&z" = 12754392373796685123;
        gaiVersion = "3.08";
    };
    timestamp = "2014-06-30 09:35:33 +0000";
}

Saved hit: {
    parameters =     {
        "&_crc" = 0;
        "&_u" = ".zL";
        "&_v" = "mi3.0.8";
        "&a" = 171150464;
        "&aid" = "com.groundlink.iphone";
        "&an" = GroundLink;
        "&ate" = "<null>";
        "&av" = "3.8.3";
        "&cid" = "f3d718e5-4c41-48d2-a87f-5734743ee3ba";
        "&cu" = USD;
        "&ic" = ALC;
        "&idfa" = "<null>";
        "&in" = "ride_now";
        "&ip" = 100;
        "&iq" = 1;
        "&iv" = job;
        "&sr" = 320x568;
        "&t" = item;
        "&ti" = 4710831;
        "&tid" = "UA-49455826";
        "&ul" = en;
        "&v" = 1;
        "&z" = 12754392373796685124;
        gaiVersion = "3.08";
    };
    timestamp = "2014-06-30 09:35:33 +0000";
}

Expected output:
Both transaction and item to be properly recorded in Analytics.

Actual results:
Transaction items not recorded.

Notes:

Original issue reported on code.google.com by rail...@gmail.com on 30 Jun 2014 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 10 Oct 2014 at 6:23