Skip to content

antipodes-medical/data-seo-click

Repository files navigation

Data SEO Click

Installation

yarn add @antipodes-medical/data-seo-click

Dans le Javascript :

import DataSeo from '@antipodes-medical/data-seo-click'

Utilisation

new DataSeo(
        [
            {
                "name": "First div",
                "elements": [
                    {
                        "name": "First link in first div",
                        "selector": ".first-div__first-link"
                    },
                    {
                        "selector": ".first-div__second-link"
                    }
                ]
            },
            {
                "name": "Second div",
                "elements": [
                    {
                        "name": "Links inside second div",
                        "selector": [
                            ".second-div__first-link",
                            ".second-div__second-link"
                        ]
                    }
                ]
            }
        ]
)

About

Generate data attributes for data seo tracking

Resources

Stars

Watchers

Forks

Packages

No packages published