Skip to content

Commit

Permalink
add custom tracking domain
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Dec 10, 2024
1 parent 4995b01 commit 0b1ffba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export default function Providers({ children }: PropsWithChildren) {
domain={EcencyConfigManager.getConfigValue(
(config) => config.visionFeatures.analytics.plausible.domain
)}
customDomain={EcencyConfigManager.getConfigValue(
(config) => config.visionFeatures.analytics.plausible.customDomain
)}
>
<ClientProviders>{children}</ClientProviders>
</PlausibleProvider>
Expand Down
3 changes: 2 additions & 1 deletion src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const CONFIG = {
visionFeatures: {
analytics: {
plausible: {
domain: "https://ecency.com"
domain: "https://ecency.com",
customDomain: "https://pl.ecency.com"
}
},
perks: {
Expand Down

0 comments on commit 0b1ffba

Please sign in to comment.