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

No target data returned #1021

Open
dsws opened this issue Jul 26, 2023 · 5 comments
Open

No target data returned #1021

dsws opened this issue Jul 26, 2023 · 5 comments

Comments

@dsws
Copy link

dsws commented Jul 26, 2023

We also have a ticket open with Adobe for this issue #E-000984379

Expected Behaviour

Adobe Target data to return in propositions?

Actual Behaviour

No target data being returned

Reproduce Scenario (including but not limited to)

import React, { useEffect } from "react";

const AbTesting = ({ children }) => {
  useEffect(() => {
    initAdobeSDK();
    return () => {};
  }, []);
  return children;
};
export default AbTesting;

const initAdobeSDK = () => {
  import("@adobe/alloy").then((alloy) => {
    const instance = alloy.createInstance({ name: "alloy" });
    instance("configure", {
      edgeConfigId: "xxxx-xxx-xxx-xxx",
      orgId: "xxxxxx@AdobeOrg",
    });

    instance("sendEvent", {
      renderDecisions: true,
      xdm: {
        commerce: {
          order: {
            purchaseID: "a8g784hjq1mnp3",
            purchaseOrderNumber: "VAU3123",
            currencyCode: "USD",
            priceTotal: 999.98,
          },
        },
      },
    })
      .then(function (result) {})
      .catch(function (error) {});
  });
};

Steps to Reproduce

  1. Create a Datastream with service Target
  2. Init SDK
  3. Send event with renderDecisions true

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

@jfkhoury
Copy link
Contributor

Hi @dsws, customer support can better help you with this. Did you hear back yet?

Also, do you have a Target instance that works with the at.js SDK, but didn't work with the Web SDK?

@jonsnyder
Copy link
Contributor

My understanding is that you need a datastream with no analytics configured, and match with a target offer that is defined with an analytics measurement.

@dsws
Copy link
Author

dsws commented Aug 9, 2023

Hey thanks for the response but the customer support is suggesting me to connect with a consulting person. @jonsnyder I will try your suggestion

@dsws
Copy link
Author

dsws commented Aug 9, 2023

My understanding is that you need a datastream with no analytics configured, and match with a target offer that is defined with an analytics measurement.

Yes exactly

@ricmello
Copy link

ricmello commented Jul 3, 2024

Were you able to find a solution or workaround?

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

No branches or pull requests

4 participants