Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-2526

Create JavaScript code to extract #Tags in DOM

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 1.28.0

      To extract the "Most popular tags “ KPI, the cheapest and most effective solution is to use an HTML code for a Custom JavaScript variable in a Google Tag manager tag.

      The code should dig into the top-page-tags class of the Document Object Model (DOM), extracts the inner HTML that starts with *# *and then return it as a comma-separated string. It shouldn't take much time of one of our superstar devs to get this code...

      Once we got it, the Analytics gang will use this code in Google Tag Manager (GTM) to pass the value to a dataLayer variable, and use the return value as custom dimension

            nroussos Nikos Roussos
            ltiralon Luca Tiralongo
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: