ampproject / ampproject/amphtml

add new amp-analytics triggers for Core Web Vitals in googletagmanager

Open
#32,643 1 comment 0 reactions 0 assignees View on GitHub
Stale Type: Bug
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

According to the [example](https://amp.dev/documentation/examples/advertising-analytics/tracking_core_web_vitals/?format=websites), it is available for amp-analytics type googleanalytics, but we use googletagmanager

We implemented it, but we still do not see that it records information, do you think it will be possible with GTM + SSR?

https://koko.news/mobile/eat/5-simple-ways-to-help-improve-your-blood-sugar-regulation-20210205-0001.html

![image](https://user-images.githubusercontent.com/20131646/107824008-7bb96380-6d5f-11eb-8bb4-518c490f48ba.png)

In GTM the corresponding variables were declared and sent through custom dimensions, but we don't see that it registers values.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the linked amp-analytics Core Web Vitals example for googleanalytics with the googletagmanager configuration and the reported GTM variables and custom dimensions. Confirm whether GTM with SSR can record the values, and consider the work complete when Core Web Vitals data is visibly registered through the documented setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.