Modules@robinpath/google-analytics
@robinpath/google-analytics
0.1.0PublicGoogle Analytics module for RobinPath.
@robinpath/google-analytics
Google Analytics module for RobinPath.
Why use this module?
The google-analytics module lets you:
- runReport
- runRealtimeReport
- batchRunReports
- runPivotReport
- getMetadata
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/google-analytics
Quick Start
1. Set up credentials
google-analytics.setCredentials "your-credentials"
2. runReport
google-analytics.runReport
Available Functions
| Function | Description |
|---|---|
google-analytics.setCredentials | Configure google-analytics credentials. |
google-analytics.runReport | runReport |
google-analytics.runRealtimeReport | runRealtimeReport |
google-analytics.batchRunReports | batchRunReports |
google-analytics.runPivotReport | runPivotReport |
google-analytics.getMetadata | getMetadata |
google-analytics.listProperties | listProperties |
google-analytics.getProperty | getProperty |
google-analytics.listAccounts | listAccounts |
google-analytics.getActiveUsers | getActiveUsers |
google-analytics.getPageViews | getPageViews |
google-analytics.getTopPages | getTopPages |
google-analytics.getTrafficSources | getTrafficSources |
google-analytics.getUserDemographics | getUserDemographics |
google-analytics.getConversions | getConversions |
Examples
runReport
google-analytics.runReport
runRealtimeReport
google-analytics.runRealtimeReport
batchRunReports
google-analytics.batchRunReports
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/google-analytics";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
google-analytics.setCredentials "your-credentials"
google-analytics.runReport
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/google-sheets— Google Sheets module for complementary functionality@robinpath/google-calendar— Google Calendar module for complementary functionality@robinpath/google-contacts— Google Contacts module for complementary functionality@robinpath/google-forms— Google Forms module for complementary functionality@robinpath/gmail— Gmail module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.0 | latest | yesterday |
Related Modules
productivity
0
@robinpath/airtable
v0.1.1robinpath
Airtable module for RobinPath.
0 downloads
...
productivity
0
@robinpath/asana
v0.1.1robinpath
Asana module for RobinPath.
0 downloads
...
productivity
0
@robinpath/basecamp
v0.1.1robinpath
Basecamp module for RobinPath.
0 downloads
...
productivity
0
@robinpath/clickup
v0.1.1robinpath
ClickUp module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/google-analytics Version0.1.0
LicenseMIT
Unpacked Size4.2 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

