managed-components / managed-components/google-ads

Support enhanced conversions

Open
#8 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Allow additional attributes to be passed in and hashed for [enhanced conversions](https://support.google.com/google-ads/answer/13258081). This will improve matching for ads by passing in known data about the user.

The Google documentation defines what fields can be passed in, and they could be pre-hashed with SHA256. The exact data format of the API request isn't clear from the docs, but in the validate your implementation section, it mentions the `em` parameter will be added:

> Look for a parameter “em” with a hashed string as the value. The value should start with “tv.1~em” followed by a long string of characters. If you see the "em" parameter, this means that the enhanced conversions tag is picking up and hashing the enhanced_conversion_data object.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Google enhanced conversions documentation and its “validate your implementation” section, focusing on the allowed fields, SHA256 preprocessing, and the `em` parameter format. Compare those requirements with the existing TypeScript Google Ads component, then confirm done when supported attributes are passed in the documented format and the resulting request exposes the expected `em` value.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.