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 from Ashburn, VA
We've seen a huge spike in traffic form Ashburn, VA every Monday. It's wrecking our analytics. I don't want to create a filter based on location because we should receive legitimate traffic from that location. I see there are a few other identifiers that make me think I could add a filter for just those items (iOS 5, Safari). Does anyone have a current best-practice for this type of problem? Tx!
Reporting & Analytics | | fishlizzer2 -
Exclude brand Traffic
Hello everyone, Whenever any user searches for our website using brand keywords, session count should comes under direct source instead of Google/organic. Or in simple language, We want that all our brand keyword search traffic should be consider as Direct Traffic instead of organic. Is it possible in Google Analytics? If yes then please share the steps of doing it
Reporting & Analytics | | Obbserv0 -
Universal cookie loss specific traffic
Hi there, A month ago we have installed the Universal Analytics tracking code on our website (www.smartphonehoesjes.nl). Since that time, direct traffic has risen unnaturally and organic traffic dropped unnaturally. I dived into this problem and I discovered there is a cookie loss on when visitors are switching from /cart to the first step checking out. The problem is that not all browsers cause these cookie issues, only Safari and IE older versions (9 and older) and some cases of Chrome. All iPads cause cookie issues (50% of all cases). iPhones cause not a single problem because we are using a separate mobile (m.) site which does not cause cookie problems. We don't have a mobile site for tablets yet, soon it will come. My biggest question is: how can I fix the Safari desktop cookie loss after switching domains from /cart to the first step of the chckout process? Olders versions of IE will slowly fade out and the iPad problem will be fixed when the mobile website is available for tablets. I hope someone can help me.
Reporting & Analytics | | MarcelMoz
Thanks in advance. Marcel0 -
Traffic by keyword- phenomenon
I have several keywords that seem to bring visitors in but when I look at my rankings it shows that I have no ranking authority at all. Are these just robots or some non human click? Or how do I even get these visitors?
Reporting & Analytics | | Retail_Endeavors0 -
Analytics - content performance
Hi guys, is there any way to group specific pages together in analytics and just see how they have peroformed visit wise, etc? I need to group some resort guides all with different names, it's tedious going through each one manually. Help much appreciated as always!
Reporting & Analytics | | pauledwards0 -
Funnels and Analytics
I want to see how much money a page is making. So how many people convert from that page. Do I need to create a funnel for all the category pages? That would be many many funnels. Thanks!
Reporting & Analytics | | tylerfraser0 -
How can I see the history reports?
Hi, I want to see the history reports for my ranking. For example I can how my website traffic changed in past few months using Google Analytics but I am not able to monitor the performance of my keywords on seomoz. Is there any way to do it?
Reporting & Analytics | | ashish2110 -
What are your top 5 Analytics Reports?
What are for you the 5 most important reports into Google Analytics? Thank you for yours answers guys, Jonathan Leplang
Reporting & Analytics | | JonathanLeplang0