Expand my Community achievements bar.

SOLVED

DTM implementation on a single page (AngularJS) site.

Avatar

Level 2

Hey Community,

Does anyone run an AngularJS (or similar single page experience) site with Adobe Analytics implemented via DTM. I'd like a good example to base my implementation on. If you have any documentation or best practices to share regarding DTM and angularJS please also let me know. Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Adobe Champion

Paul,

What you want to do is use direct call rules. So when a view changes, you'd set something like this:

_satellite.setVar({
    "page name":"[value for page name]",
    "site section":"[value for site section]"
});
_satellite.track('angular page view')

Then you can just create a direct call rule for the condition of "angular page view" and set the page name and channel (as an example here) in that rule.

- Jason

View solution in original post

1 Reply

Avatar

Correct answer by
Adobe Champion

Paul,

What you want to do is use direct call rules. So when a view changes, you'd set something like this:

_satellite.setVar({
    "page name":"[value for page name]",
    "site section":"[value for site section]"
});
_satellite.track('angular page view')

Then you can just create a direct call rule for the condition of "angular page view" and set the page name and channel (as an example here) in that rule.

- Jason