Is a Sitecore campaign triggered as a 'live event'?
In Sitecore, campaigns can be created for online and offline tracking. Those campaigns can then be triggered by adding sc_camp=the-unique-id
to urls in social media or on the site itself.
I want to setup a campaign and as soon as the person clicks the link with sc_camp, I want a Marketing Automation Campaign to kick in.
Currently with Sitecore 9.1 you can already add a rule in the start condition of the MA: where the contact has triggered campaign x
With goals, you have to select 'IsLiveEvent' so that the MA gets triggered during the session and not afterwards.
Can this work for campaigns?
marketing-automation campaigncreator
add a comment |
In Sitecore, campaigns can be created for online and offline tracking. Those campaigns can then be triggered by adding sc_camp=the-unique-id
to urls in social media or on the site itself.
I want to setup a campaign and as soon as the person clicks the link with sc_camp, I want a Marketing Automation Campaign to kick in.
Currently with Sitecore 9.1 you can already add a rule in the start condition of the MA: where the contact has triggered campaign x
With goals, you have to select 'IsLiveEvent' so that the MA gets triggered during the session and not afterwards.
Can this work for campaigns?
marketing-automation campaigncreator
add a comment |
In Sitecore, campaigns can be created for online and offline tracking. Those campaigns can then be triggered by adding sc_camp=the-unique-id
to urls in social media or on the site itself.
I want to setup a campaign and as soon as the person clicks the link with sc_camp, I want a Marketing Automation Campaign to kick in.
Currently with Sitecore 9.1 you can already add a rule in the start condition of the MA: where the contact has triggered campaign x
With goals, you have to select 'IsLiveEvent' so that the MA gets triggered during the session and not afterwards.
Can this work for campaigns?
marketing-automation campaigncreator
In Sitecore, campaigns can be created for online and offline tracking. Those campaigns can then be triggered by adding sc_camp=the-unique-id
to urls in social media or on the site itself.
I want to setup a campaign and as soon as the person clicks the link with sc_camp, I want a Marketing Automation Campaign to kick in.
Currently with Sitecore 9.1 you can already add a rule in the start condition of the MA: where the contact has triggered campaign x
With goals, you have to select 'IsLiveEvent' so that the MA gets triggered during the session and not afterwards.
Can this work for campaigns?
marketing-automation campaigncreator
marketing-automation campaigncreator
asked Mar 26 at 11:08
Koen HeyeKoen Heye
1,085522
1,085522
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector
Both of the processors check for IsLiveEvent
property on the marketing entity definition and kicks off submitLiveAutomationEvent
pipeline if event/outcome matches that criterion.
You could try to simulate similar functionality for campaigns by creating your own LiveCampaignInspector
processor and patching triggerCampaign
pipeline.
public class LiveCampaignInspector : TriggerCampaignProcessor
{
public override void Process(TriggerCampaignArgs args)
{
new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));
}
}
Please note that I didn't have a chance to test it.
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "664"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f17692%2fis-a-sitecore-campaign-triggered-as-a-live-event%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector
Both of the processors check for IsLiveEvent
property on the marketing entity definition and kicks off submitLiveAutomationEvent
pipeline if event/outcome matches that criterion.
You could try to simulate similar functionality for campaigns by creating your own LiveCampaignInspector
processor and patching triggerCampaign
pipeline.
public class LiveCampaignInspector : TriggerCampaignProcessor
{
public override void Process(TriggerCampaignArgs args)
{
new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));
}
}
Please note that I didn't have a chance to test it.
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
add a comment |
Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector
Both of the processors check for IsLiveEvent
property on the marketing entity definition and kicks off submitLiveAutomationEvent
pipeline if event/outcome matches that criterion.
You could try to simulate similar functionality for campaigns by creating your own LiveCampaignInspector
processor and patching triggerCampaign
pipeline.
public class LiveCampaignInspector : TriggerCampaignProcessor
{
public override void Process(TriggerCampaignArgs args)
{
new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));
}
}
Please note that I didn't have a chance to test it.
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
add a comment |
Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector
Both of the processors check for IsLiveEvent
property on the marketing entity definition and kicks off submitLiveAutomationEvent
pipeline if event/outcome matches that criterion.
You could try to simulate similar functionality for campaigns by creating your own LiveCampaignInspector
processor and patching triggerCampaign
pipeline.
public class LiveCampaignInspector : TriggerCampaignProcessor
{
public override void Process(TriggerCampaignArgs args)
{
new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));
}
}
Please note that I didn't have a chance to test it.
Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors:
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterPageEvent.LivePageEventInspector
Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines.RegisterOutcome.LiveOutcomeInspector
Both of the processors check for IsLiveEvent
property on the marketing entity definition and kicks off submitLiveAutomationEvent
pipeline if event/outcome matches that criterion.
You could try to simulate similar functionality for campaigns by creating your own LiveCampaignInspector
processor and patching triggerCampaign
pipeline.
public class LiveCampaignInspector : TriggerCampaignProcessor
{
public override void Process(TriggerCampaignArgs args)
{
new SubmitLiveAutomationEventPipeline().Run(new SubmitLiveAutomationEventArgs(args.Page.Session.Contact, args.Page.Session.Interaction, args.Definition.Id));
}
}
Please note that I didn't have a chance to test it.
answered Mar 26 at 12:34
grggrg
1,349213
1,349213
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
add a comment |
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
2
2
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
please note that a live event is not really "live". It means that actions that are triggered by those events can be handled during the same session and that an xConnect update isnt needed. Marketing automation runs async and has a delay (which can be configured). I wanted it to run immediately, but there always seems to be a delay of ~2seconds, when I decreased the automation plan time.
– Bas Lijten
Mar 26 at 15:52
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f17692%2fis-a-sitecore-campaign-triggered-as-a-live-event%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown