Skip to content

update campaigns docs for SDK 0.4.x#18

Open
masmalsah wants to merge 1 commit intomainfrom
docs/campaigns-sdk-0.4-refresh
Open

update campaigns docs for SDK 0.4.x#18
masmalsah wants to merge 1 commit intomainfrom
docs/campaigns-sdk-0.4-refresh

Conversation

@masmalsah
Copy link
Copy Markdown
Contributor

  • refresh index.mdx: update starter template link, SDK version to 0.4.x, replace legacy cart-selector examples with bundle selector pattern, add CPK quick start with template preview cards
  • refresh configuration.mdx: add storeName field, mark showCountries deprecated, add discounts/profiles blocks, fix GTM settings
  • add template preview screenshots to public/assets/campaigns/

- refresh index.mdx: update starter template link, SDK version to 0.4.x, replace legacy cart-selector examples with bundle selector pattern, add CPK quick start with template preview cards
- refresh configuration.mdx: add storeName field, mark showCountries deprecated, add discounts/profiles blocks, fix GTM settings
- add template preview screenshots to public/assets/campaigns/
@masmalsah masmalsah requested a review from alexphelps April 29, 2026 20:22
@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot Bot commented Apr 29, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • content/docs/campaigns/configuration.mdx - No issues
  • content/docs/campaigns/index.mdx - No issues
  • public/assets/campaigns/template-olympus.png (binary) - Added
  • public/assets/campaigns/template-olympus-mv.png (binary) - Added

Summary

This PR refreshes the Campaigns SDK documentation to 0.4.x with the following improvements:

  • Updated SDK version references from 0.3.x to 0.4.18
  • Added storeName as required field for Facebook purchase deduplication
  • Deprecated showCountries in favor of campaign API-provided country list
  • Improved autocomplete configuration options documentation
  • Added discount/profiles configuration examples
  • Replaced legacy cart-selector with bundle selector pattern (0.4.x recommended)
  • Updated starter template links to new campaign-cart-starter-templates repo
  • Added template preview cards with images
  • Removed deprecated dataLayerName from GTM settings

All changes are accurate documentation improvements with no code defects identified.


Reviewed by minimax-m2.7 · 212,088 tokens

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.

1 participant