Adobe Launch
Use case
- Adobe Launch is loaded in the parent page (your website or the minisite template of your campaign)
- Events fired by the Qualifio campaign are stored in the parent page's datalayer
digitalData.event.eventInfo
anddigitalData.page.pageInfo
Variables
OPTIN-ID
Recommended
If you expect to track form submitted events only when a specific opt-in has been ticket (e.g. : newsletter subscription)
Tags
AL event "First page"
- Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.pageNumber() == 1) {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_step",
qlf_step: "first",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script> - Usage
Only from campaign Tags
AL event "Welcome screen"
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'intro') {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_step",
qlf_step: "welcome",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script>Usage
Only from campaign Tags
AL event "Questions screen”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'questionset') {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_step",
qlf_step: "questions",
qlf_question: qlfDataLayer[0]['pgi'],
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script>Usage
Only from campaign Tags
AL event "Identification form”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'identityset') {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_step",
qlf_step: "form",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script>Usage
Only from campaign Tags
AL event "Exit screen”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'exit') {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_step",
qlf_step: "exit",
qlf_profile: "{group}",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script>Usage
Only from campaign Tags
AL event “Participate button”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'intro') {
$('#jouer').click(function(){
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_action",
qlf_action: "participate",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
});
}
});
</script>Usage
Only from campaign Tags
AL event “Question answered”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.getStepName() == 'questionset') {
$('#suivant1, #next, .answerPic, [id^=check_choix]').click(function(){
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_action",
qlf_action: "question_answered",
qlf_question: qlfDataLayer[0]['pgi'],
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
});
}
});
</script>Usage
Only from campaign Tags
AL event "Form submitted”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.isFormSubmittedRightNow()) {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_action",
qlf_action: "form_submitted",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
});
</script>Usage
Only from campaign Tags
AL event "Form submitted with opt-in”
Body
<script type="text/javascript">
$(function() {
var tp = _qlf_taggingplan;
if (tp.isFormSubmittedRightNow()) {
if(tp.isOptin({tv:optin-id})) {
_qual_async.push(['requestPlugin', 'qualp', 'datalayer', function() {
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataEventPush', {
eventInfo: {
eventName: "qlf_event_action",
qlf_action: "form_submitted_with_optin",
timeStamp: new Date()
}
}]);
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageInfo', {
pageID: qlfDataLayer[0].campaign_id,
pageName: qlfDataLayer[0].title,
destinationURL: qlfDataLayer[0].page_path,
referringURL: qlfDataLayer[0].parentURL,
sysEnv: qlfDataLayer[0].device,
language: qlfDataLayer[0].lg
}]);
/*
_qual_async.push(['sendParentMessage', 'datalayer/digitalDataPageCategory', {
primaryCategory: "MyCategory"
}]);
*/
}]);
}
}
});
</script>Usage
Only from campaign tags
Set the expected opt-in ID