Has anyone had any issues with Revenue Tracking of the Google Analytics AdWords Transactions not pulling any data in after updating to version 9.00063. I ran the latest update in a store and the next day no revenue was being pulled into AdWord. It should be noted that it was still being pulled into Google Analytics itself.
Announcement
Collapse
No announcement yet.
AdWords Revenue stopped after 9.00063 update
Collapse
X
-
AdWords Revenue stopped after 9.00063 update
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
Tags: None
-
The site was configured to use the Universal Enhanced Ecommerce analytics.js. Miva Support provided the most recent code for the Main Template (which as of today has made no difference).Originally posted by Dan - Glendale Designs View PostWhat method/variable was used with this integration to pass the revenue value?
The INVC Template has this in the <head> section:
Code:<mvt:item name="ga_transaction" /> <script> ga('require', 'ecommerce'); ga( 'ecommerce:addTransaction', { 'id' : '<mvt:eval expr="int( l.settings:ga_tracking:order_id )" />', 'revenue' : '<mvt:item name="ga_jsencode" param="ga_tracking:order_total" />', 'affiliation' : '<mvt:item name="ga_jsencode" param="store:name" />', 'tax' : '<mvt:item name="ga_jsencode" param="ga_tracking:total_tax" />', 'shipping' : '<mvt:item name="ga_jsencode" param="ga_tracking:total_ship" />' } ); <mvt:foreach iterator="ga_orderitem" array="ga_tracking:orderitems"> ga( 'ecommerce:addItem', { 'id' : '<mvt:eval expr="int( l.settings:ga_tracking:order_id )" />', 'name' : '<mvt:item name="ga_jsencode" param="ga_orderitem:name_unencoded" />', 'price' : '<mvt:item name="ga_jsencode" param="ga_orderitem:price" />', 'sku' : '<mvt:item name="ga_jsencode" param="ga_orderitem:code_unencoded" />', 'category' : '<mvt:item name="ga_jsencode" param="ga_orderitem:cancat_code_unencoded" />', 'quantity' : '<mvt:eval expr="l.settings:ga_orderitem:quantity" />' } ); </mvt:foreach> ga( 'ecommerce:send' ); </script>
There is also a Google Conversion tag in the INVC Footer.
Did something change in version 9.00063 that broke this?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
-
I'm assuming the you are referring to the googleadservices javascript and img pixel code? It's there too. None of the code was changed. The only thing that changed was the Miva update.Originally posted by Dan - Glendale Designs View PostIs the separate Adwords conversion tracking snippet in place?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
-
Understand, what I am trying to figure out is if the Adwords Conversion Tracking snippet is using the Toolkit or some other method to pass the order subtotal, which may have failed with the upgrade. The fact that you stated revenue data is stilling pulling into Analytics, but not Adwords, makes me think it could be the Adwords Conversion tracking snippet, not Google Analytics/Enhanced Ecommerce.I'm assuming the you are referring to the googleadservices javascript and img pixel code? It's there too. None of the code was changed. The only thing that changed was the Miva update.
Comment
-
No, there is no Toolkit/Toolbelt/Tool used. My apologizes, I am trying to get clarification from the person who handles the site's Google Analytics / Google AdWords. She's telling me it Google Analytics not AdWords. So I am confused (what else is new?).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
-
I've managed to get a peek inside the GA account. What I'm seeing is a little different from what I have been trying to convey. In the Acquisition > Campaigns > Paid Keywords the Sessions almost completed dropped off to nothing. There are maybe 3 or 4 a day but it's a very visible dropoff. So I next went to Acquisition > AdWords > Campaigns and the Sessions have the same dropoff. I then went and looked at Acquisition > All Traffic > Channels and the Sessions didn't have the visible dropoff.
Is there something else in the GA admin I should look at to try and figure out where things are breaking down at?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
-
We don't send any parameters that affect how sessions or AdWords are tracked in GA, so I can't think of anything on our side that would have affected that. The only information I could find regarding session grouping was about conflicting campaigns.
https://support.google.com/analytics..._topic=1012046Preston Brynie
Software Developer
Miva Merchant
http://www.mivamerchant.com/
Comment
-
So is it just coincidence that the numbers dropped off the day after I ran the Miva update? Nothing was changed in the Google Analytics settings. Nothing was changed in the store configuration. This used to work, so I don't think there is any sort of conflicting campaigns (unless there was some sort of change made at Google on the same day I ran the Miva update).Originally posted by pbrynie View PostWe don't send any parameters that affect how sessions or AdWords are tracked in GA, so I can't think of anything on our side that would have affected that. The only information I could find regarding session grouping was about conflicting campaigns.
https://support.google.com/analytics..._topic=1012046Leslie 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
-
FYI - I am probably incorrectly pointing to the 9-00063 update as being to culprit - it could have been the 9-0006 update which does have some Google Analytics bug fixes in it:
I'm wondering if the code on the INVC page needs to be updated to work with the bug fix.22118: Module: mvga: mvga.mv: Google Analytics: Checkout options are no longer sent on OSEL submission
22119: Module: mvga: mvga.mv: Google Analytics: price fields inconsistently contained in quotes
22120: Module: mvga: mvga.mv: Google Analytics: never sends a transaction on INVC
22121: Module: mvga: mvga.mv: Incorrect product code being sent in AddToBasketSubmit callLeslie 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
-
You do need to apply the INVC template change noted in the 9.6 template change document as it was directly related to bug 22120: Google Analytics: never sends a transaction on INVC. This was a fix to a change made which suppressed the transaction from being sent in the case where there was a payment error on OPAY. This fix inadvertently suppressed all transaction calls due to a different system change we made where an exception is always generated on INVC for security purposes. If your Google Analytics Tracking Code template does not include the change below you will not see any final checkout transactions in GA.
Code:<mvt:if expr="( g.UI_Exception NE 1 ) OR ( g.Session:cache:last_ui_exception EQ 'order_invoice' )"> ga( 'send', 'pageview', { 'page':'<mvt:item name="ga_jsencode" param="ga_tracking:url_override_unencoded" />' } ); </mvt:if>Preston Brynie
Software Developer
Miva Merchant
http://www.mivamerchant.com/
Comment
-
To be clear, the change I mentioned above is in regards to the Google Analytics Tracking Code template, not the actual INVC page template. It is near the bottom of the module template within the INVC if block.Preston Brynie
Software Developer
Miva Merchant
http://www.mivamerchant.com/
Comment
-
Thanks, yes, I've already changed the Google Analytics Tracking Code template.Originally posted by pbrynie View PostTo be clear, the change I mentioned above is in regards to the Google Analytics Tracking Code template, not the actual INVC page template. It is near the bottom of the module template within the INVC if block.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
-
I'm wondering why this code was added to the INVC screen right after the <mvt:item name="ga_transaction" /> token (which is right after the <mvt:item name="hdft" param="global_footer" /> tag in the INVC page template:
Code:<script> ga('require', 'ecommerce'); ga( 'ecommerce:addTransaction', { 'id' : '<mvt:eval expr="int( l.settings:ga_tracking:order_id )" />', 'revenue' : '<mvt:item name="ga_jsencode" param="ga_tracking:order_total" />', 'affiliation' : '<mvt:item name="ga_jsencode" param="store:name" />', 'tax' : '<mvt:item name="ga_jsencode" param="ga_tracking:total_tax" />', 'shipping' : '<mvt:item name="ga_jsencode" param="ga_tracking:total_ship" />' } ); <mvt:foreach iterator="ga_orderitem" array="ga_tracking:orderitems"> ga( 'ecommerce:addItem', { 'id' : '<mvt:eval expr="int( l.settings:ga_tracking:order_id )" />', 'name' : '<mvt:item name="ga_jsencode" param="ga_orderitem:name_unencoded" />', 'price' : '<mvt:item name="ga_jsencode" param="ga_orderitem:price" />', 'sku' : '<mvt:item name="ga_jsencode" param="ga_orderitem:code_unencoded" />', 'category' : '<mvt:item name="ga_jsencode" param="ga_orderitem:cancat_code_unencoded" />', 'quantity' : '<mvt:eval expr="l.settings:ga_orderitem:quantity" />' } ); </mvt:foreach> ga( 'ecommerce:send' ); </script>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
Comment