How do I integrate adobe analytics using javascript? | Community
Skip to main content
selvasajin
Level 2
December 6, 2017

How do I integrate adobe analytics using javascript?

  • December 6, 2017
  • 4 replies
  • 22795 views

I am new to adobe analytics, trying to integrate adobe analytics on my angular1.6 web app using javascript from past 3 days. I had followed the steps from adobe analytics implementation documentation using javascript Implementing Analytics Using JavaScript

Added adobe marketing cloud debugger on chrome and I am able to see the requests, but couldn't able to see anything on my AEM dashboard (page views, visits, ect). I am running the application form localhost. Can anyone help me to resolve this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

selvasajin
Level 2
December 6, 2017

Guys! any update on this??  May be video links (or) sample codes for implementation using javascript will be helpful, thanks in advance!!

Level 2
December 6, 2017

Sorry for the basic question, worth asking :
Did you check that your configuration is not excluding the hit from your ip address ?

selvasajin
Level 2
December 6, 2017

Not sure about this. Could you please tell me how to do/check this?? I don't have admin privilege on omniture dashboard but can view the reports like page views, pages ect.

For implementation the admin(client) had shared the AppMeasurement.zip file in which I updated the parameters like RSID,SERVER,MCORG ect.

Reference  https://marketing.adobe.com/resources/help/en_US/sc/implement/js_implementation.html

Pablo_Childe
Community Advisor
Community Advisor
December 6, 2017

For angular 1.x apps I recommend.

Angulartics | Web analytics for AngularJS applications

Also fire Direct call rules where needed.

selvasajin
Level 2
December 6, 2017

Thanks Pabloc. Will try this, but without MCORG-ID, RSID, Tracking server how it will send data/request to adobe analytics? because there is no option to include these parameters in the source code.

Pablo_Childe
Community Advisor
Community Advisor
December 6, 2017

RSID can be found by looking at console output of any page presently using the same code. MCORG-ID not sure what you mean...

Were you not provided with:

Header and footer codes?

selvasajin
Level 2
December 8, 2017

Hello Adobe community,

Can someone help me to resolve this, implementing adobe analytics using javascript?

Does it requires any further configuration on my omniture dashboard to view reports? Also do we need to add any DTM or web property or any tool/rule on the omniture dashboard if we are using javascript implementation??

Pablo_Childe
Community Advisor
Community Advisor
December 8, 2017

What reports in Adobe  Analytics are you trying to view?

If you capture a list of variables, then if they are standard they will appear in the various menus and sub menus(Traffic Reports > Pages > Pages, is for Pagename as an example). If they are custom you may need to have some of the menu setting adjusted to allow you to view them.

Implementing Analytics Using JavaScript

Go over this get a idea on how to implement the basics. I think you also may have to look at what is called your data layer.

Data Layer

The work I with angular I was involved with we used the angular frame work to inject our header and footer when need as well as used direct call rules. This was very efficient and saved alot of the headaches you seem to be having.

Good luck

selvasajin
Level 2
January 19, 2018

Guys I had resolved this issue with the help of adobe support, "s.timestamp" was the issue, we have to pass s.timestamp with the request. Thanks a lot julienp80647070​​btripple​​pabloc82923542Gigazelle

Level 2
January 19, 2018

Glad you got that resolved but that's not normally required as that is an optional feature, so there is something specific to your implementation there.

You might be able to request they disable the timestamp feature if you don't want to pass it:

https://marketing.adobe.com/resources/help/en_US/sc/implement/timestamp.html