Voimmeko auttaa?

Jätä yhteystietosi, otamme sinuun yhteyttä.

Web analytics

This is minimum example of a web_analytics service call. For a more comprehensive example, consult our full notation guide.

 

Service call

POST https://api.snoobi.com/1.0/statistics/web_analytics

 

Minimum payload example

{
    "account": "<your_snoobi_account>",
    "metrics": [
        "visits"
    ],
    "start_date": "2013-05-01",
    "end_date": "2013-06-07"
}

 

Response example

{
    "details": {},
    "total_rows": "1",
    "data": [
        {
            "visits": "47562"
        }
    ]
}

 

Dimensions

Time related dimensions

 

Dimension Description
minute Data summarized by minute
hour Data summarized hourly
day Data summarized daily
week Data summarized weekly
month Data summarized monthly
hour_of_day Data grouped by hour of day
day_of_week Data grouped by day of week. Eg. Monday, Tuesday..

Entry method based dimensions

What was the traffic source for the visit

 

Dimension Description
entry_method Visits that made entry by an entry method
search_engine Visits that made entry by search engine
search_term Visits that made entry by search term
organic_search_term Visits that made entry by organic search term
sponsored_search_term Visits that made entry by sponsored search term
typing_url Visits that made entry by typing url
social_media Visits that made entry by social media
referring_domain Visits that made entry by external domain
referrer Visits that made entry by a referrer
advertisement Visits that made entry by advertisement
advertisement_medium Visits that made entry by advertisement medium
advertisement_type Visits that made entry by advertisement type
advertisement_campaign Visits that made entry by advertisement campaign
directory Visits that made entry by directory
unknown_entry_method Visits which entry method we didn’t catch ( first page view stored was internal )

AdWords and E-commerce based dimensions

 

Dimension Description
has_ordered  Visits where an order was placed
ecommerce_product  Visits where a specific product was ordered
adwords  Visits that came through adwords
adwords_advertisement  Visits that came through adwords advertisement
adwords_keyword  Visits that came through adwords keyword
adwords_negative_keyword  Visits that came through adwords negative keyword
adwords_advertisement_group  Visits that came through adwords advertisement group
adwords_campaign  Visits that came through adwords campaign
adwords_country  Visits that came through adwords country
adwords_city  Visits that came through adwords city
adwords_click_type  Visits that came through adwords click type
adwords_device  Visits that came through adwords device
adwords_domain  Visits that came through adwords domain
adwords_network  Visits that came through adwords network

Content based dimensions

What content visitors consumed

 

Dimension Description
url Logical url on website
page Logical page on website, might contain multiple urls
landing_page Page as initial page view / entry
section Logical section on website, might contains usually multiple urls
landing_section Section as first page view
goal Target action of the website, url, mailto-link, outlink, javascript event
in_site_search_engine Used search engine on the website
in_site_search_term Use any in-site search engine with specific search term

Visitor based dimensions

 

Dimension Description
country Country visitor was from (code)
region Region visitor was from (code)
city City visitor was from
organization ISP / Company visitor was recognized to
organization_type Type of the organization
turnover_class Classified turnover
employee_class Classified employees
browser Browser visitor used
browser_version Browser visitor used
operating_system OS visitor used
operating_system_version OS visitor used
operating_system_language language user had
screen_resolution Screen resolution
color_depth Color depth used
flash_version Flash version used
java_support Did browser support java
visitor_device What device did the visitor use
visitor_device_type What type of device did the visitor use
bouncer Did the visitor bounce
business_line TOL business line
visitor_history Was the visitor new or returning. Accepted values: ’new’ = new visitor, ’returning’ = returning_visitor
visit Single visit
visitor Single visitor

Criteria

How to limit visitors based on behaviour

 

Criteria Description
page_views min,max
rating min,max

 

Metrics

 

Metric Description
visits Distinct sessions/visits from targeted segment on interval
visitors Unique visitors/persons from targeted segment on interval
new_visitors Visitors that were first time on site on given interval
returning_visitors Visitors that were not first time on site on given interval
page_views Non-contextual:  Sum of page views segmented visits madeContextual: Number of page views visitors made on context ( viewed page / in-site searches )
page_views_per_visit Non-contextual:  Sum of page views per segmented visits madeContextual: Average number of page views visitors made on context  Non-contextual:  Sum of page views segmented visits madeContextual: Number of page views visitors made on context
duration Non-contextual: Seconds visitors spend on site on targeted segment on intervalContextual:  Seconds visitors spend on context on targeted segment on interval
duration_per_visit Non-contextual: Seconds visitors spend on site on targeted segment on intervalContextual:  Seconds visitors spend on context on targeted segment on interval
entries First hits in context ( total, entry method, content )
entry_rate Rate of first hits in context
exits Contextual: Number of visits ended their visit on context ( on page, on section, after in-site search etc. )
exit_rate Contextual: Number of visits ended their visit on context divided by interval all visits
bouncers Number or visits that made only one page view on visit
bounce_rate Rate of number of visits that made only one page view on visit
conversions Number of visits that made desired action
conversion_rate Rate of number of visits that made desired action
advertisement_cost Cost of advertisement(s) on interval ( cost is calculated daily )
cost_per_conversion Cost per conversion. Cost divided between conversions.
conversion_value Monetary value that conversions generate
average_visits_per_day Daily visits divided by interval dates
average_visitors_per_day Daily visits divided by interval dates
out_of_all_visits Number of segmented visits divided by all interval visits
out_of_all_visitors Number of segmented visitors divided by all interval visitors
new_visitors_rate Visitors that were first time on site on given interval / divided by all interval visitors
returning_visitors_rate Visitors that were not first time on site on given interval / divided by all interval visitors
advertisement_cost_per_visit Cost of advertisement(s) on interval ( cost is calculated daily ) divided by segment visits
conversions_goal_[id] Number of visits that made desired action for a specific goal.The [id] is an unsigned integer unique id for the goal.
conversion_rate_goal_[id] Rate of number of visits that made desired action for a specific goal.The [id] is an unsigned integer uniqueid for the goal.
conversion_value_goal_[id] Monetary value that conversions generate for a specific goal.The [id] is an unsigned integer unique id for the goal.
visits_rating_group_[id] The number of visits on a rating group. The [id] is an unsigned integer unique id for the rating group.
points_rating_group_[id] The maximum points for a visitor in the rating group. The [id] is an unsigned integer unique id for the rating group.
turnover_class Organization turnover class. Valid for visit, organisation and visitor dimensions
employee_class Organization employee class. Valid for visit, organisation and visitor dimensions
organization Name of the organization
main_business_line Main business line of the organization
Adwords
impressions Non-contextual:  Sum of page views segmented visits madeContextual: Number of page views visitors made on context ( viewed page / in-site searches )Non-contextual:  Sum of interval all adwords impressionsContextual: Sum of interval adwords impressions in context ( eg. impressions on specific ad )
clicks Non-contextual:  Sum of interval all adwords clicksContextual: Sum of interval adwords clicks in context ( eg. clicks on specific ad )
ctr Number of clicks divided by impressions
cpc Cost per click
max_cpc Max cpc
daily_budget Daily budget
Ecommerce
ordered_products Number of ordered products
turnover Sum of order values on segmented interval
orders Count of orders
turnover_per_order turnover divided by orders
revenue Sum of turnover and conversion_value metrics
Contextual
page_views_before Sum of page_views that happened before specific event ( goal, order, in-site search )
page_views_after Sum of page_views that happened after specific event ( goal, order, in-site search )
visits_before Count of visits that happened before specific event ( order, goal )
time_spent_on_before Duration visitors spend on site during session before making the action ( goal, order, in-site search )
average_page_views_before Average page_views per visit that happened before specific event ( goal, order, in-site search )
average_page_views_after Average page_views per visit that happened after specific event ( goal, order, in-site search )
average_visits_before Average number of visits that happened before specific event ( order, goal )
average_time_spent_on_before Average duration visitors spend on site during session before making the action ( goal, order, in-site search )
visit_start_time The start time of a visit
visit_end_time The end time of a visit
ip_address The ip address of a visit
visitor_details The details of a visit. Detail element containing the following information:- visitor_number- total_visits
rating_details The rating information of a visitor. Detail element containing the following information:- rating_group_id- rating_group_name- rating_group_points
technical_details The technical details of a visit. Detail element containing the following information:- operating_system_id- operating_system_name- operating_system_version- browser_id- browser_name- browser_version- flash_version- java_support- screen_resolution
organization_details The organization details of a visit. Detail element containing the following information:- organization_id- organization_name- organization_type_id- organization_type_name- country_id- country_name- region_id,- region_name
click_path The click path of a visit. Detail element containing the following information:- click_id- direction- time_stamp- page_id- page_name- entry_method- advertisement_id- advertisement_name- external_referrer

– search_term_id

– search_term_name

– search_engine_id

– search_engine_name

– referring_domain_id

– referring_domain_name

– social_media_id

– social_media_name

– goal_id

– goal_name

– directory_id

– directory_name

– order_id

– in_site_search_engine_id

– in_site_search_engine_name

– in_site_search_term_id

– in_site_search_term_id

landing_page The landing page of the visit. Detail element containing the following information:- landing_page_id- landing_page_value