Adobe Analytics Implementation for Angular 2, 4 ,5 based SPA

Avatar

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
muhammadk104041
Level 1

03-02-2018

Hello Community,

I want to implement Adobe Analytics on one of our Angular 5 based SPA  to track Page views and Events. would someone please assist me on how to do this , as far as I know, we have to insert dtm script in index.html file and have to create a adobe analytics service but I am not clear what we need to keep in that service.please share if you have any article/example on AA implementation on Advanced Angular based SPA's.

Regards,

Replies

Avatar

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
pabloc82923542
Level 6

05-02-2018

In a nutshell depending on your Angular version you can do one of 2 methods.

There is a plugin Angularitics which allows you to access a library and add events, and props in Angular 1

You can use DTM and add direct call rules. In essence you will have to make your app simulate page views for the page to page navigation.

Avatar

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
muhammadk104041
Level 1

05-02-2018

thanks for your input, I want to implement on Angular 2 based project which is entirely different than Angular 1, Please share if you have any article/example on how to Implement for Angualr 2

Avatar

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
pabloc82923542
Level 6

05-02-2018

I have  done work only in Angular 1 and 4. Sounds like you will need to implement direct call rules in DTM.

Create conditions for direct-call rules

Avatar

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
muhammadk104041
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
muhammadk104041
Level 1

05-02-2018

can you please share the code that you put in your service for angular 4

Avatar

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Level 6
pabloc82923542
Level 6

Likes

78 likes

Total Posts

358 posts

Correct reply

82 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
pabloc82923542
Level 6

05-02-2018

Im sorry I cannot as the code is proprietary and an NDA is attached to it.

Perhaps work with Adobe support if you have an account which has support enabled.

Avatar

Avatar
Affirm 500
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,948 posts

Correct reply

740 solutions
Top badges earned
Affirm 500
Boost 250
Springboard
Coach
Contributor 2
View profile

Avatar
Affirm 500
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,948 posts

Correct reply

740 solutions
Top badges earned
Affirm 500
Boost 250
Springboard
Coach
Contributor 2
View profile
Gigazelle
Employee

08-02-2018

If you need help with Direct Call rules, the DTM community would be more than happy to help with any specific questions you have:

Dynamic Tag Management