Home / Meters / Christmas Tree

Christmas Tree


To add the meter to a site follow the steps listed below:



Adding the meter:

  1. Login to the administrator system at: https://portal.clickandpledge.com
  2. Click on Account Info / Profile / API and activate the reporting services (RaaS).
  3. Copy the Account ID & Report Key to be used in the meter code

The Code:

<div id="ChristmasTree" style="width: 150; height: 250; position: static;"></div>
   <script src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" language="javascript"></script>
    <script type="text/javascript">
        swfobject.embedSWF("https://clickandpledge.s3.amazonaws.com/clickits/meters/013/r001/main.swf?destination=https://co.clickandpledge.com/default.aspx?wid=30199&message=and bring joy to the world&target=50&accountID=14521&key=1dfbb59556f945618867&tracker=jane","ChristmasTree", "150", "250", "10");
    </script>

Arguments:

  • destination: The link to the checkout page or the payment page. Clicking on the meter will open the link.
  • message: The text appearing at the top of the meter
  • target: The total money to be raised. The target sets the meter's maximum value
  • accountID: The account number as copied from the administrative system
  • key: The report key as copied from the administrative system
  • tracker: The donations made with the tracker will be shown in the meter. The tracker is a text (e.g. jane, campaign2010, etc.) that will be recorded with each transaction. The meter will retrieve the total for the tracker. The donation may also be downloaded in the administrative system for each tracker used.




     RSS of this page