Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Create GTM Trigger

create_gtm_trigger

Creates a TRIGGER in a workspace. trigger_type = GTM type string: 'pageview' (All Pages), 'domReady', 'windowLoaded', 'click' (All Elements), 'linkClick', 'customEvent', 'formSubmission', 'scrollDepth', 'timer', 'historyChange'.

For 'customEvent' just pass event_name='cf7_success' and the event filter is built for you. If you build it by hand, customEventFilter items are CONDITIONS, not maps: parameters='[{"type":"list","key":"customEventFilter","list":[{"type":"EQUALS","parameter":[{"type":"template","key":"arg0","value":"{{_event}}"},{"type":"template","key":"arg1","value":"cf7_success"}]}]}]' Condition types (filter/customEventFilter/autoEventFilter): equals, contains, startsWith, endsWith, matchRegex, greater, greaterOrEquals, less, lessOrEquals, cssSelector, urlMatches; to negate add {"type":"boolean","key":"negate","value":"true"}. SAFETY: confirm=false → preview only; confirm=true → creates it (staged in the workspace until you publish_gtm_container).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
confirmNo
containerNo
workspaceNo
event_nameNo
parametersNo
trigger_typeNopageview

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.