Zend Framework integration

From ClickTale Wiki
Jump to: navigation, search
ClickTale Wiki
The instructions on this page are intended for self service and online accounts.
Enterprise customers should contact their account managers for integration support.

To incorporate the PHP integration module in a site using the Zend framework, you need to edit the index.php (the file which bootstraps the Zend controller and not your framework template).

In the beginning of the file, before any other text, add the PHP line to include the top part of the tracking code (as specified in step 7 of the module instructions), without the PHP tag:

require_once("[physical_path_to_clicktale_dir_here]\ClickTale\ClickTaleTop.php");

In the end of the file, after all other text, add the PHP line to include the bottom part of the tracking code (as specified in step 7 of the module instructions), without the PHP tag:

require_once("[physical_path_to_clicktale_dir_here]\ClickTale\ClickTaleBottom.php");
Personal tools