Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Integrate Dynamics Marketing tracking script via Google Tag Manager

Posted on by 39

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
    Petr Jantac Profile Picture
    Petr Jantac on at
    RE: Integrate Dynamics Marketing tracking script via Google Tag Manager

    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

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Integrate Dynamics Marketing tracking script via Google Tag Manager

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans