TagSpy

campaign_details

Recommended

Log this event to supply the referral details of a re-engagement campaign.

Platforms
web, app
When it fires
You send it when the action happens.
Official docs

Parameters (11)

ParameterTypeRequiredDescriptionExample
sourcestringyesThe origin of your traffic, such as an Ad network (for example, google) or partner (urban airship).-
mediumstringyesThe advertising or marParameter(keting, cpc, banner, email), push.-
campaignstringyesThe individual campaign name, slogan, promo code, etc.-
termstringnoTerm; used with paid search to supply the keywords for ads.-
contentstringnoContent; used for A/B testing and content-targeted ads to differentiate ads or links that point to the same URL.-
aclidstringnoAd Network Click ID-
cp1stringnoCustom parameter-
campaign_idstringnoCampaign ID-
campaign_info_sourcestringnoSource Platform-
creative_formatstringnoCreative format-
marketing_tacticstringnoMarketing tactic-

Example

gtag.js
gtag('event', 'campaign_details', {
  source: '...',
  medium: '...',
  campaign: '...',
  term: '...',
  content: '...',
  aclid: '...',
  cp1: '...',
});
GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'campaign_details',
  source: '...',
  medium: '...',
  campaign: '...',
  term: '...',
  content: '...',
  aclid: '...',
  cp1: '...',
});

Also see