Renamed methods. Initial work on realtime dashboard.
This commit is contained in:
1 parent
b4ea70a67c
commit
e64a555652
16 files changed
+246
-86
No files matched your search
+2
-2
@@ -285,7 +285,7 @@ export async function createAccount(data) {
|
||||
);
|
||||
}
|
||||
|
||||
export function getMetrics(website_id, start_at, end_at, filters = {}) {
|
||||
export function getWebsiteStats(website_id, start_at, end_at, filters = {}) {
|
||||
const params = [website_id, start_at, end_at];
|
||||
const { url } = filters;
|
||||
let urlFilter = '';
|
||||
@@ -317,7 +317,7 @@ export function getMetrics(website_id, start_at, end_at, filters = {}) {
|
||||
);
|
||||
}
|
||||
|
||||
export function getPageviews(
|
||||
export function getPageviewStats(
|
||||
website_id,
|
||||
start_at,
|
||||
end_at,
|
||||
|
||||
Reference in new issue
Block a user