4

I'm designing an interface that displays a table to users with marketing spend and conversions on that marketing spend.

The table is something like this:

<table>
  <tr>
    <th>Spend</th>
    <th>Conversions</th>
    <th>Cost per Conversion</th>
  </tr>
  <tr>
    <td>$45.92</td>
    <td>231</td>
    <td>$0.20</td>
  </tr>
  <tr>
    <td>$22.12</td>
    <td>0</td>
    <td>{{?}}</td>
  </tr>
</table>

The table is populated by JavaScript, which calculates the conversion rate dynamically.

When the JS runs into the third row, I end up with the string "Infinity" displaying for the conversion rate due to the divide by zero that happens (22.12/0)

What I'm wondering is, from a user experience perspective, what should I display there? These are users, not mathematicians, so using the Infinity symbol would confuse them and using 0 would portray the incorrect data.

Dave Long
  • 9,569
  • 14
  • 59
  • 89

3 Answers3

5

Because your users are business folks wanting to know their advertising conversion rate, and none is available since there were no conversions, I would suggest:

n/a

By the way, as I see it, you're not giving them conversion rate per se. You're giving them cost per conversion, which should then be displayed in dollars, not a percent sign. That is, your first row should be $0.20 instead of 20%.

Conversion rate is the number of people that converted (or took action) divided by the number of people that viewed the ad. That would indeed be a percentage.

Jonathan M
  • 17,145
  • 9
  • 58
  • 91
  • Yes sorry. I mean Cost per Conversion – Dave Long May 05 '14 at 20:49
  • The problem with using N/A is what it stands for. Technically, in cases where you are spending money but not converting, the cost per conversion is not applicable, but in the real world, it is very important. N/A drives the user to think, "Well it's not applicable, so I don't need to care." – Dave Long May 05 '14 at 20:51
  • I was meaning "not available", which is another oft-used meaning: http://en.wikipedia.org/wiki/N/a – Jonathan M May 06 '14 at 00:26
1

I end up with the string "Infinity" displaying for the conversion rate due to the divide by zero that happens (22.12/0)

What I'm wondering is, from a user experience perspective, what should I display there?

If the problem is that you have a nonsensical result because the number of conversions is zero, then alert the user to that fact.

Display "no conversions" and maybe distinguish it from the rest of the table by using a different style (or audible cue for screen readers).

If you don't want to change the layout of the table, then maybe an infinity symbol with a reference to a footnote like:

$12.34  0  ∞₁
  1. Cannot calculate rate because no conversions occurred.
Community
  • 1
  • 1
Mike Samuel
  • 118,113
  • 30
  • 216
  • 245
  • 2
    The footnote is a nice touch, but footnote numbers are usually superscripted¹, not subscripted². (¹ Even in layman's work. ² That's reserved for the ol' H₂O.) – Jongware May 05 '14 at 20:26
  • @Jongware, Your meta-footnote deserves a ⁺¹ – Mike Samuel May 05 '14 at 21:04
0

Maybe "not a number"? (NaN in programming).

nicael
  • 18,550
  • 13
  • 57
  • 90