Tracking code set up by using WEB SDK or Adobe Launch Server | Community
Skip to main content
Luca_Lattarini
Level 9
December 22, 2021
Solved

Tracking code set up by using WEB SDK or Adobe Launch Server

  • December 22, 2021
  • 1 reply
  • 3170 views

Hello guys,

Any suggestion how to define different tracking code from different Sources (web portal)in inbound by using web sdk or Adobe Launch Server?

Thanks 

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 pradeep_nextrow

Sorry, @luca_lattarini . I missed your follow-up question. Yes, the same approach can be used for GA as well. In GA, all the google related campaigns are reported automatically (using the utm parameters). But not the other campaigns (example FB or other social). Best solution would be, you can define the campaign parameters for all the sources and implement in your landing pages. In web SDK, you can capture this marketing tracking code in the "marketing.trackingCode" variable. In GA you can capture in a custom variable. This should enable you to see the traffic composition for all scenarios.

One quick best practice is to tag only the paid campaigns using this approach. To track organic sources, in Adobe you have to use marketing channel processing rules which gives a holistic traffic composition. Hope it helps!

1 reply

pradeep_nextrow
Level 4
December 22, 2021

@luca_lattarini Are you talking about the campaign tracking codes? (used to be captured in s.campaign variable in AA). If yes, then this is tracked OOTB using Web SDK. Just capture your campaign tracking code (from query strings) and set it as "marketing.trackingCode" XDM variable in your Web SDK calls (using Adobe Launch Rule and Data Element) and you are done. You need to add the right mixin (Field Group) - "Campaign Marketing Details" to your XDM web events schema for using it in AEP (for AA it is auto-mapped to Tracking Code report). Let me know if you meant otherwise.

Luca_Lattarini
Level 9
January 5, 2022

Hello pradeep_nextrow,

Basically, my client has different web sites and we need to know the traffic make-up of each site. Those web sites have GA or Web SDK (alloy.js).

The good approach that you mentioned is it ONLY for web sites under Web SDK (alloy.js) or we can use for web site under GA as well?

Thanks

  

pradeep_nextrow
pradeep_nextrowAccepted solution
Level 4
January 20, 2022

Sorry, @luca_lattarini . I missed your follow-up question. Yes, the same approach can be used for GA as well. In GA, all the google related campaigns are reported automatically (using the utm parameters). But not the other campaigns (example FB or other social). Best solution would be, you can define the campaign parameters for all the sources and implement in your landing pages. In web SDK, you can capture this marketing tracking code in the "marketing.trackingCode" variable. In GA you can capture in a custom variable. This should enable you to see the traffic composition for all scenarios.

One quick best practice is to tag only the paid campaigns using this approach. To track organic sources, in Adobe you have to use marketing channel processing rules which gives a holistic traffic composition. Hope it helps!