
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
ember-cli-updated-google-tag-analytics
Advanced tools
Newest Ember CLI addon that adds the Google Analytics tracking code
Plugin for ember-cli that injects Google Analytics tracking code into HTML content.
This plugin requires ember-cli version >= 0.0.47
To install simply run:
npm install --save-dev ember-cli-updated-google-tag-analytics
This plugin is intended to add Google Analytics tracking as an inline script. The ember-cli-content-security-policy addon that is included with ember-cli will prevent the execution of inline scripts.
A future version of this plugin is planned to add the tracking code as an additional JS file (much like ember-cli-inject-live-reload), but until then this plugin will not function out of the box with CSP installed.
Once configured, the Google Analytics tracking code will be injected into your index.html file. All you have to do is setup your Google tagmanager Enviroment: https://tagmanager.google.com/
This plugin uses the Ember CLI project's configuration as defined in config/environment.js.
The tracking code will appear only if ENV.googleAnalytics.webPropertyId and ENV.googleAnalytics.tagPropertyId is defined. For instance, to enable the tracking code in only the production environment:
if (environment === 'production') {
googleAnalytics: {
webPropertyId: 'UA-xxxxxxxx-x',
tagPropertyId: 'GTM-xxxxxxx',
}
}
gtag.js and analytics.js
webPropertyId (Default: null): the Web Property ID for the Google Web Property you wish to track.tagPropertyId (Default: null): The Google Tracker for Google Tag Managment.git clone git@github.com:pgrippi/ember-cli-google-analytics.gitnpm installember testember test --serverember buildFor more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
Newest Ember CLI addon that adds the Google Analytics tracking code
We found that ember-cli-updated-google-tag-analytics 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.