Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    Just turn on Google Analitics

    Apperance -> upPrev -> Links
    1. Track views – Track showing of upPrev box.
    2. Track clicks – Turn it on if you don’t use any other GA tracking plugin.

    Hi Marcin,

    I think there is some confusion about this. Most people already have GA installed without upPrev’s help. So in this case the box ‘I don’t have GA tracking on site’ should not be checked, correct?

    If I want to track just clicks then I would only check that box, correct? Where would I be able to track those clicks? Inside my GA account? Do I need to configure something inside my GA account to view those clicks? Again, GA is already installed ??
    Thanks so much

    Plugin Author Marcin Pietrzak

    (@iworks)

    So in this case the box ‘I don’t have GA tracking on site’ should not be checked, correct?

    Correct.

    If I want to track just clicks then I would only check that box, correct?

    Correct.

    Inside my GA account?

    Yes.
    Try this:
    Content -> Events -> Overview

    https://upprev.com/?attachment_id=266

    @anefarious1: Could You paste page address?

    Hi Marcin,

    My site is https://canigivemydog.com and upPrev is setup for each post.

    Earlier today, at the library, I clicked on a few upPrev links within my site but this evening I am still showing, “0 of your visits sent events” within my GA account (Content -> Events -> Overview). I even made sure to include today’s traffic (July 30th) in the parameters.

    I have your plugin configured as we discussed in the previous correspondence with you. Is there anything to set up within GA such as a Goal or something? Thanks!

    Plugin Author Marcin Pietrzak

    (@iworks)

    You have non-standard analitics code:

    <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-41212318-1','canigivemydog.com');ga('send','pageview');</script>

    And there is no _gaq object witch is used to trac events.

    Standard code look like this:

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-41212318-1']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>

    And have _gaq object.

    Debuger info from page:

    _gaq
    ReferenceError: _gaq is not defined
    get stack: function () { [native code] }
    message: "_gaq is not defined"
    set stack: function () { [native code] }
    __proto__: Error

    I went into my GA account. They are providing me with what they call ‘Universal Analytics’

    Any idea how to get the type of code with the _gaq feature? I’ve searched GA everywhere and cannot find the type of code you showed me.
    Thanks!

    Plugin Author Marcin Pietrzak

    (@iworks)

    Ok, this is a new (for me) GA code ??

    Diffrences:
    https://www.conversionhippo.com/google-analytics-universal-tracking-code-launched/

    I have to take a look on this.

    I’m glad I could bring it to your attention. Thanks for all you do for the WP community.

    Thread Starter hendri salim

    (@hendri-salim)

    Hi,

    Thanks for the replay. Problem solved. The things that i feel missing from the plugin is how you actually see the result in GA. Buat Marcin has clear this up, you should go to GA -> Content -> Event and you should see uprev with the pageview. This is exactly what i’m looking for.

    https://upprev.com/?attachment_id=266

    Thanks Marcin for your contribution!

    Hendri are you using ‘Universal’ Analytics?

    Thread Starter hendri salim

    (@hendri-salim)

    No i’m not. My GA was set up years ago before they introduce the different GA tracking code.

    I am having the exact same problem. I do have ‘Universal’ Analytics on my site, so do I need to switch back to the old GA code in order to see my events? Is there a simple fix by just adding some code to the new ‘Universal’ Analytics?

    Plugin Author Marcin Pietrzak

    (@iworks)

    I know this problem, give me a little time plz ??

    No problem. Thanks for the update.

    Hello Marcin,
    any news about the event tracking with Universal Analytics?
    Is there something we can do to add it by our way? Thanks

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘How to use the Google Analytics’ is closed to new replies.