Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
auto_track_plugin
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Dubhe
2024-05-09 15:46:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-05-09 15:46:15 +0800
Commit
d9e6861587fa0ea2c3f4fb5c161e70f67a1f0e89
d9e68615
1 parent
881c50cf
perf: Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
README.md
README.md
View file @
d9e6861
...
...
@@ -127,7 +127,7 @@ class PageA extends StatelessWidget {
数据上报需配合服务端使用,参考
[
AutoTrack Server(开发中)
](
https://github.com/epoll-j/auto_track_server
)
,可自行实现服务端。
数据上报的格式
```
json
```
{
'app_key':
config.appKey
??
'',
'signature':
config.signature!(t),
//
签名,可自行配置具体实现的签名算法
...
...
@@ -142,7 +142,7 @@ class PageA extends StatelessWidget {
}
```
```
json
```
// TrackModel
{
'type': type, //事件类型 page_view | page_leave | click | drag | custom(自定义类型)
...
...
@@ -151,4 +151,4 @@ class PageA extends StatelessWidget {
'params': params, // 事件参数,自定义事件可自行设置参数,页面进入、离开、点击、滑动等事件会自动设置(点击位置、滑动方向、页面停留时间等相关信息)
}
```
\ No newline at end of file
```
...
...
Please
register
or
login
to post a comment