Home / Companies / Google Cloud / Blog / Post Details
Content Deep Dive

Google Apps Script: Tracking add-on usage with Google Analytics

Blog post from Google Cloud

Post Details
Company
Date Published
Author
-
Word Count
867
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

Romain Vialard, a Google Developer Expert, discusses how developers can utilize Google Analytics to track and enhance the performance of their Google Sheets, Docs, and Forms add-ons. He highlights the limitations of using cookies in Google Apps Script due to their non-persistent nature and suggests using localStorage to maintain more consistent user metrics. Vialard also recommends employing the Google Analytics Measurement Protocol to track user interactions when add-ons run via triggers without a dialog or sidebar. For more accurate user tracking, he advises using the User ID feature in Google Analytics, which is unique to each authenticated user, instead of relying solely on Client IDs. Additionally, the potential of custom dimensions and metrics for gaining deeper insights into user behavior is emphasized, as demonstrated by the Yet Another Mail Merge add-on, which adapted its email sending limits and introduced a referral program based on analytics insights, resulting in increased revenue and user growth.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.