Skip to main content

Notifications

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.

  • Suggested answer
    RE: Why is a hashtag used to add tracking code in Marketing Emails?

    There is no setting to change this.

  • CraigK Profile Picture
    CraigK 55 on at
    RE: Why is a hashtag used to add tracking code in Marketing Emails?

    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
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Why is a hashtag used to add tracking code in Marketing Emails?

    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

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 Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans