segment-boneyard / analytics-magento

[DEPRECATED] The hassle-free way to integrate analytics into any Magento store.
15 stars 19 forks source link

Summary of data #31

Closed ianstormtaylor closed 10 years ago

ianstormtaylor commented 10 years ago

@astorm I am having a hard time understand what the data that is being tracked for all of the calls is. I can see individual ones in the debugger, but I'd like to get an overview for what data is being sent from all of the events, so that I can make edits where things need to be changed.

You had a "log" mode before, but that log just output the names of the Javascript variables, so I couldn't actually see what properties or event names were being used.

Can you compile a list of all of the identify, page, track, group and alias calls that you're making for the events on your test installation so that I can comb through them and check for where we need to be editing things?

Thanks

astorm commented 10 years ago

New log from a test run below, (with new inline javascript objects). For the calls using a string scaler where we're still using a javascript variable for security reasons, all JSON is defined immediately above the call and is easy to track down.

Thanks

2014-07-17T15:35:11+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Home page"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:14+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"About Us"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:19+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:24+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test Product"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_viewedproduct = {"key":"0n1mip8hyd","params":{"id":"1","category":"3"},"product":{"product_id":"1","sku":"ABC-123","set":"4","type":"simple","categories":["2","3"],"websites":["1","2"],"type_id":"simple","name":"Test Product","description":"This is a test","short_description":"This is a test","weight":"1.0000","old_id":null,"news_from_date":null,"news_to_date":null,"status":"1","url_key":"test-product","url_path":"test-product.html","visibility":"4","category_ids":["2","3"],"required_options":"0","has_options":"0","image_label":null,"small_image_label":null,"thumbnail_label":null,"created_at":"2014-05-15T10:08:45-07:00","updated_at":"2014-07-16 21:35:17","country_of_manufacture":null,"price":"5.0000","group_price":[],"special_price":null,"special_from_date":null,"special_to_date":null,"tier_price":[],"minimal_price":null,"msrp_enabled":"2","msrp_display_actual_price_type":"4","msrp":null,"tax_class_id":"0","meta_title":null,"meta_keyword":null,"meta_description":null,"is_recurring":"0","recurring_profile":null,"custom_design":null,"custom_design_from":null,"custom_design_to":null,"custom_layout_update":null,"page_layout":null,"options_container":"container1","gift_message_available":null,"id":"1","category_names":["Default Category","Test"]}};
</script><script type="text/javascript">
    analytics.track("Viewed Product",
    {"id":"1","category":"3"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});        
</script>    

2014-07-17T15:35:27+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Home page"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:31+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:38+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Shopping Cart"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_addtocart = {"key":"0n1mip8hyd","sku":"ABC-123"};
</script><script type="text/javascript">
    analytics.track('Added Product',{'sku':segment_analytics_addtocart.sku},
        {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:35:43+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Shopping Cart"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_removefromcart = {"key":"0n1mip8hyd","sku":"ABC-123"};
</script><script type="text/javascript">
    analytics.track('Removed Product',{'sku':segment_analytics_removefromcart.sku},
    {"library":{"name":"analytics-magento","version":"0.0.1"}}  );
</script>
2014-07-17T15:35:48+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:51+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Customer Login"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:35:58+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"My Account"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_identity = {"key":"0n1mip8hyd","user_id":"1","full_name":"Alan Storm","name":"Alan Storm","email":"test@example.com","group_id":"1","tax_class_id":"3","shared_store_ids":{"1":"1"},"shared_website_ids":["1"],"gender":"1","first_name":"Alan","last_name":"Storm","middle_name":null,"entity_id":"1","entity_type_id":"1","attribute_set_id":"0","website_id":"1","increment_id":null,"store_id":"0","created_at":"2014-05-15 23:09:32","updated_at":"2014-07-16 16:18:48","is_active":"1","disable_auto_group_change":"0","created_in":"Admin","default_billing":"1","default_shipping":"1","is_segment_aliased":"1","total_orders":"1","total_spent":"30.0000"};
</script><script type="text/javascript">
    analytics.identify(segment_analytics_identity.user_id, 
    {"full_name":"Alan Storm","name":"Alan Storm","email":"test@example.com","group_id":"1","tax_class_id":"3","shared_store_ids":{"1":"1"},"shared_website_ids":["1"],"gender":"1","first_name":"Alan","last_name":"Storm","middle_name":null,"entity_id":"1","entity_type_id":"1","attribute_set_id":"0","website_id":"1","increment_id":null,"store_id":"0","created_at":"2014-05-15 23:09:32","updated_at":"2014-07-16 16:18:48","is_active":"1","disable_auto_group_change":"0","created_in":"Admin","default_billing":"1","default_shipping":"1","is_segment_aliased":"1","total_orders":"1","total_spent":"30.0000"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});

</script><script type="text/javascript">    var segment_analytics_customerloggedin = {"key":"0n1mip8hyd","user_id":"1"};
</script><script type="text/javascript">
    analytics.track('Logged In',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:36:03+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Magento Commerce"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_customerloggedout = {"key":"0n1mip8hyd","customer":{"entity_id":"1","entity_type_id":"1","attribute_set_id":"0","website_id":"1","email":"test@example.com","group_id":"1","increment_id":null,"store_id":"0","created_at":"2014-05-15 23:09:32","updated_at":"2014-07-16 16:18:48","is_active":"1","disable_auto_group_change":"0","firstname":"Alan","lastname":"Storm","password_hash":"f9139b57c58987ddf075d5c2d3de2c73:WzeqFucN5GE6PqOmWBMy81tJuq5sH0OL","created_in":"Admin","default_billing":"1","default_shipping":"1","gender":"1","is_segment_aliased":"1"},"user_id":"1"};
</script><script type="text/javascript">
    analytics.track('Logged Out',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script><script type="text/javascript">    var segment_analytics_customerloggedout = {"key":"0n1mip8hyd","customer":{"entity_id":"1","entity_type_id":"1","attribute_set_id":"0","website_id":"1","email":"test@example.com","group_id":"1","increment_id":null,"store_id":"0","created_at":"2014-05-15 23:09:32","updated_at":"2014-07-16 16:18:48","is_active":"1","disable_auto_group_change":"0","firstname":"Alan","lastname":"Storm","password_hash":"f9139b57c58987ddf075d5c2d3de2c73:WzeqFucN5GE6PqOmWBMy81tJuq5sH0OL","created_in":"Admin","default_billing":"1","default_shipping":"1","gender":"1","is_segment_aliased":"1"},"user_id":"1"};
</script><script type="text/javascript">
    analytics.track('Logged Out',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:36:05+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Create New Customer Account"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:36:13+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"My Account"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_alias = {"key":"0n1mip8hyd","user_id":"24"};
</script><script type="text/javascript">
    analytics.alias(segment_analytics_alias.user_id);
</script><script type="text/javascript">    var segment_analytics_identity = {"key":"0n1mip8hyd","user_id":"24","full_name":"Alan Storm","name":"Alan Storm","email":"customer1405611368357@example.com","group_id":"1","tax_class_id":"3","shared_store_ids":{"1":"1"},"shared_website_ids":["1"],"gender":false,"first_name":"Alan","last_name":"Storm","middle_name":null,"entity_id":"24","entity_type_id":"1","attribute_set_id":"0","website_id":"1","increment_id":null,"store_id":"1","created_at":"2014-07-17 22:36:09","updated_at":"2014-07-17 15:36:11","is_active":"1","disable_auto_group_change":"0","created_in":"Default Store View","is_segment_aliased":"1","total_orders":"0","total_spent":null};
</script><script type="text/javascript">
    analytics.identify(segment_analytics_identity.user_id, 
    {"full_name":"Alan Storm","name":"Alan Storm","email":"customer1405611368357@example.com","group_id":"1","tax_class_id":"3","shared_store_ids":{"1":"1"},"shared_website_ids":["1"],"gender":false,"first_name":"Alan","last_name":"Storm","middle_name":null,"entity_id":"24","entity_type_id":"1","attribute_set_id":"0","website_id":"1","increment_id":null,"store_id":"1","created_at":"2014-07-17 22:36:09","updated_at":"2014-07-17 15:36:11","is_active":"1","disable_auto_group_change":"0","created_in":"Default Store View","is_segment_aliased":"1","total_orders":"0","total_spent":null},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});

</script><script type="text/javascript">    var segment_analytics_customerregistered = {"key":"0n1mip8hyd","customer_id":"24"};
</script><script type="text/javascript">
    analytics.track('Registered',{},{"library":{"name":"analytics-magento","version":"0.0.1"}});
</script><script type="text/javascript">    var segment_analytics_customerloggedin = {"key":"0n1mip8hyd","user_id":"24"};
</script><script type="text/javascript">
    analytics.track('Logged In',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:36:16+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Home page"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:36:19+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Search results for: 'test'"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_searched = {"key":"0n1mip8hyd","query":"test"};
</script><script type="text/javascript">
    analytics.track('Searched Products',{
        'query':segment_analytics_searched.query_text
    },
    {"library":{"name":"analytics-magento","version":"0.0.1"}}  );
</script>
2014-07-17T15:36:23+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_filtered = {"key":"0n1mip8hyd","params":{"id":"3","dir":"asc","order":"name"}};
</script><script type="text/javascript">
    analytics.track('Filtered Products',
    {"id":"3","dir":"asc","order":"name"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:36:27+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test Product"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_viewedreviews = {"key":"0n1mip8hyd","params":{"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"}};
</script><script type="text/javascript">
    analytics.track("Viewed Product Reviews",
    {"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});    
</script>    

2014-07-17T15:36:33+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test Product"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_viewedreviews = {"key":"0n1mip8hyd","params":{"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"}};
</script><script type="text/javascript">
    analytics.track("Viewed Product Reviews",
    {"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});    
</script>    

2014-07-17T15:36:41+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test Product"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_reviewedproduct = {"key":"0n1mip8hyd","review":{"detail":"adding review","title":"adding review","nickname":"adding review","entity_id":"1","entity_pk_value":"1","status_id":2,"store_id":"1","stores":["1",0],"created_at":"2014-07-17 15:36:36","review_id":"29"}};
</script><script type="text/javascript">
    analytics.track("Reviewed Product",
    {"detail":"adding review","title":"adding review","nickname":"adding review","entity_id":"1","entity_pk_value":"1","status_id":2,"store_id":"1","stores":["1",0],"created_at":"2014-07-17 15:36:36","review_id":"29"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>    
<script type="text/javascript">    var segment_analytics_viewedreviews = {"key":"0n1mip8hyd","params":{"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"}};
</script><script type="text/javascript">
    analytics.track("Viewed Product Reviews",
    {"id":"1","category":"3","sku":"ABC-123","name":"Test Product","price":"5.0000"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});    
</script>    

2014-07-17T15:36:45+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Home page"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:36:50+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Home page"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_subscribenewsletter = {"key":"0n1mip8hyd","subscriber":{"subscriber_id":"1","store_id":"1","change_status_at":null,"customer_id":0,"subscriber_email":"science@example.com","subscriber_status":"1","subscriber_confirm_code":"zbxmr3s4816cds9g37aw7lzes1l70v8a"}};
</script><script type="text/javascript">
    analytics.track("Subscribed Newsletter",
    {"subscriber_id":"1","store_id":"1","change_status_at":null,"customer_id":0,"subscriber_email":"science@example.com","subscriber_status":"1","subscriber_confirm_code":"zbxmr3s4816cds9g37aw7lzes1l70v8a"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}}  );
</script>    

2014-07-17T15:36:54+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:37:04+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"My Wishlist"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_addedtowishlist = {"key":"0n1mip8hyd","params":{"product_id":"1","sku":"ABC-123","name":"Test Product","price":"5.0000"}};
</script><script type="text/javascript">
    analytics.track("Wishlisted Product",
    {"product_id":"1","sku":"ABC-123","name":"Test Product","price":"5.0000"},
    {"library":{"name":"analytics-magento","version":"0.0.1"}}    );
</script>    

2014-07-17T15:37:10+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Magento Commerce"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_customerloggedout = {"key":"0n1mip8hyd","customer":{"entity_id":"24","entity_type_id":"1","attribute_set_id":"0","website_id":"1","email":"customer1405611368357@example.com","group_id":"1","increment_id":null,"store_id":"1","created_at":"2014-07-17 22:36:09","updated_at":"2014-07-17 15:36:11","is_active":"1","disable_auto_group_change":"0","firstname":"Alan","lastname":"Storm","password_hash":"6b0c1052ce6bebd3bc12dca9c26df9d9:d0bXqGcQuVFcXqJykblCH89dtQkCHkV3","created_in":"Default Store View","is_segment_aliased":"1"},"user_id":"24"};
</script><script type="text/javascript">
    analytics.track('Logged Out',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script><script type="text/javascript">    var segment_analytics_customerloggedout = {"key":"0n1mip8hyd","customer":{"entity_id":"24","entity_type_id":"1","attribute_set_id":"0","website_id":"1","email":"customer1405611368357@example.com","group_id":"1","increment_id":null,"store_id":"1","created_at":"2014-07-17 22:36:09","updated_at":"2014-07-17 15:36:11","is_active":"1","disable_auto_group_change":"0","firstname":"Alan","lastname":"Storm","password_hash":"6b0c1052ce6bebd3bc12dca9c26df9d9:d0bXqGcQuVFcXqJykblCH89dtQkCHkV3","created_in":"Default Store View","is_segment_aliased":"1"},"user_id":"24"};
</script><script type="text/javascript">
    analytics.track('Logged Out',{},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:37:14+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Test"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:37:20+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Shopping Cart"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_addtocart = {"key":"0n1mip8hyd","sku":"ABC-123"};
</script><script type="text/javascript">
    analytics.track('Added Product',{'sku':segment_analytics_addtocart.sku},
        {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>
2014-07-17T15:37:27+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Checkout"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script>
2014-07-17T15:37:49+00:00 INFO (6): <script type="text/javascript">    var segment_analytics_init = {"key":"0n1mip8hyd"};
</script>
<script type="text/javascript">
    window.analytics=window.analytics||[],window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(t){return function(){var a=Array.prototype.slice.call(arguments);return a.unshift(t),window.analytics.push(a),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(t){if(!document.getElementById("analytics-js")){var a=document.createElement("script");a.type="text/javascript",a.id="analytics-js",a.async=!0,a.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.io/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n)}},window.analytics.SNIPPET_VERSION="2.0.9",
    window.analytics.load(segment_analytics_init.key);
</script><script type="text/javascript">    var segment_analytics_page = {"key":"0n1mip8hyd","page_name":"Magento Commerce"};
</script><script type="text/javascript">     
    if(segment_analytics_page.category_names)
    {
        window.analytics.page(segment_analytics_page.full_category_name, segment_analytics_page.page_title);        
    }
    else
    {
        window.analytics.page(segment_analytics_page.page_name);
    }    
</script><script type="text/javascript">    var segment_analytics_orderplaced = {"key":"0n1mip8hyd","params":{"order_id":"32","increment_id":"100000032","total":"10.0000","status":"pending","shipping":"5.0000","tax":"0.0000","products":[{"sku":"ABC-123","name":"Test Product","price":"5.0000","quantity":"1.0000","product_id":"1"}]}};
</script><script type="text/javascript">
    analytics.track("Completed Order",
    {"order_id":"32","increment_id":"100000032","total":"10.0000","status":"pending","shipping":"5.0000","tax":"0.0000","products":[{"sku":"ABC-123","name":"Test Product","price":"5.0000","quantity":"1.0000","product_id":"1"}]},
    {"library":{"name":"analytics-magento","version":"0.0.1"}});
</script>    
ianstormtaylor commented 10 years ago

Awesome, thanks for putting that together. Just going through an writing down things as I see them:

  1. Page names shouldn't include the page suffix. (saw it on Home page at least) Unless that's literally what the page was called in the CMS field, and then we can't help them there.
  2. For the login pages, ideally those would be just called Login I'd think, unless Customer Login is just what Magento folks refer to them everywhere, or by default.
  3. For the search results pages, lets just call that page Search Results instead of putting the query in there.
  4. For Subscribed Newsletter lets make that Subscribed to Newsletter for grammar.
  5. For the product-related events, can we change the product_id field to just id, so that we stay consistent with other ones like name and sku. (Same for when they are nested inside Completed Order in that array.
astorm commented 10 years ago

I'll get you a newly generated version of the data for review Tuesday or Wednesday of this week.