Skip to content

MarkTag SDK Documentation ​

Welcome to the MarkTag SDK documentation. MarkTag helps businesses overcome the challenges of modern web analytics - particularly ad blockers that prevent traditional analytics tools from capturing complete data - ensuring you get accurate insights about your marketing performance.

What is MarkTag SDK? ​

MarkTag SDK provides tracking libraries for capturing user interactions, conversions, and behavioral data across websites and mobile applications. Start with client-side implementation for quick setup, then upgrade to server-side when you need complete data accuracy that bypasses ad blockers.

Key Benefits ​

🎯 Complete Data Capture

Get all your analytics data, even when ad blockers are active (with server-side implementation)

🔒 Overcome Tracking Blockers

Bypass ad blockers to get the complete picture of your analytics

📈 Enhanced Attribution

Clear insights into campaign performance and ROI across all marketing channels

⚡ Easy to Start

Begin with client-side tracking using just one script tag, upgrade to server-side when needed

Available Platforms ​

Choose your platform to get started with MarkTag SDK:

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 Data room section
  3. Create a new Data Source
  4. Choose your implementation:
    • Client-side MarkTag: Quick setup with a simple script tag (great for getting started)
    • Server-side MarkTag: Complete data capture that bypasses ad blockers (upgrade when ready)

2. Install and Configure ​

Add the Web SDK to your site via script tag or npm package. See Installation for details.

3. Start Tracking ​

Begin tracking events with simple API calls:

javascript
// Example for Web SDK
mtag('event', {
  type: 'Purchase',
  value: 99.99,
  currency: 'USD',
  products: [
    {
      id: 'product-123',
      name: 'Product Name',
      price: 99.99,
      quantity: 1
    }
  ]
});

Common Use Cases ​

  • E-commerce: Track purchases, cart additions, checkouts
  • SaaS: Monitor signups, feature usage, subscriptions
  • Content: Measure engagement, video views, downloads

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.