Skip to content

This is an example of using jsdom to add Piwik tracking code to an HTML file

Notifications You must be signed in to change notification settings

melo0187/jsdom_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdom adding Piwik tracking code to HTML

This is an example of using jsdom to add Piwik tracking code to an HTML file.

Running it

  1. Install depencies $ npm install

  2. Launch the app from the Terminal:

    $ node index.js

The file sample_tracking.html based on sample.html will be created (or overwritten). It contains the Piwik tracking code as first script tag inside the body element.

About

This is an example of using jsdom to add Piwik tracking code to an HTML file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published