Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/managed-components/google-ads
Google Ads Managed Component
https://github.com/managed-components/google-ads
Last synced: 3 months ago
JSON representation
Google Ads Managed Component
- Host: GitHub
- URL: https://github.com/managed-components/google-ads
- Owner: managed-components
- License: other
- Created: 2023-02-20T18:18:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T13:47:21.000Z (9 months ago)
- Last Synced: 2024-04-24T15:14:00.239Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 318 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zaraz - Google Ads
- awesome-zaraz - Google Ads
README
# Google Ads Managed Component
Find out more about Managed Components [here](https://blog.cloudflare.com/zaraz-open-source-managed-components-and-webcm/) for inspiration and motivation details.
[![Released under the Apache license.](https://img.shields.io/badge/license-apache-blue.svg)](./LICENSE)
[![PRs welcome!](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![All Contributors](https://img.shields.io/github/all-contributors/managed-components/snapchat?color=ee8449&style=flat-square)](#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
- RemarketingIts value will determine how Google Ads will process it.
### Label `string`
`label` - The Conversion Label identifies the specific conversion. [Learn more](https://support.google.com/google-ads/answer/6095821)
### 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](https://developers.google.com/tag-platform/devguides/cross-domain)
## 📝 License
Licensed under the [Apache License](./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](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!