@metarouter/ajs-starter-kit 1.0.54 → 1.0.56

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- "db0e1e4e090a4feb2b39017aa3f051b9"
@@ -1,42 +0,0 @@
1
- {
2
- "params": [
3
- {
4
- "name": "DATASTREAM_ID",
5
- "defaultValue": "datastream-id"
6
- },
7
- {
8
- "name": "ACCESS_TOKEN",
9
- "defaultValue": "access-token"
10
- },
11
- {
12
- "name": "ORG_ID",
13
- "exampleValue": "org-id"
14
- },
15
- {
16
- "name": "API_KEY",
17
- "exampleValue": "api-key"
18
- }
19
- ],
20
- "default": {
21
- "endpoint": "https://server.adobedc.net/ee/v2/interact?dataStreamId=$$DATASTREAM_ID$$",
22
- "method": "POST",
23
- "headers": [
24
- {
25
- "key": "Authorization",
26
- "value": "Bearer $$ACCESS_TOKEN$$"
27
- },
28
- {
29
- "key": "x-gw-ims-org-id",
30
- "value": "$$ORG_ID$$"
31
- },
32
- {
33
- "key": "x-api-key",
34
- "value": "$$API_KEY$$"
35
- },
36
- {
37
- "key": "Content-Type",
38
- "value": "application/json"
39
- }
40
- ]
41
- }
42
- }
@@ -1 +0,0 @@
1
- "d41d8cd98f00b204e9800998ecf8427e"
@@ -1,20 +0,0 @@
1
- {
2
- "isDraft": false,
3
- "isBeta": true,
4
- "friendlyName": "Adobe Analytics",
5
- "description": "Adobe Analytics is a web and marketing analytics tool focused on in-depth reporting of customer web and marketing journeys.",
6
- "logo": "https://cdn.metarouter.io/logo.svg",
7
- "color": "#2E204B",
8
- "eventSource": {
9
- "isAndroidApp": true,
10
- "isIosApp": true,
11
- "isWebApp": true
12
- },
13
- "inputSchema": "analytics_js",
14
- "releaseNotes": [
15
- {
16
- "date": "2023-03-07T00:00:00.000Z",
17
- "note": "Adobe Analytics initial release."
18
- }
19
- ]
20
- }
@@ -1 +0,0 @@
1
- "5e77d68e5bca1d0f425cc1bd53168dd7"
@@ -1,71 +0,0 @@
1
- {
2
- "version": "v0.0.1",
3
- "default": {
4
- "filters": [
5
- {
6
- "byEventNames": {
7
- "action": "allow",
8
- "events": [
9
- ""
10
- ]
11
- }
12
- }
13
- ]
14
- },
15
- "global": {
16
- "mappings": [
17
- {
18
- "inputKey": "input",
19
- "outputKey": "event.xdm.identityMap.FPID",
20
- "transforms": [
21
- {
22
- "expression": {
23
- "body": "return {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
24
- "lang": "lua"
25
- }
26
- }
27
- ]
28
- },
29
- {
30
- "inputKey": "input",
31
- "outputKey": "event.xdm.identityMap.Email_LC_SHA256",
32
- "transforms": [
33
- {
34
- "expression": {
35
- "body": "if (input.context.traits.email) then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(input.context.traits.email))), primary = false }}\nend\nreturn",
36
- "lang": "lua"
37
- }
38
- }
39
- ]
40
- },
41
- {
42
- "inputKey": "timestamp",
43
- "outputKey": "event.xdm.timestamp"
44
- }
45
- ]
46
- },
47
- "eventSpecific": {
48
- "page": {
49
- "enrichments": [
50
- {
51
- "outputKey": "event.xdm.eventType",
52
- "staticString": "web.webpagedetails.pageViews"
53
- }
54
- ],
55
- "mappings": [
56
- {
57
- "inputKey": "context.page.url",
58
- "outputKey": "event.xdm.web.webPageDetails.URL"
59
- },
60
- {
61
- "inputKey": "context.page.title",
62
- "outputKey": "event.xdm.web.webPageDetails.name"
63
- },
64
- {
65
- "inputKey": "context.page.referrer",
66
- "outputKey": "event.data.prop1"
67
- }
68
- ]
69
- }
70
- }
71
- }