Migration Guide

Switching from Google Analytics to Invoker

A complete guide to migrating from Google Analytics. Export your data, install Invoker, and be up and running in under 5 minutes.

Migration Overview

1
Export Your Historical Data

Download your GA data before making the switch

2
Install Invoker Script

Add a single line of code to your website

3
Run Both (Optional)

Run both tools in parallel to validate data

4
Remove Google Analytics

Delete the GA script once you're confident

Step 1: Export Your Google Analytics Data

Before switching, export your historical data from Google Analytics. While Invoker will start fresh (historical data isn't migrated), you may want your GA data for reference.

Export from GA4

  1. Go to Google Analytics > Reports
  2. Navigate to the report you want to export
  3. Click the share icon in the top right
  4. Select "Download file" (PDF or CSV)
  5. Repeat for each report you want to keep

For bulk exports, consider using the Google Analytics API or a tool like Google Sheets with the GA add-on.

Step 2: Sign Up for Invoker

  1. Go to invoker.app/register
  2. Create your account (no credit card required)
  3. Add your website by entering your domain
  4. Copy your unique tracking code

Step 3: Install the Invoker Script

Add the Invoker script to your website. The installation method depends on your platform:

Generic HTML

Add this script tag to your website's <head> section:

<script defer data-domain="yourdomain.com" src="https://cdn.invoker.app/js/script.js"></script>

WordPress

  1. Install a header script plugin (like "Insert Headers and Footers")
  2. Paste the script in the header section
  3. Save changes

Next.js / React

// In your _app.js or layout.tsx
import Script from 'next/script'

export default function Layout({ children }) {
  return (
    <>
      <Script
        defer
        data-domain="yourdomain.com"
        src="https://cdn.invoker.app/js/script.js"
      />
      {children}
    </>
  )
}

Shopify

  1. Go to Online Store > Themes > Edit code
  2. Find theme.liquid
  3. Paste the script before </head>
  4. Save

Step 4: Verify Installation

  1. Visit your website in a new browser tab
  2. Open your Invoker dashboard
  3. Check the real-time view for your visit
  4. If you see your visit, installation is successful!

Step 5: Run Both Tools (Optional)

You can run both Google Analytics and Invoker simultaneously for a week or two. This lets you:

  • Compare data between the two tools
  • Ensure Invoker is tracking correctly
  • Give stakeholders time to adapt

Note: Numbers won't match exactly because the tools measure differently (GA uses cookies, Invoker doesn't).

Step 6: Remove Google Analytics

Once you're confident in Invoker, remove the Google Analytics script:

  1. Find the GA script in your code (usually starts with gtag or ga)
  2. Remove the entire script tag
  3. Also remove any Google Tag Manager containers if only used for GA
  4. Clear your cache and verify GA is no longer loading

Finding the GA Script

Google Analytics scripts typically look like one of these:

<!-- GA4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script>

<!-- Universal Analytics (old) -->
<script async src="https://www.google-analytics.com/analytics.js"></script>

What to Expect After Switching

Numbers Will Differ

Invoker and GA measure visitors differently. Invoker typically shows lower unique visitor counts because:

  • We don't use cookies, so returning visitors in the same day aren't always identified
  • We don't track users who have ad blockers (though our block rate is lower)
  • We don't count bot traffic that GA might include

Simpler Reports

You'll notice Invoker's dashboard is much simpler. This is intentional. We show you the metrics that matter without the complexity.

No Cookie Banner Needed

Once you remove GA, you may be able to remove or simplify your cookie consent banner (check if you have other cookies first).

Migration Checklist
  • Exported historical GA data
  • Created Invoker account
  • Added website to Invoker
  • Installed Invoker script
  • Verified tracking is working
  • Ran parallel tracking (optional)
  • Removed GA script
  • Updated privacy policy
  • Updated cookie consent (if applicable)

Ready to Make the Switch?

Start your free trial and have privacy-first analytics running in minutes.

Ready to try privacy-first analytics?

Join thousands of websites using Invoker Analytics. No cookies, GDPR compliant, and lightning fast.