We just went live with our miva 9 site and google analytics is not tracking conversions.
We recently upgraded from Miva 5.5 PR8 to the newest version of Miva 9 and since we went live with the new miva 9 site, we are not seeing transactions being recorded in Google Analytics.
We are using the suivant readytheme
Here is the analytics tracking code.
We do have the ga_jsencode, ga_tacking and ga_transaction items assigned to our INVC page.
INVC page code is this.
Any help would be appreciated.
Thanks
-Nick
We recently upgraded from Miva 5.5 PR8 to the newest version of Miva 9 and since we went live with the new miva 9 site, we are not seeing transactions being recorded in Google Analytics.
We are using the suivant readytheme
Here is the analytics tracking code.
Code:
<mvt:miva compresswhitespace="off" /> <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', '<mvt:item name="ga_jsencode" param="ga_tracking:google_id_unencoded" />', 'auto'); <mvt:if expr="l.settings:page:code EQ 'SFNT'"> ga( 'send', 'pageview', { 'page':'/' } ); <mvt:elseif expr="l.settings:page:code EQ 'INVC'"> ga( 'send', 'pageview', { 'page':'/INVC.html' } ); <mvt:else> ga( 'send', 'pageview', { 'page':'/<mvt:item name="ga_jsencode" param="ga_tracking:url_override_unencoded" />' } ); </mvt:if> </script>
We do have the ga_jsencode, ga_tacking and ga_transaction items assigned to our INVC page.
INVC page code is this.
Code:
<mvt:item name="html_profile" /> <head> <mvt:if expr="NOT ISNULL l.settings:page:title"> <title>&mvt:page:title;</title> <mvt:else> <title>&mvt:store:name;: &mvt:page:name;</title> </mvt:if> <mvt:item name="head" param="head_tag" /> </head> <body id="js-&mvte:page:code;" class="<mvt:eval expr="tolower(l.settings:page:code)" /> single-column"> <mvt:item name="hdft" param="global_header" /> <div class="row hdft-header"> <mvt:item name="hdft" param="header" /> </div> <div class="row main-content-row"> <div class="column whole"> <h4>Thank you for your order. Please keep this confirmation for your records.</h4> <p><strong>Order #:</strong> &mvt:order:id;</p> <p class="clearfix"><strong>Date:</strong> &mvt:order:date; &mvt:order:time;<a href="&mvte:urls:ORDP:secure_sep;Order_ID=&mvt:order:id;&Order_BillEmail=&mvte:global:order:bill_email;&Order_BillZip=&mvte:global:order:bill_zip;" title="Print Order Confirmation" target="_blank" id="js-print-confirmation" class="button button-mini button-square float-right hide medium-inline-block">Print Order Confirmation</a></p> <mvt:item name="messages" /> <mvt:foreach iterator="item" array="order:items"> <mvt:if expr=" 'photo' CIN l.settings:item:name" > <mvt:assign name="l.photo_flag" value=" 'true' " /> </mvt:if> <mvt:if expr=" 'selfie' CIN l.settings:item:name" > <mvt:assign name="l.selfie_flag" value=" 'true' " /> </mvt:if> </mvt:foreach> <mvt:if expr="l.photo_flag EQ 'true' OR l.selfie_flag EQ 'true'"> <div> <p class="bold blue big">You have ordered an item that includes an Engraved Photo.</p><p class="bold">Please remember to email your photo to <a href="mailto:[email protected]">[email protected]</a>.<br>Thank You!</p> </div> </mvt:if> </div> </div> <div class="row main-content-row customer-fields"> <mvt:item name="order_customer" /> </div> <div class="row bottom-shadow main-content-row order-contents"> <mvt:item name="order_contents" /> </div> <div class="row"> <mvt:item name="toolkit" param="subtotalorder|ordersubtotal" /> <mvt:item name="toolkit" param="orderother|ocount|order:id" /> <mvt:item name="toolkit" param="math_add|X_subtotal|g.orderother|g.ordersubtotal" /> <img src="https://shareasale.com/sale.cfm?amount=&mvte:global:X_subtotal;&tracking=&mvt:order:id;&transtype=SALE&merchantID=8232" width="1" height="1"> </div> <div class="row hdft-footer"> <mvt:item name="hdft" param="footer" /> </div> <mvt:item name="hdft" param="global_footer" /> <mvt:item name="ga_transaction" /> </body> </html>
Thanks
-Nick
Comment