Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

how to link the campaign code to the journey

(3) ShareShare
ReportReport
Posted on by 13
Any Help on This Please!!

I need to link the campaign code to a customer journey in Dynamics 365 Marketing in order to track and attribute interactions back to a specific marketing campaign. The goal is to ensure that when contacts engage with emails, forms, or other touchpoints in the journey, their responses are tied to a campaign code for reporting and performance analysis. 
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,107 Super User 2025 Season 1 on at
    how to link the campaign code to the journey
    To link a campaign code to a customer journey in Dynamics 365 Marketing, follow these steps:
    1. Create or identify the Campaign (Marketing Initiative): Go to Marketing > Marketing Execution > Marketing Initiatives and create or find the campaign that will hold your campaign code.
    2. Get the Campaign Code: Ensure the Marketing Initiative has a Campaign Code field populated (standard or custom field).
    3. Attach the Journey to the Campaign:
      • Open the Customer Journey.
      • In the journey's Properties pane (right side), locate the Marketing Initiative lookup field.
      • Link the journey to the appropriate Marketing Initiative (campaign).
    4. Use Dynamic Content and Hidden Fields (optional for forms/landing pages):
      • For forms or emails, you can embed the campaign code dynamically via query strings or hidden fields, ensuring that submissions capture the campaign code.
    5. Tracking: Interactions (email opens, form submissions, event registrations) linked to the journey will now be associated with the campaign via the linked Marketing Initiative for reporting.

    Would you also like a quick guide on adding campaign codes dynamically in email links for better tracking?
  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    7,336 Super User 2025 Season 1 on at
    how to link the campaign code to the journey
    Hello CU08101108-0,
     

    You're aiming to connect campaign codes to customer journeys in Dynamics 365 Customer Insights - Journeys (formerly Marketing) for effective tracking and attribution. Here's how to achieve this:

    1. Use the 'Campaign' field on Journey-Related Entities:

    • Most journey-related entities (like emails, forms, landing pages) have a lookup field called 'Campaign'.

    • When you create or edit these elements within your journey, ensure you select the relevant campaign in this field.


    •  

    2. Utilize the 'Marketing Campaign' attribute in segments:

    • When defining segments used in your journey, you can filter contacts based on their interaction with a specific marketing campaign.

    • Use the 'Marketing Campaign' attribute to link the segment to the relevant campaign.


    •  

    3. Leverage Journey Analytics:

    • Customer Insights - Journeys provides built-in analytics.

    • These analytics often allow you to filter and view journey performance data by the associated campaign.


    •  

    4. Custom attributes for enhanced tracking:

    • Create a custom attribute to store the campaign code.

    • Add this attribute to relevant forms and touchpoints.

    • Use this attribute in journey logic and reporting.


    •  

    5. Power Automate for advanced automation:

    • Use Power Automate to create flows that automatically assign the campaign code to relevant records based on journey interactions.


    •  

    By consistently using the 'Campaign' field and leveraging journey analytics, you can effectively link campaign codes to your journeys and track the performance of your marketing efforts.

     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Regards,
    Daivat Vartak

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 136 Super User 2025 Season 1

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

Overall leaderboard

Product updates

Dynamics 365 release plans