Documentation
Everything you need to get started with CloudTag server-side tracking platform.
Quick Start Guide
Get up and running with CloudTag in minutes
Create Account
Sign up for a free CloudTag account and verify your email address.
Create Container
Set up your first server-side GTM container with our guided wizard.
Start Tracking
Configure your tracking endpoints and start collecting data.
Contents
Getting Started
Welcome to CloudTag! This guide will help you set up server-side tracking for your website or application.
What is Server-Side Tracking?
Server-side tracking moves your analytics and conversion tracking from the client (browser) to your server. This approach offers several advantages:
- Better data accuracy and reduced ad-blocker interference
- Improved page load performance
- Enhanced privacy compliance
- More reliable conversion tracking
Prerequisites
Before you begin, make sure you have:
- A CloudTag account (sign up for free)
- Access to your website's code
- Basic understanding of web analytics
Container Setup
Creating Your First Container
Follow these steps to create your first server-side tracking container:
Access the Dashboard
Log into your CloudTag dashboard and click "Create New Container".
Configure Container
Enter your container name and select your preferred hosting region.
Set Up Domain
Configure your custom domain or use our provided subdomain.
Deploy
Click deploy and wait for your container to be ready.
API Reference
Authentication
All API requests require authentication using your container's API key:
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event": "page_view", "page": "/home"}' \
https://your-container.cloudtag.io/collect
Event Tracking
Send events to your container using the following endpoints:
/collect
Send tracking events to your container.
/batch
Send multiple events in a single request.
/health
Check container health and status.
Integrations
Google Analytics 4
Connect your CloudTag container to Google Analytics 4 for comprehensive analytics.
Google Ads
Track conversions and optimize your Google Ads campaigns.
Meta CAPI
Improve ad performance with reliable server-side conversion tracking.
Troubleshooting
Events Not Appearing
Check your API key and ensure your requests are properly formatted.
High Latency
Consider switching to a region closer to your users or optimizing your event payload.
Authentication Errors
Verify your API key is correct and has the necessary permissions.
Need Help?
Can't find what you're looking for? Our support team is here to help.