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

Integrate Dynamics Marketing tracking script via Google Tag Manager

(0) ShareShare
ReportReport
Posted on by 4

Hi,

We would like to implement the tracking script on our website so we can track general statistics about our website visitors. Unfortunately, I cannot get the script to work. When opening insights from the domain, it seems it is only tracking the GTM link and not giving any general tracking information about the website or seperate pages. Can anyone tell me how the script needs te be placed when working with GTM? 

Apart from tracking general information about visitors' web behavior, we would like to use form capture on some pages too.

Thanking you in advance!

  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    Please refer to the answer in the following issue, which may help you with the doubt.

    (+) How to integrate the Dynamics Marketing website tracking code? - Dynamics 365 Marketing Forum Community Forum

  • Suggested answer
    Petr Jantac Profile Picture
    Microsoft Employee on at

    Hi,

    There may be a problem with the script ordering. Please try to put the D365 config element (class="d365-mkt-config") before the ws-tracking.js script in your page source code.

    Thank you.

    Petr

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 125

#2
ParthPatel249 Profile Picture

ParthPatel249 87

#3
11manish Profile Picture

11manish 85 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans