Hey Katie (& list),
I am helping Jon Petto from the growth team integrate a new verification
page snippet into the content server. Unlike our previous marketing
snippet, the new snippet has two links instead of just one. I'd like to log
metrics on each of these links. Our current schema [1] only allows a single
marketing link to be logged, which is unfortunate.
I want to change the format [2]. Are the `marketingLink`, `marketingType`,
and `marketingClicked` fields consumed by anybody? If not, this will be
easy. If so, it bit trickier.
I propose to log something like the following snippet as part of the
metrics that are sent to the /metrics endpoint:
...
marketing: [
{
id: 'android-sync',
url: 'https://play.google.com/somebiglongscarylink',
clicked: false
},
{
id: 'hello',
url: 'https://hello.firefox.com',
clicked: true
}
],
...
This would give us the ability to log an arbitrary number of marketing
items, potentially across multiple screens.
What do you think?
Shane
--------------------
[1] -
https://github.com/mozilla/fxa-content-server/blob/master/app/scripts/lib/metrics.js#L40-L42
[2] - https://github.com/mozilla/fxa-content-server/issues/2338
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct