Responsive design and Google analytics mobile tracking codes?
-
Hi all,
We are currently rebuilding a site using responsive design, however i have just had a thought. On another site where we have a mobile site under a sub-directory we utilise mobile tracking codes as we found that this was far more accurate for recording visits.
On a responsive design site evidently all pages, desktop and mobile, will be under the same URL, yet the content will adjust to the screen size of the device. Should we also change the tracking code to be mobile code on the lower resolutions or would the same code be sufficient?
-
Rich,
Because responsive design inherently only uses one html file, what you're describing isn't so simple. Obviously, you only want to include 1 GA tracking code, but you COULD include some logic that fires a different one on page load depending on detected screen width. I think your best bet is to just use the standard GA code in your HTML, then include some JS that detects which of the layouts are displayed on load, and sends it in a custom variable. Alternatively, GA, by default, will capture screen size as a data point, so, as long as your responsiveness is working properly, you can just create segments in GA based on those and view site behavior accordingly.
Mike
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Can the design still be considered adaptive if the URL is different?
I was under the impression our site had a mobile dedicated design, but my developers are telling me we have an adaptive design. The mobile site is set up different and has different content and the url is as follows: www.site.com/MobileView/MobileHome.aspx Can it still be considered adaptive if the URL is not the exact same? Hopefully this make sense and I appreciate anyone's input!
Web Design | | AliMac260 -
Advice needed: Google crawling for single page applicartions with java script
Hi Moz community,we have a single page application (enjoywishlist.com) with a lot of content in java script light boxes. There is a lot of valuable content embedded but google can not crawl the content and we can missing out on some opportunities as a result. I was wondering if someone was able to solve a similar issue (besides moving the content from the java script to the HTML body). There appears to be a few services sprouting up to handle single page applications and crawling in google.http://getseojs.com/https://prerender.io/Did anyone use these services? Some feedback would be much appreciated!ThanksAndreas
Web Design | | AndreasD0 -
Are we designers at heart?
A thought has crossed me. I've started to think about my relationships (uh oh...where is this going..?) with my web developer and designer and it seems design has become the core part of every SEO strategy I employ. Every page layout, rich content on a page and behaviour my customer might do, I'm thinking about the design. Are we in a way, designers as well? We put on so many hats and is design one of them? I'm technical with my web developer but I'm also concerned with the delivery the customer sees. How is your relationship with your web designer and developer? Are they core individuals in your SEO life?
Web Design | | Bio-RadAbs0 -
Best Practices for home page design for ecommerce website
I know this question is not directly related to SEO, but I figured I have been getting some good help from this forum, so why not? The website is www.vrtack.com. I am looking to redesign the home page. It is an ecommerce website selling equestrian clothing and leather goods. My goals are: 1. Reduce the very high bounce rate and drop-off rate. 2. Fine tune the relevancy of the website towards a handful of keyword phrases. 3. Engage the visitor to create better click-through and to increase the average time spent on the page/site. 4. Page Loading time is of importance. It has to load quickly. I would love to hear some specific suggestions, examples, best practices.
Web Design | | amitramani0 -
Bing free mobile website
When editing my Bing business listing, I have noticed that they offer a free mobile website. I was actually looking to build one and I'm not sure if this is what I'm looking for. I want to be able to customize it as well. Anybody tried it already? arBS3.jpg
Web Design | | echo10 -
Looking for quality, cheap web design company recommendations
Does anyone have any recommendations of a very cheap web design company from India or other countries where the work is also high quality? I can project manage the development and provide a set of web standards such as to use valid code, no meta keyword tags, no flash, etc etc. I am looking for companies I can trust to perform the actual work. The web is full of companies but examples of quality work with WordPress, Joomla and particular ecommerce platforms is very thin or non-existent. If you can share any companies which you have personal experience with, I would appreciate it.
Web Design | | RyanKent0 -
Coding a WordPress shopping cart
I have searched high and low for a light, simple to use Wordpress shopping cart plugin which can use custom templates and work with the transporter and payment gateway i'd like. Unfortunately i haven't found anything. I am currently looking for an example, maybe a tutorial somewhere but can't seem to find anything online, all i can find are advertisements for existing plugins. Can anyone help my any further? I know it's not an SEO related question but i'm out of ideas.
Web Design | | ldestrooper0 -
Mobile Accessibility?
How can I check whether my website is accessible on mobile phones? Is there a tool that allows you to check if your website is opening on different mobiles? Also, is it better to have a dedicated website for mobiles or the original developed in a manner that it appears ok on mobiles as well? Cheers!
Web Design | | RishadShaikh590