(Deprecated) Sharing

The sharing report shows the number of share actions (e.g., Facebook, Twitter) for all content within your account or for an individual asset.

Warning: The v2 Analytics API has been deprecated. See Ooyala IQ Analytics for more details on the new v3 Analytics API.

Get Video Analytics

[GET]/v2/analytics/reports/account/sharing/videos/date_range   
[GET]/v2/analytics/reports/account/sharing/videos/asset_id/date_range     
[GET]/v2/analytics/reports/asset/asset_id/sharing/total/date_range

Get Geo Analytics

[GET]/v2/analytics/reports/level/sharing/countries/[country]/date_range
[GET]/v2/analytics/reports/level/sharing/regions/date_range
[GET]/v2/analytics/reports/level/sharing/cities/date_range
[GET]/v2/analytics/reports/level/sharing/countries/country/regions/[region]/date_range
[GET]/v2/analytics/reports/level/sharing/countries/country/regions/region/cities/[city]/date_range
[GET]/v2/analytics/reports/level/sharing/dmas/[dma]/date_range

Get Domains and URLs

[GET]/v2/analytics/reports/level/sharing/domains/[domain]/date_range
[GET]/v2/analytics/reports/level/sharing/domains/domain/urls[/url]/date_range
[GET]/v2/analytics/reports/level/sharing/urls[/url]/date_range

Get Platform and Device Analytics

[GET]/v2/analytics/reports/level/sharing/device_types/[devicetype]/date_range
[GET]/v2/analytics/reports/level/sharing/device_types/devicetype/platforms/[platform]/date_range
[GET]/v2/analytics/reports/level/sharing/platforms/[platform]/date_range

Examples

This example returns the sharing results for a single day:

[GET]/v2/analytics/reports/account/sharing/total/2011-08-01...2011-08-02

which returns a response similar to the following:

{  
   "results":[  
      {  
         "id":"total",
         "metrics":{  
            "syndication":{  
               "embeds_copied":1,
               "digg":1,
               "facebook":2,
               "urls_copied":1,
               "twitter":2
            }
         }
      }
   ]
}

This example returns the top 3 cities:

[GET]/v2/analytics/reports/account/sharing/cities/2011-08-01...2011-08-02?limit=3

which returns a response similar to the following:

{  
   "results":[  
      {  
         "name":"Sydney",
         "geo_data":"{\"location\":{\"lat\":\"-33.883333\",\"long\":\"151.216667\"}}",
         "id":"AU:7256:2448",
         "metrics":{  
            "syndication":{  
               "digg":1
            }
         }
      },
      {  
         "name":"Singapore",
         "geo_data":"{\"location\":{\"lat\":\"1.2930556\",\"long\":\"103.8558333\"}}",
         "id":"SG:7064:19148",
         "metrics":{  
            "syndication":{  
               "embeds_copied":1
            }
         }
      },
      {  
         "name":"San Francisco",
         "geo_data":"{\"location\":{\"lat\":\"37.7750000\",\"long\":\"-122.4183333\"}}",
         "id":"US:9280:20272",
         "metrics":{  
            "syndication":{  
               "facebook":2,
               "twitter":2
            }
         }
      }
   ]
}

This example returns the top 3 "sharing" cities in California:

[GET]/v2/analytics/reports/account/sharing/countries/US/regions/California/cities/2011-08-01...2011-08-02?limit=3

which returns a response similar to the following:

{  
   "results":[  
      {  
         "name":"Sydney",
         "geo_data":"{\"location\":{\"lat\":\"-33.883333\",\"long\":\"151.216667\"}}",
         "id":"AU:7256:2448",
         "metrics":{  
            "syndication":{  
               "digg":1
            }
         }
      },
      {  
         "name":"Singapore",
         "geo_data":"{\"location\":{\"lat\":\"1.2930556\",\"long\":\"103.8558333\"}}",
         "id":"SG:7064:19148",
         "metrics":{  
            "syndication":{  
               "embeds_copied":1
            }
         }
      },
      {  
         "name":"San Francisco",
         "geo_data":"{\"location\":{\"lat\":\"37.7750000\",\"long\":\"-122.4183333\"}}",
         "id":"US:9280:20272",
         "metrics":{  
            "syndication":{  
               "facebook":2,
               "twitter":2
            }
         }
      }
   ]
}

Was this article helpful?