Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Google Analytics 4 #56

Closed
awsaf49 opened this issue Jul 15, 2022 · 1 comment
Closed

Support for Google Analytics 4 #56

awsaf49 opened this issue Jul 15, 2022 · 1 comment

Comments

@awsaf49
Copy link

awsaf49 commented Jul 15, 2022

In Google Analytics 4 there is no tracking id (UA-XXXXXX-X) rather we have Measurement ID. When we use it inf _config.yml it doesn't track data. According to this issue (jekyll/minima#561), it's jekyll issue. Three is a mention of a solution here,

# _config.yml

- theme: minima
+ remote_theme: jekyll/minima

  plugins:
+ - jekyll-remote-theme

But if we try it we get a build error in assets/main.scss with the following msg,

      Layout source: theme
         Rendering: assets/main.scss
  Pre-Render Hooks: assets/main.scss
  Rendering Liquid: assets/main.scss
  Rendering Markup: assets/main.scss
github-pages 227 | Error:  File to import not found or unreadable: minima.
Load paths:
  /usr/local/bundle/gems/jekyll-theme-primer-0.6.0/_sass
  /tmp/jekyll-remote-theme-20220715-10-15anlab/_sass on line 1
      Remote Theme: Cleaning up /tmp/jekyll-remote-theme-20220715-10-15anlab
@awsaf49
Copy link
Author

awsaf49 commented Jul 15, 2022

@hamelsmu could you please have a look?

@awsaf49 awsaf49 closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant