Google Analytics

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic.

Google Analytics is the most widely used web analytics service on the web. Google Analytics provides an SDK that allows gathering usage data from iOS and Android app, known as Google Analytics for Mobile Apps.

Connecting to Google Account

Mammoth allows you to connect to Google account and get the data into Mammoth.

  1. Select API & Databases from the ‘Add Data’ menu and click on Google Analytics.

  2. Click on Sign in to Google and log into your Google account.

    Google Analytics login

    Fig. 28 Logging into your Google account

  3. Select the desired profile and click on Next.

    Google Analytics profile

    Fig. 29 Choosing an account

  4. Once your Google account is connected with Mammoth, you will be presented with a list of tables and views in that database.

    Google Analytics profile

    Fig. 30 Selecting tables

After you have selected the metrics you want to work on, you get options to configure your Dataset as follows -

  • Save as new dataset: You can use this option to rename the table and save it as a new dataset.

  • Retrieval frequency: This is to set the frequency of the data import.

  • Start retrieving: This is to decide when to initiate the data import - Now or Later.

  • On refresh: You can choose what happens to new data Schedule pull. There are three option to choose from - Replace all data, Add new data since data pull, Replace with new data since new pull.

Scheduling your Data Pulls

You can start retrieving the data now or at a specific time. Further schedule the data imports to get the latest data from your Database at a certain time interval - just once, daily, weekly or monthly.

On every data pull from your Database, you also have options to - Replace all data, Add new data since data pull, or Replace with new data since new pull.

google analytics data scheduling

Fig. 31 Scheduling data imports from Google Analytics

On choosing options Add new data since data pull or Replace with new data since new pull , you will get an option to choose a unique sequence column. Using this column, on refresh, Mammoth will pick up all the rows that have greater value in this column than the previous data pull.