1

I'm trying to trigger a campaign via API. There are no issues in the logs, the code runs with no issues, but I don't see any results in the respective campaign report, it always says "No Data Found". Any suggestions

ICampaignActivityDefination cd= new this.FindCampaignById(new ID(id));
PageEventData ped= Sitecore.Analytics.Tracker.Current.CurrentPage.TriggerCampaign(cd);

We get the pageeventdata confirmation as "Triggered the campaign id".

3
  • Try rebuilding indexes if you don't see anything in logs. Commented Feb 2 at 4:26
  • @VikrantPunwatkar which index specifically, I do not see any index related to analytics.
    – sns
    Commented Feb 2 at 12:55
  • Still its "No Data Found" despite running all indexes several times.
    – sns
    Commented Feb 2 at 14:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.