Console Error | Community
Skip to main content
Sathya_Murugaiyan
Level 2
December 8, 2022
Question

Console Error

  • December 8, 2022
  • 1 reply
  • 890 views

we are getting the below console error which is related to adobe analytics.

 

_satellite._runScript1 is not a function

 

we have used this function like

_satellite["_runScript1"](function(event, target, Promise) {

fbq('init','');
fbq('track', 'PageView');

gtag('event', 'conversion', {'send_to':  ' ' });

});

 

kindly help us to sort out this error.

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

1 reply

yuhuisg
Community Advisor
Community Advisor
December 9, 2022

You shouldn't be calling _satellite._runScript1 directly in your code. I believe that function had been created because you have a Custom Code action somewhere in your Rules.

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 9, 2022

I agree with this completely... you should just add your fbq and gtag code into a custom script section in your rules... Launch will create the _satellite._runScript and execute it based on the trigger rules for the event.