Marketing Channel Detail not set on virtual page views | Community
Skip to main content
Level 2
December 19, 2023
Solved

Marketing Channel Detail not set on virtual page views

  • December 19, 2023
  • 1 reply
  • 2445 views

We currently run the following set of rules:

1. Standard Variables are set, including s.campaign

2. If virtual page view event is pushed to the dataLayer, additional variables are set

3. s.t() beacon gets send

 

What I see in my data is that the visit is correctly attributed for both Marketing Channel and Marketing Channel Detail (=s.campaign), but the virtual page views within the visit get Marketing Channel Detail "None". Interestingly, s.campaign seems to be available in the virtual page views and I also see "Marketing Channel Instances". (see attached screenshot)

 

My expectation would be that everything happening within a visit (30 minutes time frame) should have the last known Marketing Channel AND Marketing Channel Detail.

 

What can be reasons why the latter might change during a visit? And even if it changes, why would the simple rule Marketing Channel Detail = s.campaign result in "none" when s.campaign is available?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

Oh, is the whole site an SPA? Or just those pages?

Regardless, your developers should be updating the URL of the site on each page, the UTMs shouldn't remain on the next page, and the path of the URL and Browser History should be updated...

 

If they don't do that, then the normal site navigation doesn't work:

  • Browser back and forward buttons won't navigate the site, even if you are 20 pages in, using back will take you right out of the site
  • Bookmarking pages won't work, the user tries to bookmark Page E but instead will bookmark the entry page Page A
  • This is bad for SEO and for Accessibility

 

Unless I am misunderstanding.. but it sounds like the way the SPA is designed is a fundamental hurdle right now... 

 

 

 


Oh, one more thought... if this is just a small inset SPA in a larger transitional website.. let's say a purchase flow:

 

www.domain.com/purchase

 

Where this actually represents multiple pages in the flow... a selection, a make payment and a purchase complete (for instance)

 

In this case, the URL technically doesn't need to be updated, since the user should never be trying to load the second or third step directly..

 

But a trick here is to have one rule for actual "Page Loads", and a separate rule for the virtual page progression..  on these separate rules, you can modify the the URL to not include the UTMs (strip them), not track s.campaign at all (let the attribution do its thing), and you can modify a few other things into these "virtual page loads" for these specific pages....

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 19, 2023

Can you show us your Marketing Channel Management, or at least confirm that you aren't overriding your Marketing Channels in subsequent hits in your visit?

Level 2
December 20, 2023

Hello Jennifer,

thank you for taking the time.

 

The Marketing Channel stays "Display" throughout the Visit. The processing rule for Display is either an eVar with the full URL contains "display" or s.campaign contains "display". Only the Marketing Channel Details are missing from the virtual page view hits. Interestingly, when I look at the metric "exits" Marketing Channel Detail is correctly attributed. I would take that as an indicator that the original marketing information is not overruled.

 

I have also looked at this discussion in detail but I am looking at events that happen within one visit exclusively, so expiration should not interfer. We set s.campaign = s.getValOnce(campaign, 's_campaign', 0); with the data element "Campaign" refering to utm parameters.

 

My understanding was that Adobe stitches all events in one visit to the last known Marketing Channel and I do not understand why that would not be the case for Marketing Channel Detail as well. 

 

 

 

 

 

Level 2
January 2, 2024

You're welcome.. we have a few of these "in-set" behaviours... I had to get creative to fix the same issues that you are experiencing.


Hello, it's me again 🙂

The first couple of days show an improvement of the data. None share went down for Email from 67% to 24%, for Social Cmapaigns 52% to 39% and for Display 41% to 23%.

 

BUT it stays more or less the same for marketing channels, that either use the automated detection rules provided by Adobe and/or the referrer info. Document.referrer stays the same throughout the SPA, so I'm wondering: Is it recommended to update the document.referrer for virtual page views? After the initial page view the document.referrer should be an internal URL and therefore not trigger the processing rules.