Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Google Analytics for Developers
Search
thomasbachem
March 15, 2013
Programming
3.1k
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Google Analytics for Developers
Presented at
http://startupcampberlin.de/2013/
thomasbachem
March 15, 2013
More Decks by thomasbachem
See All by thomasbachem
CODE – Educating the Digital Pioneers of Tomorrow
thomasbachem
0
86
Other Decks in Programming
See All in Programming
The Rails Doctrine Decade
koic
2
180
Intent as Code
shoppingjaws
6
1.1k
Are APIs Still Relevant in the AI Era?
soyuka
0
280
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
510
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
370
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
370
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.8k
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
4
3.2k
AHC070解法紹介
eijirou
0
130
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.4k
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
The SEO Collaboration Effect
kristinabergwall1
1
570
Six Lessons from altMBA
skipperchong
29
4.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
300
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
30 Presentation Tips
portentint
PRO
1
400
It's Worth the Effort
3n
188
29k
Claude Code のすすめ
schroneko
67
230k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
530
Transcript
for
None
None
None
None
None
Analytics
Page Views
_trackPageview( path )
_trackPageview( "/ratgeber" )
None
Social Interactions
_trackSocial( network, socialAction, target, pagePath )
_trackSocial( "facebook", "like", "//fb.com/foo", document.URL )
None
None
Events
_trackEvent( category, action, label, value, nonInteraction )
_trackEvent( "Editor", "Theme.Select", "Elegant.Gray", null, false )
None
None
User Timings
_trackTiming( category, variable, time, label )
_trackTiming( "Editor", "Upload.Photo", 23.5, "JPG" )
None
None
Transactions
_addTrans( orderId, affiliation, total, tax, shipping, city, state, country )
_addTrans( "123456789", "xing", 2.99, 0.19 * 2.99, 0, "Köln", "NRW",
"de" )
_addItem( orderId, sku, name, category, price, quantity )
_addItem( "123456789", "pdf", "PDF", "Elegant.Gray", 2.99 * (1 / 1.19),
1 )
None
None
Goals & Funnels
None
_trackPageview( "/#modified" )
Custom Variables
_setCustomVar( slot, name, value, scope )
_setCustomVar( 1, "HasFacebook", true, 1 // Visitor )
Page Scope: → Segment traffic into page sections
Advanced Segments: → Analyze users that use Facebook
Advanced Segments
None
Error Tracking
_trackEvent( "Error", "Javascript", "Exception at…", null, true )
None
Advanced Segments: → Analyze users who experienced errors
Boss Exclusion
document.cookie = "Do-‐Not-‐Track=1, expires=2038"
php-ga code.google.com/p/php-ga/
None
use UnitedPrototype\GoogleAnalytics as Ga; $tracker = new Ga\Tracker('UA-‐12345678-‐9', 'example.com'); $visitor
= new Ga\Visitor(); $visitor-‐>setIpAddress($_SERVER['REMOTE_ADDR']); $visitor-‐>setUserAgent($_SERVER['HTTP_USER_AGENT']); $visitor-‐>setScreenResolution('1024x768'); $session = new Ga\Session(); $page = new Ga\Page('/page.html'); $page-‐>setTitle('My Page'); $tracker-‐>trackPageview($page, $session, $visitor);
Soon: Measurement Protocol developers.google.com/analytics/devguides/collection/protocol/v1/
Thanks for listening! fb.com/thomasbachem
[email protected]