Skip to content

Cannot receive data from Google Analytics #1561

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

Closed
pkuyijia opened this issue Sep 9, 2023 · 3 comments
Closed

Cannot receive data from Google Analytics #1561

pkuyijia opened this issue Sep 9, 2023 · 3 comments
Labels
question Issues that are just questions.

Comments

@pkuyijia
Copy link

pkuyijia commented Sep 9, 2023

Hi, I try to use Google analytics to receive data for my personal website with tracking number G-XXXXXXXXXX

below is the current code for me:
# Analytics
analytics:
  provider               :  "google-universal" # false (default), "google", "google-universal", "custom"
  google:
    tracking_id          : G-XXXXXXXXXX

Is there something need to be changed, or there's some error in using google analytics now?

@dhancodes
Copy link

Try using custom option as provider and copy the code snippet from google analytics to _includes/analytics-providers/custom.html

@bowei20222023
Copy link

I used that _includes/analytics-providers/custom.htm but it seems not working as well.

@rjzupkoii rjzupkoii added the question Issues that are just questions. label Feb 14, 2024
@rjzupkoii
Copy link
Collaborator

This might be fixed now, please see #1183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that are just questions.
Projects
None yet
Development

No branches or pull requests

4 participants