@metarouter/ajs-starter-kit 1.0.96 → 1.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "3d619397385a391047b78adb28348ba6"
1
+ "98f8ba21dccd395f98adf84fddd4494a"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isBeta": false,
4
- "friendlyName": "Google Ads",
5
- "description": "Google Ads is an online advertising platform developed by Google, where advertisers bid to display advertisements to users.",
4
+ "friendlyName": "Google Ads - Conversions",
5
+ "description": "Google Ads - Conversions is an online advertising platform developed by Google, where advertisers bid to display advertisements to users.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#4185f5",
8
8
  "eventSource": {
@@ -31,6 +31,10 @@
31
31
  {
32
32
  "date": "2024-04-24T00:00:00.000Z",
33
33
  "note": "Version: 1.1.0\nRemoved `userIdentifiers` field"
34
+ },
35
+ {
36
+ "date": "2024-06-26T00:00:00.000Z",
37
+ "note": "Renaming to Google Ads - Conversions"
34
38
  }
35
39
  ]
36
40
  }
@@ -1 +1 @@
1
- "007a6fa7c4ba24ea16c9f9dc55e91cf7"
1
+ "5bfcb5d093e2d6d8bbaf14ffbc218f19"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isBeta": true,
4
- "friendlyName": "Google Ads Audience",
4
+ "friendlyName": "Google AJSID Segments",
5
5
  "description": "Based on an AUDIENCE_ID, this job adds operations to the specified offline user data job.\nIt specifically adds the ajs annonimous ID to the job. When the event is an order completed, it adds details about that product.\nThis playbook was built based on this document https://developers.google.com/google-ads/api/rest/reference/rest/v16/customers.offlineUserDataJobs/addOperations\n",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#4185f5",
@@ -13,6 +13,10 @@
13
13
  {
14
14
  "date": "2024-05-29T00:00:00.000Z",
15
15
  "note": "Google Ads Audience initial release, version 0.1.0."
16
+ },
17
+ {
18
+ "date": "2024-06-26T00:00:00.000Z",
19
+ "note": "Renaming to Google AJSID Segments"
16
20
  }
17
21
  ]
18
22
  }
@@ -1 +1 @@
1
- "46967bbdca4f62bb261e8cd08df0126f"
1
+ "b503c431cf402515fea086d7b2b5461a"
@@ -27,6 +27,10 @@
27
27
  {
28
28
  "date": "2024-05-23T00:00:00.000Z",
29
29
  "note": "Deprecate field profileId and Create field profileIdStr"
30
+ },
31
+ {
32
+ "date": "2024-06-26T00:00:00.000Z",
33
+ "note": "Version: 0.2.0\nUpdate identity fields logic: gclid or dclid or mobileDeviceId or matchId"
30
34
  }
31
35
  ]
32
36
  }
@@ -1 +1 @@
1
- "8565f3c280df1be150d64b8d698e4420"
1
+ "00d635c5d98649cf4553bf2b71af74f1"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
@@ -42,18 +42,6 @@
42
42
  }
43
43
  ]
44
44
  },
45
- {
46
- "inputKey": "input",
47
- "outputKey": "gclid",
48
- "transforms": [
49
- {
50
- "expression": {
51
- "lang": "lua",
52
- "body": "return SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3]"
53
- }
54
- }
55
- ]
56
- },
57
45
  {
58
46
  "inputKey": "messageId",
59
47
  "outputKey": "ordinal"
@@ -70,6 +58,12 @@
70
58
  }
71
59
  ]
72
60
  }
61
+ ],
62
+ "expressions": [
63
+ {
64
+ "lang": "lua",
65
+ "body": "local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\nlocal dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\nlocal mobileDeviceId = input.context.device.advertisingId;\nlocal matchId = input.anonymousId;\nreturn (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })"
66
+ }
73
67
  ]
74
68
  },
75
69
  "eventSpecific": {
package/README.md CHANGED
@@ -8,22 +8,22 @@ previously.
8
8
  ## 2024-06
9
9
  - Adobe Analytics (BETA)
10
10
  - Clinch
11
+ - Google Ads - Conversions
12
+ - Google AJSID Segments (BETA)
13
+ - Google Campaign Manager (BETA)
11
14
  - Nextdoor - CAPI (BETA)
12
15
  - Snapchat - CAPI (BETA)
13
16
 
14
17
  ## 2024-05
15
18
  - Build Your Own (BETA)
16
19
  - Criteo
17
- - Google Ads Audience (BETA)
18
20
  - Google Analytics 4 (Collect) (BETA)
19
- - Google Campaign Manager (BETA)
20
21
  - Movable Ink - Customer Data
21
22
 
22
23
  ## 2024-04
23
24
  - Azure Blob
24
25
  - Commission Junction
25
26
  - Facebook Pixel
26
- - Google Ads
27
27
  - Google Analytics 4
28
28
 
29
29
  ## 2024-03
@@ -93,18 +93,18 @@ previously.
93
93
  |----------|------|-------------|
94
94
  | Adobe Analytics (BETA) | 2024-06 | Version: 0.2.0 Adding Bearer Authentication Removing oAuth |
95
95
  | Clinch | 2024-06 | Version: 1.0.0 Stable release |
96
+ | Google Ads - Conversions | 2024-06 | Renaming to Google Ads - Conversions |
97
+ | Google AJSID Segments (BETA) | 2024-06 | Renaming to Google AJSID Segments |
98
+ | Google Campaign Manager (BETA) | 2024-06 | Version: 0.2.0 Update identity fields logic: gclid or dclid or mobileDeviceId or matchId |
96
99
  | Nextdoor - CAPI (BETA) | 2024-06 | Version: 0.1.0 Beta Version Nextdoor CAPI initial release |
97
100
  | Snapchat - CAPI (BETA) | 2024-06 | Version: 0.1.0 Beta Version Snapchat CAPI initial release |
98
101
  | Build Your Own (BETA) | 2024-05 | Version: 0.1.0 Beta Version BYO initial release |
99
102
  | Criteo | 2024-05 | Stable release version: 1.0.0. |
100
- | Google Ads Audience (BETA) | 2024-05 | Google Ads Audience initial release, version 0.1.0. |
101
103
  | Google Analytics 4 (Collect) (BETA) | 2024-05 | Version: 0.2.0 Updated `context.providers` usage for the `gclid` and `dclid` fields |
102
- | Google Campaign Manager (BETA) | 2024-05 | Deprecate field profileId and Create field profileIdStr |
103
104
  | Movable Ink - Customer Data | 2024-05 | Version: 1.1.0 Endpoint updated. |
104
105
  | Azure Blob | 2024-04 | Added SAS Token |
105
106
  | Commission Junction | 2024-04 | Removed travel-related params and "advanced integration" `items` field. Stable release version: 1.0.0. |
106
107
  | Facebook Pixel | 2024-04 | Version: 1.2.0 Updated CAPI default version to `v19.0` |
107
- | Google Ads | 2024-04 | Version: 1.1.0 Removed `userIdentifiers` field |
108
108
  | Google Analytics 4 | 2024-04 | Version: 1.1.0 Added session data: session ID, session Count Added Engagement Time In Milliseconds |
109
109
  | Heap (BETA) | 2024-03 | heap initial release. |
110
110
  | Reddit Ads | 2024-03 | Updated Standard events usage Version bump: 1.1.0 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {