Google Analytics PHP

dkamar2's Avatar

dkamar2

25 Oct, 2014 05:14 PM

Hi guys,

So I've downloaded the GA PHP from Github but have no clue where to upload it on my FTP, any idea?

https://github.com/thomasbachem/php-ga

  1. Support Staff 1 Posted by Mikael on 09 Dec, 2017 09:29 PM

    Mikael's Avatar

    It depends what you want to do with it.

    If you are creating a plugin, then upload it your plugin folder. You can also upload it to your theme.

    If you simply want Google Analytics on your website, that is not the library you need. You just need the Javascript snippet from GA, copy and paste it into the <head></head> of your theme.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac