Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side Tracking
Start for free
Introduction
Get started
Get started with TAGGRSSet up Google Tag ManagerAdd the GTM Data LayerConfigure GTM transformationsTest the setupDebuggingAnalytics dashboard
Migrate from Google CloudMigrate from hosting
Shortcuts
GTM Copy PasteReady-made templates
GA4 Server-side Tracking
Setup in GTMCreate GA4 Event TagsGA4 tag setup in server containerE-commerce events in GTM
Google Ads Server-side Tracking
Install Conversion LinkerSet up Conversion TrackingConfigure Enhanced ConversionsDeploy Remarketing Tags
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events DeduplicationMeta CAPI Gateway
LinkedIn Server-side Tracking
Install LinkedIn Insight TagSet up LinkedIn CAPILinkedIn Events Deduplication
TikTok Server-side Tracking
Set up TikTok PixelInstall TikTok Events APITikTok Events Deduplication
Pinterest Server-side Tracking
Set up Pinterest TagConfigure Pinterest Conversions APIPinterest Events Deduplication
Snapchat Server-side Tracking
Set up Snap PixelSnapchat Conversions APISnapchat Events Deduplication
TAGGRS Tracking Tags and Tools
Tracking TagsGoogle Service Account integrationsGTM LogsProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Tool
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side Tracking
Server-side Tracking for e-commerce
Shopify Data LayerShopware Data LayerMagento Data LayerWooCommerce Data LayerPrestashop Data LayerLightspeed Data Layer
Consent Management server-side
Activate Consent ModeConfigure TAGGRS with Axeptio

Configure Leadpages Server-side Tracking

This guide details the configuration of server-side tracking for Leadpages using TAGGRS and Google Tag Manager (GTM). By following these steps, you will collect more accurate, GDPR-compliant conversion data, bypass browser restrictions and ad blockers, and gain deeper analytics insights from your Leadpages landing pages. The result? Future-proof tracking and optimized campaign measurement.

Events you can track in Leadpages

Common events you can measure include:

  • Page views
  • Button clicks
  • Form submissions (typically tracked via thank-you page triggers, element visibility, or submit button clicks, since Leadpages does not natively push data layer events for forms).
Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets
Note
Leadpages does not provide Data Layer events when filling out a form. Therefore, it is best to work with:

• Thank you page trigger
• Element visibility
• Click
• Submit button

Create your Google Tag Manager server container

  1. Go to

    your free TAGGRS account.

  2. In GTM, create a new server container (naming it with “Server” is recommended for clarity).
  3. As Target Platform choose Server.
  4. Choose Manually provision tagging server to use TAGGRS hosting (more cost-effective and flexible than Google’s default hosting).
  5. Copy the container configuration code from GTM.

Setup in TAGGRS

  1. In your TAGGRS account setup, paste this code under “Container Configuration” and select a subdomain for your server container (e.g. sst.yourdomain.com).
  2. Save your settings.
  3. Update your domain’s DNS settings as instructed by TAGGRS.
  4. In your GTM server container, go to Admin > Container Settings and add the same server container URL you configured in TAGGRS.

Add the TAGGRS Enhanced Tracking Script to Leadpages

  1. In your GTM web container, copy your container ID.
  2. In TAGGRS, go to Get Started > Optimize > Enhanced Tracking Script.
  3. Enter your GTM web container ID. Copy the generated HEAD and BODY code snippets.
  4. In Leadpages, edit your landing page. Go to Settings > Analytics.
  5. Paste the HEAD script into the Head Section Tracking Code and the BODY script into the Body Section Tracking Code.
  6. In your GTM server container, add a new Client of type “Web container” and paste your web GTM container ID. Save and publish.

Extend your Google Tag with the server URL in your web GTM container

  1. In your GTM web container, go to Tags and select your Google Tag.
  2. Add a server_container_url parameter, pointing to your TAGGRS server container subdomain.
  3. Now, all GA4 events in your web container will be forwarded to your server container, such as GA4 | click events.

Forward data to GA4 from your server GTM container

  1. In your GTM server container, create a new GA4 tag and enter your Measurement ID.
  2. Set the tag to fire when “client = GA4” to ensure all data received from the web container is sent to GA4. This ensures all tracked events are relayed from the web GTM to the server GTM and then to GA4 for analytics.

Best practices

  • Use thank-you pages or element visibility triggers for form submissions, as Leadpages does not push data layer events natively for forms.
  • Debug with GTM Preview mode to ensure all events are firing correctly.
  • Check DNS and container URLs if events do not appear in the server container.

Useful resources

Find out why TAGGRS is the #1 alternative to Google Cloud Run
Learn more about TAGGRS Enhanced Script
Find expert support
Previous
Billy Grace Server-side Tracking
Next
Piwik PRO Server-side Tracking
Copyright © 2025 TAGGRS. All right reserved.
TABLE OF CONTENTS
Events you can trackCreate your GTM server containerAdd the Enhanced Tracking ScriptExtend your Google Tag with the server URLForward data to GA4Best practicesUseful resources