From a5052aefb4f241daacdf89c2d71336769f20e52d Mon Sep 17 00:00:00 2001 From: james Date: Tue, 26 Mar 2024 09:49:06 +0800 Subject: [PATCH] Added a category title for clarity --- .../adtech/[type]/+page.server.ts | 4 +-- .../(categorical)/adtech/[type]/+page.svelte | 35 ++++++++++++++----- frontend/src/types.ts | 3 ++ 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/frontend/src/routes/(categorical)/adtech/[type]/+page.server.ts b/frontend/src/routes/(categorical)/adtech/[type]/+page.server.ts index ece6ffa..c9c2707 100644 --- a/frontend/src/routes/(categorical)/adtech/[type]/+page.server.ts +++ b/frontend/src/routes/(categorical)/adtech/[type]/+page.server.ts @@ -1,6 +1,6 @@ import type { PageServerLoad } from './$types'; export const load: PageServerLoad = async ({ parent }) => { - const { trackers, networks } = await parent(); - return { trackers, networks }; + const { trackers, networks, mycats } = await parent(); + return { trackers, networks, mycats }; }; diff --git a/frontend/src/routes/(categorical)/adtech/[type]/+page.svelte b/frontend/src/routes/(categorical)/adtech/[type]/+page.svelte index a11dca6..4fa9fee 100644 --- a/frontend/src/routes/(categorical)/adtech/[type]/+page.svelte +++ b/frontend/src/routes/(categorical)/adtech/[type]/+page.svelte @@ -38,7 +38,7 @@
-

Third Party Mobile Ad Tech Partners

+

Third Party Mobile Ad Tech Partners

These ad networks and tracker integrations are crawled for the top ~11k Android apps based on @@ -47,15 +47,37 @@ you have any trackers or networks you'd like to see added feel free to reach out and they can be added.

- - - {#if entityGroup === 'networks'}

Ad Networks will require an SDK to be used to manage the serving of their ads. AppGoblin is scanning apps to get an idea of which apps use which networks.

+ {/if} + {#if entityGroup === 'trackers'} +

+ Tracking users in apps for marketing purposes is much harder in apps than on the regular web. + Therefor most apps use other services embedded in their APKs to track users. +

+ {/if} + + + {#await data.mycats} + waiting for data... + {:then cats} + {#each Object.entries(cats.categories) as [_prop, values]} + {#if values.id == $homeCategorySelection} + {#if entityGroup == 'networks'} +

Ad Networks, Category: {values.name}

+ {/if} + {#if entityGroup == 'trackers'} +

MMPs, Category: {values.name}

+ {/if} + {/if} + {/each} + {/await} + + {#if entityGroup === 'networks'} {#await data.networks} Loading Ad Networks... {:then networks} @@ -84,11 +106,6 @@ {#await data.trackers} Loading Ad Trackers... {:then trackers} -

- Tracking users in apps for marketing purposes is much harder in apps than on the regular - web. Therefor most apps use other services embedded in their APKs to track users. -

- {#if timeGroup === 'month'} {#if granularityGroup === 'parents'} ; + mycats: Promise } export interface AppFullDetail {