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
-
Direct Traffic has Drastically Increased
Hi, I have noticed in Google analytics that direct traffic of one of my website is increased drastically. I didn't participate in Email Marketing or any other paid campaigns however direct traffic is continuously increasing. I checked all sources, locations, browsers, filters etc but didn't get any findings. Please help.
Reporting & Analytics | | RuchiPardal0 -
In Analytic Ipad Traffic Showing in Desktop, tablet and Mobile all 3 is it possible?
Hi, In Google Analytic when i see Mobile Overview in secondary dimension when i select Mobile device Model and when i search Ipad then i can see ipad in tablet, desktop and mobile why is it so? Ipad traffic and transaction should appear only on mobile whey it is showing on desktop and tablet? John..
Reporting & Analytics | | varo0 -
Analytics options for website builder
I'm working on a website builder with a few friends and we would like to track traffic statistics for each site built on our platform. We're looking for a solution to dynamically generate analytics for each site published on our platform. I've used Google Analytics for a number of years, but I'm not sure if it's capable of doing something like what we're looking for. Any chance someone could throw me a bone? Thank you in advance!
Reporting & Analytics | | NickMacario0 -
Very specific visitor drop
Hello there, Last week I discovered an unnatural drop in the direct traffic channel while analyzing all traffic channels. I dived into the data and discovered the following aspects of the traffic drop: The drop is only caused by: Direct traffic coming from browser Safari on Apple tablets (Safari traffic includes 83% of all direct tablet traffic) Android, mobile and desktop traffic didn't drop at all The direct tablet traffic dropped on the 1st of October It has never dropped before and it has grown naturally every month since more than a year In week 42 we only made 35% of the revenue we made in week 39. We're talking about k's. I attatched two screenshots coming from Google Analytics: the drop of direct tablet traffic compared to direct mobile traffic, and the drop of direct Safari tablet traffic compared to direct Android tablet traffic. We asked our web developer (SEOShop) about possible changes they made around the 1st of October to i.e. our mobile website. They said that they didn't change anything but they pointed to Hummingbird that has been released around that date. I can't link the traffic issue with Hummingbird though.. Can anybody let their light shine about this one? I'm very thankful. Marcel 76gzsLx,fOlkm10#1
Reporting & Analytics | | MarcelMoz0 -
Goal Totals in Google Analytics
How do I get a cumulative tally of all the goals reached in google analytics? I've been using the percentages currently, but I was wondering if there was an easier way. Thanks
Reporting & Analytics | | OOMDODigital0 -
Google analytics and software applications
Hei Guys. I think i know the answer for this one but i thought i ask you in order to be 100% sure. Ok let's go.. So i set up url based goals in Google analytics. My website (what are running on WordPress) has google analytics enabled but just before customers makes desired action i have to send them to the application page. Trick is that the application page is not running on wordpress and doesn't have google analytic tracking. After customer fills the application form i send him to my /thank-you page on my wordpress site. My question is: Does the conversion still count because customer left my website for a minute in order to fill in the application form? Best Regards, Tauri
Reporting & Analytics | | seopartnermarketing0 -
How can i see queries what my visitors are searching for, in my website?
Google analytics installed, but they are not showing. What additional things should i add there? I need to see most popular search queries and add more content to these pages for panda.
Reporting & Analytics | | bele0 -
Tracking PDF Downloads in Google Analytics
Hi, I work on a site that allows users to download whitepapers after filling out a form. Once they do this they are redirected to a URL which is the PDF. We use Wordpress and these documents were uploaded to the media center. I've tried researching how to track these downloads in GA, since the code is not present on these pages, but have read a few different answers. Anyone have firsthand experience? Thanks!
Reporting & Analytics | | tinarose0