We need to track clicks on all action buttons (download, start quiz, payment, etc.) on the following pages:
- Paper Details
- Multimedia
- Exam Details
Each button should be tracked individually so we can analyze user interactions in Google Analytics.
Tasks
-
Update HTML/JS code:
- Add a unique
id or data-action-id to each button on these pages.
-
Set up tracking in Google Tag Manager:
- Create a click trigger for all action buttons.
- Send events to Google Analytics (GA4).
- Event Name:
action_click
- Include parameters like
button_id, button_text, and page_path.
-
Testing:
- Test the tracking in a separate/test GA4 account before publishing to the live account.
- Verify events fire correctly for all button types (JS-triggered, page redirects, payment flows, etc.).
Acceptance Criteria
- Each action button on these pages has a unique identifier.
- Button clicks are tracked individually in GA4.
- Events are successfully tested in a separate/test analytics account.
@Matinj031
We need to track clicks on all action buttons (download, start quiz, payment, etc.) on the following pages:
Each button should be tracked individually so we can analyze user interactions in Google Analytics.
Tasks
Update HTML/JS code:
idordata-action-idto each button on these pages.Set up tracking in Google Tag Manager:
action_clickbutton_id,button_text, andpage_path.Testing:
Acceptance Criteria
@Matinj031