# Add browsing footprints
```javascript
WXAPI.goodsVisitLogAddV2({
token: '123'
})
```
+ token current user login credentials
+ goodsId commodity ID
+ type 0 internal product; 1 external product
+ extJsonStr extended attribute Json format string
```json
{
code: 0,
msg: 'success'
}
```
# Product browsing footprint (history) list
```javascript
WXAPI.goodsVisitLogV2({
token: '000'
})
```
+ token current user login credentials
+ page gets the page data. If this parameter is not passed, the default value is 1.
+ pageSize How many records are obtained per page? If this parameter is not passed, the default is 50
+ nameLike product title fuzzy search keywords
# Delete a footprint
```javascript
WXAPI.goodsVisitLogDeleteV2({
token: '123'
})
```
+ token current user login credentials
+ id collection record id
+ goodsId commodity id
Just choose one of id and goodsId
# Delete all history records with one click
```javascript
WXAPI.goodsVisitLogClearV2(token)
```
+ token current user login credentials