« Back to Documentation Overview

campaignEepUrlStats – v1.3

 campaignEepUrlStats(string apikey, string cid)

Retrieve the tracked eepurl mentions on Twitter

Section
Campaign Stats
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
cid the campaign id to pull bounces for (can be gathered using campaigns())
Returns
array stats an array containing tweets, retweets, clicks, and referrer related to using the campaign's eepurl
arraytwittervarious Twitter related stats
inttweetsTotal number of tweets seen
stringfirst_tweetdate and time of the first tweet seen
stringlast_tweetdate and time of the last tweet seen
intretweetsTotal number of retweets seen
stringfirst_retweetdate and time of the first retweet seen
stringlast_retweetdate and time of the last retweet seen
arraystatusesan array of statuses recorded inclduing:
stringstatusthe text of the tweet/update
stringscreen_namethe screen name as recorded when first seen
stringstatus_idthe status id of the tweet (they are really unsigned 64 bit ints)
stringdatetimethe date/time of the tweet
boolis_retweetwhether or not this was a retweet
arrayclicksstats related to click-throughs on the eepurl
intclicksTotal number of clicks seen
stringfirst_clickdate and time of the first click seen
stringlast_clickdate and time of the first click seen
arraylocationsan array of geographic locations including:
stringcountrythe country name the click was tracked to
stringregionthe region in the country the click was tracked to (if available)
inttotalclicks total clicks occuring in this country+region pair
arrayreferrersan array of arrays, each containing
stringreferrerthe referrer, truncated to 100 bytes
intclicksTotal number of clicks seen from this referrer
stringfirst_clickdate and time of the first click seen from this referrer
stringlast_clickdate and time of the first click seen from this referrer