Firebase is Google's app platform (authentication, Firestore database, push messaging, analytics), and on a WordPress site it usually sits beside WordPress, feeding analytics data and user identity between the site and a web or mobile app, rather than running inside it.
Where I've shipped Firebase
Cred.ai
A fintech's paid acquisition could not be measured, because accounts fund weeks later inside an app on another domain; a self-owned Laravel server-side event gateway feeding Meta, Google, TikTok and X, plus consent management at zero licensing cost, cut customer acquisition cost 30% with under an hour of downtime a year.
Cred.ai
A fintech was running eight WordPress properties as eight separate problems; putting them on one development, security and deployment cadence held 100% uptime, lifted onboarding completion 30% and cut customer acquisition cost 20%.
Firebase Implementation Details
Firebase was part of the build on 1 client project: Cred.ai.
-
Cred.ai
Consent Mode v2, consent-gated tags, server-side opt-out forwarding and matching Firebase SDK configuration across web and mobile.
Skills & Stack Used Alongside
- Google Tag Manager
- Advanced Custom Fields
- Ahrefs
- Airbyte
- Auth0
- AWS
- BigQuery
- Cloudflare
- CloudFront
- Crocoblock
- Elementor
- GA4
Support
This is for companies with a website and a mobile app that want one consistent, consent-aware measurement setup across both.
-
Duplicate event diagnosis: Investigate duplicate events across Firebase, GA4 and BigQuery, and put safe mitigations in place on the tracking gateway.
-
Consent configuration: Update Firebase SDK consent settings for Consent Mode v2 so the web and apps follow the same rules.
-
Cross-platform events: Define and implement key conversion and engagement events in Google Tag Manager, Google Analytics and Firebase.
-
Unified reporting: Set up Firebase Analytics and GA4 to report into one property across site and app.
-
Firebase login: Set up a Firebase Authentication plugin so people can log in to WordPress with Firebase credentials.
-
Content over APIs: Let Firebase apps read WordPress content through the REST API or a custom endpoint.
Experience
Cred.ai is a Philadelphia fintech with a consumer banking app and a credit card, and a WordPress marketing site that sits next to its web onboarding application and its iOS and Android apps. The main site, a headless content API, and a server-side tracking gateway I built are all part of the picture, and Firebase is the app side of its measurement.
My Firebase work for Cred.ai falls into two stretches in 2026:
-
Duplicate events across Firebase, GA4, and BigQuery (June 2026). I investigated duplicate events showing up across Firebase, GA4, and BigQuery, identified the root causes, and put safe mitigations in place on the server-side tracking gateway.
-
Consent configuration for Firebase (August to September 2026). After adding a cookie banner and Google Tag Manager Consent Mode v2 to the Cred.ai website, I assessed what had to change in the Firebase configuration to meet the same consent rules, researched how the Firebase SDK behaves under Consent Mode v2, and then updated the SDK consent configuration and verified it against the Consent Mode v2 requirements. The goal was for the web and the apps to follow the same consent rules.
Separately, as part of Cred.ai's cross-platform analytics setup, I defined the key conversion and engagement events and implemented them in Google Tag Manager, Google Analytics, and Firebase across the website and the mobile apps (this work is described in the Cred.ai case study).
My Firebase work has been for Cred.ai, focused on event and consent configuration.
Approach
Firebase sits beside WordPress, on the app and measurement side of the project, rather than inside the site. There is no official Firebase plugin for WordPress, and WordPress is not a Firebase product. Where the two touch, it is at a few specific points, and which one applies depends on what the business is building.
-
Analytics and tag management. If a company has a website and a mobile app, Firebase Analytics (app side) and GA4 (web side) can report into one property. Events are typically defined once and sent from the web through Google Tag Manager and from the apps through the Firebase SDK, so the site and the apps produce comparable data. Raw event data can be exported to BigQuery from GA4, which is where duplicate or mismatched events across web and app are usually diagnosed.
-
Consent. The Firebase SDKs honor Google's consent signals (the Consent Mode v2 types ad_storage, analytics_storage, ad_user_data, and ad_personalization). A site that gates tags with Consent Mode on the web needs the app SDKs configured to match, or the two sides disagree about what was collected.
-
Authentication. miniOrange publishes a plugin in the WordPress.org directory called "Firebase Authentication." It lets people log in to WordPress with Firebase credentials (email, phone one-time code, or social providers), can create WordPress users after a Firebase sign-in, and can sync WooCommerce registrations and some data to Firestore. It is a third-party plugin with a modest install base, and some features sit behind a paid license. For custom builds, a WordPress or PHP backend can verify a Firebase ID token directly: it is a standard RS256 JWT checked against Google's published public keys, using any JWT library.
-
Data and content over APIs. Firebase apps can read WordPress content through the WordPress REST API (or a custom headless endpoint), and WordPress can call Firebase's REST and server APIs, for example to send a push notification through Cloud Messaging when a post is published. This is custom code, not a switch in a settings screen.
-
Hosting. Firebase Hosting and App Hosting target static sites and Node-style apps. WordPress needs PHP and MySQL hosting, so it does not run on Firebase.
Of these, the paths I have worked on are the first two: Firebase event configuration alongside GA4 and BigQuery, and Firebase SDK consent configuration.
Benefits
-
One measurement model across site and app. When the website and the app both report into GA4, marketing sees one funnel, not two disconnected reports. For a business whose conversion happens in an app, that is the difference between knowing where customers came from and guessing.
-
No backend to run for app features. Authentication, push messaging, and a hosted database are managed services. A small team can ship app features without standing up servers, and WordPress stays focused on content and marketing pages.
-
A clean path to BigQuery. Analytics data can be exported to BigQuery for raw-event analysis. That makes it possible to audit tracking, find duplicates, and join web and app events, which dashboards alone will not show you.
-
Consent can be handled consistently. Because the SDKs honor Google's consent signals, a company can apply the same Consent Mode v2 policy to the website and its apps, which matters for privacy compliance.
-
Low cost to start. The Spark plan has no cost and needs no payment information, and most Authentication, Cloud Messaging, and Crashlytics usage is no-cost. Pay-as-you-go billing (Blaze) only applies to usage beyond the free quotas and to features like Cloud Functions.
-
Developer-friendly auth for custom builds. Firebase ID tokens are standard JWTs, so a WordPress backend or a headless front end can verify a signed-in user without special libraries.
Fit
A good fit
-
A company with a mobile app and a WordPress marketing site that needs analytics and consent to line up across both.
-
A headless WordPress build serving an app that already uses Firebase for sign-in or push notifications.
-
A team that wants app-level A/B testing, remote configuration, or crash reporting without building them.
A better fit elsewhere
-
A WordPress-only site with no app. GA4 plus Google Tag Manager is enough. Firebase adds nothing a website visitor would benefit from.
-
A WordPress site where members log in. WordPress's own user system, or a purpose-built membership or SSO plugin, is simpler than bolting on Firebase Authentication unless an app needs the same accounts.
-
Relational or reporting-heavy data. Firestore is a document database. If the data is relational (orders, inventory, subscriptions) a SQL database such as Postgres is usually the better home. Supabase and AWS Amplify are the common alternatives for teams who want a backend-as-a-service without Google.
-
Deep links. Firebase Dynamic Links no longer exists; use a current deep-linking provider.
Pitfalls to avoid
-
Counting events twice. When the same event is sent from the browser, an SDK, and a server-side gateway, duplicates are easy to create. Define one source of truth per event and use consistent event IDs.
-
Consent set on the web but not in the app. A cookie banner does not reach inside an app SDK. The app has to receive the user's choice too.
-
Spark plan limits. On Spark, exceeding a product's free quota switches that product off for the rest of the month, and BigQuery streaming and Cloud Functions are not available. Projects that need them have to move to Blaze.
-
Expecting a WordPress plugin to connect the two. The one WordPress.org plugin I found for Firebase covers login and some data sync only. Analytics, consent, and push notifications are custom work.
Overview
Working with WordPress and Firebase provides one consistent, consent-aware measurement model across a site and its apps when Firebase is set up correctly alongside the site. Firebase is Google's backend platform for app teams, bundling Authentication, Cloud Firestore, Cloud Messaging, Cloud Functions, Hosting, Crashlytics, Remote Config and Analytics. Firebase Analytics is the app measurement layer and shares its data model with Google Analytics 4. Firebase Dynamic Links shut down on August 25, 2025.
FAQ
Answers to the most common questions I see asked by business owners,
CMOs and CTOs about Firebase integrations with WordPress.
- Is there an official Firebase plugin for WordPress?
-
No. Google does not publish one. The WordPress.org directory has a third-party "Firebase Authentication" plugin from miniOrange for logging in to WordPress with Firebase accounts. For analytics, messaging, or data, the integration is done with Google Tag Manager, SDKs, and custom code.
- Can I use Firebase Authentication to log in to WordPress?
-
Yes. The miniOrange Firebase Authentication plugin supports Firebase email/password, phone one-time codes, and social sign-in, and can create WordPress users automatically. Some features need a paid license. A custom approach is also possible: verify the Firebase ID token (a standard JWT) in WordPress code and start a WordPress session for that user.
- Does Firebase replace Google Analytics on my website?
-
No. Firebase Analytics measures apps, and GA4 measures websites; they share the same data model and can report into one property. For a website, Google Tag Manager and GA4 are what you install. Firebase matters when you also have a mobile app.
- Does Firebase need to be configured for cookie consent?
- Can WordPress send push notifications through Firebase?
-
Yes, with custom code. WordPress can call Firebase Cloud Messaging's server API when something happens, such as publishing a post, and the Firebase SDKs on the device or browser receive the message. It requires a developer, a service account, and care with where the credentials are stored.
- Can I host WordPress on Firebase?
-
No. Firebase Hosting and App Hosting are built for static sites and Node-style applications, while WordPress needs PHP and a MySQL database. Firebase is better used alongside a WordPress host, not as one.
- What happened to Firebase Dynamic Links?
-
Google shut the service down on August 25, 2025. Links created with it stopped working, so any app or campaign that relied on them needs another deep-linking service.
- How much does Firebase cost?
-
There are two plans. Spark has no cost and needs no payment information, with free quotas on most products. Blaze is pay-as-you-go and is required for features like Cloud Functions; you are billed only for usage above the free quotas. Exact rates change, so check Google's current pricing page for your region and the products you use.
- Can Firebase data be exported to BigQuery?
-
Yes. Analytics data from a linked GA4 property can be exported to BigQuery, with daily and streaming export options. This is the usual way to investigate duplicate events or compare web and app data at the raw-event level.
Kevin's ability as a web developer and consultant, along with his eagerness to add value, have been a tremendously valuable asset to our firm and investment companies. His in-depth knowledge of B2B technologies, and straight forward ideas and advice, have been a very strong asset for us.Scott Maxwell Founder and Managing Partner
OpenView Venture Partners
Need help integrating Firebase and WordPress?
If you're integrating your WordPress website with Firebase I can help. Schedule a free consultation on Google Meet, or contact me by email directly.
Additional Consulting Services
Custom integrations are one slice of a broader practice. I've spent 18+ years as a fractional engineer for marketing and product teams — designing, building, securing, and measuring WordPress platforms end to end.