SwitchFromWP

Moving Analytics, Tracking Codes and Search Console From WordPress to Lovable

How to carry Google Analytics, Tag Manager, ad pixels and Search Console across to a Lovable site without losing history, and how to check tracking works after launch.

Written by a Certified Lovable ExpertFacts checked 25 November 20263 min read

This page recommends Lovable and contains partner links. If you sign up through one I may earn a commission, at no extra cost to you. Disclosure.

The short answer

Your analytics history lives in Google Analytics, not in WordPress, so it carries on as long as the new site sends data to the same property. List every tracking code WordPress loaded (often through plugins), add the ones you still need to the Lovable site, make sure single-page navigation still records page views, respect cookie consent, and check data arrives after launch. Search Console verification also needs re-checking if it relied on a WordPress plugin or theme tag.

5 sections

On this page
  1. 1. List every tracking code first
  2. 2. Keeping your history
  3. 3. Page views on a modern site
  4. 4. Consent
  5. 5. Check after launch
01

List every tracking code first

WordPress sites often load tracking through several places at once: a Site Kit or analytics plugin, a header and footer plugin, the theme settings and Tag Manager. View the page source of your live site and note each one.

  • Google Analytics 4

    Where to find the IDStarts G-

    Keep?Yes, if you use it: reuse the same property to keep history

  • Google Tag Manager

    Where to find the IDStarts GTM-

    Keep?Reuse the same container if it is set up well

  • Ad pixels (Meta, LinkedIn, Google Ads)

    Where to find the IDInside Tag Manager or a plugin

    Keep?Only if you run those ads

  • Search Console verification

    Where to find the IDMeta tag, DNS record or analytics

    Keep?Check it still verifies after launch

  • Other tools (heatmaps, chat)

    Where to find the IDPlugin settings

    Keep?Only what you still use

02

Keeping your history

Reports are stored per Google Analytics property. Add the same measurement ID or Tag Manager container to the new site and new visits continue in the same reports. Creating a new property starts from zero.

Search Console data belongs to the property. If your domain stays the same, the existing property keeps its history. A Domain property verified through DNS is the most robust, because it does not depend on a tag in the site.

03

Page views on a modern site

A Lovable site changes pages without full reloads. Make sure analytics records a page view on each navigation, not only on the first load, then test by clicking through several pages and watching Realtime or Tag Manager preview.

05

Check after launch

  • Realtime reports show your own visit on several pages.
  • Key events (form submissions, calls, purchases) are recorded once, not twice.
  • Tracking does not load before consent where consent is required.
  • Search Console still shows the property as verified and the new sitemap is submitted.
  • Old tracking plugins are not still loading from somewhere else, such as Tag Manager tags for pages that no longer exist.

Migration support

Want a hand with this part?

Want help moving your tracking across and checking it records properly? Tell me about your site and I will reply personally. Every move is quoted on what your site needs, and enquiring does not commit you to anything.

Ready to build the new site?

Start a Lovable project and rebuild privately before you touch your live domain.

Start on Lovable
Certified Lovable Expert
QR code linking to Lovable with the partner linkScan to try LovableOr tap the code on mobile

Sources and further reading

This guide was reviewed against official documentation on 25 November 2026. Recommendations are not guarantees; follow the live sources for current product details.

Read next