pages-themes / cayman

Cayman is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/cayman/
Creative Commons Zero v1.0 Universal
1.22k stars 3.19k forks source link

Action needed: Universal Analytics of Google Analytics are going to stop to collect data #161

Open qqiumax opened 2 years ago

qqiumax commented 2 years ago

Same as title, we need gtag.js than analytics.js of google analytics to stop the disaster as suddenly all of the data stops collecting.

YDX-2147483647 commented 2 years ago

Pull request #159 may fix that.

To use it in advance:

  1. Go to the fork repo.
  2. Copy _includes → head-custom-google-analytics.html.
  3. Paste it into the _includes/head-custom-google-analytics.html in your own repo. (Create a new one if it doesn't exist)

This overrides the head-custom-google-analytics.html in cayman.

Equivalent:

> mkdir _includes
> curl https://raw.githubusercontent.com/YinAoXiong/cayman/master/_includes/head-custom-google-analytics.html --output ./_includes/head-custom-google-analytics.html

(working directory: where the _config.yml is)

qqiumax commented 2 years ago

sry