Skip to main content

CustomHTMLIntegration

Custom HTML tag setup

  1. Open Google Tag Manager.

  2. Click Tags.

  3. Click New. Setup Rokt Tag in GTM

  4. Name your tag.

  5. Click Tag Configuration.

  6. Select Custom HTML. custom html

  7. Configuration settings

    SectionRequired/OptionalDescription
    HTMLRequiredCopy and paste your HTML/Javascript into the textbox. Be sure to wrap Javascript snippets with <script></script>.
    Paste your Rokt integration code with the variable you have set up (e.g., email: {{dl_email}}). If you don't have your custom snippet, you can use the snippet found in Getting Started.
    Support document writeRequiredGoogle Tag Manager is offering a new engine for rendering Custom HTML tags. The new engine includes support for calls to document.write().
    Enable the Support document write check-box.

    Setup Rokt Tag in GTM

Was this article helpful?