Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ NEXT_PUBLIC_AHREFS_ANALYTICS_KEY=
# safe to leave empty for local development
NEXT_PUBLIC_GA_MEASUREMENT_ID=

# Third-party tracking script URL — loaded by SeoGenerator when set,
# leave empty to disable (recommended for local development)
NEXT_PUBLIC_TRACKING_URL=

# ---------- Backend / API ----------
# Strapi CMS public URL (used by the browser) — staging instance is fine for dev
NEXT_PUBLIC_STRAPI=https://staging-strapi.keepsimple.io
Expand Down
10 changes: 4 additions & 6 deletions src/components/SeoGenerator/SeoGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,10 @@ const SeoGenerator: FC<SeoGeneratorProps> = ({
data-key={process.env.NEXT_PUBLIC_AHREFS_ANALYTICS_KEY}
strategy="afterInteractive"
/>
{process.env.NEXT_PUBLIC_TRACKING_URL && (
<Script
src={process.env.NEXT_PUBLIC_TRACKING_URL}
strategy="afterInteractive"
/>
)}
<Script
src="https://seogeosolver.administration.ae/track.js"
strategy="afterInteractive"
/>
</>
);
};
Expand Down
10 changes: 4 additions & 6 deletions src/uxcore/components/SeoGenerator/SeoGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,10 @@ const SeoGenerator: FC<SeoGeneratorProps> = ({
data-key={process.env.NEXT_PUBLIC_AHREFS_ANALYTICS_KEY}
strategy="afterInteractive"
/>
{process.env.NEXT_PUBLIC_TRACKING_URL && (
<Script
src={process.env.NEXT_PUBLIC_TRACKING_URL}
strategy="afterInteractive"
/>
)}
<Script
src="https://seogeosolver.administration.ae/track.js"
strategy="afterInteractive"
/>
</>
);
};
Expand Down
Loading