Fb:quantcast
From Facebook Developer Wiki
Description
Inserts appropriate Quantcast code into a canvas page.
Attributes
| Required | Name | Type | Description | |
| required | qacct | string | Your Quantcast account ID. | |
|---|---|---|---|---|
| optional | media | string | Specifies a media type. Can be one of widget,video,audio,music, game,advertisement, or other. (Default value is "widget".) | |
| labels | string | Specifies one or more hierarchical media labels. Multiple labels can be separated by commas and hierarchy is represented by periods. (Default value is "".) |
Examples
This code:
<fb:quantcast qacct="p-123456" />
Renders as:
<script type="text/javascript" src="http://edge.quantserve.com/quant.js" ></script>
<script type="text/javascript">
_qoptions= {
"qacct":"p-123456",
"source":"fb-app"
};
quantserve();
</script>
This code:
<fb:quantcast qacct="p-123456" media="widget" labels="game.card.poker" />
Renders as:
<script type="text/javascript" src="http://edge.quantserve.com/quant.js" ></script>
<script type="text/javascript">
_qoptions= {
"qacct":"p-123456",
"media":"widget",
"labels":"game.card.poker",
"source":"fb-app"
};
quantserve();
</script>
