Profile cover photo
Profile photo
Simo Ahava
3,418 followers -
Senior Data Advocate
Senior Data Advocate

3,418 followers
About
Posts

Post has shared content
My latest #GTMTips post shows you how to collect the hit type of your GA hits into a Custom Dimension.
#GTMTips: Add Hit Type As A Custom Dimension

Use the tips in this article to collect the Hit Type of the Google Analytics hit as a custom dimension (e.g. "pageview", "event", "timing").

This is useful because it adds an additional level of detail that you can leverage in your segments, for example.

#gde #blogpost #googletagmanager

Post has attachment
#GTMTips: Add Hit Type As A Custom Dimension

Use the tips in this article to collect the Hit Type of the Google Analytics hit as a custom dimension (e.g. "pageview", "event", "timing").

This is useful because it adds an additional level of detail that you can leverage in your segments, for example.

#gde #blogpost #googletagmanager
Add a comment...

Post has shared content
Here's my latest article - yet again tackling the difficult task of tracking single-page apps!
#GTMTips: Delay the history change trigger

My latest #GTMTips article is around delaying the history change event. This is useful with single-page apps (SPA), because occasionally they might dispatch the history event before the new content has been loaded.

Thus if your tags need to access this new content, you need to delay the trigger so that the content has time to load.

#gde #blogpost #googletagmanager

Post has attachment
#GTMTips: Delay the history change trigger

My latest #GTMTips article is around delaying the history change event. This is useful with single-page apps (SPA), because occasionally they might dispatch the history event before the new content has been loaded.

Thus if your tags need to access this new content, you need to delay the trigger so that the content has time to load.

#gde #blogpost #googletagmanager
Add a comment...

Post has shared content
My latest guide, written together with Jethro Nederhof of Snowflake Analytics.
Track browing behavior in Google Analytics

With this guide, you'll be able to track granular information about your site visitors' browsing behavior using Custom Dimensions in Google Analytics.

Browsing behavior includes things like:

- How the user navigated to the page (typed the URL, reloaded, pressed back/forward)

- Was the tab a new tab or an existing tab

- How many tabs the user has open on your site

- How many redirects did the browser pass through when loading the page

You can use this information to accurately model the browsing behavior of your visitors. This will, in turn, help you understand better how metrics like Time On Page and dimensions like Previous Page Path get more inaccurate the more your users make use of tabbed browsing.

#gde #googleanalytics #blogpost

Post has attachment
Track browing behavior in Google Analytics

With this guide, you'll be able to track granular information about your site visitors' browsing behavior using Custom Dimensions in Google Analytics.

Browsing behavior includes things like:

- How the user navigated to the page (typed the URL, reloaded, pressed back/forward)

- Was the tab a new tab or an existing tab

- How many tabs the user has open on your site

- How many redirects did the browser pass through when loading the page

You can use this information to accurately model the browsing behavior of your visitors. This will, in turn, help you understand better how metrics like Time On Page and dimensions like Previous Page Path get more inaccurate the more your users make use of tabbed browsing.

#gde #googleanalytics #blogpost
Add a comment...

Post has shared content
I've tried to distill 3+ years experience of using Google Analytics in Google Apps Script. This post includes GATrack, a helper class I've developed which uses queue and batch techniques to minimize UrlFetchApp calls and to send data directly into GA. The post also has some tips on using traditional Google Analytics tracking in HTMLService

#gde #googleappsscript
Add a comment...

Post has shared content
Very quick tip here - have the GTM script dispatch a browser event the second it has downloaded and initialized!
#GTMTips: Notify the page that GTM has loaded

Here's a quick tip to get the weekend going.

By making a small change to the container snippet, you can have the page receive a browser event the second that the GTM container has downloaded and been initialized.

This might be useful if you have dependencies on the site waiting for GTM to be downloaded, and using a tag within GTM to inform the page is too late.

#gde #blogpost #googletagmanager

Post has attachment
#GTMTips: Notify the page that GTM has loaded

Here's a quick tip to get the weekend going.

By making a small change to the container snippet, you can have the page receive a browser event the second that the GTM container has downloaded and been initialized.

This might be useful if you have dependencies on the site waiting for GTM to be downloaded, and using a tag within GTM to inform the page is too late.

#gde #blogpost #googletagmanager
Add a comment...

Post has shared content
Hacking around the GTM UI - this time sorting Custom Dimension fields by ascending order of index number!
#GTMTips: Sort Custom Dimensions By Index Number

Here's a quick and hacky tip. With a little JavaScript snippet executed in the browser's developer console, you can sort all the Custom Dimension fields by index number within your Google Analytics tags and Google Analytics Settings variables!

#gde #blogpost #googletagmanager
Wait while more posts are being loaded