
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
A Google Analytics plugin for pop, a static site generator for node.js
Install from npm
npm install -g pop-ga
Then add it as a dependency to your pop site. In your _config.json file add
, "require": ["pop-ga"]
Your _config.json file might look something like this
{ "url": "http://yoursite.com"
, "title": "Your Site"
, "permalink": "/:title"
, "perPage": 10
, "exclude": ["\\.swp"]
, "require": ["pop-ga"]
, "autoGenerate": [{"feed": "feed.xml", "rss": "feed.rss"}] }
To use the plugin you need the Web Property ID for your site from Google Analytics. You get this from the Google Analytics web console. I'm assuming you know the score.
Then add the following code to your jade template
!{ga('UA-345678-90')}
Your template might look something like
!!! 5
html(lang="en")
head
title #{post.title}
link(href="/stylesheets/screen.css", media="screen", rel="stylesheet", type="text/css")
link(rel="alternate", type="application/rss+xml", title="RSS 2.0", href="/feed.rss")
link(rel="alternate", type="application/atom+xml", title="Atom Feed", href="/feed.xml")
!{ga('UA-345678-90')}
body
The plugin will generate the default Google Analytics code for you.
FAQs
Provides a Google Analytics helper to Pop sites.
The npm package pop-ga receives a total of 0 weekly downloads. As such, pop-ga popularity was classified as not popular.
We found that pop-ga 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.