Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions analytics-next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ function logEventParams() {
const analytics = getAnalytics();
logEvent(analytics, 'select_content', {
content_type: 'image',
content_id: 'P12453',
items: [{ name: 'Kittens' }]
content_id: 'P12453'
});
// [END analytics_log_event_params]
}
Expand Down
3 changes: 1 addition & 2 deletions snippets/analytics-next/index/analytics_log_event_params.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { getAnalytics, logEvent } from "firebase/analytics";
const analytics = getAnalytics();
logEvent(analytics, 'select_content', {
content_type: 'image',
content_id: 'P12453',
items: [{ name: 'Kittens' }]
content_id: 'P12453'
});
// [END analytics_log_event_params_modular]