Hello, what is the recommendation on click tracking and conversion event tracking with GA4 or GTM? We would like to be able to track some key click events and report the conversions in Google Analytics. Thanks!
1 Like
I’m following this documentation (Integrating Google Tag Manager with Google Analytics) but however I don’t seem the data variable populating in the console, and I don’t see any datalayer variables that allow GTM to pick up based on below. Is there anyway to get an updated instruction on the best way to track pageview and event on the site? Thanks!
Variables
- Go to the “Variables” tab in GTM and click “New” in the User-Defined Variables section.
- Create two Data Layer Variables:
- Title:
DL-page-title
Type:Data Layer Variable
Data Layer Variable Name:page.title
Data Layer Version: 2 - Title:
DL-page-url
Type:Data Layer Variable
Data Layer Variable Name:page.url
Data Layer Version: 2
1 Like