JavaScript Source Demo
UpdatedThis page provides a few calls that you can use to play with Data Pipelines based on our JavaScript source snippet!
Add your API Key (found in your source’s Settings tab). Then you can tailor and send calls to Data Pipelines. Requests that you make before you identify someone are anonymous. After you send an identify
call with a userId
, future requests are associated with the identified person. See our JavaScript and API docs for a complete payload reference.
Clear your cookies and local storage to start fresh
Our JavaScript snippet stores data in cookies and falls back to local storage. Clear cookies and local storage items beginning with ajs_
and then refresh the page to start from scratch—with a new anonymousId
and without saved identity information.