Skip to content

Raptor Add/Update buy event#3141

Open
adriendupuis wants to merge 5 commits intorelease-5.0.7from
release-5.0.7-buy
Open

Raptor Add/Update buy event#3141
adriendupuis wants to merge 5 commits intorelease-5.0.7from
release-5.0.7-buy

Conversation

@adriendupuis
Copy link
Copy Markdown
Contributor

Question Answer
JIRA Ticket
Versions
Edition

After test, Raptor tracking event buy can be used.

  • Rm caution block from PHP API
  • Twig ibexa_tracking_track_event
    • Add buy event case
    • Sort events in the same order than PHP API: move itemclicked at bottom as it's a very particular one.

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@github-actions
Copy link
Copy Markdown

@adriendupuis adriendupuis requested a review from tbialcz April 15, 2026 11:23
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

code_samples/ change report

Before (on target branch)After (in current PR)

code_samples/recommendations/events/buy_event.html.twig


code_samples/recommendations/events/buy_event.html.twig

docs/templating/twig_function_reference/recommendations_twig_functions.md@116:``` html+twig
docs/templating/twig_function_reference/recommendations_twig_functions.md@117:[[= include_file('code_samples/recommendations/events/buy_event.html.twig') =]]
docs/templating/twig_function_reference/recommendations_twig_functions.md@118:```

001⫶{% set buyContext = {
002⫶ 'subtotal': '10.00',
003⫶ 'currency': 'EUR',
004⫶ 'quantity': 1
005⫶} %}
006⫶{{ ibexa_tracking_track_event('buy', product, buyContext) }}

Download colorized diff

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