Mobile redirect causing traffic drop? Can I move analytics code to capture them as visitors before redirecting them?
-
Yesterday I implemented a mobile redirect as I don't have a mobile version of my site. As a result I've seen a drop in traffic which makes sense as my redirect script is at the top of the page. If I were to move the redirect script below the analytics code would that allow me to still track mobile users? Would this affect my bounce rate though?
-
Yes, the "drop" in traffic (or drop in reported traffic) is because the analytics code doesn't have time to kick in before the redirect script takes over.
If you were to move the refresh script to the bottom of the code and the analytics to the top, the likelihood of reversing this goes up. We had a similar problem with a client site in that they had a very heavy piece of conversion optimisation software running at the top of the code and our tracking code at the bottom. Users clicking from search to the home page usually knew where they wanted to go quite quickly, and would click away before our tracking code had loaded. Client was desperate to know why our SEO traffic had gone through the floor. It had not. We had them reverse the analytics and CRO codes and our traffic "came back".
JS is executed in the order it's included in the code, so moving it should work. Should being the key word - I am not 100% on this.
I am not sure how to place a delay with JS so hopefully someone else can chime in on that one. Meta refreshes allow a short time delay - does anyone know what the correct way to do this for solely mobile traffic would be? Acknowledging that meta refreshes are not recommended for SEO, but they are a popular way of defining a short delay in redirecting a user.
-
The mobile site is not operated by me unfortunately.
-
Why you not add the analytics code to the mobile site too? The actual market of mobile phones runs JS without problems.
-
Uh, hard to say as you need to do it in the script you're including ;-). Can you send me the URL of the JS (or via PM, whatever you prefer)?
-
Thanks for your reply. How would I add a delay to this code?
-
Hi Sam,
If you're doing the redirect with a JavaScript solution then the answer would be yes. Put you would need a delay of 1-2 seconds to make sure the GA tracking code is initialized.
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
-
How to check bounce rate of mobile or ipad checkout steps? How to check Funnel for mobile or ipad?
Hello Guys, Is there any way to check bounce rate of mobile or ipad checkout steps till thankyou page? Also separate Funnel visualization for mobile or ipad? John
Reporting & Analytics | | varo0 -
Moving to https - Webmaster Tools
Okay so I've moved a site I work on to https finally... wasn't easy, but I won't go into the whys and hows of that. Everything is working fine on the site and my rankings are holding steady but when I went into the GWT today I noticed that my main site (www.domain.com) has lost inquiry and traffic data almost entirely. So I quickly added and verified the https://www.domain.com URL (even though it doesn't ask for the protocol when adding a site) and saw the traffic.. kind of. Only 2 inquiries and a few pages indexed. Now I realize I need to submit a new sitemap and am currently working on that but don't know which account to upload it to. Do I really need two GWT sites separately and why is the other one still getting the impressions and clicks? Basically I'm looking for somebody to shed some light on how to handle this migration from a GWT standpoint. I've attached 3 screenshots to illustrate what I'm talking about. Should be obvious what's what to those who read this post. The Analytics shot is to show that I haven't actually lost traffic in this time and eliminate the fear of penalty or anything of the sort. Thanks! wbPpwVw.png YJifLiR.png cRVgqRN.png
Reporting & Analytics | | jesse-landry0 -
Regular Expressions in Google Analytics
Hi All I've been struggling to create a regular expression for a Google Analytics goal step that would match the following: ^/specifictextstring/anytextstring/anytextstring/
Reporting & Analytics | | Cabbagefeet
^/specifictextstring/anytextstring/ However I don't want it to match any URLs that end with: /anytextstring**_**phonecall or /phonecall, for example: /specifictextstring/anytextstring/anytextstring/anytextstring**phonecall
/specifictextstring/anytextstring/anytextstring**phonecall
/specifictextstring/anytextstring/anytextstring/phonecall
/specifictextstring/anytextstring/phonecall Does anyone have any ideas? Thanks in advance for all contributions.0 -
Strange Traffic Spike In Google Analytics
Over the last two days I have seen a huge spike in the pageviews to my site www.learnbonds.com. Up to this point my average page views per visit has been less than 2. For the last couple of days it has jumped to 5 but the average time on the site has not increased. Upon further investigation under the browser and OS page of google analytics I found that traffic coming from internet explorer and IE with Chrome Frame is reporting 10+ pageviews per visit. Below is a screenshot. Any insight into what might be causing this and how to fix it that the community can provide would be appreciated. Thanks
Reporting & Analytics | | davidwaring
DaveZUaQWJd.png?1?21800 -
Recent large spike in traffic from same location?
Since May 21st our site is showing via Google Analytics a large spike in traffic to our home page. The traffic increase is 4-5 times our average. I was able to track the source to the same town we are headquartered. We have lost 4 spots for our top keyword. We went from 7 to 11 in Google in this time period. I understand it could be related to Penguin. But I also suspect this issue is negatively effecting ranking by increasing bounce rate and decreasing pages per visit and time on site. Before/After May 21st Returning Visitors: 52% / 23% New Visitors: 48% / 77% Pages per Visit: 12.4 / 5.44 Duration of visit Avg: 10.23 / 4.22 I would greatly appreciate any ideas on the cause of this issue. Also any input on the above metrics and sudden lost in a couple spots in SERP. Thanks.
Reporting & Analytics | | devonkrusich0 -
Number of clicks / organic traffic - different data in Google Analytics and Webmaster Tools
Hi. I have a little problem. When I open Google Webmaster Tools I see 3000 clicks (in Traffic - Search queries - Clicks). But when I open Google Analytics I see much more visits from search engine (Google) - it´s 4-5 times more! It´s a huge difference, don´t you think? Do you know, where is the problem? What causes this diffence? thanks a lot
Reporting & Analytics | | mysho0 -
Google Analytics - In-Page Analytics
I had a strange thought waking up this morning, and was curious to hear other people's opinions on it. In Google Analytics, under Content > In-Page Analytics, Google shows what links on your site pages get clicked and how many times plus other metrics. Do you think they use that data for ranking back links so-to-speak? What I mean is, say I had a back link to my site on example.com, and example.com had google analytics installed. Google can see through google analytics whether my link has been clicked on. Say that my link gets no clicks, do you think that Google would use that metric against my site deeming it "not popular" or "not a good resource", even if example.com was a very popular site? And it could work the other way. Say my link got thousands of clicks on example.com, do you think that Google might use that to promote my site? I couldn't find any other discussion on this anywhere, so am not sure if people have already thought about this.
Reporting & Analytics | | THB0 -
How can I set up the time for a scheduled e-mail on analytics?
Hi there! It's important to me that the reports from GA arrives in an specific hour of the day. Does anyone know how to make the reports to come at 6am, for example? Thanks.
Reporting & Analytics | | ivan.precisodisso1