
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
handlebars-helper-track
Advanced tools
{{track}} handlebars helper. Simplify the process of adding Google analytics tracking codes to your web projects.

{{track}} handlebars helper to simplify adding Google analytics tracking codes.
Visit Google's documentation and Google's event tracking guide to learn more.
Install the helper with: npm install handlebars-helper-track
If you use Assemble and Grunt, in your project's Gruntfile add handlebars-helper-track to the helpers option in the Assemble task or target options:
grunt.initConfig({
assemble: {
options: {
helpers: ['handlebars-helper-track', 'other/helpers/*.js']
},
files: {}
}
});
Note that the 'handlebars-helper-track' module must also be listed in devDependencies for Assemble to automatically resolve the helper.
Alternatively you can register the helper with Assemble by adding handlebars-helper-track to both the devDependencies and the keywords array in your project's package.json.
With that completed, you may now use the {{track}} helper in your templates:
{{track 'foo'}}
Please report any bugs or feature requests, thanks!
Type: String
Default: undefined
TODO
Find a bug? Have a feature request? Please create an Issue.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt, and build the documentation with grunt-readme.
Pull requests are also encouraged, and if you find this project useful please consider "starring" it to show your support! Thanks!
Here are some other Handlebars helpers you might be interested in from the Assemble core team.
<style>...</style> tags of the rendered HTML, but you may alternatively define a destination path using the dest hash option of the helper.Visit assemble.io/helpers for more information about using helpers with Assemble.
Jon Schlinkert
Brian Woodward
Copyright (c) 2013 Jon Schlinkert, contributors. Released under the MIT license
This file was generated by grunt-readme on Tuesday, December 3, 2013.
FAQs
{{track}} handlebars helper. Simplify the process of adding Google analytics tracking codes to your web projects.
We found that handlebars-helper-track demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.