Google Analytics is the world's most popular analytics service that allows you to track and report your website traffic across a variety of sources. It lets you measure your advertising ROI, as well as set up tracking code to perform data collection based on the type of your website.
This document guides you in setting up Google Analytics as a source in RudderStack. Once configured, RudderStack automatically ingests your specified Google Analytics data, which can then be routed to your data warehouse or any other third-party destination supported by RudderStack.
To add Google Analytics as a source in RudderStack, follow these steps:
Log into your RudderStack dashboard.
From the left panel, select Sources. Then, click on Add Source, as shown:
Next, select Google Analytics from the list of Cloud Sources, and click on Next.
Assign a name to your source, and click on Next.
Click on Connect with Google Analytics and give RudderStack the required access permissions. Then, click on Next.
In the next screen, select one of your Google Analytics views in the Source Settings. Then, click on Next.
Once you select a view, the Dimensions and Metrics rows should appear automatically. Choose the appropriate dimensions and metrics for RudderStack to ingest the data from, and then click Next.
Next, you will be required to set the Run Frequency to schedule the data import from your Google Analytics account to RudderStack. You can also specify the time when you want this synchronization to start, by choosing the time under the Sync Starting At option.
That's it! Google Analytics is now successfully configured as a source on your RudderStack dashboard.
RudderStack will start importing data from Google Analytics as per the specified frequency. You can further connect this source to your data warehouse or other third-party destinations by clicking on Connect Destinations or Add Destinations, as shown:
Not all the dimensions and metrics can be queried together in Google Analytics. Only those dimensions-metrics combinations that follow Google's compatibility rules can be used together for querying.
Google also has a limit on the number of dimensions and metrics that you can define.
If you come across any issues while configuring Google Analytics as a source on the RudderStack dashboard, please feel free to contact us. You can also start a conversation on our Slack channel; we will be happy to talk to you!