Cheat sheet: GTM DataLayer (app version)

 

cheat sheet 2 header logos

 

ScreenProductsCartTransaction
screen.idecommerce.detail.products[n].idecommerce.add.actionField.idecommerce.purchase.actionField.id
screenNameecommerce.detail.products[n].nameecommerce.add.actionField.stepecommerce.purchase.actionField.step
screenDeviceSysEnvgoogle_tag_params.ecomm_pagetypeecommerce.currencyCodeecommerce.currencyCode
screenDeviceOrientationgoogle_tag_params.ecomm_prodidecommerce.add.actionField.revenueecommerce.purchase.actionField.coupon
googleContentExperimentsVersionPromotional BannerSocial Eventsecommerce.purchase.actionField.tax
screenSiteSearchTermecommerce.promoClick.promotions[n].idnetworkecommerce.purchase.actionField.revenue
screenSiteSearchCategoriesecommerce.promoClick.promotions[n].creativesocialActionecommerce.purchase.actionField.date
screenSiteSearchResultsEventsElements/Componentsecommerce.purchase.products[n].id
languageevent.idelement.idecommerce.purchase.products[n].name
screenCountryeventelementClassecommerce.purchase.products[n].variation
screenGeoRegioneventCategoryelementNameecommerce.purchase.products[n].category
google_tag_params.ecomm_pagetypeeventActionUser (Profile & Segments)ecommerce.purchase.products[n].price
screenGroup2_categoryeventLabeluser.idecommerce.purchase.products[n].quantity
screenGroup3_subCategoryeventValuefirstInstallDateTransaction (Billing Address)
screenGroup4_templateNameeventNonInteractivevisitorLifetimeValueecommerce.purchase.actionField.city
screenGroup5_containerVersionengagementPointsgoogle_tag_params.isNewRegistrationecommerce.purchase.actionField.region
referrer (Android only)Privacygoogle_tag_params.isUserNewCustomerecommerce.purchase.actionField.country
customFunction (JSON value triggers)advertising tracking enabled (DNT=true|false)google_tag_params.isLoggedInecommerce.purchase.actionField.postalRegion
Version, Environment and Statusid for advertising (IDFA)google_tag_params.user_memberTypeDevice
app name: (angry birds)iosPersistentId / andriodPersistentIdgoogle_tag_params.user_ageRangeplatform
app id: (com.rovio.angrybirds)device id (Android only)google_tag_params.user_genderoperating system version
app version: (4.2.1)Securitygoogle_tag_params.user_customerQualityScoresdk version (aka platform version)
ga_debug: (on | off)Sandboxed: worst case custom Imagegoogle_tag_params.user_highSpenderScoredevice name
event: onload_datalayer2 stage authentication security settinggoogle_tag_params.session_typescreen resolution

 

Suggested Event Names

onload_screenview

onload_screenview_loggedIn

onload_screenview_accountCreated

onload_screenview_confirmation

ontap_close

ontap_search

exception

 

Content experiments and GooglePlay account need to be linked to GA to run A/B tests and see GooglePlay store impressions.

Referral Reporting (Android only)

For old versions of the GTM SDK for Android (pre-v3.0) an AndroidManifest.xml file needs to be added. The latest version does this natively.

 

Crash reporting

Exception & crash tracking need to be manual added (or triggered via a custom function tag).

“event”: “exception”

“exceptionIsFatal”: true,

“exceptionDescription”: “app is drunk”

 

Read this guide’s executive summary

Other Cheat sheets:

Cheat sheet of #digitalData JSON Object Names

GTM DataLayer cheat sheet (enhanced ecommerce version)

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x