<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hey Katie (& list),<br></div>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. <br><br>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.<br><br>I propose to log something like the following snippet as part of the metrics that are sent to the /metrics endpoint:<br></div><br>...<br></div>marketing: [<br>  {<br></div>    id: 'android-sync',<br></div>    url: '<a href="https://play.google.com/somebiglongscarylink">https://play.google.com/somebiglongscarylink</a>',<br></div>    clicked: false<br>  },<br>  {<br></div>     id: 'hello',<br></div>     url: '<a href="https://hello.firefox.com">https://hello.firefox.com</a>',<br></div>     clicked: true<br>  }<br><div><div><div><div><div><div><div>],<br>...<br><div><div><div><br></div><div>This would give us the ability to log an arbitrary number of marketing items, potentially across multiple screens.<br><br></div><div>What do you think?<br><br></div><div>Shane<br><br>--------------------<br></div><div><br>[1] - <a href="https://github.com/mozilla/fxa-content-server/blob/master/app/scripts/lib/metrics.js#L40-L42">https://github.com/mozilla/fxa-content-server/blob/master/app/scripts/lib/metrics.js#L40-L42</a><br>[2] - <a href="https://github.com/mozilla/fxa-content-server/issues/2338">https://github.com/mozilla/fxa-content-server/issues/2338</a><br></div></div></div></div></div></div></div></div></div></div></div>