Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: google analytics for scene (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: rot1024 <aayhrot@gmail.com>
  • Loading branch information
HideBa and rot1024 committed Jun 4, 2021
1 parent f7866c0 commit b442490
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
13 changes: 13 additions & 0 deletions pkg/builtin/manifest.yml
Expand Up @@ -139,6 +139,19 @@ extensions:
description: "Set saturation of the fog. Min: -1 Max: 1"
min: -1
max: 1
- id: googleAnalytics
title: Google Analytics
description: Set your Google Analytics tracking ID and analyze how your published project is being viewed.
fields:
- id: enableGA
type: bool
title: Enable
defaultValue: false
description: Enable Google Analytics
- id: trackingId
type: string
title: Tracking ID
description: Paste your Google Analytics tracking ID here. This will be embedded in your published project.
- id: infobox
title: Infobox
visualizer: cesium
Expand Down
2 changes: 1 addition & 1 deletion pkg/builtin/manifest_gen.go

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions pkg/builtin/manifest_ja.yml
Expand Up @@ -76,6 +76,16 @@ extensions:
title: 色相
surturation_shift:
title: 彩度
googleAnalytics:
title: Google Analytics
description: Google Analyticsを有効にすることで、公開ページがどのように閲覧されているかを分析することが可能です。
fields:
enableGA:
title: 有効
description: Google Analyticsを有効にします。
trackingCode:
title: トラッキングID
description: ここにグーグルアナリティクスのトラッキングIDを貼り付けることで、公開プロジェクトにこのコードが埋め込まれます。
infobox:
title: インフォボックス
description: 閲覧者が地図上のレイヤーをクリックした時に表示されるボックスです。テキストや画像、動画などのコンテンツを表示することができます。
Expand Down
2 changes: 1 addition & 1 deletion pkg/builtin/manifest_ja_gen.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/plugin/manifest/schema_gen.go
@@ -1,6 +1,6 @@
package manifest

// generated by "/var/folders/qf/bs41lxts47s6y_d62bj5zgym0000gn/T/go-build906758225/b001/exe/schematyper -o schema_gen.go --package manifest ../../../plugin_manifest_schema.json" -- DO NOT EDIT
// generated by "/var/folders/lz/nhqy382n28g31wb4f_40gbmc0000gp/T/go-build3669425617/b001/exe/schematyper -o schema_gen.go --package manifest ../../../plugin_manifest_schema.json" -- DO NOT EDIT

type Choice struct {
Icon string `json:"icon,omitempty"`
Expand Down

0 comments on commit b442490

Please sign in to comment.