diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index de4b9c0..16b8074 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -131,7 +131,7 @@ jobs:
manifest_version="$(unzip -p "$package" staticwebassets/App_Plugins/TheBuilder.WebAnalytics/umbraco-package.json | jq -r '.version')"
grep -Fqx 'README.md' <<< "$entries"
grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/umbraco-package.json' <<< "$entries"
- grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/web-analytics.js' <<< "$entries"
+ grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/web-dashboard.js' <<< "$entries"
test "$manifest_version" = "$PACKAGE_VERSION"
grep -Fq "$PACKAGE_VERSION" <<< "$nuspec"
if [[ -n "$RELEASE_TAG" ]]; then
diff --git a/src/TheBuilder.WebAnalytics/Client/umbraco-package.json b/src/TheBuilder.WebAnalytics/Client/umbraco-package.json
index 3198322..3bcf71a 100644
--- a/src/TheBuilder.WebAnalytics/Client/umbraco-package.json
+++ b/src/TheBuilder.WebAnalytics/Client/umbraco-package.json
@@ -7,7 +7,7 @@
"name": "Web Analytics Bundle",
"alias": "TheBuilder.WebAnalytics.Bundle",
"type": "bundle",
- "js": "/App_Plugins/TheBuilder.WebAnalytics/web-analytics.js"
+ "js": "/App_Plugins/TheBuilder.WebAnalytics/web-dashboard.js"
}
]
}
diff --git a/src/TheBuilder.WebAnalytics/Client/vite.config.ts b/src/TheBuilder.WebAnalytics/Client/vite.config.ts
index bf2e8ec..3f0b3c7 100644
--- a/src/TheBuilder.WebAnalytics/Client/vite.config.ts
+++ b/src/TheBuilder.WebAnalytics/Client/vite.config.ts
@@ -30,7 +30,8 @@ export default defineConfig({
lib: {
entry: "src/bundle.manifests.ts", // Bundle registers one or more manifests
formats: ["es"],
- fileName: "web-analytics",
+ // Avoid a common ad-blocker filename pattern for the backoffice entry point.
+ fileName: "web-dashboard",
},
outDir: outputDirectory, // your web component will be saved in this location
emptyOutDir: true,
diff --git a/src/TheBuilder.WebAnalytics/README.txt b/src/TheBuilder.WebAnalytics/README.txt
index 1d82a75..ec35d34 100644
--- a/src/TheBuilder.WebAnalytics/README.txt
+++ b/src/TheBuilder.WebAnalytics/README.txt
@@ -24,7 +24,7 @@
* Open a terminal inside the `\Client` folder
* Run `npm install` to install all the dependencies
* Run `npm run build` to build the project
-* The build output is copied to `wwwroot\App_Plugins\TheBuilder.WebAnalytics\web-analytics.js`
+* The build output is copied to `wwwroot\App_Plugins\TheBuilder.WebAnalytics\web-dashboard.js`
== File Watching ==
* Add this Razor Class Library Project as a project reference to an Umbraco Website project
diff --git a/src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj b/src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj
index 9f6c0f8..e9c6dde 100644
--- a/src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj
+++ b/src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj
@@ -27,7 +27,7 @@
wwwroot/App_Plugins/TheBuilder.WebAnalytics/**/*
$(MSBuildProjectDirectory)/wwwroot/App_Plugins/TheBuilder.WebAnalytics
$(BackofficeAssetsDirectory)/umbraco-package.json
- $(BackofficeAssetsDirectory)/web-analytics.js
+ $(BackofficeAssetsDirectory)/web-dashboard.js
$(MSBuildProjectDirectory)/obj/backoffice-$(Version).stamp