react-marketing-tools 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -56,7 +56,8 @@ COMING SOON: [React Marketing Tools Demo](https://)
56
56
  IMPORTANT_BUTTON_CLICKED: 'IMPORTANT_BUTTON_CLICKED'
57
57
  },
58
58
  // TOKENS // (optional),
59
- includeUserKeys,
59
+ includeUserKeys,
60
+ showMissingUserAttributesInConsole: false, // a boolean condition to show or hide "user" attributes that are not included in the "includeUserKeys" array, by console logging in dev tools.
60
61
  withDeviceInfo: true, // (optional) has default value
61
62
  withServerLocationInfo: false, // (optional) has default value
62
63
  }
@@ -68,6 +69,7 @@ COMING SOON: [React Marketing Tools Demo](https://)
68
69
  * @property {Object} eventActionPrefix: is a { key: 'value' } object that allows you to extend "analyticsEventActionPrefixList" object with custom eventActionPrefix. To see the build in list call the function showMeBuildInEventActionPrefixList().
69
70
  * @property {Array} globalEventActionList: is a { key: 'value' } object that allows you to extend "analyticsGlobalEventActionList" object with custom eventActionNames. To see the build in list call the function showMeBuildInGlobalEventActionList().
70
71
  * @property {Array} includeUserKeys: is an array of strings that represent keys from your user data that you want to whitelist, user data you wan to hash.
72
+ * @property {Boolean} showMissingUserAttributesInConsole a boolean condition to show or hide "user" attributes that are not included in the "includeUserKeys" array, by console logging in dev tools.
71
73
  * @property {Object} TOKENS: is a { key: 'value' } object that includes the following keys, IP_INFO_TOKEN, GA4_PUBLIC_API_SECRET, GA4_PUBLIC_MEASUREMENT_ID, depending on if you need these features enabled.
72
74
  * @property {Boolean} withDeviceInfo: if you want device information added to "globalVars" set this to true false by default.
73
75
  * @property {Boolean} withServerLocationInfo: if you want server information added to "journeyProps" set this to true false by default.