I've just started working with Sitecore 9.1 JSS. From an external site, I make a RESTful API call to a Sitecore item like
http://site/sitecore/api/layout/render/jss?item=/&sc_apikey={KEY}
I created a campaign and invoked the above with the parameter:
https:/site/?sc_camp=<campaignid>&sc_lang=en
When I view campaigns in the Experience Analytics dashboard, no campaigns show up. (I did reindex)
I read this article: https://jss.sitecore.com/docs/fundamentals/services/tracking and also added the patch file as stated:
<configuration>
<sitecore>
<settings>
<setting name="Sitecore.JSS.TrackerServiceEnabled" value="true" />
</settings>
</sitecore>
</configuration>
What am I missing? How do I trigger campaigns (and even goals) using Sitecore 9.1 JSS?