Widget : "Simple Aggregate" Documentation

Simple Aggregate Documentation

 

For a Page with List of Agents

For a page, like an agent list, where many agents might be displayed at once, you can use this format below.  The .js file needs to only be included once after the <div>’s.  The widget id should stay the same and the username will be dynamic.

Format:

<div id='TestimonialTree_Widget_{widget id}_{username of user #1}'></div>

<div id='TestimonialTree_Widget_{widget id}_{username of user #2}'></div>

<script src='https://www.testimonialtree.com/widgets/?widgetid={widgetID}' type='text/javascript'></script>

<script type="text/javascript">

Example:

<div id='TestimonialTree_Widget_432_crownerealty_2264'></div>

<div id='TestimonialTree_Widget_432_crownerealty.com_2265'></div>

<script src='https://www.testimonialtree.com/widgets/?widgetid=432' type='text/javascript'></script>

<script type="text/javascript">

  • *note the .js includes should be on one line, no line breaks

For a Single User/Widget on Page

This widget code would be used on a user profile page or a page with one widget (used as a template).

Format:

<div id='TestimonialTree_Widget_{widget id}'></div>

<script src='https://www.testimonialtree.com/widgets/?widgetid={widget id}&username={username}' type='text/javascript'></script>

Example:

<div id='TestimonialTree_Widget_432'></div>

<script src='https://www.testimonialtree.com/widgets/?widgetid=432&username=crownerealty_2265' type='text/javascript'></script>

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk