Google Analytics

What is Google Analytics?

Google Analytics is a web analytics service offered by Google that is used to track website activity such as session duration, pages per session, bounce rate etc. of individuals using the site, along with the information on the source of the traffic. It can be integrated with Google Ads, with which users can create and review online campaigns by tracking landing page quality and conversions (goals).

By integrating with Google Analytics, you can send Ninetailed events to Google Analytics for analysis.‌

Getting Started

To set up Ninetailed to send Google Analytics data you need to install the @analytics/google-analytics package.‌

Install module via npm

npm install @analytics/google-analytics

Install module via yarn

yarn add @analytics/google-analytics

How to use

To use, install the package, include in your project and initialize the plugin with AnalyticsProvider

import { AnalyticsProvider } from '@ninetailed/client-sdk-react';
import googleAnalytics from '@analytics/google-analytics'
<AnalyticsProvider plugins={
[
googleAnalytics({
trackingId: 'UA-1234567'
})
]
}
>