What three steps do you take to accomplish this in MyCompany_MyModule?

Posted by: Pdfprep Category: AD0-E703 Tags: , ,

You need to add the Google Tag Manager (GTM) to every page.

What three steps do you take to accomplish this in MyCompany_MyModule?
A . Add into view/frontend/layout/default.xml.
B . Create view/frontend/layout/default.xml.
C . Create view/frontend/templates/script.phtml and add GTM code.
D . Run bin/magento create:module:template script.phtml
E . Copy vendor/module-catalog/view/template/script.phtml to view/template/script.phtml and add GTM script.

Answer: A,B,C

Leave a Reply

Your email address will not be published.