Google analytics asynchronous how does it work




















Analytics uses this information in constructing reports like the Map Overlay , Browser , and Referring Sites reports. Analytics also sets and reads first-party cookies on your users' browsers in order to obtain user session and any ad campaign information from the page request.

When all this information is collected, it is sent to the Analytics servers in the form of a long list of parameters attached to a single-pixel GIF image request.

The data contained in the GIF request is the data sent to the Google Analytics servers, which then gets processed and ends up in your reports. Here is an example of only a portion of a GIF request:. For customers that have enabled the Remarketing with Google Analytics feature, a third-party DoubleClick cookie is used to enable remarketing for products like Google Ads. When this feature is used, information including the third-party DoubleClick cookie is similarly sent to the Analytics servers, but the example request looks like:.

The ga. Subsequent tracking calls are made directly to Google Analytics. Loads the script element to the DOM.

After the tracking code collects data, the GIF request is sent to the Analytics database for logging and post-processing. In each of these cases, the GIF request is identified by type in the utmt parameter. In addition, the type of the request also determines which data is sent to the Analytics servers.

For example, transaction and item data is only sent to the Analytics servers when a purchase is made. No additional code should added if you use Google Universal Analytics.

Google Analytics is offered in two flavors: synchronous and asynchronous. You can use either with AddThis. For more information about installing and configuring Google Analytics for the first time, please refer to Tracking sites with Google Analytics. Once Google analytics is installed on your pages, you can send AddThis shares to your Google Analytics reports as custom events in the category addthis by adding the following configuration lines to your existing AddThis code.

Once you have installed the code as outlined above, you will begin to see custom events show up in your Google Analytics dashboard.

Now I'm inserting it on every page, what is of course not optimal as it is not cached. Posted on 28 June at PM permalink. Excellent thanks very much Peter, I was wondering today how the push worked to generate a utm. The GA documentation was a little confusing, suggesting in all the examples that.

Posted on 29 June at AM permalink. Hey Tomas, what are you trying to fix? You might want to test it before deploying though. Also, does the external click tracking work reliably?



0コメント

  • 1000 / 1000