ReferenceError: _satellite is not defined <script type="text/javascript">var x = _satellite.pageBottom();</script>

Avatar

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
binduk79821516
Level 1

15-10-2015

ReferenceError: _satellite is not defined

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

15-02-2016

Hi Bindu,

We offer our since apology for the delayed response.

The problem here seems to be the scope of the variable 'n' defined here because you are passing the variable 'n' to the function and then defining it again inside the function.

please correct the code as below :

customSetup:function(t,r){var n=e.s; n.products==_satellite.getVar("omtrProduct")..

Also, Please make sure that variable "omtrProduct" is set ( i.e. _satellite.setVar("omtrProduct"))   before fetching its value via _satellite.getVar ().

Thanks & Regards

Parit Mittal

Answers (6)

Answers (6)

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

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

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi Bindu,

Please past a snapshot of this error and your setup.

Also it would be great if you could specify how you resolved the original problem you were having (unable to call js using http).

Regards

Rahul

Avatar

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
binduk79821516
Level 1

15-10-2015

Hello

Thank you for your reply. I find out a solution for this but when i comes to my next page i am getting another error  with js for _satellite.getVar(

TypeError: n is undefined
customSetup:function(t,n){var n=e.s;n.products==_satellite.getVar("omtrProduct")

do you know why i am getting this issue ?

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

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

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi Bindu,

Can you please post a screenshot of 3 things:

1. The error that you're getting in the console.

2. The section of page code where you have pasted the header and footer codes.

3. How you've set up your analytics tool.

 

Rahul

Avatar

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
binduk79821516
Level 1

15-10-2015

Hello 

I find out what is the issue it is because when i called the header script with the embeded code i am not getting the file, that's y i am getting Reference error 

<script src="//assets.adobedtm.com/c40971348a5755fc4a791b7292e4479fa585f416/satelliteLib-62646ab551e3fc8ee28e35a55404ab851288f052-staging.js"></script>

if i call this js with http i am geting this file and error not found

is there any solution for how to call this url ?

Avatar

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
binduk79821516
Level 1

Likes

0 likes

Total Posts

9 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
binduk79821516
Level 1

15-10-2015

i am doing dynamic tag management of adobe analytics and as per the instruction i am placed all the header and foote code code but for the footer code i am geting this error

this is the header code

<script src="//assets.adobedtm.com/c40971348a5755fc4a791b7292e4479fa585f416/satelliteLib-2737bbaa7bf0c7290f5be50e08d3ce9d4f1734fc-staging.js"></script>

and i nthe footer  before body closing i am giving

     
 
<script type="text/javascript">_satellite.pageBottom();</script>

i am geting error for this

i have done all these steps in the below link

https://marketing.adobe.com/resources/help/en_US/dtm/t_verify_header_footer.html

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

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

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi Bindu,

Could you please elaborate your query.

Regards

Rahul