JSFiddle - React, Tailwind, and code Playground

by mrcl

JavaScript

{
  "vars": {
    "site": "514934",
    "log": "logs1241",
    "domain": ".xiti.com",
    "level2": "16"
  },
  "triggers": {
    "storyPageVisible": {
      "on": "story-page-visible",
      "request": "pageview",
      "title": "Story::${title}::Slide ${storyPageId}",
      "extraUrlParams": {
        "x1": "[${canonicalPath}#${storyPageId}]",
        "x2": "[Webstory]",
        "x3": "[${title}]",
        "x4": "[${storyPageId}]",
        "x5": "[SWR3.de}",
        "x6": "[Nein]",
        "x7": "[Nein]",
        "x8": "16",
        "x9": "",
        "x10": "[${canonicalUrl}]",
        "x11": "",
        "x12": "[SWR3]"
      }
    },
    "click on amp-story-cta-layer trigger": {
      "on": "click",
      "selector": "${storyPageId} amp-story-cta-layer a",
      "request": "click",
      "vars": {
        "label": "Storyklick::${title}::${storyPageId} CTA::Klick",
        "level2Click": "16",
        "type": "a"
      }
    }
  }
}