google analytics - How to create a custom metric for GA in GTM, this custom metrics should increment everytime the event action "TEST" is fired -


how create custom metric ga in gtm custom metrics should increment every time event action test fired

first need create custom metric in google analytics. go property settings, custom definitions, custom metrics. click "new metric", provide name , scope. make note of numeric index given new metric, need adress field in gtm.

in gtm go analytics tag fires event. in "more settings" "custom metrics". click "new custom metric". in first field enter numeric index metric (see above), in second enter number "1". number added metric in ga every time tag fired.

if use google analytics settings variable in gtm need check "enable overwriting settings tag" access "more settings" pane.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -