0

I am looking for some advice on installation of the Facebook Ad Conversion tracking that Facebook provide, but strangely, don't provide any documentation for.

Understandibly the code is basic and almost self-explanatory, but the line of code fb_param.value = '0.00'; says nothing about what the value should be. Considering it is tracking a conversion I would have imagined it should be the monetary value of the conversion (Order Total, for example) but every snippet of code I see copy-pasta'd around the net has this value as 0.00.

Is this correct? or should I be feeding through the conversion value?

<script type="text/javascript">
var fb_param = {};
fb_param.pixel_id = '6006337211872';
fb_param.value = '0.00';
(function(){
  var fpw = document.createElement('script');
  fpw.async = true;
  fpw.src = '//connect.facebook.net/en_US/fp.js';
  var ref = document.getElementsByTagName('script')[0];
  ref.parentNode.insertBefore(fpw, ref);
})();
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=6006337211872&amp;value=0" /></noscript>
crmpicco
  • 16,605
  • 26
  • 134
  • 210

1 Answers1

2

Yes, value is supposed to be the USD (or local currency equivalent, i guess) value of the conversion if you want that to be tracked:

https://developers.facebook.com/docs/reference/ads-api/offsite-pixels/ The documentation is a bit sparse but the value parameter is mentioned as:

You can specify how much a pixel fire is worth to you using the value field, which should be specified in cents and it defaults to 1 cent if you don't specify it.

Igy
  • 43,710
  • 8
  • 89
  • 115
  • Thanks, is this for the same API though? All the references are to `graph.facebook.com`, which is not where i'm pointing to. – crmpicco Mar 26 '13 at 09:53
  • 1
    If you're not using the API to create the pixel itself, it doesn't matter, it's the same system – Igy Mar 27 '13 at 20:38