diff --git a/book.json b/book.json deleted file mode 100644 index 582f724..0000000 --- a/book.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "structure": { - "readme": "ru/README.md" - }, - "plugins": ["yametrika"], - "pluginsConfig": { - "yametrika": { - "id": 96561750, - "webvisor": true, - "clickmap": true, - "trackLinks": true, - "accurateTrackBounce": true, - "trackHash": true, - "ut": "noindex" - } - } -} diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json deleted file mode 100644 index 65c6145..0000000 --- a/node_modules/.package-lock.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "instructions", - "lockfileVersion": 3, - "requires": true, - "packages": { - "node_modules/gitbook-plugin-yametrika": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/gitbook-plugin-yametrika/-/gitbook-plugin-yametrika-1.7.0.tgz", - "integrity": "sha512-mcjJDwVfS1HdY/wKJfGPlzOGqTePS9Bt873hqbSUzkQfm8jQPxSm2cwlFRoB4UJlVHR62wKmYAKH6e24NHltpw==", - "engines": { - "gitbook": ">=0.4.6" - } - } - } -} diff --git a/node_modules/gitbook-plugin-yametrika/README.md b/node_modules/gitbook-plugin-yametrika/README.md deleted file mode 100644 index ed34772..0000000 --- a/node_modules/gitbook-plugin-yametrika/README.md +++ /dev/null @@ -1,103 +0,0 @@ -# Yandex Metrika tracker - -This is a best tracker from Russia! Enjoy it! - -### Install - -``` -$ npm install gitbook-plugin-yametrika -``` - -#### How to use it? - -Create your tracker in [Ya.Metrika](http://metrika.yandex.ru). - -Next you can use it for your book with in the book.json: - -``` json -{ - "plugins": ["yametrika"] -} -``` - -You can set the Yandex Metrika tracking ID using the plugins configuration in the book.json: - -``` json -{ - "plugins": ["yametrika"], - "pluginsConfig": { - "yametrika": { - "number": 1111111 - } - } -} -``` - -You can customize the tracker object by passing additional configuration options. - -``` json -{ - "plugins": ["yametrika"], - "pluginsConfig": { - "yametrika": { - "number": 11111111, - "settings": { - "webvisor": true, - "clickmap": true, - "trackLinks": true, - "accurateTrackBounce": true, - "trackHash": true, - "ut": "noindex" - } - } - } -} -``` - -When using GitBook 3, the whole configuration settings should be set directly in the `"yametrika"` property, using the default configuration for the API: -``` json -{ - "plugins": ["yametrika"], - "pluginsConfig": { - "yametrika": { - "id": 11111111, - "webvisor": true, - "clickmap": true, - "trackLinks": true, - "accurateTrackBounce": true, - "trackHash": true, - "ut": "noindex" - } - } -} -``` - -Available for customize options: -- Webvisor (Вебвизор) -- Clickmap (Карта кликов) -- TrackLinks (Внешние ссылки, загрузки файлов и отчёт по кнопке «Поделиться») -- AccurateTrackBounce (Точный показатель отказов) -- TrackHash (Отслеживание хеша в адресной строке) -- Ut (Запрет на индексацию страниц) - -> ##### To use the option, you must specify it in the object "settings" with the status "true", if you do not want to use - just do not specify the object "settings" - -#### NOTICE - -default track options status: - -- Webvisor (Вебвизор) - **false** (!new) -- Clickmap (Карта кликов) - **false** (!new) -- TrackLinks (Внешние ссылки, загрузки файлов и отчёт по кнопке «Поделиться») - **false** (!new) -- AccurateTrackBounce (Точный показатель отказов) - **false** (!new) -- Informer (Информер) - **false** -- Ut (Запрет на индексацию страниц) - **false** -- Async (Асинхронный код) - **true** -- TrackHash (Отслеживание хеша в адресной строке) - **false** -- XML (Для xml сайтов) - **false** -- Params example - **false** -- OneRow (Счетчик в одну строку) - **true** - -#### TO DO - -Include choose the *Informer*, *Async*, *XML*, *Params example*, *OneRow* options in book.json. diff --git a/node_modules/gitbook-plugin-yametrika/_layouts/website/page.html b/node_modules/gitbook-plugin-yametrika/_layouts/website/page.html deleted file mode 100644 index 7de67d6..0000000 --- a/node_modules/gitbook-plugin-yametrika/_layouts/website/page.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends template.self %} - -{% block javascript %} - {{ super() }} - - -{% endblock %} \ No newline at end of file diff --git a/node_modules/gitbook-plugin-yametrika/book/plugin.js b/node_modules/gitbook-plugin-yametrika/book/plugin.js deleted file mode 100644 index 9bbeaf4..0000000 --- a/node_modules/gitbook-plugin-yametrika/book/plugin.js +++ /dev/null @@ -1,13 +0,0 @@ -require(["gitbook"], function(gitbook) { - gitbook.events.bind("start", function(e, config) { - config.yametrika = config.yametrika || {}; - }); - - gitbook.events.bind("page.change", function() { - - }); - - gitbook.events.bind("exercise.submit", function(e, data) { - - }); -}); diff --git a/node_modules/gitbook-plugin-yametrika/index.js b/node_modules/gitbook-plugin-yametrika/index.js deleted file mode 100644 index e5d021b..0000000 --- a/node_modules/gitbook-plugin-yametrika/index.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - book: { - assets: "./book", - js: [ - "plugin.js" - ] - } -}; diff --git a/node_modules/gitbook-plugin-yametrika/package.json b/node_modules/gitbook-plugin-yametrika/package.json deleted file mode 100644 index a63fa97..0000000 --- a/node_modules/gitbook-plugin-yametrika/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "gitbook-plugin-yametrika", - "description": "Yandex Metrika tracking for your gitbook", - "version": "1.7.0", - "main": "index.js", - "engines": { - "gitbook": ">=0.4.6" - }, - "homepage": "https://github.com/mikaspell/gitbook-plugin-yametrika", - "repository": { - "type": "git", - "url": "https://github.com/mikaspell/gitbook-plugin-yametrika.git" - }, - "keywords": [ - "gitbook", - "tracking", - "yandex", - "metrika" - ], - "author": "mikaspell", - "license": "MIT", - "gitbook": { - "properties": { - "id": { - "type": "number", - "description": "Yandex Metrika tracking ID", - "required": true - } - } - } -} diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 09b6b9e..0000000 --- a/package-lock.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "instructions", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "gitbook-plugin-yametrika": "^1.7.0" - } - }, - "node_modules/gitbook-plugin-yametrika": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/gitbook-plugin-yametrika/-/gitbook-plugin-yametrika-1.7.0.tgz", - "integrity": "sha512-mcjJDwVfS1HdY/wKJfGPlzOGqTePS9Bt873hqbSUzkQfm8jQPxSm2cwlFRoB4UJlVHR62wKmYAKH6e24NHltpw==", - "engines": { - "gitbook": ">=0.4.6" - } - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index 1d7b1a4..0000000 --- a/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "gitbook-plugin-yametrika": "^1.7.0" - } -}