web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Why is a hashtag used to add tracking code in Marketing Emails?

(0) ShareShare
ReportReport
Posted on by 55

Hi all,

Why does Microsoft use hashtags when adding tracking codes to marketing URLs?  Please see example listed below.

pastedimage1627506794632v1.png

Is this expected behavior?  Is there a setting within the Marketing app that we can change to change the hashtag to a question mark?

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    This is expected behavior, hashtag is used to mark the location of the document, you can refer to the description in Wikipedia:

    https://en.wikipedia.org/wiki/URI_fragment

    The fragment identifier introduced by a hash mark # is the optional last part of a URL for a document. It is typically used to identify a portion of that document.

    The question mark is usually used to transfer parameters, in your example you don't need to change it to a question mark.

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

  • CraigK Profile Picture
    55 on at

    thank you for the info and for establishing this as expected behavior.

    We have observed that the marketing URLs stopped using question marks and started employing hash marks at some point after May 2021.  This can be observed in our analytics data from earlier this year:

    pastedimage1627573111763v2.png

    Note that the green circled URLs use a question mark instead of a hash mark.  

    Is there a setting in the marketing app or was there an update that changed the question mark to a hash mark?

  • Suggested answer
    AriaConsulting Profile Picture
    4 on at

    There is no setting to change this.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 213 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans