Unknown javascript in the header
-
Hello guys,
I need some help.
I can see the following javascript in the header which is not added by me. What code is it ? Something related to Google Analytics ?
<script type="text/javascript"> // script> Thanks in advance
-
Oh yes we have CloudFare on our servers. I have changed it, now its working fine.
Thanks guys!!
-
It comes from this company,
does that ring a bell, if not you should be concerned on how it got there.
-
Do you have any business relationships with CloudFare? I didn't read through all of the code but I checked out their website and they appear to be a cloud service for content optimization, website security, analytics and web app deployment.
Although I would recommend you check with your web development or engineering team to confirm 100%.
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
-
Is there a tool to check the SEO performance of articles from different websites?
Is there a tool to check the SEO performance of articles(like 100+ articles) from different websites in one place? I am looking for a tool where I can put several URLs of the articles we have published in bulk for many of our clients, and it can show me how those articles are performing. This way, we can check the performance of these articles at any time; there is no need to add URLs every time.
Reporting & Analytics | | Foxxr0 -
Unsolved Wild fluctuations in ranking, any thoughts on why or what to do about it?
We have a keyword which is important to us and used to have rock steady rankings for over a decade. Over the past 9 months or so it has been fluctuating all over the place. Jumping up or down 20 places or so overnight. Any thoughts on this behaviour and what we should be doing to stabilise the ranking?Screenshot 2024-05-13 at 09.47.jpg
Reporting & Analytics | | Hannahm240 -
How important is Lighthouse page speed measurement?
Hi, Many experts cite the Lighthouse speed as an important factor for search ranking. It's confusing because several top sites have Lighthouse speed of 30-40, yet they rank well. Also, some sites that load quickly have a low Lighthouse speed score (when I test on mobile/desktop they load much quicker than stated by Lighthouse). When we look at other image rich sites (such as Airbnb, John Deere etc) the Lighthouse score can be 30-40. Our site https://www.equipmentradar.com/ loads quickly on Desktop and Mobile, but the Lighthouse score is similar to Airbnb and so forth. We have many photos similar to photo below, probably 30-40, many of which load async. Should we spend more time optimizing Lighthouse or is it ok? Are large images fine to load async? Thank you, Dave bg_05.jpg
Reporting & Analytics | | erdev0 -
Hey DA of my website decreased last night what could be the reason?
Hey DA of my website decreased last night what could be the reason?
Reporting & Analytics | | mozmoz90 -
ECommerce Tracking in Analytics - Should I use a plugin or do it manually?
Hi, I have a WordPress site (woocommerce integrated). I would like to know should I use a plugin to enable e-commerce tracking in Google Analytics or I should do it manually with GTM. Which is a better way? Will using a plugin to enable e-commerce tracking slow down my site? Any thoughts? Thanks in advance.
Reporting & Analytics | | Mr.Suren0 -
Tracking Clicks on a Global Header Across Multiple Sites
Hey All, A particular client has multiple websites and we're planning on implementing a global header across 15+ sites. I've been looking for a way to track the clicks on this global header across all sites (that is that they are summed up), what's the best way to go about this if I am using Google Analytics (I know Adobe site catalyst could do this no problem with some advanced tweaking), any ideas? I could do the general click tracking route and tag every link but that will only help me if I do that for each site (that being said, if the global header for all sites pulls from a single HTML, then tagging it would technically count all the clicks from all the sites, the only caveat being that I'd have to pick which Google analytics profile I'd want to track the header with). Thoughts? Thanks!
Reporting & Analytics | | EvansHunt0 -
Editing Google Analytics eCommerce Javascript for Volusion
Does anyone know how to edit the ecommerce javascript with Volusion dynamic variables? I thought I did it correctly but none of the information got recorded in GA. It recorded that there was a transaction made but not info on the purchase price, order #, etc. This is the current code I am using: NOTE: In Volusions customer support center they provided this information: Where Order-Specific Information is Generated Order-specific information can be generated by JavaScript on the OrderFinished.asp page within Volusion. On this page, two JavaScript arrays will be initialized that advanced users may need to be aware of. The arrays and their contents are as follow:
Reporting & Analytics | | jhooley
Order Array Contents Order[0] = Order ID
Order[1] = Unused
Order[2] = Payment Amount
Order[3] = Affiliate Commisionable Value
Order[4] = Sales Tax
Order[5] = Total Shipping Cost
Order[6] = Billing City
Order[7] = Billing State
Order[8] = Billing Country OrderDetails Array Contents OrderDetails[X][0] = Order ID
OrderDetails[X][1] = Order Detail ID
OrderDetails[X][2] = Product Code
OrderDetails[X][3] = Product Name
OrderDetails[X][4] = (unused)
OrderDetails[X][5] = Product Price
OrderDetails[X][6] = Quantity Note that in the above example, X refers to a line item number (beginning from zero). Note that there can be multiple Order Details arrays - one for each item contained within an order. I'm a newbie at Analytics installation and could really use any help. Thanks!1 -
Bug in Virtual Page view javascript
I am trying to learn the basics of tracking outbound links with this javascript code set up on this url http://queenofhats.com/links.php I think I have a bug in my javascript that tracks clicks on an outbound link. http://www.portlandmaine.com When A person clicks on the "Portland Maine" link, in theory it should create a virtual pageload of a page called "portland_maine". I have clicked on the link, but when I filter on "portland" in the Top Content section of Google Analyitcs, there are is no record of the click. So I think my javascript code has a bug. Any comment on the javascript would be most welcome. I just noticed that I have \ before /links. Is the "" the source of the problem? Thanks!!
Reporting & Analytics | | dsexton100