How to Track Pageviews in Google Analytics 4 for Sparkforge Funnels and Sites
In GA4, create a property, set up a Web data stream pointing at your funnel or site URL, and paste the gtag.js code (or Google Tag Manager) into the Sparkforge funnel or site head section.
GA4 records pageviews on Sparkforge funnels and websites once the property is created and the tracking snippet is installed. The flow takes six steps inside Google Analytics plus one paste into Sparkforge.
Steps in Google Analytics
- Sign in to Google Analytics.
- Open Admin Settings.
- Create Property. Name the property something recognizable (your business or site name).
- Open Data Streams from the left menu.
- Pick Web and enter the URL of the funnel or site to track. Click Create Stream.
- Copy the gtag.js snippet Google generates, or use Google Tag Manager.
Add gtag.js to your Sparkforge funnel or site
Paste the snippet into the funnel or site's tracking code area, inside the <head> section. Sparkforge has dedicated fields for global head and footer scripts — use the head field for gtag.js so it loads before the page renders.
Verify it works
- Open the funnel or site in an incognito tab.
- In GA4, open the Realtime report.
- Confirm your visit appears as an active user within 30 seconds.
If the realtime report stays empty, double-check the snippet is inside the <head> tag and the funnel or site has been published since the change.
Frequently Asked Questions
Where do I paste the GA4 snippet in Sparkforge?
Should I use gtag.js or Google Tag Manager?
Why don't I see pageviews after install?
Do I need a separate property per funnel or site?
Was this article helpful?
Thanks for the feedback.