transition to appmeasurement from s-code h27 | Community
Skip to main content
Level 3
October 16, 2015
Solved

transition to appmeasurement from s-code h27

  • October 16, 2015
  • 4 replies
  • 1373 views

We are planning to move to appmeasuremnt from s_code 27. As per the reference

  1. Took the AppMeasurement code from admin and added it in the current s_code from the below line

 

============== DO NOT ALTER ANYTHING BELOW THIS LINE ! ===============

  1. Added this s=new AppMeasurement();
  2. Changed  s.getQueryParam to s.Util.getQueryParam
  3. Added updated integrate module which is compatible with AppMeasurement
  4. Attched the s_code file that I have updated in .txt format.

But the code is not working and it is not even giving any error.

 

Can you please check the file and let me know what is the issue?

 

Regards,

Vidya

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

Hi Vidya,

I hope you had added your RSID under var s_account. Also ensure that your code is in the body tag. 

You have to pass the tracking server details under s.trackingserver. To know your tracking server domain check out this article https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/determining-data-center.html

I dont see a s.t() call at the end of the so you could add this line which fires the image request - var s_code=s.t();if(s_code)document.write(s_code);

Do go through this sample page code in case - https://marketing.adobe.com/resources/help/en_US/sc/implement/appmeasure_mjs_pagecode.html

Do let me know in case you have any questions.Thanks!

TM

4 replies

TanmayMathur
Adobe Employee
TanmayMathurAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Vidya,

I hope you had added your RSID under var s_account. Also ensure that your code is in the body tag. 

You have to pass the tracking server details under s.trackingserver. To know your tracking server domain check out this article https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/determining-data-center.html

I dont see a s.t() call at the end of the so you could add this line which fires the image request - var s_code=s.t();if(s_code)document.write(s_code);

Do go through this sample page code in case - https://marketing.adobe.com/resources/help/en_US/sc/implement/appmeasure_mjs_pagecode.html

Do let me know in case you have any questions.Thanks!

TM

Level 3
October 16, 2015

Hi Tanmay,

We have different suites for different sites and one single s_code.js file. The suite is defined in omniture.js file.  In that case i hope that we need not have to add anything in the s_code.js. Please let me know.

Thanks,

Vidya

Level 3
October 16, 2015

Hi Tanmay, 

I had missed the s.t() call in the end. It is working now.

 

Thank you so much.

Regards,

Vidya

TanmayMathur
Adobe Employee
Adobe Employee
October 16, 2015

No problem Vidya! Glad it got sorted. 

TM