Skip to content

fix: hyva analytics #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from
Open

fix: hyva analytics #277

wants to merge 1 commit into from

Conversation

ah-net
Copy link
Collaborator

@ah-net ah-net commented May 1, 2025

When tweakwise analytics is enabled. And you use the hyva theme the type and value is never set. This is because hyva sends the parameters diffrently then the luma theme. This pull request fixes that.

@ah-net ah-net requested a review from jansentjeu May 1, 2025 09:19
$profileKey = $this->config->getProfileKey();

//hyva theme
if (empty($type)) {
$contentDecoded = json_decode($request->getContent(), true);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the Magento JSON serializer class instead of json_decode

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.

2 participants