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
-
Redirect to one domain to another domain
Hii
Reporting & Analytics | | John_smith45
I'm john. I am a blogger. I want to change my domain. This is my domain (https://playfireboywatergirl.com/)
I want to redirect to the **.org **domain. But I work hard on my site .com and also the authority of my site in Google. Kindly help how can I redirect from one domain to another. can google convert authority of my to another site?0 -
Branded terms CTR drop
Moz Hivemind, I'm working with an ecom beauty brand and retailer who re-platformed their website at the end of August last year. Their CTR dropped from 70% plus for branded terms to 50% over night and has steadily declined ever since, down to the low 30s as an average the last few months. Their rankings for branded terms have remained in the number 1 position, despite a slight blip at launch, which is to be expected. They admit that some new distribution deals with major retailers have added some competition to the mix, but much later in the year. I could totally understand a rankings drop and an initial hit, but has anyone seen anything like this before, is there something on the new site that could impact CTR like this, either in the SERPs or perhaps a reporting issue? As the click itself is taking place in the SERP and their rankings are solid, other than the meta description, which they swear was unchanged the first few months after launch, any ideas what could be happening here? Thanks so much.
Reporting & Analytics | | Algorhythm_jT1 -
Do custom tracking codes affect indexing?
Hello, My company uses a tracking system that allows our employees to apply a short code snippet to the end of our URLs for marketing attribution. An example of such a code would be: https://www.schoolofmotion.com/?ref_id=moz-test However, in Google Analytics we are seeing duplicates of our content, where the pages with the individual tracking codes are counted separately from the pages without. From a reporting perspective, this is annoying and definitely worth a fix. However, I'm curious if this problem is affecting our search potential as well. Could this tracking system be splitting traffic in Google's eyes? From an SEO perspective, how should we approach this? Would canonical tags fix this duplication issue in Google Analytics? Is there something else that we should use? Thanks in advance. The Moz community is incredible.
Reporting & Analytics | | CalebWardSoM1 -
Drop in indexation but increase in organic traffic
We've had a puzzling drop in indexed pages on our ecommerce website. My crawl returns just over 25k items. Until 19/6 we had about 23-24k indexed. Then we experienced a sudden drop from 19/6 to 26/6: from 23,400 to 18,999, losing 4.4k pages from one week to the next. At the same time, our organic traffic has not decreased, it actually increased, however, it's only been a couple of weeks so that may be coincidence. A few things that have happened during the past few weeks: 31/5: we implemented pagination on category pages to avoid issues with duplicate content - could it be that this led to a decrease in indexed pages 3 weeks later? However, I can only find about 1.5k pages in my crawl that are page 2+ 18-19/6: we had some website outages over the weekend; as a B2B business, we don't get much traffic over the weekend, so I can't see an impact to traffic. However, the following week, indexation dropped by another 250 (then stayed the same this past week), so I don't think this was a factor. 21/6: we retired another website and migrated it to our main website. However, all pages were redirected to existing pages so no new pages were created for the migration. This doesn't really explain a decrease in indexation, but may account for some of the increase in organic traffic; however not all as the retired website hardly got any organic traffic. So, should we be worried? As our website is quite large, it would probably be quite difficult to pin point exactly which pages dropped off the index, but a loss of 19% of pages is quite significant. Then again, it doesn't appear to have negatively impacted organic traffic... Have you got any suggestions for what I should be looking at to find out what happened? Should I be worried at this point? I will definitely continue to have an eye on how our organic traffic (and indexation) develops but I am not sure if there is anything I can do at this point. I'd appreciate your advice on this, to make sure I am not missing something blindingly obvious. Thanks! RmWaNib JJm4tC3
Reporting & Analytics | | ViviCa10 -
Google Analytics - Organic Search Traffic & Queries -What caused the huge difference?
Our website traffic dropped a little bit during the last month, but it's getting better now, almost the same with previous period. But our conversion rate dropped by 50% for the last three weeks. What could cause this huge drop in conversion rate? In Google Analytics, I compared the Organic Search Traffic with previous period, the result is similar. But the Search Engine Optimization ->Queries shows that the clicks for last month is almost zero. What could be the cause of this huge differnce? e9sJNwD.png k4M8Fa5.png
Reporting & Analytics | | joony0 -
Google Analytics: Do url redirects show up
Good Morning from 6 degrees c mostly cloudy wetherby UK 🙂 A redirect has been set up with the effect that when you key in www.hyload.co.uk it forwards to www.ikogroup.co.uk My question is please...within Google analytics will referall traffic from www.hyload.co.uk show up in referral traffic or because its a redirect will it be counted as direct traffic. Thanks in advance, David
Reporting & Analytics | | Nightwing0 -
How can you tell if your new content has been indexed?
Other than simply doing a search in each case, is there any way I can tell (in Webmaster Tools, for example) if the 500-1000 new pages of content I have added have been indexed and are now appearing in search results? My traffic hasn't risen much, but I know at least a few of them are in there... How can I tell when they're all in?
Reporting & Analytics | | corp08030 -
Is IP tracking of visitor allowed?
Hi, Google Analytics does not provide IP addresss of the visitors. What if i develop some in-house tracking mechanism to do so? Is it allowed or will Google penalize me if it comes to know about it? Thanks
Reporting & Analytics | | IM_Learner0