Analytics Error

This topic contains 6 replies, has 2 voices, and was last updated by  hacaro 8 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #45520

    hacaro
    Buyer
    Post count: 54

    Hi, we receive this error in analytics Sidebar can you help us to understand what goes wrong ?

    Thanks in advance
    Regards

    {“error”:{“errors”:[{“domain”:”global”,”reason”:”invalidParameter”,”message”:”Invalid value ‘103323666’. Values must match the following regular expression: ‘ga:[0-9]+'”,”locationType”:”parameter”,”location”:”ids”}],”code”:400,”message”:”Invalid value ‘103323666’. Values must match the following regular expression: ‘ga:[0-9]+'”}}

    #45523

    Guust
    Moderator
    Post count: 29970

    It seems you have enabled Analytics without setting it up:
    GD > general > Google analytics

    https://wpgeodirectory.com/docs/gd-core-plugin-google-analytics/

    #45524

    hacaro
    Buyer
    Post count: 54
    This reply has been marked as private.
    #45528

    Guust
    Moderator
    Post count: 29970

    Like it says in the documentation:

    Google Analytics “Profile ID” (example ga:12345678):
    Do NOT forget to add ga: in front of your profile ID !

    #45530

    hacaro
    Buyer
    Post count: 54

    Guust sorry, i’m really tired 🙁 i’m working from 16 hours sorry again.

    Now it works
    But sometimes I receive this (i’ve see that there is a fix for this on github right ? )

    {“error”:{“errors”:[{“domain”:”global”,”reason”:”badRequest”,”message”:”Sort key ga:sessions is not a dimension or metric in this query.”}],”code”:400,”message”:”Sort key ga:sessions is not a dimension or metric in this query.”}}

    #45531

    Guust
    Moderator
    Post count: 29970

    You can either apply the fix now or wait until the next update.
    Fairly common mistake, leaving the ga: off 🙂
    I’ll set this to resolved.

    #45532

    hacaro
    Buyer
    Post count: 54

    Ok Fixed, Now works fine !

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket