Skip to content

MarkTag SDK Documentation

Welcome to the MarkTag SDK documentation. MarkTag is a first-party server solution designed to enhance and strengthen web tracking accuracy, streamlining the collection and transmission of user interaction data for advertising platforms.

What is MarkTag SDK?

MarkTag SDK provides client-side tracking libraries for capturing user interactions, conversions, and behavioral data across websites and mobile applications. It ensures accurate event tracking while maintaining compliance with privacy regulations.

Key Benefits

🎯 Accurate Tracking

Precise capture of every user action with first-party cookies that bypass browser restrictions

🔒 Data Loss Prevention

Reliable recording of all interactions, conversions, and metrics with no data loss

📈 Enhanced Attribution

Clear insights into campaign performance and ROI across all marketing channels

⚡ Easy Integration

Single code snippet installation with platform-specific SDKs for seamless setup

Available Platforms

Choose your platform to get started with MarkTag SDK:

Web & Mobile SDKs

Server-Side Integration

🔧 REST API

Direct server-to-server integration for custom implementations and backend services.

View REST API Documentation →

Quick Start

1. Set Up Your Container

Before implementing any SDK, you need to set up your MarkTag container:

  1. Log in to Markopolo Dashboard
  2. Navigate to MarkTag section
  3. Create a new container
  4. Copy your Container ID

2. Choose Your Platform

Select the appropriate SDK for your platform from the options above.

3. Install and Configure

Each SDK has its own installation process:

  • Web SDK: Add script tag or npm package
  • React Native: Install via npm/yarn
  • Flutter: Add to pubspec.yaml
  • Unity: Import Unity package
  • REST API: Direct HTTP requests

4. Start Tracking

Begin tracking events with simple API calls:

javascript
// Example for Web SDK
marktag.track('purchase', {
  value: 99.99,
  currency: 'USD',
  items: ['product-123']
});

Common Use Cases

  • E-commerce: Track purchases, cart additions, checkouts
  • SaaS: Monitor signups, feature usage, subscriptions
  • Content: Measure engagement, video views, downloads
  • Gaming: Track installs, in-app purchases, level completions

Platform Comparison

FeatureWeb SDKReact NativeFlutterUnityREST API
InstallationScript/NPMNPMPubPackageDirect
Auto-tracking⚠️
Custom Events
User Identity
Offline Support⚠️N/A
Real-time

Need Help?

Not What You're Looking For?

If you need to programmatically manage advertising campaigns or access analytics data via API, check out our Partners API Documentation instead.