Skip to content

managed-components/google-ads

Repository files navigation

Google Ads Managed Component

Find out more about Managed Components here for inspiration and motivation details.

Released under the Apache license. PRs welcome! code style: prettier All Contributors

🚀 Quickstart local dev environment

  1. Make sure you're running node version >=18.
  2. Install dependencies with npm i
  3. Run unit test watcher with npm run test:dev

⚙️ Tool Settings

Settings are used to configure the tool in a Component Manager config file

Conversion ID string required

conversionId - Google Ads conversion tags help to build reports that show you what happens after a customer clicks on your ads.

Enable Conversion Linker boolean

conversionLinker - Enables the conversion linker for this Google Ads component.

🧱 Fields Description

Event Type string required

event the type of event can be one of:

  • Conversion
  • Remarketing

Its value will determine how Google Ads will process it.

Label string

label - The Conversion Label identifies the specific conversion. Learn more

Google Analytics Account string required

gaAccount - Enter your Google Analytics tracking ID to link to the conversion to your Google analytics account.

Once-per-page boolean

zrzOncePerPage - Use to avoid firing tag more than once.

Domains string

domains - Expects a comma separated list of domains to set up cross-domain measurement. Learn more

📝 License

Licensed under the Apache License.

💜 Thanks

Thanks to everyone contributing in any manner for this repo and to everyone working on Open Source in general.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!