Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Directives are not working. #587

@dailytabs

Description

@dailytabs

Using $analytics.eventTrack() from a controller works just fine.

But, the directives were a good fit for another usage, so I tried them out. The below code is not generating any errors or network requests in my app.

<td st-ratio="35" ng-click="showChart(row, $event, displayedCollection)"
    analytics-on="click" analytics-event="view" analytics-category="plantview:tools"
    analytics-name="{{ ::row.metricName }}"
    style="padding-left: 48px;">

This is inside an ng-repeat that creates row.
The ng-click works fine.

Is the <td> or ng-click interfering?

(Using Matomo (angulartics-piwik) as the service provider.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions