Announcement

Collapse
No announcement yet.

Google Analytics Full Functionality

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Thanks, Brandon! That's great info to have.

    Actually, I ended up taking this approach and it works just fine:
    Code:
    <script type="text/javascript">
    _uacct = "UA-XXXXXX-1";
    urchinTracker(%IF(g.Screen EQ 'OINF')%"/oinf.html"%IFEND%%IF(g.Screen EQ 'OSEL')%"/osel.html"%IFEND%%IF(g.Screen EQ 'OPAY')%"/opay.html"%IFEND%%IF(g.Screen EQ 'INVC')%"/invc.html"%IFEND%);
    </script>
    Cheers,
    Marv

    Comment


      #32
      I'm not sure why you guys keep doing all of these if screen statements. Its much faster and easier to use
      urchinTracker('/funnel_goal/%VAR(g.Screen)%.html');

      Just my $.02 though.

      Comment


        #33
        I'm not sure why you guys keep doing all of these if screen statements. Its much faster and easier to use
        urchinTracker('/funnel_goal/%VAR(g.Screen)%.html');
        Because my -- completely uninformed -- fear is that the normal Google Analytics tracking will be messed up if there's always a parameter for urchinTracker.

        In other words, standard tracking code is:
        Code:
        <script type="text/javascript">
        _uacct = "UA-XXXXXX-1";
        urchinTracker();
        </script>
        Is there any problem with always having something assigned to urchinTracker -- even if it's not being called by a funnel or something else? Will it skew the normal tracking in any way?

        If not, I'm always up for the easy way out. ;-)

        Cheers,

        Marv

        Comment


          #34
          The pages will show up as /funnel_goal/XXX.html instead of how they are showing up now. I don't think it will mess up your stats in any way, except maybe your legacy data will be misrepresented now.

          Comment


            #35
            The pages will show up as /funnel_goal/XXX.html instead of how they are showing up now. I don't think it will mess up your stats in any way, except maybe your legacy data will be misrepresented now.
            It just occurred to me: Wouldn't that mess up your product and category page tracking? For example, would all product pages be tracked as /funnel_goal/PROD.html?

            Cheers,

            Marv

            Comment


              #36
              Yeah, it does. It hides all of our products... I'm glad you caught that (surprised my marketing guy didn't......). Unfortunately our OUI is all messed up (3rd party customized our storefront), so I can't use conditionals in body onload tag.

              Looks like I'm SOL on those numbers for now.

              Comment


                #37
                I just converted OUI to MivaScript (my first time :D)... its hardcoded in there like the rest of our layout has to be -- seems to be working again.

                Thanks for pointing that out marvster.

                Comment


                  #38
                  Originally posted by Brandon MUS
                  I'm not sure why you guys keep doing all of these if screen statements. Its much faster and easier to use
                  urchinTracker('/funnel_goal/%VAR(g.Screen)%.html');
                  Another reason to use the IF statements, if you look back at the post I did on page 3, is that g.Screen can be set to "INVC" even on the "OPAY" page if there is a problem with the payment fields - such as when the credit card is declined. In this case, you need to also check g.Data_Entry_Error to determine if you're actually on the INVC or OPAY screen.
                  Susan Petracco
                  NetBlazon

                  1.866.400.2444

                  _____________________________________________

                  Like us on Facebook

                  Comment


                    #39
                    Originally posted by Brandon MUS
                    Yeah, it does. It hides all of our products... I'm glad you caught that (surprised my marketing guy didn't......). Unfortunately our OUI is all messed up (3rd party customized our storefront), so I can't use conditionals in body onload tag.
                    Looking back on my old stats today, I saw that it WAS in fact tracking my product pages. Yesterday when I said it hides all of our products, I simply didn't see any 1 product on the top 10 pages when I looking at my "top content". I looked deeper today and saw that it was tracking the content as both /funnel_goal/PROD.html and as the specific product page that they requested. So this means that if you use a tracker('/XXX.html'), then you can get duplicate figures.

                    Regardless of how it was working though, I do think that netblazon has a good point about the possibility of misleading figures if the credit card is declined or if they filled in some invalid info. I do agree that the conditionals are the better way to go -- just wanted to update everyone on my findings.

                    Comment


                      #40
                      Re: Google Analytics Full Functionality

                      Hey Guys, this has been a great thread. It's helped a lot.

                      Sorry to stir up an old thread like this but has anyone had trouble with pulling %order_ship_city%, %order_ship_state%, %order_ship_cntry% into the utmform? Everything else is being pulled in correctly but with those three I only get those exact strings.

                      Thanks!

                      Comment


                        #41
                        Re: Google Analytics Full Functionality

                        This question is regarding the coding in page one in the head tag insert if you preload images using onload would this come after or before the call of the images

                        ex.
                        Code:
                        %OUI% onload="preloadImgs(/*url*/'Buttons/button37.jpg', /*url*/'Buttons/button38.jpg',  /*url*/'Buttons/button3D.jpg')"
                        %IF(g.screen EQ 'INVC' and (NOT g.Data_Entry_Error))%
                        onload="javascript:__utmSetTrans()"
                        %IFEND%
                        or would it be:

                        Code:
                        %OUI%
                        %IF(g.screen EQ 'INVC' and (NOT g.Data_Entry_Error))%
                        onload="javascript:__utmSetTrans()"
                        %IFEND%
                        onload="preloadImgs(/*url*/'Buttons/button37.jpg', /*url*/'Buttons/button38.jpg',  /*url*/'Buttons/button3D.jpg')"

                        Comment


                          #42
                          Re: Google Analytics Full Functionality

                          There should only be 1 onload attribute of the body tag:
                          Code:
                          onload="javascript:%OUI%
                          %IF(g.screen EQ 'INVC' and (NOT g.Data_Entry_Error))%
                          __utmSetTrans();
                          %IFEND%preloadImgs(/*url*/'Buttons/button37.jpg', /*url*/'Buttons/button38.jpg',  /*url*/'Buttons/button3D.jpg');"
                          Give that a shot. (notice the semi-colons)

                          Comment


                            #43
                            Re: Google Analytics Full Functionality

                            Why would I put
                            onload="javascript:%OUI%
                            when I currently do not have the word javascript there. Nor does this
                            BodyTag Insert:
                            %OUI%

                            %IF(g.screen EQ 'INVC' and (NOT g.Data_Entry_Error))%
                            onload="javascript:__utmSetTrans()"
                            %IFEND%
                            suggest that I insert the word javascript for this to work?

                            Comment


                              #44
                              Re: Google Analytics Full Functionality

                              Hi Guys,

                              I am a bit basic when it comes to the finer details of using Miva. IS there anyone who can supply a basic guide of how to incorporate the conversion goal function in Google Analytics into Merchant 4. I have setup Google Analytics as per instructions, but have no idea where to paste the code required in Miva for it to work. Please help!

                              Thanks
                              Faris

                              Comment


                                #45
                                Re: Google Analytics Full Functionality

                                Originally posted by fazland
                                Hi Guys,

                                I am a bit basic when it comes to the finer details of using Miva. IS there anyone who can supply a basic guide of how to incorporate the conversion goal function in Google Analytics into Merchant 4. I have setup Google Analytics as per instructions, but have no idea where to paste the code required in Miva for it to work. Please help!

                                Thanks
                                Faris
                                I find this so confusing. Can someone post in "Run Jane Run, See Spot Jump" guide to installing GA with all its features on MM4.24 using Urchin?
                                Thank you, Bill Davis

                                Comment

                                Working...
                                X