*** NOTE: ALL INFORMATION IS ACCURATE AT DATE OF PUBLISHING ***
Automatic UTM Tracking (or tagging) went in to public preview February 2023, and I wrote about how to use it to get the most from Google Analytics (and other analytic tools). Since the preview came out, it’s had a few changes that are definitely worth reviewing to give you more custom UTM tracking. Plus, the functionality is now generally available (meaning it’s supported and no longer a preview feature) April 2023. Let’s check out the new stuff!
The setting to start using UTM tracking is still in the same place. Go to Settings then Feature switches and then turn on UTM tracking.
As before, the parameters by default are shown in the table below:
Parameter | Example Value | Details |
---|---|---|
utm_source | Dynamics 365 Marketing | this will always be the same |
utm_medium | the channel used, email, sms, custom etc. | |
utm_campaign | Google Analytics G4 Overview | the name of the journey |
utm_content | Thank You For Your Help OR You Are Wonderful! | the name of the message |
utm_term | N/A | not used in D365 Marketing |
But what if you want to use something different? Well now the option exists to customise things slightly. From the Settings area, in Customer engagement, click on UTM tracking.
You can only have one active UTM Tracking Options record so create a new one and give it a name. The UTM Source can be changed. Maybe instead of Dynamics 365 Marketing you just want to abbreviate it to D365 Marketing. The Campaign can be set by pulling from a field on the Journey table, by default this is the Name field. The Medium cannot be changed, it would always be either Email, Text Message etc. to define the medium of the communication used. Finally, you can now determine if the UTM Content tag should even be used. Leave it turned off if it’s not relevant for your organisations needs. Then save the record. That’s it! Go back to my original blog about UTM Parameters to understand how to find the UTM data in Google Analytics.
What about using a different field instead of the Journey name? Well as per the blog I wrote about customising the Real-time Marketing Journey table, we can add a new field for this purpose. You might have a specific naming convention for your Journeys and not want the same info transferred back through to Google Analytics. First, create a solution and pull in the RTM Journey table (msdynmkt_journey). Add a new text column and call it UTM Campaign.
We can add this new field to the settings area of a Journey, but what if someone forgets to fill it out? We can create a simple business rule on the Journey table that states if the UTM Campaign field does not contain data, populate it with the value from the Journey Name field. This way it will always have something in there.
This just shows you the business rule logic:
Now add your new field to the Settings tab on the main Journey form.
Go back to your UTM Tracking Options record you created earlier. Now you can find the new field and link the UTM Campaign to this instead of the Journey Name. Save the record.
Now if we created a new Journey, we can give it what ever name we like.
Go to the settings tab on the Journey and if you didn’t fill out the UTM Campaign field prior to saving the record, you will notice it’s populated with the name of the Journey.
We can now change this field so it’s something more meaningful for us, rather than simply using the default of the Journey Name.
Check out the latest post:
Auto Assign Leads Without Code Using Lead Scoring & Work Assignment
This is just 1 of 477 articles. You can browse through all of them by going to the main blog page, or navigate through different categories to find more content you are interested in. You can also subscribe and get new blog posts emailed to you directly.
Do you know if this will also be available in Outbound marketing?
Hi Mathieu, it will not, only Real-time Marketing.
Hey Megan,
We are currently setting up Dynamics Marketing and plan to send a lot of Newsletters to existing leads/contacts and therefore need to rethink our “Leadsource” logic. Well, we do not want to change the original source the lead came from, but we are unsure how we should now structure the campaign information following our newsletter outreach.
Do you have any recommendations or best practices on that?
Hi Matthias, hmmmm…. not really sure I follow. If you are sending out a newsletter, that would say to me it should be sent to people who have requested your newsletter via some kind of marketing form to opt in to get it. You can opt in Contacts only in to Subscription Lists, but there is VERY new functionality (still in preview at this time) for Real-time where you can add topics that allows you to opt in Contacts OR Leads. However, you can only send one type of record through a Journey at any time.
This would mean you would need to have a Journey for your newsletter and decide to send it to Contacts, or send it to Leads. You could of course do two Journeys but that is a perhaps a little too much.
I guess I am not really sure what your original source really has to do with your process for sending newsletters….