Copy as Markdown
Other Tools
// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
#ifndef mozilla_GleanPocketMetrics_h
#define mozilla_GleanPocketMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace pocket_button {
/**
* generated from pocket.button.event_action
* The action that was taken, like "click" or... actually, it might only ever be "click".
*/
constexpr impl::StringMetric event_action(635);
/**
* generated from pocket.button.event_position
* 0-based index of the item on which the action was performed. Not always provided.
*/
constexpr impl::QuantityMetric event_position(636);
/**
* generated from pocket.button.event_source
* The source of the taken action, like "save_button", "home_button", "on_save_recs", or the like.
*/
constexpr impl::StringMetric event_source(637);
/**
* generated from pocket.button.impression_id
* A UUID representing this profile. This isn't client_id, nor can it be used to link to a client_id. This also means it should never be sent in a ping with a client_id.
*/
constexpr impl::UuidMetric impression_id(638);
/**
* generated from pocket.button.model
* A string that identifies the ML model (if any) used to generate on-save recommendations. Like "doc2vec-incremental-best-article-pubspread".
*/
constexpr impl::StringMetric model(639);
/**
* generated from pocket.button.pocket_logged_in_status
* Whether there was a logged-in Pocket account in the Pocket-Firefox integration at the point in time this action occurred.
*/
constexpr impl::BooleanMetric pocket_logged_in_status(640);
/**
* generated from pocket.button.profile_creation_date
* The days since Jan 1, 1970 that the oldest file in the profile dir was modified. Or created. Or just the day and time of the first thing to ask for the profile age called in. Or something earlier or later than that.
* You may not want to use this.
*/
constexpr impl::QuantityMetric profile_creation_date(641);
}
} // namespace mozilla::glean
#endif // mozilla_GleanPocketMetrics_h