From 13fb9fec02da606198291b315680372635bbf67c Mon Sep 17 00:00:00 2001 From: southern-growthcode <79725079+southern-growthcode@users.noreply.github.com> Date: Thu, 8 Dec 2022 14:53:47 -0500 Subject: [PATCH] Added GrowthCode Analyics to Docs (#4029) --- dev-docs/analytics/growthcode.md | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dev-docs/analytics/growthcode.md diff --git a/dev-docs/analytics/growthcode.md b/dev-docs/analytics/growthcode.md new file mode 100644 index 0000000000..e391e65280 --- /dev/null +++ b/dev-docs/analytics/growthcode.md @@ -0,0 +1,45 @@ +--- +layout: analytics +title: Growthcode +description: GrowthCode Analytics Adapter +modulecode: growthCodeAnalytics +enable_download: false +--- + +#### Registration + +[GrowthCode](https://growthcode.io) offers scaled infrastructure-as-a-service to +empower independent publishers to harness data and take control of identity and +audience while rapidly aligning to industry changes and margin pressure. + +Please visit [https://growthcode.io/](https://growthcode.io/) for more information. + +#### Analytics Options + +| Param enableAnalytics | Scope | Type | Description | Example | +|-----------------------|----------|--------|---------------------------------------------------------|--------------------------| +| provider | Required | String | The name of this Adapter. | `"growthCodeAnalytics"` | +| params | Required | Object | Details of module params. | | +| params.pid | Required | String | This is the Customer ID value obtained from GrowthCode. | `""` | +| params.url | Optional | String | Custom URL for server | | +| params.trackEvents | Required | String | Name if the variable that holds your publisher ID | | + +#### Example Configuration + +```javascript +pbjs.enableAnalytics({ + provider: 'growthCodeAnalytics', + options: { + pid: '', + trackEvents: [ + 'auctionEnd', + 'bidAdjustment', + 'bidTimeout', + 'bidRequested', + 'bidResponse', + 'noBid', + 'bidWon', + 'bidderDone'] + } +}); +```