Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "R Notebook" | |
output: html_notebook | |
--- | |
Wczytanie biblioteki googleAnalyticsR | |
```{r} | |
library(googleAnalyticsR) | |
``` | |
Autoryzacja dla wybranego konta z dostępem do Google Analytics 4 property |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Skrypt tworzy połączenie z API Universal Analytics | |
# Pobiera przykładowe dane i eksportuje je do pliku csv | |
# wczytaj bibliotekę GoogleAnalyticsR | |
library(googleAnalyticsR) | |
# autoryzacja, ustanowienie połączenia z kontem Google (wykorzystywanym do Google Analytics) | |
ga_auth(email="name.surname@someemail.com") | |
# pobranie listy kont wraz z danymi widoków |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wczytaj bibliotekę GoogleAnalyticsR | |
library(googleAnalyticsR) | |
# autoryzacja, ustanowienie połączenia z kontem Google (przypisanym do Google Analytics) | |
ga_auth(email="your_email@mail.com") | |
# zdefiniowanie numeru property | |
my_property_id <- 123456789 | |
# pobranie danych z GA i przypisanie do zmiennej data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>pyscript</title> | |
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> | |
<script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
<py-env> |
NewerOlder