google / google/data-layer-helper

Preventing Default Recursive Merge | Not Working

Open
#72 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
441
Forks
88
PR merge metrics
No merged PRs in 30d

Description

As of today, the helper [library](https://github.com/google/data-layer-helper/blob/master/dist/data-layer-helper.js) is not responding to the "_clear " attribute passed into the data layer array.

**Existing Value** --- {a: {x: undefined, y: 2}}
**New Value** --- {a: {x: 1}, _clear: true}
**Expected Result** --- {a: {x: 1}} (as per documentation)
**Actual Result** --- {a: {x: 1, y: 2}}

Kindly look into this or remove this feature from the readme file

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.