piwik - visitor log

2024-03-25 13:08
文章标签 log visitor piwik

本文主要是介绍piwik - visitor log,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

1.调用visitor log数据的url:

http://piwik.tomtop.com/index.php?module=API&method=Live.getLastVisitsDetails&filter_limit=100&filter_offset=100&idSite=1&period=day&date=2014-08-25&format=xml&token_auth=211b361db21143d1ab16022e457350748a

2.api传递字段列表

1.result - row
id,id_site,id_visit,visit_ip,visitor_id,visitor_type
visitor_type_icon
visit_converted
visit_converted_icon
visit_ecommerce_status
visit_ecommerce_statusIcon
searches
events
actions
customVariables
goalConversions
site_currency
site_currency_symbol
server_date
visit_local_time
visit_local_hour
visit_server_hour
first_action_timestamp
last_action_timestamp
last_action_dateTime
visit_duration
visit_duration_pretty
visit_count
days_since_last_visit
days_since_first_visit
days_since_last_ecommerce_order
continent
continent_code
country
country_code
country_flag
region
region_code
city
location
latitude
longitude
provider
provider_name
provider_url
referrer_type
referrer_type_name
referrer_name
referrer_keyword
referrer_keyword_position
referrer_url
referrer_search_engine_url
referrer_search_engine_icon
operating_system
operating_system_code
operating_system_short_name
operating_system_icon
browser_family
browser_family_description
browser_name
browser_icon
browser_code
browser_version
screen_type
device_type
resolution
screen_type_icon
plugins
pluginsicons
server_timestamp
server_time_pretty
server_date_pretty
server_date_pretty_first_action
server_time_pretty_first_action2.table:action_details
id,id_visit,type,url,page_title,page_id_action,server_time_pretty,page_id,timeSpent,timeSpentPretty,icon,generationTime,order_id,revenue,revenueSubTotal,revenueTax,revenueShipping,revenueDiscount,items,serverTimePretty,goal_name,goal_id,goal_page_id3.order_item:
id,id_visit,order_id,item_sku,item_name,item_category,price,quantity,icon4.table:custom_variables
id,page_id,customVariablePageName1,customVariablePageValue1,customVariablePageName2,customVariablePageValue2,customVariablePageName3,customVariablePageValue3,customVariablePageName4,customVariablePageValue4,customVariablePageName5,customVariablePageValue5,customVariablePageName6,customVariablePageValue6,customVariablePageName7,customVariablePageValue7,customVariablePageName8,customVariablePageValue8,customVariablePageName9,customVariablePageValue9//5.ecommerceOrder
//id,id_visit,type,order_id,revenue,revenueSubTotal,revenueTax,revenueShipping,revenueDiscount,items,serverTimePretty//6.goal
//id,id_visit,type,goal_name,goal_id,revenue,goal_page_id,server_time_pretty,url,icon


3 实例数据:

///check  cart
<row>
<type>ecommerceAbandonedCart</type>
<revenue>4855.53</revenue>
<items>2</items>
<serverTimePretty>周一 8月25日 14:14:00</serverTimePretty>
<itemDetails>
<row>
<itemSKU>V705B</itemSKU>
<itemName>
SSA Wireless Waterproof Bluetooth Sports Earphone Headset Headphone for Cellphone PC Swimming Skating
</itemName>
<itemCategory>Root</itemCategory>
<price>35.04</price>
<quantity>1</quantity>
</row>
<row>
<itemSKU>V464</itemSKU>
<itemName>
Wireless Bluetooth Syllable G08 Noise Reduction Cancellation Headphones for iPhone
</itemName>
<itemCategory>Video & Audio</itemCategory>
<price>98.89</price>
<quantity>1</quantity>
</row>
</itemDetails>
<icon>plugins/Morpheus/images/ecommerceAbandonedCart.gif</icon>
</row>// putong
<row>
<type>action</type>
<url>
http://www.tomtop.com/dc-dv-accessories/bags-cases-straps/waterproof-bags
</url>
<pageTitle>
Waterproof Bags - Bags, Cases & Straps - Cameras & Photo Accessories
</pageTitle>
<pageIdAction>17495</pageIdAction>
<serverTimePretty>周一 8月25日 14:14:00</serverTimePretty>
<pageId>477101</pageId>
<generationTime>1.42 秒</generationTime>
<timeSpent>0</timeSpent>
<timeSpentPretty>0 秒</timeSpentPretty>
<icon/>
</row>goal
<row>
<type>goal</type>
<goalName>账户页面</goalName>
<goalId>7</goalId>
<revenue>1</revenue>
<goalPageId>477692</goalPageId>
<serverTimePretty>周一 8月25日 14:20:11</serverTimePretty>
<url>
http://www.tomtop.com/customer/account/login/referer/aHR0cDovL3d3dy50b210b3AuY29tL2N1c3RvbWVyL2FjY291bnQvaW5kZXgv/
</url>
<icon>plugins/Morpheus/images/goal.png</icon>
</row><row>
<type>goal</type>
<goalName>Event7.1-下单成功页面</goalName>
<goalId>18</goalId>
<revenue>1</revenue>
<goalPageId>475521</goalPageId>
<serverTimePretty>周一 8月25日 13:49:50</serverTimePretty>
<url>http://www.tomtop.com/checkout/onepage/success/</url>
<icon>plugins/Morpheus/images/goal.png</icon>
</row>//order
<row>
<type>ecommerceOrder</type>
<orderId>100320593</orderId>
<revenue>2.18</revenue>
<revenueSubTotal>1.19</revenueSubTotal>
<revenueTax>0</revenueTax>
<revenueShipping>0.56</revenueShipping>
<revenueDiscount>0</revenueDiscount>
<items>1</items>
<serverTimePretty>周一 8月25日 13:49:50</serverTimePretty>
<itemDetails>
<row>
<itemSKU>PA1599BR</itemSKU>
<itemName>
Soft Protective Cloth Sleeve Bag Pouch 7" * 4" Double Layer for Samsung Galaxy S5 S4 Note 3 2 etc
</itemName>
<itemCategory>Root</itemCategory>
<price>1.62</price>
<quantity>1</quantity>
</row>
</itemDetails>
<icon>plugins/Morpheus/images/ecommerceOrder.gif</icon>
</row>//row xiamian customVariable
<customVariables>
<row>
<customVariableName1>Checkout</customVariableName1>
<customVariableValue1>AddProductToCart</customVariableValue1>
</row>
</customVariables>




这篇关于piwik - visitor log的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/845105

相关文章

内核启动时减少log的方式

内核引导选项 内核引导选项大体上可以分为两类:一类与设备无关、另一类与设备有关。与设备有关的引导选项多如牛毛,需要你自己阅读内核中的相应驱动程序源码以获取其能够接受的引导选项。比如,如果你想知道可以向 AHA1542 SCSI 驱动程序传递哪些引导选项,那么就查看 drivers/scsi/aha1542.c 文件,一般在前面 100 行注释里就可以找到所接受的引导选项说明。大多数选项是通过"_

小技巧绕过Sina Visitor System(新浪访客系统)

0x00 前言 一直以来,爬虫与反爬虫技术都时刻进行着博弈,而新浪微博作为一个数据大户更是在反爬虫上不遗余力。常规手段如验证码、封IP等等相信很多人都见识过…… 当然确实有需要的话可以通过新浪开放平台提供的API进行数据采集,但是普通开发者的权限比较低,限制也比较多。所以如果只是做一些简单的功能还是爬虫比较方便~ 应该是今年的早些时候,新浪引入了一个Sina Visitor Syst

ImportError: cannot import name ‘print_log‘ from ‘logging‘

mmcv升级到2.+后删除了很多 解决 查FAQ文档,找到 添加到mmcv.utils下即可

DAY16:什么是慢查询,导致的原因,优化方法 | undo log、redo log、binlog的用处 | MySQL有哪些锁

目录 什么是慢查询,导致的原因,优化方法 undo log、redo log、binlog的用处  MySQL有哪些锁   什么是慢查询,导致的原因,优化方法 数据库查询的执行时间超过指定的超时时间时,就被称为慢查询。 导致的原因: 查询语句比较复杂:查询涉及多个表,包含复杂的连接和子查询,可能导致执行时间较长。查询数据量大:当查询的数据量庞大时,即使查询本身并不复杂,也可能导致

多数据源的事务处理总是打印很多无用的log日志

之前做了一个项目,需要用到多数据源以及事务处理,在使用事务处理,服务器总是打印很多关于事务处理的log日志(com.atomikos.logging.Slf4jLogger),但是我们根本不会用到这些log日志,反而使得查询一些有用的log日志变得困难。那要如何屏蔽这些log日志呢? 之前的项目是提高项目打印log日志的级别,后来觉得这样治标不治本。 现在有一个更好的方法: 我使用的是log

log file sync等待事件

概念: 1、REDO组件: redolog buffer=>位于SGA中,是一块循环使用的内存区域,保存数据库变更的相关信息并以重做条目redoentries形式存储,包含DML及DDL语句; LGWR=>通过此进程把redo buffer的内容写到redo log file中; redo log file=>(在归档模式下被ARC n最终写入归档日志)。最少两组重做日志,每组最少

git 学习的流水log

git命令联系 配置以及修改全局user信息 git config --global user.name 'you_name' git config --global user.email 'you_email@qq.com' 现有设备中的所有配置 git config --list 现有设备中的所有配置 git config --list --local/--global/--syste

Android串口log的获取

常遇到无法开机的状况,这时由于Android还未起来,adb等均无法使用,此时有抓串口的必要。 1.命令安装 sudo apt-get updatesudo apt-get install minicom 2.安装完毕后,插入串口线,进入/dev/目录查看设备 图中红圈即插入串口后,新增的serial目录和ttyUSB0字符设备 其中serial目录中内容如下,均是指

android log输出行位置和方法名 以及导出jar包

android log 输出行位置和方法名 public class DebugInfo extends Exception {public int line() {StackTraceElement[] trace = getStackTrace();if (trace == null || trace.length == 0) {return -1;}return trace[0].get

php记录自定义log日志方法

php记录log日志方法: /*** 记录错误日志* @param 日志内容 $res*/function save_log($res) {$err_date = date("Ym", time());//$address = '/var/log/error';$address = './error';if (!is_dir($address)) {mkdir($address, 0700,