Implementing Your Comment Card

by Phil A.

UPDATE: MAY 5 2015

Please note that the content in this article focuses on a legacy version of the iPerceptions code, and as such may no longer be applicable.  To learn more about our Universal Code, please check out this section of our support forum, as well as this section for more information about implementing the Universal Code.

 

___________________

 

UPDATED: October 8 2013

 

After downloading the required files for your Comment Card, you are now ready to start implementing the Comment Card on your website.  

 

Update JavaScript library

The following two lines of the JavaScript library should be updated to point to the absolute path of where the images will be hosted. 

 _img_out = config.img_out || "IPLIB_icon.png",

_img_over = config.img_over || "IPLIB_icon_over.png”,

 

Host Images and JavaScript Library

The images and the icons should be hosted on a location that is controlled by you / your company (it can be where existing JavaScript and image files are contained).

 

Include Comment Card Library

  1. The JavaScript library to include is contained in the .zip file, inside the folder “iperceptions/[project ID]/[language]/”.
  2. You would need to place the script on whichever pages you would like to see the Comment Card present
  3. The script can be included using a JavaScript <script> tag, and the defer=”defer” attribute must be set on the tag.

 

The script should be placed inside the <body> tag, ideally as close to the closing </body> tag as possible.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk