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

Cannot pull analytics even after authenticating with Google. #64

Open
ExceptionalHandler opened this issue Nov 23, 2024 · 0 comments
Open

Comments

@ExceptionalHandler
Copy link

We followed steps for google analytics and then adding analytics profile to analytify, we still get the error

2024-11-23T17:04:52+00:00 WARNING Error querying sc-domain:enablenet.info: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}
2024-11-23T17:04:52+00:00 WARNING Error querying https://enablenet.info: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}
2024-11-23T17:04:52+00:00 WARNING Error querying https://www.enablenet.info: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}
2024-11-23T17:04:52+00:00 WARNING Error querying http://enablenet.info: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}
2024-11-23T17:04:52+00:00 WARNING Error querying http://www.enablenet.info: {
  "error": "invalid_grant",
  "error_description": "Bad Request"
}

This is the analytify config:

{
    "wp-analytify-profile": {
        "install_ga_code": "on",
        "exclude_users_tracking": [
            "administrator",
            "editor",
            "author"
        ]
    },
    "wp-analytify-admin": {
        "show_analytics_roles_back_end": [
            "administrator",
            "editor"
        ],
        "show_analytics_post_types_back_end": [
            "post",
            "page"
        ],
        "show_panels_back_end": [
            "show-overall-dashboard",
            "show-social-dashboard",
            "show-geographic-dashboard",
            "show-system-stats",
            "show-keywords-dashboard",
            "show-referrer-dashboard"
        ],
        "enable_back_end": "on"
    },
    "wp-analytify-advanced": {
        "ga4_web_data_stream": "G-CP8F4ZG9HJ",
        "measurement_protocol_secret": "<redacted>",
        "user_advanced_keys": "off",
        "client_id": "",
        "client_secret": "",
        "redirect_uri": "",
        "locally_host_analytics": "off",
        "anonymize_ip": "off",
        "force_ssl": "off",
        "track_user_id": "off",
        "depth_percentage": "off",
        "demographic_interest_tracking": "off",
        "404_page_track": "off",
        "javascript_error_track": "off",
        "ajax_error_track": "off",
        "linker_cross_domain_tracking": "off",
        "linked_domain": "",
        "uninstall_analytify_settings": "off",
        "custom_js_code": "",
        "custom_css_code": ""
    },
    "wp-analytify-email": ""
}
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