Skip to content

Add video tracking subtype#648

Merged
waisingyiu merged 1 commit into
mainfrom
ws/add-video-tracking-subtype
May 19, 2026
Merged

Add video tracking subtype#648
waisingyiu merged 1 commit into
mainfrom
ws/add-video-tracking-subtype

Conversation

@waisingyiu
Copy link
Copy Markdown
Contributor

@waisingyiu waisingyiu commented May 15, 2026

What does this change?

We are working on making content atoms taggable to improve data analysis.

The pull request adds a subtype video under tracking type for tags that will be intended for video tracking.

How has this change been tested?

In tagmanager, create a new tag and on the UI we should be able to select the new subtype video under the tracking type. After creating a tag with video tracking subtype, we could find the tags by the API - e.g. https://tagmanager.code.dev-gutools.co.uk/hyper/tags?query=&type=tracking&subType=video&limit=150

Images

Before After
Screenshot 2026-05-15 at 15 33 55 Screenshot 2026-05-15 at 15 40 47

@waisingyiu waisingyiu added the feature Departmental tracking: work on a new feature label May 15, 2026
@waisingyiu waisingyiu marked this pull request as ready for review May 15, 2026 15:09
@waisingyiu waisingyiu requested a review from a team as a code owner May 15, 2026 15:09
{name: 'Platform Functional', value: 'platformfunctional'},
{name: 'Audience', value: 'audience'}
{name: 'Audience', value: 'audience'},
{name: 'Video', value: 'video'},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT It doesn't look like this data is included in the Tag Thrift definition. Is this the only place where the sub type is specified?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think so. The subtype is represented as a plain string in the Tag Thrift model - https://github.com/guardian/tags-thrift-schema/blob/main/src/main/thrift/tag.thrift#L129

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that!

@waisingyiu waisingyiu requested a review from SHession May 18, 2026 13:39
@waisingyiu waisingyiu merged commit 75aebd7 into main May 19, 2026
7 of 8 checks passed
@waisingyiu waisingyiu deleted the ws/add-video-tracking-subtype branch May 19, 2026 08:13
@gu-prout
Copy link
Copy Markdown

gu-prout Bot commented May 19, 2026

Seen on PROD (merged by @waisingyiu 4 minutes and 26 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants