Skip to content

Commit 159106d

Browse files
r0b1ngjulivan
authored andcommitted
fix(google-tag-web): remove obsolete description
1 parent ac0483d commit 159106d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/modules/google-tag/src/javascriptsource/googletagmodule/actions/GoogleTagAction.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// - the code between BEGIN USER CODE and END USER CODE
66
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
77
// Other code you write will be lost the next time you deploy the project.
8+
import "mx-global";
89
import { Big } from "big.js";
910

1011
// BEGIN EXTRA CODE
@@ -41,7 +42,7 @@ if (document.mxGtag === undefined) {
4142
// END EXTRA CODE
4243

4344
/**
44-
* @param {"GoogleTagModule.GoogleTagCommandType.Config"|"GoogleTagModule.GoogleTagCommandType.Event"} command - Event can be used to send an event. Config can be used to configure advanced configuration parameters and can only be used once.
45+
* @param {"GoogleTagModule.GoogleTagCommandType.Config"|"GoogleTagModule.GoogleTagCommandType.Event"} command - Event can be used to send an event. Config can be used to configure advanced configuration parameters.
4546
* @param {string} tagID - Examples of tag IDs include GT-XXXXXXXXX, G-XXXXXXXXX, and AW-XXXXXXXXX
4647
* @param {string} eventName
4748
* @param {MxObject[]} parameters
@@ -56,8 +57,6 @@ export async function GoogleTagAction(command, tagID, eventName, parameters) {
5657
}, {});
5758
const cmd = command.split(".").pop().toLowerCase();
5859

59-
console.log(cmd, params);
60-
6160
switch (cmd) {
6261
case "config": {
6362
document.mxGtag.ensureGtagIncluded(tagID);

packages/pluggableWidgets/google-tag-web/src/GoogleTag.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<!-- Advanced config options -->
6565
<property key="command" type="enumeration" required="true" defaultValue="event">
6666
<caption>Command</caption>
67-
<description>Event can be used to send an event. Config can be used to configure advanced configuration parameters and can only be used once.</description>
67+
<description>Event can be used to send an event. Config can be used to configure advanced configuration parameters.</description>
6868
<enumerationValues>
6969
<enumerationValue key="event">Event</enumerationValue>
7070
<enumerationValue key="config">Config</enumerationValue>

0 commit comments

Comments
 (0)