Analytics & Tracking

Back to Documentation

Overview

The SwapTopic Analytics dashboard provides detailed insights into how your personalizations are performing. Monitor views, conversions, and engagement metrics to optimize your content variations and improve conversion rates.

Performance Metrics

Rule Performance

Each personalization rule displays key metrics:

  • Views: Number of times a variation has been shown to visitors
  • Conversions: Number of successful conversion actions completed
  • Rate: Conversion rate as a percentage (conversions divided by views)

Content Variations

For each personalized element, you can see:

  • Content: The actual text or content being displayed
  • Weight: Distribution percentage for A/B testing variations
  • Views: Number of impressions for each content variation
  • Conversions: Number of conversions attributed to each variation
  • Rate: Conversion rate for each content variation

Google Analytics Integration

When enabled in Settings, SwapTopic automatically sends personalization data to your Google Analytics account:

Events Tracked in GA

SwapTopic sends two primary event types to Google Analytics:

  1. View Events: Triggered when a personalized variation is shown to a visitor

    Event Category: 'SwapTopic'
    Event Action: 'swaptopic_view'
    Event Label: [variation_id]
    Custom Dimension: 'visit_count' = [number]
  2. Conversion Events: Triggered when a visitor with personalized content completes a conversion

    Event Category: 'SwapTopic'
    Event Action: 'swaptopic_conversion'
    Event Label: [variation_ids] (comma-separated list)
    Custom Dimension: 'visit_count' = [number]

Setting Up Custom Reports

To analyze SwapTopic data in Google Analytics:

  1. Go to Customization > Custom Reports
  2. Create a new report with these metrics:
    • Event Count
    • Unique Events
    • Sessions with Event
  3. Add these dimensions:
    • Event Action
    • Event Label (variation IDs)
  4. Add a filter for Event Category = ‘SwapTopic’

A/B Testing Analysis

Compare conversion rates between variations:

  1. Filter by Event Action = ‘swaptopic_view’ to see view counts by variation
  2. Filter by Event Action = ‘swaptopic_conversion’ to see conversion counts
  3. Calculate conversion rates by dividing conversions by views for each variation

Interpreting Results

Comparing Variations

In the example shown:

  • The “Keep Shopping” button variation has a 55% conversion rate compared to 33.33% for “Continue Shopping”
  • This indicates “Keep Shopping” is more effective at encouraging user engagement

Statistical Significance

SwapTopic automatically calculates conversion rates, helping you identify which variations perform best. Consider:

  • Higher view counts provide more reliable data
  • Test variations for at least 1-2 weeks before making decisions
  • Look for conversion rate differences of at least 10-15% between variations

Tracking Periods

  • Last updated timestamp shows when analytics data was last refreshed
  • Data is processed and updated approximately every 4 hours
  • View data by day, week, or month using the date range selector

Integration with Other Analytics

SwapTopic data can be integrated with:

  • Google Analytics (enable in Settings)
  • Custom event tracking using the JavaScript API
  • Data export for further analysis

Best Practices

  1. Create meaningful variations with clear hypotheses
  2. Run tests until you have at least 100 views per variation
  3. Test one element at a time for clearer results
  4. Use A/B testing to validate your personalization strategy
  5. Regularly review analytics to optimize your conversion funnel