You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, all results from the API are cached. This can be overwritten, but I didn't want to spam to the API.
37
30
31
+
## Widgets
32
+
33
+
There are four widgets included with a few options. Periods to display be changed between `12mo,6mo,month,30d,6d,day`.
34
+
35
+
### Visitor Overview
36
+
37
+
```php
38
+
[
39
+
'type' => 'plausible_visitor_overview',
40
+
'period' => '30d', // Period you want to show
41
+
'show_graph' => 0 // Boolean, 0 or 1
42
+
],
43
+
```
44
+
45
+
### Top Pages
46
+
47
+
```php
48
+
[
49
+
'type' => 'plausible_top_pages',
50
+
'period' => '30d'
51
+
]
52
+
```
53
+
54
+
### Top Browsers
55
+
56
+
```php
57
+
[
58
+
'type' => 'plausible_top_browsers',
59
+
'period' => '7d'
60
+
]
61
+
```
62
+
63
+
### Top Referrers
64
+
65
+
```php
66
+
[
67
+
'type' => 'plausible_top_referrers',
68
+
'period' => '7d'
69
+
]
70
+
```
71
+
38
72
## Issues
39
73
40
74
If there are any problems with getting this to work, please open an issue on GitHub. If you have any ideas/want to discuss new features please use the discussions feature :)
0 commit comments