Adding metadata to conversions

Note: This is an advanced feature - we highly advise you get a developer to help implement this in your code.

If you want to store additional data alongside a conversion, e.g. a lead’s name and email, you can do so by adding a meta object within the options object in the conversion code:

  <script src="//" type="text/javascript" async></script>
  <script type="text/javascript">

    tap('create', 'YOUR ACCOUNT ID');

    var metaData = {
        email: "",
        foo: "bar",

    tap('conversion', 'UNIQUE CONVERSION ID', CONVERSION AMOUNT, {meta_data: metaData});

The following limitations apply to meta data:

  • Maximum key length: 64
  • Maximum value length: 255
  • Maximum number of properties: 10
  • Illegal characters:" : { } ] \ ' / &