Support for visitor.js and DIL,js functionality in scriptless scenarios

Open
#527 8 comments 0 reactions 2 assignees View on GitHub

Maintainers usually reply within 1 day

@raresvla is already working on this.

Since Jun 16, 2020.

Assessment

This issue has not been assessed yet.

Description

Edge enhancement

[Note: i'm not sure if this is within the scope of the alloy project, because it should be solved served-side]

Expected Behaviour

Although it looks strange to ask for a functionality currently given by js, when js is not available, this
scenario is very usual for us. VAST (video) based advertising allows to set up URLs to be called when certain events happen (ad start, ad complete, ad clicked,etc), and we'd like to add users to segments based in those events.
Being just URLs, no script can be called at that time.What we'd expect, is some way to compose a single URL which will process the user side (visitor.js functionality), this is, checking an Adobe User Id cookie has been received, or setting it, and also, process the DMP side (DIL.js functionality), sending the signals especified in the URL, to the DMP.
Other parameters, like the GDPR consent string, etc, would be sent in that URL too.

Actual Behaviour

Right now (and i mean, visitor.js/DIL.js), this is not possible.It's possible to send events (signals) to the DMP by mimicking the event request generated by DIL.js. But that only works for existing users, as they already have an Adobe User id cookie that it's sent along the event request.
There's no way to get a new user id and send signals to the DMP, in a single URL request.

Dominant language
JavaScript
Stars
104
Forks
63
Avg merge
1d 22h
Merged PRs (30d)
23

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from adobe/alloy

All issues in adobe/alloy

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.