[Support request] Google Analytics and Elements

Home Forums Support Google Analytics and Elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #937662
    sportsfan74

    Hi Support

    If you add the Google Analytics code using GP Elements (using add hook function to show in wphead) and it says the following “Unable to execute PHP as DISALLOW_FILE_EDIT is defined.”

    Does that mean it is not going to track my website with google analytics?

    Is there any other option that one can use to add Google Analytics tracking code in GP elements without getting this message “Unable to execute PHP as DISALLOW_FILE_EDIT is defined.” or should I just use a plugin for this?

    #937747
    David
    Staff
    Customer Support

    Hi there,

    the GA code is javascript so you shouldn’t need to check the PHP requirement. Add it and then inspect the front end of the Site using right click inspect, then look at the DOM ( HTML ) in the <head> tags and you will be able to ( or not ) see the GA script

    #937777
    sportsfan74

    I see script near the top and middle relating to GA script, so will wait for now and let you know by tomorrow, how it is going? thanks David for that top info.

    #937782
    David
    Staff
    Customer Support

    Yes, may take a little while for google to ‘do something’.
    Glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.