Skip to content
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

Fix item::item_category index conversion #77

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

aawnu
Copy link
Owner

@aawnu aawnu commented Jan 14, 2024

Item_category is currently grouped in an array but is supposed to be sent to Google Analytics as individual lines appended by index number like:

{
  "items": [
    {
      "index": 0,
      "item_brand": "Google",
      "item_category": "Apparel",
      "item_category2": "Adult",
      "item_category3": "Shirts",
    //...
}

@aawnu aawnu self-assigned this Jan 14, 2024
@aawnu aawnu linked an issue Jan 14, 2024 that may be closed by this pull request
@aawnu aawnu changed the title Convert items->item_category[] to items->item_categodyX where X represents ID Fix item::item_category index conversion Jan 14, 2024
@aawnu aawnu merged commit eb531c2 into master Jan 14, 2024
10 checks passed
@aawnu aawnu deleted the 76-item-item_category-validation-error-value_invalid branch January 14, 2024 22:17
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.

Item -> item_category - Validation error [VALUE_INVALID]
1 participant