PHPackages                             thiagotalma/yii2-hotjar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. thiagotalma/yii2-hotjar

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

thiagotalma/yii2-hotjar
=======================

Hotjar extension for the Yii2 framework

v0.1(9y ago)37.0k↓100%1BSD-3-ClausePHP

Since May 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/thiagotalma/yii2-hotjar)[ Packagist](https://packagist.org/packages/thiagotalma/yii2-hotjar)[ RSS](/packages/thiagotalma-yii2-hotjar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Hotjar for Yii2
===============

[](#hotjar-for-yii2)

This extension provides easy way to add Hotjar tracking in your Yii2 application.

Based on

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require thiagotalma/yii2-hotjar "*
```

or add

```
"thiagotalma/yii2-hotjar": "*"
```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

In your `/views/layouts/main.php` add

```
use talma\hotjar\widgets\HotjarTracking;
```

Then before `` add following code

```
