Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Commerce updates!Learn about the key capabilities and features of Dynamics 365 Commerce and experience some of the new features.
Download overview guide | Watch Commerce video
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Were working on project in commerce dynamics365 Store Front. To add a script in the Templates > Html Head > adding inline script module to be use in home page templates. As for checking we tried to add a simple console.log and alert(). then publish the changes but its not shows the logs and alert.. as for the the 3rd party API they recommend that this be put in the <head> element on each page. Any idea if this possible can you show us how to apply it step by step. TIA!
What you want to do? Can you please share more details? Is this relate to D365 for Commerce?
Yes, its D365 Commerce. Now the alert and console.log is working without adding the script tags. For our main goal we have a third party external script that tracks (add to cart, remove from cart and purchase in cart) transactions. Currently we add a external script and internal script see attached file below.
As per said in the previous message 3rd party API they recommend that this be put in the <head> element on each page. Also we used to move up the external script to be sure its initiate the script first.Our challenges now is the inline script showing its called first because of the error "Cannot read property 'config' of undefined" we sure that external script is working because we can access it in the browser. Another challenges is how we inject the script on the the add to cart, remove from cart and purchase in cart buttons or methods.
Business Applications communities