Skip to content

Commit

Permalink
Remove AdminAnalytics Adobe tracking URL
Browse files Browse the repository at this point in the history
This change ensures that in case the tracking-feature is enabled
in the admin, Mage-OS will not be tracked as Magento Open Source
or Enterprise Edition installations incorrectly.

In order to use admin analytics, a custom tracking_url script needs to
be configured on the tracking block.

Fixes #43
  • Loading branch information
Vinai committed Oct 9, 2023
1 parent 4b6a2b4 commit 0b36dda
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<referenceContainer name="header">
<block name="tracking" as="tracking" template="Magento_AdminAnalytics::tracking.phtml" ifconfig="admin/usage/enabled">
<arguments>
<argument name="tracking_url" xsi:type="string">//assets.adobedtm.com/a7d65461e54e/37baabec1b6e/launch-177bc126c8e6.min.js</argument>
<!-- For Mage-OS the tracking_url is empty by default. -->
<argument name="tracking_url" xsi:type="string"/>
<argument name="metadata" xsi:type="object">Magento\AdminAnalytics\ViewModel\Metadata</argument>
</arguments>
</block>
Expand Down

0 comments on commit 0b36dda

Please sign in to comment.