webgriffe/trackjs-extension

{Track::js} Magento Extension

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:magento-module

1.0.0 2015-12-16 12:04 UTC

This package is auto-updated.

Last update: 2024-11-07 22:20:54 UTC


README

{Track::js} is a Javascript errors monitoring service, this Magento extension allows to enable it.

Build Status

Installation

Install the extension via Composer:

{
	"require": {
		"webgriffe/trackjs-extension": "*"
	}
	...
    "repositories": [
	    {
    	    "type": "vcs",
        	"url": "the/url/of/this/repo"
    	}
    ],
	...
}

Or install with modman:

$ modman clone the/url/of/this/repo

As usual clear Magento cache after installation.

Usage

Login into admin panel and go to System -> Configuration -> Advanced -> Developer. Under {Track::js} Javascript Error Monitoring set Enabled to Yes and set your token in the Token field then save the configuration.

Also you have to edit manually the page/html/head.phtml template file of your theme to have the Trackjs script before every script in the page. To do so put these lines in your head.phtml template:

<?php echo $this->getChildHtml('webgriffe_trackjs_script'); ?>
<?php unset($this->_childrenHtmlCache['webgriffe_trackjs_script']); ?>
<?php $this->unsetChild('webgriffe_trackjs_script'); ?>

before every script in your <head> block as stated in Trackjs docs.

Credits

Developed by Webgriffe®.