📜 ⬆️ ⬇️

Web analytics with Google Tag Manager



Relatively recently, we were redesigning and optimizing our site and came across a number of problems associated with scripts and tracking codes from Google. Namely:


In this article, we will look at solving these problems using Google Analytics as an example, through Google Tag Manager, and consider a new model of organizing work with scripts to analyze how a site works with practical examples and a bunch of pictures.

It's about Google Tag Manager ( Google Tag Manager ).
')
The main advantages of switching to the tag manager in our opinion:

Also, if you have a resource that is developed using version control and in order to make changes to the code of the pages, you have to wait for the next release, then Google Tag Manager is exactly what you need.

Little theoretical part


or go directly to the practice

For a quick start, we need to understand the basic terms that are needed to get started with the Google Tag Manager, namely:

These terms will appear both in the article and in any documentation from Google.

The account is an account =) as well as in Google Analytics, does not need representation.

The container is the main and only fragment of the JS code that we insert on all pages of the site. In essence, it is a tag, but its function is that it serves as a container for all tags. About them is written below. A kind of "architeg" that runs all the other tags, in accordance with the rules that we asked.

A tag is a fragment of a JS code. All the scripts we used to manually insert into the site’s pages, for example, Google Analytics code, Adwords conversion tracking code, custom code, etc.

A rule is a condition under which a tag will be called and executed or vice versa (blocked). For example, for the Google Analytics code, the rule of “shot” is: “on all pages”.

Macros - “Macros are name / value pairs for which values ​​are passed in the process.” Used when setting up rules. In our case, data level variables for event tracking (Event Tracking) in conjunction with the goals of Google Analytics, more in the practical part

To summarize, there is a container code in the page code. Tags that comply with the activation rules are uploaded and activated to the container from the Google server. Macros are needed to customize tags and rules.

image
Fig.1 Interaction scheme of elements



Practical example


Now consider the above in the simplest example using the basic features.

Google has a great plugin tool for Google Chrome - “Tag Assistant” . Install and return to it later.

So, suppose there is:

It is necessary:

We register Google Analytics and Google Tag Manager.
In the tag manager, create an account (Fig. 2).

image
Fig.2 Account creation



Next, create a container (Figure 3). Specify the type: "Web pages" or "Mobile applications" and specify our domains (which, in principle, optional). In our case, we do not specify a subdomain, because we will use cross-domain tracking.

image
Fig.3 Creating a container



Done! We are given the same treasured container code, which we must place immediately after the opening tag .

, (Event Tracking) . , , .
- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .
- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
  1. .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  2. .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  3. .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  4. .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
 . 

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
 . 

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
  • .

    , (Event Tracking) . , , .

    - .

    - . «Google Analytics»(.4)

    image
    .4


    , Google Analytics, :
    « -» - « » - « ». Google Analytics . - « » > « » « » ( )
    image
    .5 Google Analytics


    Google Analytics . (Event Tracking). 3 , - .

    , 3 : eventCategory , eventAction , eventLabel . , «event», .

    image
    .6


    , - «Google Analytics», , - «» , :
    - GA Event Category - GA Event Action - GA Event Label
    image
    .7 Google Analytics


    (.8). , «event»

    image
    .8


    ?
    , :
    <a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
    , jQuery Google Tag Manager( ), :
    <script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
    image
    . 9


    , , .push() , Google Analytics.

    , 4 : «event», «eventCategory», «eventAction», «eventLabel»
    :
    'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
    Google Analytics, « ».

    - . .10
    image
    . 10 , Google Analytics


    Google Analytics, dataLayer.push() .

    Google Analytics , , , . « » - (.11).

    image
    . 11


    : «Tag Assistant», .
    image
    .12 Tag Assistant


    , . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

    .

    , :
    - , (Google Tag Manager) .
.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

.

, (Event Tracking) . , , .

- .

- . «Google Analytics»(.4)

image
.4


, Google Analytics, :
« -» - « » - « ». Google Analytics . - « » > « » « » ( )
image
.5 Google Analytics


Google Analytics . (Event Tracking). 3 , - .

, 3 : eventCategory , eventAction , eventLabel . , «event», .

image
.6


, - «Google Analytics», , - «» , :
- GA Event Category - GA Event Action - GA Event Label
image
.7 Google Analytics


(.8). , «event»

image
.8


?
, :
<a href="#" onclick="dataLayer.push({'event':'value', 'eventCategory':'value', 'eventAction':'value', 'eventLabel':'value'})">
, jQuery Google Tag Manager( ), :
<script> $(document).ready(function(){ $(' ').click(function() { dataLayer.push({'event':'GAevent', 'eventCategory':' ', 'eventAction':' ', 'eventLabel':' '}); }); }); </script>
image
. 9


, , .push() , Google Analytics.

, 4 : «event», «eventCategory», «eventAction», «eventLabel»
:
'event' : 'GAevent' 'eventCategory' : 'value' 'eventAction' : 'value' 'eventLabel' : 'value'
Google Analytics, « ».

- . .10
image
. 10 , Google Analytics


Google Analytics, dataLayer.push() .

Google Analytics , , , . « » - (.11).

image
. 11


: «Tag Assistant», .
image
.12 Tag Assistant


, . «working» , . , . , Data Layer.(, dataLayer "tag assistant" ).

.

, :
- , (Google Tag Manager) .

Source: https://habr.com/ru/post/203622/


All Articles