docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.78k stars 5.68k forks source link

Seems Gtag not working #2111

Closed darhanger closed 1 year ago

darhanger commented 1 year ago

Bug Report

Seems new gtag not working.

Steps to reproduce

Instal Gtag https://github.com/darhanger/rotations/blob/main/docs/index.html#L42 - seems all correct.

What is the expected behaviour

With old ga script and tags all work.

Other relevant information

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

jimaek commented 1 year ago

There is no such file in the NPM package https://cdn.jsdelivr.net/npm/docsify/lib/plugins/

sy-records commented 1 year ago

We haven't released a new version yet. So you can't use //cdn.jsdelivr.net/npm/docsify/lib/plugins/gtag.min.js

you can try https://cdn.jsdelivr.net/gh/sy-records/docsify-nightly@master/lib/plugins/gtag.min.js