定制 jonnitto/smartlook 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jonnitto/smartlook

Composer 安装命令:

composer require jonnitto/smartlook

包简介

Integrate smartlook.com into your Neos CMS Site

README 文档

README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers GitHub followers Follow Jon on Twitter

Jonnitto.Smartlook

Add Smartlook to your Neos CMS site:

Installation

Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require jonnitto/smartlook --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package is now installed correctly.

Set id for recording

You need to set the id on your Settings.yaml file:

Jonnitto:
  Smartlook:
    Id: 123456789012345678901234567890

You get the id after registration on smartlook.com

Automatic handling of forms

The plugin add automaticly data-recording-ignore="mask" to every form tag. This behavior can be disabled via Settings.yaml:

Jonnitto:
  Smartlook:
    ignoreForms: false

Disable recording on a certain page

If you want to disable recording on a certain page you just set the variable track to false:

prototype(Page).head.smartlook.track = false;

or

renderPathPage.head.smartlook.track = false;

If this variable is set to false, smartlook('disable',true); is getting added to the tracking code. To disable the complete code on a page you can delete the complete tag like this: prototype(Page).head.smartlook >

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-11-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固