How to show the number of views on a page

Asked

Viewed 224 times

1

I own the page www.neilgaiman.com.br, which was developed with Wordpress. I wonder if there is the possibility to show the user, the amount of views that the page he is, has.

I ask here because I do not want to depend on plugin. If possible, something that takes the data directly from Google Analytics.

  • 1

    I think what you want is in DOC

  • Thank you. It sounded a little complicated for me, hehe. I think a plugin will be the most ideal.

  • I have never implemented anything of the kind. wp must have some easy installation plugin, even if Voce do not want to use it, can serve to study the code.

  • A plugin that does what you want will not sacrifice at all the performance of your project, no more than other plugins that may be really unnecessary.

  • 1
  • I will have to read more carefully the link you passed @brasofilo. But, I am choosing not to use plugins, not to be dependent on third parties. In count, that several invasions on sites with Wordpress, happen through plugins.

  • 2

    Okay, but your question could be a little more specific, because I’m seeing two goals in it: 1) Amount of views, you already use GA, are you looking for something else? 2) How to integrate this count in the frontend, which is your original question, but without knowing the 1) it seems to me "too wide".

  • 1

    Either you use a plugin, or you develop code for it. I think totally invalidates this question.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.