Добавить новость
smi24.net
News in English
Май
2024

How to archive your Universal Analytics historical data

0

Another Google Analytics 4 migration project deadline is fast approaching, and this deadline is hard set. On July 1, Google will delete all historical data from Universal Analytics properties. This deadline also affects Analytics 360 customers.

With little more than a month until the deadline, if you have not done so by now, your organization needs to prioritize archiving your historical data. There are three main phases I recommend for approaching this project.

Phase 1: Make a plan

Before archiving data, it’s important to decide:

What specific data is important to you? 

  • Prioritize downloading data that you regularly refer to, such as conversion and sales data.
  • Make a full list of the data you need to archive.

How many years of data do you want to keep?

  • Many of us have been using Google Analytics since the mid-2000s – does your organization need to archive data from nearly 20 years ago? 
  • Decide how far back you want to archive data from. I recommend, at minimum, to consider archiving back to 2018 or so to ensure you have pre-pandemic data since the pandemic really presented data anomalies for many companies.

At what cadence do you review data?

  • Consider how often you typically report on your data. Is it weekly? Monthly? 
  • Depending on the archiving method you choose in Phase 2, you may need to organize the data into specific time increments.

Get the daily newsletter search marketers rely on.


Phase 2: Choose an archiving method

There are four main options available for archiving your Universal Analytics data. Each has its own pros and cons, so choose a method based on your team’s resources and skills.

Option 1: Manual file downloads

  • Pros: Easy for almost all users to do, free
  • Cons: Time-consuming, cumbersome, difficult to access data for reporting later, limited to 5000 rows

While this is the easiest process to understand, it is also time consuming.

Following your plan for years, cadence and data points, you’ll need to go into each report in the Google Universal Analytics interface, set the date, dimension and metric settings as needed.

Also, remember to change the number of rows from the default of 10 to the maximum of 5,000 rows to ensure you capture as much data as possible.

Click the export button and export data to a Google Sheet, Excel or CSV. Repeat this process until you have downloaded all of the data identified in your archive plan.

Option 2: Download data to Google Sheets using the Google Analytics add-on (best option for tech novices)

  • Pros: Fairly simple to implement for most users with spreadsheet experience, free, fast to download.
  • Cons: Restrictive to a set timeframe (e.g., monthly), each sheet has total data limitations, often encounters sampling issues.

This option is fairly simple for most users to perform. Create a new Google Sheet and add the Google Analytics spreadsheetadd-on.

The add-on essentially uses the Google Analytics API to download data to Google Sheets but doesn’t require API programming knowledge to operate. Google has compiled a basic overview of this approach in this help document.

The first time you use the add-on, you’ll build a report using the add-on’s interface. But after the first report has been run, you can also simply update the Report Configuration tab and create additional reports directly in columns of that sheet.

You can also conveniently use formulas in the Report Configuration sheet. Use the Dimensions and Metrics Explorer to find the proper API code to enter into each field. 

One drawback of the Google Sheets method is that you may encounter sampling if you pull too much data at once (e.g., your entire 20-year dataset for sessions) or your report is too detailed (too many dimensions pulled together for a high level of granularity). 

When you run a report, you’ll see the sampling level on the report’s data tab in cell B6. If your report contains sampled data, you may want to consider reducing the amount of data in this particular pull, for example, you might split the pull into two time frames.

However, if you just can’t avoid sampling, check the data sample percentage on the report. Then, on the Report Configuration tab, unhide rows 14-17 and the sampling size on row 15 to this level so that your data remains consistent.

Tip: The add-on defaults to 1,000 lines of data in a report. Simply delete the 1,000 under the line labeled “Limit” (typically row 11).

Another drawback of the Google Sheets option is that each file is limited to 10,000,000 cells. Typically, each sheet starts out with 26 columns (A to Z) and 1,000 default rows (or 26,000 cells).

If your downloaded data exceeds the 10,000,000 cell limitation (which can very likely happen), then you may need to have multiple Google Sheets to download all of the data.

Option 3: Download data using the Google Analytics API

  • Pros: Pulls data quickly once set up
  • Cons: Requires web development knowledge and resources, doesn’t solve the data sampling issue, API quota limitations

If you have web development resources that can work on the archiving project, they can pull the data detailed in your plan using the Google Analytics API directly. 

This works similarly to the aforementioned Google Sheets add-on option, but it’s a more manual process in programming the API calls.

To learn about how to use the API for this project, visit Google’s archiving information page and review the second bullet, which details several resources and considerations for using the API for this data export project.

Option 4: Download data to BigQuery (best option overall)

  • Pros: Simple to access data later for reporting, increased data insights, most flexible for data
  • Cons: Complicated for novices to set up initially, can involve fees for BiqQuery, may require technical resources to set up, need to involve an additional tool

The main benefit of archiving your Universal Analytics data to BigQuery is that BigQuery is a data warehouse that allows you to ask questions of the data set through SQL queries to get your data very quickly. This is especially useful in accessing this data for reporting later. 

Analytics 360 users

If you are an Analytics 360 user, Google provides a native export to BigQuery. I recommend this method. See instructions from Google.

Everyone else

If you’re not an Analytics 360 user, then you’ll need to approach the BigQuery backup differently because Google does not provide innate BigQuery backup options in Universal Analytics for non-360 users. 

Here are the steps you’ll want to follow:

  • Step 1: Create a Google API Console project and enable BigQuery.
    • Log in to the Google APIs Console.
    • Create a Google APIs Console project.
    • Navigate to the APIs table.
    • Activate BigQuery.
  • Step 2: Prepare your project for BigQuery export.
    • Ensure Billing is enabled for your project. You may not need to pay anything, but it will vary depending on the usage and data you have.
    • If prompted, create a billing account.
    • Accept the free trial if it’s available.
    • Validate Billing enablement. Open your project at https://console.cloud.google.com/bigquery, and try to create a data set in the project. Click the blue arrow next to the project name, then click Create data set. If you can create the data set, billing is setup correctly. If there are any errors, make sure billing is enabled.
    • Add the service account to your project. Add analytics-processing-dev@system.gserviceaccount.com as a member of the project, and ensure that permission at the project level is set to Editor (as opposed to BigQuery Data Editor). The Editor role is required in order to export data from Analytics to BigQuery.
    • If you are in the EU, please also review additional requirements.
  • Step 3: Set up a free trial of Supermetrics. Similar to the Google Sheets add-on in option 2 above, Supermetrics is a tool that helps non-technical users interface with and use APIs. They offer a free 14-day trial, which is likely all you’ll need for this project since you’re only downloading the Universal Analytics data once (not regularly).
    • Connect the BigQuery data source in the Supermetrics dashboard. 
  • Step 4: In BigQuery, establish the connection to Supermetrics.
    • Navigate to BigQuery, then to Data transfers.
    • Click + Create transfer.
    • Select your Google Analytics by Supermetrics as your source and click Enroll
    • Fill in the transfer details. See detailed instructions on how to set up a transfer.
    • Under Third-party connection, click Connect source.
    • Accept the agreement.
    • Click Authorize with your Google data source.
    • Click Sign in with Google.
    • Sign in with the Google Account you use with this data source. This doesn’t have to be the same as the Google Account you use with Supermetrics.
    • Click Allow.
    • Select the accounts you’d like to include in your reporting and define the transfer settings.
    • Click Submit.
    • Click Save.

Because you only need to transfer the Universal Analytics data one time, you can also change the schedule on the transfer to On demand and then run the transfer now. 

Phase 3: Ensure you’ve captured it all

Before you consider the project complete, be sure to double-check your archived data to ensure you’ve captured everything you planned to archive.

On July 1, you will no longer be able to access Universal Analytics data, either by API or through the interface. 








Летние каникулы в духе патриотизма

Сотрудничество с БГТУ: студенты проходят практику в депо «Вязьма»

Анимационная программа нового пляжа «Изумрудный»

Психолог Зберовский заявил, что расставание может помочь преодолеть зависимость


Son Of British Boxing Legend Retires From The Sport Aged Just 24: “Won’t Be Fighting Again”

Dow futures sink as Trump keeps pushing tariffs while White House suggests Powell’s job could be at risk

Trump's cuts force Texas food banks to ration supplies for flood survivors

First confirmed death during Trump ICE raid is a farmworkers at a California cannabis facility


Смертельное ДТП на Вольской. Водитель "Чангана" оказался злостным нарушителем ПДД

«Мне ничего не будет»: кавказцы устроили стрельбу возле ЗАГСа в Санкт-Петербурге

В степном краю любви

В Курской области мужчину осудили за угрозу убийством матери


I've swapped modern live service games for a browser game that's been running since 2009

Гайд на Fuqiu из Etheria Restart: навыки, PvE-билд, расклад в PvP и дубликаты

MMORPG Lord Nine: Infinite Class выпустят в Юго-Восточной Азии 31 июля

The Expanse RPG's developers are 'humbled' by comparisons to BioWare's heyday, but don't expect it to be a straight Mass Effect clone: 'We make our story a little bit differently'



Вот билет на контент, на эксплойт билетов нет

Врач-офтальмолог Элина Санторо: как выбрать идеальные солнцезащитные очки

Пора пригласить певца A.SERGIO для участия в теле- и радиопрограммах, подкастах и шоу!

Косметолог Наталья Рябинова: в чем разница между эстетическим и медицинским трихологом


Участники «Активного гражданина» выбрали лучшую заправку для окрошки

Вторичное жилье начало дешеветь

«Сила в команде»: судебные приставы Кузбасса приняли участие во всероссийских хоккейных соревнованиях среди силовиков

Росгвардейцы из Чеченской Республики стали победителями и призерами чемпионата Северо-Кавказского округа Росгвардии по комплексному единоборству


Многим рискует: юрист сказал, как сидит «золотой» экс-полковник Захарченко

Экс-жена Сафонова Анастасия требует от вратаря 4 млн рублей судебных издержек

(НЕ)СЕКРЕТНУЮ СЛУЖБУ США ПОДОЗРЕВАЮТ В ПОСТАНОВКЕ СЦЕНЫ ПОКУШЕНИЯ НА ТРАМПА. СЕНСАЦИЯ! Новости. В.В. Путин, Дональд Трамп. Россия, США, Европа могут улучшить отношения и здоровье общества!

«Сила в команде»: судебные приставы Кузбасса приняли участие во всероссийских хоккейных соревнованиях среди силовиков


Кудерметова стала первой россиянкой, выигравшей парный разряд Уимблдона с 2017 года

Российская теннисистка Вероника Кудерметова выиграла Уимблдон в парном разряде, а итальянец Янник Синнер – в одиночном

«Гордимся!»: Рустам Минниханов отметил успех Вероники Кудерметовой на Уимблдоне

Подмосковный теннисист стал призером юниорского Уимблдона


ЛДПР предложила установить минимальные закупочные цены на говядину и баранину

«Ηичeгο οб Apмeнии бeɜ Apмeнии» – Зaпaд οбeщaeт Εpeвaну тο жe, чтο и κοгдa-тο Κиeву

(НЕ)СЕКРЕТНУЮ СЛУЖБУ США ПОДОЗРЕВАЮТ В ПОСТАНОВКЕ СЦЕНЫ ПОКУШЕНИЯ НА ТРАМПА. СЕНСАЦИЯ! Новости. В.В. Путин, Дональд Трамп. Россия, США, Европа могут улучшить отношения и здоровье общества!

Апелляция: Экс-замминистра обороны Иванов и растрата 3,9 млрд рублей


Музыкальные новости

Мясной ресторан «Frank by Баста» открылся в Афимолле

Ольга Урайкина: С глубоким уважением и сердечной радостью поздравляем благочинного Бахчисарайского церковного округа протоиерея Петра Чайковского, настоятеля храма Феодоровской иконы Божьей Матери, с Днём тезоименитства!

Ремикс Песни. Создание ремикса Песни. Создание Хитового ремикса песни.

Элджею подарили болид «Формулы-3» по цене более 10 миллионов рублей


Пора пригласить певца A.SERGIO для участия в теле- и радиопрограммах, подкастах и шоу!

Косметолог Наталья Рябинова: в чем разница между эстетическим и медицинским трихологом

Росгвардейцы из Чеченской Республики стали победителями и призерами чемпионата Северо-Кавказского округа Росгвардии по комплексному единоборству

Вот билет на контент, на эксплойт билетов нет


В Подмосковье состоялась жеребьевка Кубка Александра Овечкина

Росгвардейцы из Чеченской Республики стали победителями и призерами чемпионата Северо-Кавказского округа Росгвардии по комплексному единоборству

«ЦСКА-Чемпион»: клуб в восьмой раз стал обладателем Суперкубка России

Франция предупредила о риске крупного конфликта в Европе к 2030 году


Мобильный интернет перестанут массово отключать в России

В Москве мужчина ограбил магазин на АЗС, угрожая пистолетом

КАМАЗ-4280 начал тестовую эксплуатацию на маршруте в Подмосковье

Вскрытие без последствий – сервис «Спас-замков»


Путин отметил успех школьников на Международной химической олимпиаде.

"Пока Путин не заметит это безобразие": Пономарев резко высказался о легионерах в РПЛ

В РФ раскрыли замысел Трампа после его попыток шантажировать Путина

Посол Акира Муто: Япония будет приветствовать возможную встречу Путина и Трампа




Врач-офтальмолог Элина Санторо: как выбрать идеальные солнцезащитные очки

Косметолог Наталья Рябинова: в чем разница между эстетическим и медицинским трихологом

Травмированного на репетиции в цирке Москвы акробата выписали из больницы

Врач-трихолог Мадина Осман: как часто можно делать пересадку волос


ВСУ атаковали дронами женщин под Сумами: Били за надпись "Мы русские"


Раскрыто расписание Олимпийских игр 2028 года в Лос-Анджелесе.

Травмированного на репетиции в цирке Москвы акробата выписали из больницы

«Турбозавры» поучаствовали в Дне московского транспорта

Росгвардейцы из Чеченской Республики стали победителями и призерами чемпионата Северо-Кавказского округа Росгвардии по комплексному единоборству


«Нам в Минске надо учиться». Лукашенко похвалил Беглова за зимнюю уборку Петербурга

Лукашенко заявил о необходимости проверки чиновников за манипуляции с ценами.

Петербургская делегация провела переговоры с президентом Беларуси в Минске

Лукашенко встретился в Минске с делегацией Петербурга для обсуждения сотрудничества


Сергей Собянин: В Москве появятся три новых пешеходных моста к 2027 году

Сергей Собянин: роботы и электромашины на страже московских улиц


РЭО запускает акселератор для экологических центров на базе Плехановского университета

Позднякова: температура в Москве останется выше климатической нормы

РЭО проведет акселератор для экоцентров на базе Плехановского университета

Губернатор Андрей Бочаров принимает участие в образовательной программе Сбера


ЛДПР предложила установить минимальные закупочные цены на говядину и баранину

Апелляция: Экс-замминистра обороны Иванов и растрата 3,9 млрд рублей

На озере в Красноармейском округе пропала женщина

Москвичам сообщили о надвигающейся грозе с порывистым ветром.


Фестиваль духовых оркестров пройдет в трех городах Поморья по случаю Дня ВМФ

Алтайский край оказался в числе регионов-аутсайдеров по доступности вторичного жилья

Беспроводной сканер штрих-кодов SAOTRON P05i промышленного класса

В городе Барнауле стартовал третий этап смотра-конкурса на звание "Лучшее звено газодымозащитной службы" среди Главных управлений МЧС России


Симферополь частично остался без света утром 14 июля

Под Симферополем горят десятки гектаров леса

Крыму и еще 24 регионам России спишут долги на миллиарды рублей

Десятки улиц Симферополя остались без света 14 июля


(НЕ)СЕКРЕТНУЮ СЛУЖБУ США ПОДОЗРЕВАЮТ В ПОСТАНОВКЕ СЦЕНЫ ПОКУШЕНИЯ НА ТРАМПА. СЕНСАЦИЯ! Новости. В.В. Путин, Дональд Трамп. Россия, США, Европа могут улучшить отношения и здоровье общества!

Эквадор передаст России гражданина, похитившего миллионы из Социального фонда

Москвичам сообщили о надвигающейся грозе с порывистым ветром.

Раскрыто расписание Олимпийских игр 2028 года в Лос-Анджелесе.














СМИ24.net — правдивые новости, непрерывно 24/7 на русском языке с ежеминутным обновлением *