ampproject / ampproject/amphtml

Add Google Tag Manager support for amp-subscriptions-google component

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

Description

## Describe the new feature or change to an existing feature you'd like to see

We are running subscription based amp-site. Subscriptions are fully managed by Subscribe with Google (amp-subscrpitions-google compoment). Tracking runs fully on Google Tag Manager configuration.
However, we cannot track a full conversion (=succesful subscription) with Google Tag Manager.

Can you please provide a solution to collect the events defined here https://amp.dev/documentation/components/amp-subscriptions/?format=websites via Google Tag Manager?

## Describe alternatives you've considered

--

## Additional context

--

Contributor guide

Open the contributing guide

Research direction

Start with the amp-subscriptions-google component and review the amp-subscriptions documentation linked in the issue, focusing on the events that need to be collected. Done means defining a solution that lets Google Tag Manager observe successful subscription conversions and the other documented events.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.