WhoKnew Views™ | Migrating Between Sites

Skip to main content
Table of Contents
Print

How to migrate WhoKnew Views™ settings and data between WordPress sites

Migrating WhoKnew Views™ between WordPress sites—whether you’re moving to a new host, setting up a staging environment, or consolidating stores—requires attention to three components: settings, view data, and license activation.

📦 What Needs to Be Migrated

⚙️

Plugin Settings

Export/Import JSON file

📊

View Data

Database migration

🔑

Pro License

Deactivate → Reactivate

⚙️ Step 1: Export Plugin Settings

WhoKnew Views™ Pro includes a built-in Import/Export feature that creates a JSON backup of all your configurations:

📤 What Gets Exported

General Settings

  • View window duration
  • Display text template
  • Number padding config
  • Soft cap settings

Variation & Drop Rate

  • Variation ranges (1-3)
  • Variance percentages
  • Activity thresholds
  • Living Baseline drift

Presets & Visibility

  • Custom user presets
  • Active preset selection
  • Smart Visibility Modes
  • Green/Blue/Purple configs

Admin & Styling

  • All styling settings
  • IP Whitelist entries
  • Custom bot patterns
  • Email notifications

How to Export:

  1. Go to WhoKnew → WhoKnew Views → General tab
  2. Scroll down to the Import/Export Settings section
  3. Click Export Settings
  4. Save the whoknew-views-settings.json file

💡 Pro Tip:Export your settings regularly as a backup. If your Pro license expires and you later renew, you can restore all your settings instantly.

📥 Step 2: Import Settings on New Site

After installing both Free and Pro plugins on the new site and activating your license, import your settings:

  1. Go to WhoKnew → WhoKnew Views → General tab
  2. Scroll to Import/Export Settings
  3. Select your import option (see below)
  4. Click Choose File and select your JSON export
  5. Click Import Settings

Import Options:

OptionWhat It DoesBest For
Import All SettingsOverwrites ALL current settings with backupFull site migration
Import Custom Presets OnlyImports presets; preserves stylingSharing presets between sites
Import Styling Settings OnlyImports styling; preserves presets & logicMatching visual branding

📊 Step 3: Migrate View Data

View data (real views, lifetime totals, achievements) is stored in the WordPress database as product post meta. This data is not included in the plugin’s JSON export—it requires database migration.

📂 View Data Storage Locations

Real View Timestampsproduct_views (post meta)
Lifetime Total Views_wkv_total_real_views_ever (post meta)
Padded Views_wkv_padded_views (post meta)
Per-Product Settings_wkv_custom_settings (post meta)
Achievementswkv_*_achievements (wp_options)

Migration Methods:

🔄

Full Site Migration

Using migration plugins (Duplicator, All-in-One WP Migration, UpdraftPlus) or manual database export includes all WhoKnew Views™ data automatically.

✅ Recommended for full moves

📤

WordPress Export/Import

Using Tools → Export → Products includes product meta data. Import with WP All Import or similar tool.

⚠️ May require meta mapping

🗄️

Database-Level Migration

Export/import the wp_postmeta and wp_options tables. Search-replace old domain with new.

🔧 For advanced users

🔑 Step 4: Transfer Your Pro License

Pro licenses are domain-locked for security. To use your license on the new site, you must first deactivate it on the old site:

OLD

On the Old Site

  1. Go to WhoKnew → WhoKnew Views → License
  2. Click Deactivate License
  3. Confirm you see: “License deactivated successfully. You can now use it on another domain.”

NEW

On the New Site

  1. Install both WhoKnew Views (Free) and WhoKnew Views Pro
  2. Go to WhoKnew → WhoKnew Views → License
  3. Enter your license key and click Activate License
  4. Import your settings JSON file (Step 2)

⚠️ Important:If you can’t access the old site (it’s down or deleted), contact WhoKnew Support with your license key to have it manually released.

✅ Complete Migration Checklist

Before Migration (Old Site)

  • ☐ Export settings JSON from General tab
  • ☐ Download the JSON file to your computer
  • ☐ Deactivate Pro license in License tab
  • ☐ Complete your database/site migration

After Migration (New Site)

  • ☐ Install WhoKnew Views (Free) from WordPress.org
  • ☐ Install WhoKnew Views Pro
  • ☐ Activate Pro license
  • ☐ Import settings JSON (select “Import All Settings”)
  • ☐ Verify view counts appear on product pages
  • ☐ Check Insights tab shows analytics data
  • ☐ Test a product page in incognito to confirm tracking

🎯 Special Scenarios

Staging/Development Sites

For staging environments, you have options:

  • Same License: Some license tiers (Growth, Agency) include multiple site activations—one for production, one for staging.
  • Free Only: Run staging with just the Free plugin to test without using a license slot.
  • Temporary Deactivation: Deactivate production, activate staging, test, then reverse.

Starting Fresh (No Data Migration)

If you want settings but not view data:

  1. Install plugins on new site (fresh WooCommerce)
  2. Activate license
  3. Import your settings JSON
  4. View counts start at zero (or your configured padding baseline)

Your presets, styling, and configurations transfer—view history does not. Multi-Site License (Growth/Agency)

If you have a Growth (3 sites) or Agency (10 sites) license:

  • You can activate on the new site without deactivating the old one (if you have available slots)
  • Export/import settings to match configurations across sites
  • Each site has independent view data and analytics

🔧 Technical Reference

Export AJAX Actionwkv_export_settings
Import AJAX Actionwkv_import_settings
Settings Option Keywhoknew_views_settings
Custom Presets Keywkv_user_presets
License Deactivate APIwhoknew.io/wp-json/whoknew/v1/deactivate
File Locationincludes/admin/import-export.php
Share