Dlouhá stránka se sekcemi

Scroll Tracking

Scrollování uživatele na stránce může být zachyceno jako událost a posíláno například do Google Analytics.

Můžeme například zachytit doscrollování do 25/50/75/90 % výšky stránky. Pokud má stránka jednotlivé sekce označené pomoci HTML atributu id, můžeme zachytit doscrollování do jednotlivých sekcí (pojmenovaných pomoci id). Můžete také jako událost či zobrazení stránky zachytit změnu kotvy (část za #) v URL.

Skok do sekce → Intro Features Technoogy Performance Privacy Popularity

Wikipedia: Google Analytics

An example article from https://en.wikipedia.org/wiki/Google_Analytics

Google Analytics is a freemium web analytics service offered by Google that tracks and reports website traffic.[1]Google launched the service in November 2005 after acquiring Urchin.[2] Google Analytics is now the most widely used web analytics service on the Internet.[3] Google Analytics is offered also in two additional versions: a subscription based Google Analytics Premium targeted at enterprise users and Google Analytics for Mobile Apps, an SDK that allows gathering usage data from iOS and Android Apps.

Google acquired Urchin Software Corp. in April 2005.[2] Google's service was developed from Urchin on Demand. The system also brings ideas from Adaptive Path, whose product, Measure Map, was acquired and used in the redesign of Google Analytics in 2006.[4] Google continued to sell the standalone, installable Urchin WebAnalytics Software through a network of value-added resellers until discontinuation on March 28, 2012.[5][6]

The Google-branded version was rolled out in November 2005 to anyone who wished to sign up. However, due to extremely high demand for the service, new sign-ups were suspended only a week later. As capacity was added to the system, Google began using a lottery-type invitation-code model. Prior to August 2006 Google was sending out batches of invitation codes as server availability permitted; since mid-August 2006 the service has been fully available to all users – whether they use Google for advertising or not.[citation needed]

The newer version of Google Analytics tracking code is known as the asynchronous tracking code,[7] which Google claims is significantly more sensitive and accurate, and is able to track even very short activities on the website. The previous version delayed page loading and so, for performance reasons, it was generally placed just before the </body> body close HTML tag. The new code can be placed between the <head>...</head> HTML head tags because, once triggered, it runs in parallel with page loading.[citation needed]

In April 2011 Google announced the availability of a new version of Google Analytics featuring multiple dashboards, more custom report options, and a new interface design.[8] This version was later updated with some other features such as real-time analytics and goal flow charts.[9][10]

In October 2012 the latest version of Google Analytics was announced, called 'Universal Analytics'.[11] The key differences from the previous versions were: cross-platform tracking, flexible tracking code to collect data from any device, and the introduction of custom dimensions and custom metrics [12]


Integrated with AdWords, users can now review online campaigns by tracking landing page quality and conversions (goals). Goals might include sales, lead generation, viewing a specific page, or downloading a particular file.[13]

Google Analytics' approach is to show high-level, dashboard-type data for the casual user, and more in-depth data further into the report set. Google Analytics analysis can identify poorly performing pages with techniques such as funnel visualization, where visitors came from (referrers), how long they stayed and their geographical position. It also provides more advanced features, including custom visitor segmentation.[citation needed]

Google Analytics e-commerce reporting can track sales activity and performance. The e-commerce reports shows a site's transactions, revenue, and many other commerce-related metrics.[14]

On September 29, 2011, Google Analytics launched Real Time analytics.[clarification needed][15]

A user can have 100 site profiles. Each profile generally corresponds to one website. It is limited to sites which have a traffic of fewer than 5 million pageviews per month (roughly 2 pageviews per second), unless the site is linked to an AdWords campaign.[16]

Google Analytics includes Google Website Optimizer, rebranded as Google Analytics Content Experiments.[17][18]

Google Analytics Cohort analysis feature helps understand the behavior of component groups of users apart from your user population. It is very much beneficial to marketers and analysts for successful implementation of Marketing Strategy


The tracking code loads a larger JavaScript file from the Google webserver and then sets variables with the user's account number. The larger file (currently known as ga.js) is typically 18 KB. The file does not usually have to be loaded, however, due to browser caching. Assuming caching is enabled in the browser, it downloads ga.js only once at the start of the visit. Furthermore, as all websites that implement Google Analytics with the ga.js code use the same master file from Google, a browser that has previously visited any other website running Google Analytics will already have the file cached on their machine.[citation needed]Google Analytics is implemented with "page tags", in this case called the Google Analytics Tracking Code, which is a snippet of JavaScript code that the website owner adds to every page of the website. The tracking code runs in the client browser when the client browses the page (if JavaScript is enabled in the browser) and collects visitor data and sends it to a Google data collection server as part of a request for a web beacon.[19]

In addition to transmitting information to a Google server, the tracking code sets a first party cookie (If cookies are enabled in the browser) on each visitor's computer. This cookie store anonymous information, called the ClientId.[20] Before the launch of Universal Analytics, there were several cookies storing information such as whether the visitor had been to the site before (new or returning visitor), the timestamp of the current visit, and the referrer site or campaign that directed the visitor to the page (e.g., search engine, keywords, banner, or email).

If the visitor arrived at the site by clicking on a link tagged with Urchin Traffic Monitor (UTM) codes such as:


the tag values are passed to the database too.[21]


In addition, Google Analytics for Mobile Package allows Google Analytics to be applied to mobile websites. The Mobile Package contains server-side tracking codes that use PHPJavaServer PagesASP.NET, or Perl for its server-side language.[22]

However, many ad filtering programs and extensions (such as Firefox's Adblock, and NoScript) and the mobile phone app Disconnect Mobile can block the Google Analytics Tracking Code. This prevents some traffic and users from being tracked, and leads to holes in the collected data. Also, privacy networks like Tor will mask the user's actual location and present inaccurate geographical data. Some users do not have JavaScript-enabled/capable browsers or turn this feature off. However, these limitations are considered small—affecting only a small percentage of visits.[23]

The largest potential impact on data accuracy comes from users deleting or blocking Google Analytics cookies.[24] Without cookies being set, Google Analytics cannot collect data. Any individual web user can block or delete cookies resulting in the data loss of those visits for Google Analytics users. Website owners can encourage users not to disable cookies, for example, by making visitors more comfortable using the site through posting a privacy policy.

These limitations affect the majority of web analytics tools which use page tags (usually JavaScript programs) embedded in web pages to collect visitor data, store it in cookies on the visitor's computer, and transmit it to a remote database by pretending to load a tiny graphic "beacon".[citation needed]

Another limitation of Google Analytics for large websites is the use of sampling in the generation of many of its reports. To reduce the load on their servers and to provide users with a relatively quick response for their query, Google Analytics limits reports to 500,000 randomly sampled sessions at the profile level for its calculations. While margins of error are indicated for the visits metric, margins of error are not provided for any other metrics in the Google Analytics reports. For small segments of data, the margin of error can be very large.[25]

Performance concerns

There have been several online discussions about the impact of Google Analytics on site performance.[26][27][28] However, Google introduced asynchronous JavaScript code in December 2009 to reduce the risk of slowing the loading of pages tagged with the ga.js script.[29][30]

Privacy issues

Main article: Browser security

Due to its ubiquity, Google Analytics raises some privacy concerns. Whenever someone visits a web site that uses Google Analytics, if JavaScript is enabled in the browser, then Google tracks that visit via the user's IP address in order to determine the user's approximate geographic location. To meet German legal requirements, Google Analytics can anonymize the IP address.[31]

Google has also released a browser plugin that turns off data about a page visit being sent to Google.[32][33] Since this plug-in is produced and distributed by Google itself, it has met much discussion and criticism. Furthermore, the realisation of Google scripts tracking user behaviours has spawned the production of multiple, often open-source, browser plug-ins to reject tracking cookies.[34] These plug-ins offer the user a choice, whether to allow Google Analytics (for example) to track his/her activities. However, partially because of new European privacy laws, most modern browsers allow users to reject tracking cookies, though Flash cookies can be a separate problem again.[citation needed]

It has been anecdotally reported that behind proxy servers and multiple firewalls that errors can occur changing time stamps and registering invalid searches.[35]

Webmasters who seek to mitigate Google Analytics specific privacy issues can employ a number of alternatives having their backends hosted on their own machines. Until its discontinuation, an example of such a product was Urchin WebAnalytics Software from Google itself.[citation needed]

On Jan. 20, 2015, the Associated Press reported in an article titled: "Government health care website quietly sharing personal data" that HealthCare.gov is providing access to enrollees personal data to private companies that specialize in advertising. Google Analytics was mentioned in that article.[36]

Support and training

Google offers free Google Analytics IQ Lessons,[37] Google Analytics certification test,[38] free Help Center[39] FAQ and Google Groups forum[40] for official Google Analytics product support. New product features are announced on the Google Analytics Blog.[41] Enterprise support is provided through Google Analytics Certified Partners.[42]sscsc

APIs for third-party application support

The Google Analytics API[43] is used by third parties to build custom applications[44] such as reporting tools. Many such applications exist. One was built to run oniOS (Apple) devices and is featured in Apple's app store.[45] There are some third party products that also provide Google Analytic based tracking.[46]

APIs limits and quotas

Google describes the limits and quotas for the Management API, Core Reporting API, MCF Reporting API, and Real Time Reporting API in case you are planning to use it for the marketing campaigns.


Google Analytics is the most widely used website statistics service,[3] currently in use on around 55% of the 10,000 most popular websites.[47] Another market share analysis claims that Google Analytics is used at around 49.95% of the top 1,000,000 websites (as currently ranked by Alexa).[48]

Google Analytics is used by 66.2% of the 10,000 most popular websites ordered by popularity, as reported by BuiltWith in August, 2013.[49] In May 2008, Pingdomreleased a survey stating that 161 (or 32%) out of 500 biggest sites globally according to their Alexa rank were using Google Analytics.[50][51]

O tomto webu

Web slouží především pro školení Google Tag Manager prakticky.

Aktuálně vložený GTM kód je: GTM-K4JJW8T

Naučte se GTM prakticky
a ušetřete čas a peníze na vašich projektech

Přihlašte se na školení.

Vše o školení GTM prakticky