Skip to content

Commit 1cf6b9f

Browse files
authored
Update README.md
修改一个序号错误
1 parent 671e361 commit 1cf6b9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,21 @@ SensorsAnalyticsEventTypeAppEnd];
137137
![](https://www.sensorsdata.cn/manual/img/ios_autotrack_1.png)
138138

139139

140-
## 3. Flutter 中使用插件
140+
## 4. Flutter 中使用插件
141141
在具体 dart 文件中导入 `sensors_analytics_flutter_plugin.dart`
142142

143143
```dart
144144
import 'package:sensors_analytics_flutter_plugin/sensors_analytics_flutter_plugin.dart';
145145
```
146-
### 3.1 埋点事件
146+
### 4.1 埋点事件
147147

148148
例如,触发事件名为 AddToFav ,对应的事件属性有:ProductID 和 UserLevel 的事件:
149149

150150
```dart
151151
SensorsAnalyticsFlutterPlugin.track("AddToFav",{"ProductID":123456,"UserLevel":"VIP"});
152152
```
153153

154-
### 3.2 设置用户属性
154+
### 4.2 设置用户属性
155155

156156
例如,设置用户 Age 属性:
157157

0 commit comments

Comments
 (0)