Skip to content

feat: add overridePageView support, separate link and page values - #2370

Merged
yashasvibajpai merged 9 commits into
developfrom
feat.adobe.pageevents.mapping
Jul 19, 2023
Merged

yashasvibajpai merged 9 commits into
developfrom
feat.adobe.pageevents.mapping

Conversation

@yashasvibajpai

@yashasvibajpai yashasvibajpai commented Jul 14, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Add support for a boolean property overridePageView that allows to send link and page values exclusively. If overridePageView is true, page related tags are sent to Adobe otherwise Link related tags are sent.
Add support for overridePageName property, that serves as a fallback for events that are neither E-commerce nor mapped ones.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@yashasvibajpai yashasvibajpai self-assigned this Jul 14, 2023
@yashasvibajpai
yashasvibajpai marked this pull request as ready for review July 17, 2023 05:01
@yashasvibajpai
yashasvibajpai requested a review from a team as a code owner July 17, 2023 05:01
@ItsSudip
ItsSudip self-requested a review July 17, 2023 05:06
koladilip
koladilip previously approved these changes Jul 17, 2023
@codecov

codecov Bot commented Jul 17, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f3d435d) 87.40% compared to head (fe0e651) 87.40%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2370   +/-   ##
========================================
  Coverage    87.40%   87.40%           
========================================
  Files          489      489           
  Lines        25510    25515    +5     
  Branches      6318     6322    +4     
========================================
+ Hits         22296    22301    +5     
  Misses        2854     2854           
  Partials       360      360           
Impacted Files Coverage Δ
src/v0/destinations/adobe_analytics/transform.js 96.59% <100.00%> (+0.07%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

koladilip
koladilip previously approved these changes Jul 18, 2023
ItsSudip
ItsSudip previously approved these changes Jul 18, 2023
@yashasvibajpai yashasvibajpai changed the title feat: add pageEventMapping support, seperate link and page values feat: add overridePageView support, separate link and page values Jul 18, 2023
@yashasvibajpai
yashasvibajpai dismissed stale reviews from ItsSudip and koladilip via 7a2b218 July 18, 2023 21:46
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.7% 94.7% Coverage
0.0% 0.0% Duplication

@yashasvibajpai
yashasvibajpai merged commit 99b3c87 into develop Jul 19, 2023
@yashasvibajpai
yashasvibajpai deleted the feat.adobe.pageevents.mapping branch July 19, 2023 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants