Campaign global variable tag not firing | Community
Skip to main content
June 3, 2022
Solved

Campaign global variable tag not firing

  • June 3, 2022
  • 2 replies
  • 952 views

Hi community. Would appreciate some help troubleshooting the below.

 

Created a data element to capture campaign tracking code from page URL.

 

Mapped the data element to "Campaign" global variable in Adobe analytics extension configuration.

 

Have set a rule set to fire beacon on page load bottom. Note that I did not define variables in the rule itself.

 

This set up was previously sending the tracking code from page URL to the Campaign variable. But after I set up some marketing channel rules, no data is being sent to Campaign variable. 

 

Are the two related (campaign var and marketing channel rules) / have dependencies I should be aware of? I don't see why one should affect the other.

 

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 jeff_bloomer

In order for you to have interdependencies between Marketing Channels and Campaign Tracking Codes, you need to go through Marketing Channel configuration.
https://experienceleague.adobe.com/docs/analytics/components/marketing-channels/c-getting-started-mchannel.html?lang=en 
After setting up Marketing Channel rules, you can start reading campaign tracking codes you pass in the URL and process them accordingly, but that will be according to how you decide to set them up.  I recommend reading through the following articles by Brent Dykes as well:
https://blog.adobe.com/en/publish/2014/10/22/refresher-adobe-analytics-mktg-channels-reports-part-i#gs.ex60jv 
https://blog.adobe.com/en/publish/2014/10/28/refresher-on-adobe-analytics-mkg-channels-reports-part-ii.html#gs.ex5pbh 
https://blog.adobe.com/en/publish/2014/11/06/refresher-on-adobe-analytics-mktg-channels-reports-part-iii.html#gs.ex5py0 
https://blog.adobe.com/en/publish/2014/11/12/refresher-on-adobe-analytics-mktg-channels-reports-part-iv.html#gs.ex95hs 

2 replies

jeff_bloomer
Community Advisor and Adobe Champion
jeff_bloomerCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 3, 2022

In order for you to have interdependencies between Marketing Channels and Campaign Tracking Codes, you need to go through Marketing Channel configuration.
https://experienceleague.adobe.com/docs/analytics/components/marketing-channels/c-getting-started-mchannel.html?lang=en 
After setting up Marketing Channel rules, you can start reading campaign tracking codes you pass in the URL and process them accordingly, but that will be according to how you decide to set them up.  I recommend reading through the following articles by Brent Dykes as well:
https://blog.adobe.com/en/publish/2014/10/22/refresher-adobe-analytics-mktg-channels-reports-part-i#gs.ex60jv 
https://blog.adobe.com/en/publish/2014/10/28/refresher-on-adobe-analytics-mkg-channels-reports-part-ii.html#gs.ex5pbh 
https://blog.adobe.com/en/publish/2014/11/06/refresher-on-adobe-analytics-mktg-channels-reports-part-iii.html#gs.ex5py0 
https://blog.adobe.com/en/publish/2014/11/12/refresher-on-adobe-analytics-mktg-channels-reports-part-iv.html#gs.ex95hs 

yuhuisg
Community Advisor
Community Advisor
June 6, 2022

Setting up Marketing Channel Processing Rules shouldn't cause your campaign tracking to fail. While Marketing Channel Processing Rules can have conditions that depend on the Campaign variable, there really is no dependency between them. Also, the Rules that have Campaign variable conditions usually actually depend on the URL query (which AA grabs from the page URL that is automatically sent in the "g" parameter in the hit beacon), rather than the Campaign variable itself (though you can, of course, change this in your Rules).

But just to be sure, can you share the changes that you had made to your Marketing Channel Processing Rules?

Also, to clarify, that data element that captures the URL query had been set up a long time back before you had made these recent Marketing Channel Processing Rule changes, right?