![]() |
sales tracking scripts don't work for mobile sales |
Post Reply
|
| Author | |
jonathanscott
Newbie
Joined: 05 September 2009 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Topic: sales tracking scripts don't work for mobile salesPosted: 18 September 2015 at 4:20pm |
|
Hi support
I have google analytics' ecommerce tracking script entered in the section RC/marketing/external sales tracking/sales tracking scripts. this tells my google analytics page when i get a sale, its ID and revenue. It works fine on sales made on desktops and tablets but doesn't work for mobile sales. I've had 5 mobile sales in september but analytics says i've had none. can you suggest anything i can do? thanks jonathan |
|
![]() |
|
Support
RomanCart Team
Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10803 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2015 at 5:20pm |
|
Hi,
Please can you post or email us your storied. Are you use a customized template on your main web version of RomanCart? (Or are you using the original default cart). Many Thanks Support |
|
![]() |
|
jonathanscott
Newbie
Joined: 05 September 2009 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2015 at 5:33pm |
|
thanks support, my store id is 46544.
i have modified the hosted cart pages for shopping basket and checkout etc by editing the default versions so they incorporate my logo etc. |
|
![]() |
|
Support
RomanCart Team
Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10803 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2015 at 5:41pm |
|
Hi,
See 'Marketing'/'External Sales Tracking'/'Google Analytics' This is where you can set up analytics. It doesn't appear to be set up at all on your cart so I think that you have injected code using the fields on the 'customize the cart' screen. You should switch to a new cart template at 'configure'/'appearance'/'hosted cart pages' for your web cart. Because a) they look better and b) then both your web and mobile carts will be using the same code base. (New subscribers to RomanCart always use the new templates). The ecommerce script for analytics runs automatically is you have analytics enabled and sends the individual items purchased to analytics. If you decide to keep the existing cart - which is fine - then once you have added analytics in the marketing menu you should remove the code from the 'customize the cart' screen, as otherwise it will appear twice on your cart. Many Thanks Support |
|
![]() |
|
jonathanscott
Newbie
Joined: 05 September 2009 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2015 at 7:31pm |
|
Thanks Support, but am i correct in thinking that your implementation of analytics doesn't support cross domain tracking? In which case, if i follow your implementation and remove my code, won't I lose the ability to see the source of my conversions because a customer using the cart will appear look like a new visitor to analytics, rather than one passed from my website?
|
|
![]() |
|
Support
RomanCart Team
Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10803 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2015 at 8:40am |
|
Hi,
We support both universal analytics which automatically tracks across domains using cookies, and the old ga.js version which requires extra code to track across domains (instructions supplied). Many Thanks Support |
|
![]() |
|
jonathanscott
Newbie
Joined: 05 September 2009 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 September 2015 at 6:27pm |
|
ok thanks support, have now implemented and GA successfully tracks from my domain to RC as you said. however the snippet of GA tracking code which i pasted onto every page of my site needed to differ slightly to facilitate cross domain tracking and to track the use of forms.
In case anyone else is reading this, google's article on implementing cross domain tracking is here - https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain#autolink. The snippet i have pasted on every page of my site (which is working, and which is slightly different to the snippet RC offers when implementing Universal Analytics) is as follows; <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-XXXXXXXX-X','auto', {'allowLinker': true }); ga('require', 'linker'); ga('linker:autoLink', ['romancart.com'], false, true); ga('send', 'pageview'); </script> |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |