Description Usage Arguments Value See Also Examples
identify whether the request is via desktop, the mobile web or the mobile app. Assumes pageview filtering has been applied.
1 | identify_access_method(urls)
|
urls |
a vector of URLs from |
a character vector containing "mobile web", "mobile app" or "desktop" for each input URL, as appropriate.
to_pageviews
to filter to pageviews in
the first place.
1 2 3 | files <- get_files()
pageviews <- to_pageviews(read_sampled_log(files[length(files)]))
pageviews$access_method <- identify_access_method(pageviews$url)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.