Announcement

Collapse
No announcement yet.

Tracking with a URL pattern on INVC page

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

    Tracking with a URL pattern on INVC page

    Hi - I am trying to add conversion tracking for a new marketing campaign on the INVC page using a URL pattern match. I thought I would get a match with "INVC.html*" , but it is not showing conversions in my test. I am using Miva shortlinks, but I noticed on my test transaction that the INVC page URL does not show up as /INVC.html as expected, but shows a session id (i think). Any thoughts on this would be much appreciated.
    Highly caffeinated
    http://www.coffeehouseexpress.com

    #2
    Re: Tracking with a URL pattern on INVC page

    Are you using the old analytics code or the new Universal Analytics code? And are you using the built in Google Analytics Module?


    If you are using the old analytics code, Analytics will match the URL based off the trackPageview function call, which usually passes up a virtual page view of /INVC.html (if you have short links enabled)


    Try making it /INVC.html instead.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Tracking with a URL pattern on INVC page

      Hi Brennan - Thanks for your reply. I am using the new Universal Analytics with Miva's GA Module, and that works fine. This is not for tracking with Google, but for tracking conversions with Adroll, a remarketing company. The only option I have for conversion tracking in the Adroll admin is to do a URL pattern match. I don't think Adroll will see the virtual page URL.
      Highly caffeinated
      http://www.coffeehouseexpress.com

      Comment


        #4
        Re: Tracking with a URL pattern on INVC page

        The new universal analytics code does not send a virtual page view by default which is why it is not showing in your goal funnel. You will need to add it manually.


        Try chaging this:
        ga('send', 'pageview', );

        To this:
        ga('send', 'pageview', '/&mvte:global:page;.html');
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Re: Tracking with a URL pattern on INVC page

          What I have now is :

          ga('send', 'pageview'&mvt:ga_tracking:url_override;);

          is that wrong?
          Highly caffeinated
          http://www.coffeehouseexpress.com

          Comment


            #6
            Re: Tracking with a URL pattern on INVC page

            That is correct, that works even better.

            If you view the page source on any checkout pages then you will see

            ga('send', 'pageview', '\x4f\x43\x53\x54\x2e\x68\x74\x6d\x6c');

            That is base64 encoded. So it is sending:

            ga('send', 'pageview', 'OCST.html');

            Which is correct. Search your analytics for that page. It should have tracking stats. Perhaps there is an issue with your pattern match.
            Brennan Heyde
            VP Product
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment


              #7
              Re: Tracking with a URL pattern on INVC page

              My problem is not with Google Analytics though, I don't know if you saw that part of my post? :) I wanted to track these conversion in the Adroll admin.
              Last edited by Jim Cockerham; 09-25-14, 11:28 AM.
              Highly caffeinated
              http://www.coffeehouseexpress.com

              Comment


                #8
                Re: Tracking with a URL pattern on INVC page

                Oh got it, totally missed that part. I'm not sure how they track, but my guess is they are only looking at the URL.

                If that is the case, you will need to make the INVC url unique so you can do your pattern patch against it. On OPAY try removing the hidden input of Screen from the form, and add &Screen=INVC to the form action. This way the Invoice page has a unique URL you can test for.
                Brennan Heyde
                VP Product
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment


                  #9
                  Re: Tracking with a URL pattern on INVC page

                  Thanks Brennan! I think that should work.
                  Highly caffeinated
                  http://www.coffeehouseexpress.com

                  Comment


                    #10
                    Re: Tracking with a URL pattern on INVC page

                    It's been a while, but we have done a number of AdRoll integrations for clients in the past. I am pretty sure you need to ignore the url based conversion process/validation and rely solely on the tracking snippet because Miva Merchant short links don't carry through the checkout process, which is why you are seeing the session id:

                    http://support.adroll.com/adroll-miva-mechant/
                    http://support.adroll.com/enhanced-conversion-tracking/

                    Comment


                      #11
                      Re: Tracking with a URL pattern on INVC page

                      We occasionally run into issues with adding &Screen= to the form action, make sure you test that method thoroughly. I also seem to remember AdRoll ignoring parameters with it's conversion url mapping, so let us know if that works or not. (we try to keep up with this stuff in our internal documentation)

                      Comment


                        #12
                        Re: Tracking with a URL pattern on INVC page

                        Dan - thanks for the info. Yes, adding the screen to the action did not work. It still does not display in the URL. The Adroll snippet in the article for the INVC page does not work either. They sent me instructions on using Javascript on the previous action, but that might not be very accurate. I think I am going to give up on tracking the conversions within the Adroll admin. I can still see the conversions in Google Analytics with the UTM data added to the links. They, (Adroll) just won't see the conversions. Thanks for your replies.
                        Highly caffeinated
                        http://www.coffeehouseexpress.com

                        Comment


                          #13
                          Re: Tracking with a URL pattern on INVC page

                          Jim, if you don't mind, PM me what Adroll sent you on the previous action javascript. See if I can come up with a workaround based on that snippet :)

                          Comment


                            #14
                            Re: Tracking with a URL pattern on INVC page

                            Originally posted by Jim Cockerham View Post
                            Dan - thanks for the info. Yes, adding the screen to the action did not work. It still does not display in the URL. The Adroll snippet in the article for the INVC page does not work either. They sent me instructions on using Javascript on the previous action, but that might not be very accurate. I think I am going to give up on tracking the conversions within the Adroll admin. I can still see the conversions in Google Analytics with the UTM data added to the links. They, (Adroll) just won't see the conversions. Thanks for your replies.
                            Jim did you ever get this working? Adroll is asking for the Conversion URL. It seems that figuring out what they want is becoming tedious.

                            Leslie
                            Leslie Kirk
                            Miva Certified Developer
                            Miva Merchant Specialist since 1997
                            Previously of Webs Your Way
                            (aka Leslie Nord leslienord)

                            Email me: [email protected]
                            www.lesliekirk.com

                            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                            Comment


                              #15
                              Re: Tracking with a URL pattern on INVC page

                              Originally posted by lesliekirk View Post
                              Jim did you ever get this working? Adroll is asking for the Conversion URL. It seems that figuring out what they want is becoming tedious. Leslie
                              Leslie - I did get it working but I don't remember how! My new store is now live and I am having trouble getting into my old store, but once that is fixed I'll take at it.
                              Highly caffeinated
                              http://www.coffeehouseexpress.com

                              Comment

                              Working...
                              X