Tracking Guide

Learn how to implement impression tracking, click tracking, conversion tracking, and custom event tracking on the Cogniad platform.

Overview

Tracking is essential for measuring campaign performance, understanding user behavior, and optimizing your advertising strategy. Cogniad provides comprehensive tracking capabilities for impressions, clicks, conversions, and custom events.

Types of Tracking

Impression Tracking

Automatically tracked when an ad is served. Impressions are counted each time an ad is displayed to a user, regardless of interaction.

Learn more about Impression Tracking.

Click Tracking

Tracked when a user clicks on an ad. Click tracking uses redirect URLs that record the click before redirecting to the destination.

See the Click Tracking Guide.

Conversion Tracking

Track desired actions completed by users after interacting with ads, such as purchases, sign-ups, or downloads. Uses conversion trackers with configurable variables.

Learn more about Conversion Tracking.

Custom Event Tracking

Track custom events beyond standard impressions, clicks, and conversions. Useful for tracking specific user interactions or business metrics.

See the Custom Events Guide.

Tracking Implementation

Tracking is automatically handled by Cogniad when using zone invocation codes. For custom implementations, you can use the tracking APIs directly.

Automatic Tracking

When using zone invocation codes, impressions are automatically tracked. Click tracking is handled through redirect URLs provided in ad responses.

Manual Tracking

For custom implementations, you can manually track events using the tracking APIs:

javascript
// Track impression
await fetch('https://api.cogniad.com/v1/tracking/impression', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    banner_id: 'banner_123',
    zone_id: 'zone_456',
    user_id: 'user_789'
  })
});

// Track click
await fetch('https://api.cogniad.com/v1/tracking/click', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    banner_id: 'banner_123',
    zone_id: 'zone_456',
    user_id: 'user_789'
  })
});

User Identification

For accurate tracking and frequency capping, Cogniad uses user identification:

  • Cookies: Automatic user identification via cookies
  • User IDs: Pass custom user IDs for logged-in users
  • Device IDs: Use device identifiers for mobile apps

Privacy & Compliance

Cogniad is designed with privacy in mind:

  • GDPR compliant tracking options
  • CCPA support for California users
  • Cookie consent management
  • Data retention controls

Best Practices

Tracking Best Practices
  • Use zone invocation codes for automatic tracking
  • Implement conversion tracking for all important actions
  • Test tracking implementation before launching campaigns
  • Monitor tracking accuracy and fix issues promptly
  • Respect user privacy and consent preferences
  • Use consistent user identification across sessions

Related Topics