How does Campaign tracking work in the Data Insertion API | Community
Skip to main content
October 4, 2024
Solved

How does Campaign tracking work in the Data Insertion API

  • October 4, 2024
  • 2 replies
  • 1399 views

In the normal client-side implementation we tag an URL outside our app with the campaign query parameter,e .g. cid. When user clicks on this URL Adobe library via Campaign plugin captures the value and populates the Tracking Code report. 

 

In case of server-side tracking when user clicks on the URL with the query string parameter what is mechanism that populates <campaign> /<campaign> parameter in the XML tag. 

 

 

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

Whether you are using client-side or server-side implementation, you should be able to directly set your Campaign variables.... 

 

We use UTMs and not CIDs, so even on our client-side implementation, this doesn't happen automatically. I specifically collect the data into the format I want, then set the s.campaign value directly.... in the server-side, you should be able to do the same.

2 replies

Isha__Gupta
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 6, 2024

Hey @allaomelchenko ,

 

Are you looking to understand referrers in data through Data Insertion API? You can add a column in your import file dedicated to campaign code, referrer URL etc. and that can be used to look at the traffic channels. Is this what you are trying to achieve?

 

Best,

Isha

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
October 7, 2024

Whether you are using client-side or server-side implementation, you should be able to directly set your Campaign variables.... 

 

We use UTMs and not CIDs, so even on our client-side implementation, this doesn't happen automatically. I specifically collect the data into the format I want, then set the s.campaign value directly.... in the server-side, you should be able to do the same.

October 14, 2024

Technically I was asking about something different. I wanted to know if I send a campaign query string parameter in the destination URL and I have Data Insertion API collecting data in the XML format if there any other configuration actions on the Adobe side to populate <campaign> dimension in the XML I am not aware of. 

After my investigation I got confirmation that there is none and this is just dev work to pass the value from the query string parameter to the <campaign>.

 

This is what my question was about. 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
October 15, 2024

Query Strings in your URL are processed by the AppMeasurement.js or potentially by the code used by WebSDK....  as far as I am aware, if you are using the Data Insertion only the fields you explicitly set will populate with data.... nothing will "automatically" populate. Now, you might be using Processing Rules or Vista rules to make adjustments, but I know that processing rules are very simple, you can't extract values... so that isn't a viable option... and Vista rules need to be set up by Adobe Engineering which would be an additional charge for the time and effort of the engineer... so also not a great option.....

 

As I said, if you want your campaign variable to be populated, you will need to send it directly into that field using the Insertion API