https://github.com/webgriffe/trackjs-extension
{Track::js} Magento Extension
https://github.com/webgriffe/trackjs-extension
Last synced: 11 months ago
JSON representation
{Track::js} Magento Extension
- Host: GitHub
- URL: https://github.com/webgriffe/trackjs-extension
- Owner: webgriffe
- License: mit
- Created: 2015-12-16T11:44:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-16T14:02:09.000Z (over 10 years ago)
- Last Synced: 2025-08-05T04:49:23.445Z (11 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
{Track::js} Magento Extension
=============================
[{Track::js}](https://trackjs.com/) is a Javascript errors monitoring service, this Magento extension allows to enable it.
[](https://travis-ci.org/webgriffe/trackjs-extension)
Installation
------------
Install the extension via [Composer](https://getcomposer.org/):
{
"require": {
"webgriffe/trackjs-extension": "*"
}
...
"repositories": [
{
"type": "vcs",
"url": "the/url/of/this/repo"
}
],
...
}
Or install with [modman](https://github.com/colinmollenhour/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:
getChildHtml('webgriffe_trackjs_script'); ?>
_childrenHtmlCache['webgriffe_trackjs_script']); ?>
unsetChild('webgriffe_trackjs_script'); ?>
before every script in your `` block as stated in [Trackjs docs](https://my.trackjs.com/install?).
Credits
-------
Developed by [Webgriffe®](http://www.webgriffe.com).