Skip to content

Commit

Permalink
Add new analytics-4 adsConversionIDMigratedAtMs module setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfmohit committed Mar 17, 2024
1 parent 6fa2202 commit aadedf9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions assets/js/modules/analytics-4/datastore/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const baseModuleStore = Modules.createModuleStore( 'analytics-4', {
'availableCustomDimensions',
'propertyCreateTime',
'trackingDisabled',
'adsConversionIDMigratedAtMs',
],
submitChanges,
rollbackChanges,
Expand Down
33 changes: 17 additions & 16 deletions includes/Modules/Analytics_4/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,23 @@ public function get_view_only_keys() {
*/
protected function get_default() {
return array(
'ownerID' => 0,
'accountID' => '',
'adsConversionID' => '',
'propertyID' => '',
'webDataStreamID' => '',
'measurementID' => '',
'trackingDisabled' => array( 'loggedinUsers' ),
'useSnippet' => true,
'googleTagID' => '',
'googleTagAccountID' => '',
'googleTagContainerID' => '',
'googleTagLastSyncedAtMs' => 0,
'availableCustomDimensions' => null,
'propertyCreateTime' => 0,
'adSenseLinked' => false,
'adSenseLinkedLastSyncedAt' => 0,
'ownerID' => 0,
'accountID' => '',
'adsConversionID' => '',
'propertyID' => '',
'webDataStreamID' => '',
'measurementID' => '',
'trackingDisabled' => array( 'loggedinUsers' ),
'useSnippet' => true,
'googleTagID' => '',
'googleTagAccountID' => '',
'googleTagContainerID' => '',
'googleTagLastSyncedAtMs' => 0,
'availableCustomDimensions' => null,
'propertyCreateTime' => 0,
'adSenseLinked' => false,
'adSenseLinkedLastSyncedAt' => 0,
'adsConversionIDMigratedAtMs' => 0,
);
}

Expand Down

0 comments on commit aadedf9

Please sign in to comment.